DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

Intersect unreliable?

Started by Frederick, February 09, 2007, 07:23:28 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Frederick

I can't get the point intersect commands to work reliably in 17.2. The two lines I'm trying to find the intersect of are vectors on the same plane and they cross. This has been a recurring problem for me; sometimes it works and sometimes it doesn't and I don't understand why. Snap grid is off, ortho mode is off, point select mode is off.

Thanks,
Rick

impulse

Is this occuring in 2D, 3D or both?

If you have tried the interserct command and it failed, as a test, try the Intersect-2 command.

prl

Rick, a quick way for IMSI and users here to check/track down this problem is to select the two lines that are giving you problems and use "Save as" with "selection only" checked and save them to a dcd file.  Zip this file and attach it to your post.

A file is worth a thousand words.

Lar

I've been living with Rick's problem ever since dcad came to windows, if I remember correctly. Like he says sometimes it works, many more times it doesn't. There was one version recently, maybe 17.0 or one of the beta versions, that always worked but now it hardly does.

I just use Intersect-2, which always work in 2d but sometimes don't work in 3d, especially if Grid Surfaces are involved. Times like that I am forced to  draw a tracer line and Slice it to get an endpoint to snap to.

Lar

Frederick

Thanks Lar, I should've asked the question months ago rather than grappling with it for so long. Now I know.

Note to IMSI Support: this is a really really really basic function. It should work without having to resort to a workaround. That's all I have to say about that.

Thanks,
Rick

Frederick

Hi prl, yes, I know a file is worth a thousand words. Before posting I manually deleted all impertinent entities, saved, zipped to 700KB, and found out that this forum has a 512KB upload limit. Grr. Didn't think to use save selection only, that brings the filesize down to 48 kb, the file is attached. Intersect commands work in 2D, not in 3D.

Thanks,
Rick

Frederick

Lar, does that mean you don't have any concerns switching between 2D to 3D mode? Some users have cautioned against this, citing unpredictable behavior.

R

prl

Rick, I didn't know about the upload limit.

I checked your file.  The lines are not in the same plane.  There is a very small "z" coordinate difference in the backwards "c" lines.  The vertical line is okay.  Not sure how this would happen.

If you run the zzero.d3m program or flatten.d3m that has been posted on the upperspace forum and then try the intersect command, it will work.  The real question for me is, what causes the "z" coordinate distortions?  Is this user caused or is there a command that is causing the coordinate error.


Frederick

Hey prl, thanks for taking a look at this.

The real problem for me is how the average user, aka me, can determine whether two lines are on the same plane. I select the line, the coordinate bar tells me the y coordinate is 13.07. I select the second line, the coordinate bar tells me the y coordinate is 13.07. I take several readings of both lines, all confirm y=13.07. So in effect, these lines ARE on the same plane, that is, there's no way for me to tell differently, save maybe setting my precision to 4 places or higher.

What I'm getting at here is, the intersect function just doesn't work, period. Perhaps these lines are on different planes, but ALL lines are on different planes if you set the precision high enough. As far as I could tell from the coordinate bar, the lines were on the same plane. That should be good enough for the intersect commands as well and if it's not, the user is screwed.

Thanks,
Rick


support

#9
Okay so if the intersect command does not work then we need some accurate examples showing where the command, when used correctly, does not work.

Now if you are trying to use intersect command with anything other than two vector lines that share an XYZ coordinate location some where along their length then it may not work. the command is meant to find the intersection of two vector lines that cross each other.

In the case of the example given by Frederick the lines do not actual intersect as they have a small z variable so the command will not work. If you have DesignCAD 3D MAX and you encounter a situation where the lines look like they cross but the intersect command does not work then switch to 3D mode and check all views to make certain that the two lines actually do intersect.

prl

Quote from: Frederick on February 09, 2007, 10:52:34 AM
So in effect, these lines ARE on the same plane, that is, there's no way for me to tell differently, save maybe setting my precision to 4 places or higher.

