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.

Line Plane Snap Can't use edge of solid as line

Started by MarkX, December 01, 2012, 09:19:00 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

MarkX

You can snap a line to the edge of a solid with the K or Ctl-K command.

But if you try to use the edge of a solid with the Line/Plane snap as the line, it fails. It seems to me that the edge of a solid is really a line, and you should be able to use it as a line in every case where the K or Ctl K snaps would recognize it as a line.

Thanks!
Mark
v22

Dr PR

Mark,

I don't follow you. What "Line Plane Snap" are you using?

I drew a plane and a cube. The "Line Plane" icon in the Snap Toolbox does find the intersection of a line and a plane and a line and the surface of the cube. It worked with:

1. Lines that passed through the plane and cube

2. Lines that stop at the surface of the plane/cube

3. Lines that only point at the plane or the cube without actually intersecting the surface

4. Lines that intersect the edge of the plane or cube at an angle to the surface

Sometimes the command appears to fail because the intersection point is off screen. This is especially true when there are several polygons near by (planes, solid surfaces, grids) at various angles to each other that are all intersected by the line.

At other times I have to "hunt" for a sweet spot (move the cursor all around the surface) for the command to work. The most annoying situation is when the sweet spot is extremely small and as I move the cursor through it the snap preview box flashes on/off for a fraction of a second - it can take a very long time to get the cursor in the precise spot necessary to get the command to work, and when you press the mouse button the cursor moves and the function fails. Aaaarrrrggghhhhh!

Phil
V22.1 beta
DesignCAD user since 1987

prl

Quote from: Dr PR on December 01, 2012, 10:15:57 PM
it can take a very long time to get the cursor in the precise spot necessary to get the command to work, and when you press the mouse button the cursor moves and the

Rather than fiddle with DesignCAD's less reliable snaps, I use the "slice" approach.  I change the view of my model so that I can extend (resizing handles etc.) the line through the plane of interest.  Exactness doesn't matter. Then I use a 3 point slice using the plane for the points.  The 4th point (slice command) snaps to the length of line I don't want.


In Mark's case, I typically use construction lines on edges of solids and use the  trim1, trim2, extend/shorten, etc. commands.  Note when I say construction lines, I mean normal DesignCAD lines that I put on a junk/construction layer.  Never use the DC construction lines.

MarkX

Quote from: Dr PR on December 01, 2012, 10:15:57 PM

I drew a plane and a cube. The "Line Plane" icon in the Snap Toolbox does find the intersection of a line and a plane and a line and the surface of the cube. It worked with:

1. Lines that passed through the plane and cube

2. Lines that stop at the surface of the plane/cube

3. Lines that only point at the plane or the cube without actually intersecting the surface

4. Lines that intersect the edge of the plane or cube at an angle to the surface

I'm talking about using the edge of the cube as the line source. Yes, it works fine if you DRAW A  LINE, but you if you use the existing edge of a cube or solid as your line source, it fails. Every time in my trials.

Thanks,
Mark

MarkX

Quote from: prl on December 02, 2012, 01:11:50 AM
Quote from: Dr PR on December 01, 2012, 10:15:57 PM
it can take a very long time to get the cursor in the precise spot necessary to get the command to work, and when you press the mouse button the cursor moves and the
Never use the DC construction lines.
Dare I ask ... what's wrong with the DC construction lines? I like to use them to make up for the lack of an inference engine. I delete them as soon as I don't need them.

Thanks,
Mark

prl

Quote from: MarkX on December 02, 2012, 06:17:12 AM
Dare I ask ... what's wrong with the DC construction lines?

Probably nothing.  I started drafting with regular lines as construction lines, that's all.  A redundant feature added later.

prl

#6
Quote from: MarkX on December 02, 2012, 06:12:58 AM
I'm talking about using the edge of the cube as the line source. Yes, it works fine if you DRAW A  LINE, but you if you use the existing edge of a cube

I get what you want. You want the program to create a line from the first point of the line plane snap command which you set on the edge of a solid.  That new line will then intersect another plane based on your second point.  DC isn't that advanced and this sort of stuff (inference engine) is a distant hope.  (And for me a waste of CPUs).  I have SketchUp and don't like that sort of "do you want this, or this, or this, or this".

What's wrong with simply using the line snap (K) twice to create the line on the edge and then using the line plane command?   K-K then V. Three keystrokes.  Should take less then a second to do that.

MarkX

