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.

Snap to closest point on nearest object

Started by Dr PR, January 22, 2011, 01:49:54 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Dr PR

This is a rehash of two previous requests which have conflicting results.

Note: to avoid confusion, I am using the term "plane" with it's geometric definition: "All points coplanar in two dimensions, extending to infinity in all directions." To refer to planar surfaces (called "Planes" in DesignCAD) I use the term "polygon" in its geometric definition: "A closed planar surface bounded on all sides by straight lines" - a subset of a geometrical plane.

1. The "Point/Line Snap" function will set a point on the nearest line, at the position closest to the original cursor position. In effect, it is the "Draw/Line/Perpendicular to a line" function without drawing the line.

There has been a suggestion that this function should also operate the same way with edges of planes - similar to how the "Point/Plane Snap" function SOMETIMES works.

There also has been a suggestion that "Line Snap" work to just move the cursor to the nearest line without setting a point when no other command is operating. It does not currently do this - the cursor moves only when a drawing command is in operation.

2. The "Point/Plane Snap" function moves the cursor to a position on the nearest polygonal surface. If no drawing function is operating the cursor is simply moved to the polygon. If a drawing function is operating a point will be set somewhere on the polygon.

If the original cursor position is above the surface of the polygon, the cursor snaps along a line perpendicular to the plane of the polygon. When used with the line drawing function (V) this allows a perpendicular line to be drawn to the polygon surface. This is a most useful function.

A problem with this command is that it does not always move the cursor perpendicular to the polygon plane. If the original cursor position is to one side of the polygon the cursor snaps to the edge of the polygon, along a path perpendicular to the edge. When used with the line (V) function the resulting line is not perpendicular to the surface of the polygon. This can lead to confusion and drawing errors.

The program needs a function that produces ONLY cursor movement perpendicular to the polygon plane. A suggestion has been made to limit the Plane Snap function to moving ONLY along a path perpendicular to the plane of the polygon. If the original cursor position is not above the surface of the polygon, the cursor would be moved to the nearest point in the geometrical plane of the nearest polygon surface. When used with the Line (V) function this would always produce a line perpendicular to the plane of the polygon surface.

However, being able to snap to the edge of a polygon is useful, hence the suggestion to modify the "Line Snap" function mentioned above. If the change is made to "Plane Snap" to limit it to action perpendicular to a polygon plane, the "Line Snap" function should be modified to allow it to snap to polygon edges.

3. An alternative would be to leave "Plane Snap" as it is and add a "Plane Perpendicular Snap" function that produces only perpendicular movement to the plane of a polygon. Perhaps this should be called "YAC" - Yet Another Command.


DesignCAD user since 1987