I'm not preaching but please read the little tip and post I put up regarding accuracy versus precision (tips and tricks).  DesignCAD should NOT use your precision setting to determine if lines are in the same plane.  This would be a disaster.  We would get stuff like 1+1 = 3.

The issue to track down is how the small z offset was generated.  Was this done by DesignCAD or by something you did when inputting or snapping. 


Frederick

Hey fellas,

I've spent a lot of time switching and rotating views, setting view points, zooming in as far as DC will take me and looking in vain for places where lines don't intersect, then scratching my chinny-chin-chin and devising workarounds, so when I say it doesn't work I say it because I really believe it. I've read the precision/accuracy post before but it doesn't address the issue. The issue is simply:

When you have two vectors that appear to intersect based on the coordinate bar and you execute the Intersect function, nothing happens. There's no other way to spin this. It doesn't matter how the small z offset was generated. What matters is that the user executed the function and DC acts as if it were never executed.  Perhaps it was a user misclick or other error, it doesn't matter. What matters is not that it doesn't work, but that nothing happens and the users doesn't know why, and according to Lar, whose input I value highly, it's been this way for quite a while. That's just not acceptable.

Clearly, if the two lines are on separate planes, DC obviously knows it because it can't calculate the intersection. If DC knows it, it should tell the user so and offer a solution or at least an XYZ value for the distance separating the lines. Other functions throw errors that are relayed to the user in dialog boxes. Of all the functions that need to throw an error, this is my first pick. DC should at the very least acknowledge that it knows the function was executed and that the function failed.

You know, I've been working with DC every day for about a year now and don't bitch a lot about its little quirks and quiggles. But this...I just don't get how this could pass beta year after year.

My two cents.

Rick


prl

Quote from: Frederick on February 09, 2007, 03:27:14 PM
But this...I just don't get how this could pass beta year after year.

I mentioned the accuracy versus precision posting because it looked like you were advocating that DesignCAD reduce accuracy calculations based on the user's precision setting.

As for your question about the beta testing, I've been working with Dt and the others since version 15 and I don't think this issue has ever been mentioned by them, me or by other users. I could be wrong but I try to keep track of non functioning things.

Frederick

Hi prl,

Hmmm...

Quote from: prl on February 09, 2007, 10:31:50 AM
If you run the zzero.d3m program or flatten.d3m that has been posted on the upperspace forum and then try the intersect command, it will work.

Just curious...have these macros been used to address the intersect issue before? 'Cause if they were that would indicate that the issue was known to someone ;-)

Regardless, it is probable that in beta people determined that DC finds the intersecton point of intersecting lines and therefore the intersect command worked as designed. OK. But the issue isn't what DC does when lines intersect, it's what DC doesn't do when they don't. Lar has confirmed that he's had to work around it and it's probable that other users have contrived ways to work around it, as will I, now that I'm aware of it.

That doesn't change the fact that when you execute the command when the coordinate bar tells you it should work, it doesn't do anything, leaving the user scratching his/her head and pounding on the F4 key in desperation. So all I can say is, please be advised that at least one user has experienced considerable confusion and frustration about this.

Thanks,
Rick


Frederick

Some more info about how I created the test drawing I sent. Hopefully this will shed some more light and help find a solution.

IntersectIssue090207.jpg shows how the entities were created and how Point XYZ was used to place the pointmark that was used as the basis for the vertical line. Precision was set at 2 decimal places.

In IntersectIssue090207_2.jpg I found the nearest point between the two lines and drew a connecting line. This line shows the distance separating the non-intersecting lines to be .0002/.0008 units.

I don't know what to do with this info. If there are limitations on the use of Point XYZ I wasn't aware of them before. I guess the only thing I can do at this point is increase the precision to well beyond the required tolerances for my drawing or avoid using Point XYZ completely.

Comments or suggestions?

Thanks,
Rick