Quote from: prl on December 02, 2012, 06:42:08 AM
Quote from: MarkX on December 02, 2012, 06:12:58 AM
I'm talking about using the edge of the cube as the line source. Yes, it works fine if you DRAW A  LINE, but you if you use the existing edge of a cube
I get what you want. You want the program to create a line from the first point of the line plane snap command which you set on the edge of a solid.  That new line will then intersect another plane based on your second point.  DC isn't that advanced and this sort of stuff (inference engine) is a distant hope.  (And for me a waste of CPUs).  I have SketchUp and don't like that sort of "do you want this, or this, or this, or this".
DC is that advanced when you use a stand-alone line. The only problem is that it refuses to recognize the edge of a cube as a line EVEN THOUGH it does recognize the edge of a cube as a line when you use Ctl-K. So its a bug. There was a similar bug in the M2 snap, but was fixed (hopefully) in v22.

Quote
What's wrong with simply using the line snap (K) twice to create the line on the edge and then using the line plane command?   K-K then V. Three keystrokes.  Should take less then a second to do that.
The problem is that I shouldn't have to fill my head with 2 sets of rules: 1) The way things are supposed to work, and 2) The work-arounds for all the ways it doesn't.

DC's best selling point is its snaps. The line/plane snap makes the inference engine thing less necessary. I agree that those inference engine thingies can be annoying. In DC, I have construction lines assigned to shift-c so I can quickly line things up in a similar fashion, without the inference blink-on, blink-off distraction.

Thanks!
Mark


prl

Quote from: MarkX on December 02, 2012, 10:05:04 AM
DC is that advanced when you use a stand-alone line.

Sure, that's why it is called the line plane snap.  Been around a long time.  Guess I've never had the expectation that solid/grid edges also meet this line requirement.  Also never considered it two sets of rules, just two set of commands.  Some commands work with lines, some with solids.  Overlaying lines on solid edges to find intersection points etc. is pretty standard stuff.  Once I find the relevant intersection points, I often select the solid, turn on the point select mode and lasso the points and drag move/snap them to the working point.  A form of stretching and reshaping your solids/grids using standard construction lines as work points.

MarkX

Quote from: prl on December 02, 2012, 10:51:56 AM
Quote from: MarkX on December 02, 2012, 10:05:04 AM
DC is that advanced when you use a stand-alone line.
Sure, that's why it is called the line plane snap.  Been around a long time.  Guess I've never had the expectation that solid/grid edges also meet this line requirement.
Why not? Use "V" to start a line, and you can snap to the edge with K (snap to line) or Ctl-K (snap to mid line). So its a line? Its considered a line for all other op.s, and it should be for this op. too.

There was a similar bug in the M2 snap that was fixed in 21.1, I recall.

I wouldn't be surprised to find that an older version of DC actually understood edges to be lines in line/plane snap.

Thanks,
Mark

prl

Quote from: MarkX on December 02, 2012, 11:06:46 AM
Why not? Use "V" to start a line, and you can snap to the edge with K (snap to line) or Ctl-K (snap to mid line). So its a line? Its considered a line for all other op.s, and it should be for this op. too.

Mark, I see your what you are saying. OK, forget everything I said . . . I agree.

Dr PR

Mark,

I follow you now.

I suppose it could work with the edge of a plane acting as a line to find the intersection with another plane.

There is a potential problem here, though. Lines are specific entities in the drawing list, and the program only needs to search for lines near the cursor position when running the Line Plane snap. A solid like the cube is actually made up of a grid and end polygons (explode the cube and look at the pieces). So to do what you are asking the program will have to evaluate the edges of every polygon and grid facet.

If every edge of every polygon and grid facet also had to be evaluated to see if it might serve as a line for the command, it might take a very long time for the function to work in large 3D drawings. In 3D drawings there may be many thousands more polygons than lines.

This could turn out like running snaps. They are cute with small 2D drawings, but you cannot work with them on in large 3D drawings. Some operations may produce thousands of results, and the program tries to display each possible snap as you move the cursor. It can take several seconds for each snap to be calculated and displayed, so in a large drawing you can't use running snaps.

So, if your polygon edge as a line idea is implemented, we must have a way to disable it.

Phil
DesignCAD user since 1987

MarkX

Quote from: Dr PR on December 02, 2012, 02:49:48 PM
If every edge of every polygon and grid facet also had to be evaluated to see if it might serve as a line for the command, it might take a very long time for the function to work in large 3D drawings. In 3D drawings there may be many thousands more polygons than lines.
But we do this all the time without any program hesitation. Whenever you attach a line end to a cube edge using K or CTL-K, it happens instantly. This is the same thing and the internal search should be no more complicated. As I mentioned, this bug (not recognizing edges as lines during a multiple step snap operation) appeared in the M2 command and was corrected. Probably the same correction needs to be applied here. Guess I should check if its still working in the M2 snap.

Thanks,
Mark

Dr PR

Mark,

Good point! Yhe "K" snap to lline does work quickly.

Phil
DesignCAD user since 1987