News:

Please note new Forum URL: forum.designcad.com

Main Menu
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 perpendicular to a plane

Started by Dr PR, January 09, 2010, 02:12:42 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Rob S

#15
Why not save 2 steps:

1) "v"    ( start the line command )
2) " . "   ( set 1st point on reference point using keyboard ) 
    or "Right click" existing point and  "," to make sure the cursor has not moved
3) F7     ( set a point on the plane using planesnap )
4) Enter  ( end the line command )

I've tried it as far as 200 units away from a plane, and it still works, so F7 seems to have a large aperture.

I've also tried it to the face of a solid, and that works also
User since forever

bdeck

#16
Hir RobS,

You're right.  I got detoured. Must have been those mushrooms again. Or maybe just frustration over trying to get interruptible snap to work with F7.

Bobs method is even shorter.

But I still win... 

Oops, no I dont.

Heres another way

1) "v"    ( start the line command )
2) lmb   ( set a point anywhere close to the plane )
3) ","    ( move the cursor back to the point )
4) F7     ( use planesap to set a point on the plane without touching the mouse )
5) Enter  ( end the line command )
6) "="     ( start the parallel command )
7) rmb    (set a point on this new temp line using gravity )
8 ) rmb    (set a point on the reference point using gravity )
9 ) rmb    (select the temp line)
10) Delete
11) rmb             (select the parallel line )
12) SHIFT lmb    (pick the end of the parallel line)
13) rmb            (set a point on the reference point to extend the line )

BobP still wins, I think.

F7 may not need  a selected only paramerter if you do it this way. ( But I still want one )

And if this is done in a macro, vibration should not be an issue.

BD
 

Dr PR

All I want to do is find a perpendicular to a surface:

1. Use the comma key (,) to gravity snap to a corner of the plane.

2. Two arrow/cursor key presses will move the cursor out and over the plane surface.

3. Press "V" to start drawing a line.

4. Press INSert to set a point,

5. Press F7 to draw a perpendicular to the surface.

It doesn't matter if the cursor moves between keystrokes. You still get a perpendicular line to the surface.

Once you have a perpendicular line you can use it to find intersections with other lines or surfaces, or to make constructions perpendicular to the surface without the hassle of changing workspaces. It is getting the perpendicular that is difficult without "Plane Snap" (F7).

The only real caveat is that your starting point MUST be "over" the surface (above the surface within the boundaries of the plane). F7 will snap to the edge of a plane if the cursor is off to the side of the plane, and this will not create a perpendicular. This greatly limits Plane Snap usefulness for drawing perpendiculars at a great distances.

It would be nice if Plane Snap had an option to limit it to perpendiculars only. That way if the starting point was off to the side the command would fail. This would be useful for determining if a particular point was actually "above" the plane, and would prevent false solutions when a perpendicular was desired.
DesignCAD user since 1987

Bob P

Quote from: Dr PR on January 10, 2010, 03:39:25 PM
It would be nice if Plane Snap had an option to limit it to perpendiculars only. That way if the starting point was off to the side the command would fail. This would be useful for determining if a particular point was actually "above" the plane, and would prevent false solutions when a perpendicular was desired.

Instead of the command failing, I would rather have the line drawn to an intersection with the actual plane's virtual plane.  It's usually easy enough to tell whether the line touches the plane.  If I want a line drawn from the actual plane's surface, I can always put a point on my intended line/plane intersection and either move the first line or draw a line parallel to it.

Dr PR

Bob P,

Good idea! "Line Plane" already does that - find the intersect of a line with the virtual plane.

However, maybe the command should be called "Perpendicular to a Plane" and leave the "Plane Snap" as it is. Sometimes you may not need a perpendicular but do want to connect to any point on a plane, the way "Plane Snap" works now.
DesignCAD user since 1987

Ignoblius

The way I always handled this was to use "Set Working Plane" using 3 vertices of the plane and create a line parallel to the new z-axis. The easiest way to do this is to set the orthogonal line mode and draw the line in the top or side view.

Dr PR

Ignoblius,

That is the way the programmers intended for it to be done. Unfortunately, programmers rarely use the programs they create, so they don't realize how much unnecessary work they cause with their extra half dozen steps necessary to make the damned program do what the user does.

I rate a procedure by how many useful things are accomplished divided by how many steps a user has to do to accomplish the work. The idea would be one action (mouse click, keystroke, etc.) to accomplish a single task (setting a point, drawing a line, etc.). 1.0 is the ideal.

The original AutoCRUD and WordImperfect were unbelievably inefficient. It took 14 mouse clicks and keyboard presses to move a block of text in WordImperfect (1/14 = 0.071). Word 5.0 (DOS) came along and took 4 actions (1/4 = 0.25) - 3.5 times as efficient! I threw WordImperfect in the trash and never looked back. Likewise, AutoCRUD V10 required you to open half a dozen menus just to set a single point - something like 0.05. When I saw ProDesign (DesignCAD V1.0) with right click gravity snap (1.0 - 20 times as efficient!) I switched immediately and AutoCRUD went into the trash.

The problem with fiddling with the working plane is that you have to do a whole bunch of unnecessary work just to set up to draw the line. Then you have to undo all the unnecessary work to restore the original working plane. There is always the danger that you will forget which working plane you are using (I speak from experience) and draw part of your drawing incorrectly - this is the main reason I avoid changing working planes at all costs. With Plane Snap (F7) there is very little unnecessary work.
DesignCAD user since 1987

Lar

Doc, just on your last comments of Working Plane: do you know that you the dcad saves about 4, 5 or 6 working planes? Once you set them up you can go back and just select one at any time, even from another working plane. You can also delete and even rename them. All this is in 'View menu> Working Planes...' but you can also click on the bottom-rightmost icon in the Status Bar to get options.

Lar

Ignoblius

Many years ago I wrote an AutoLISP function that took 3 (nonlinear) user-entered points, derived two vectors using the first point as the common point,and drew a line equal to the cross-product. If there's something similar to AutoLISP in DCAD the same algorithm should be applicable.

magic

Hi Ignoblius,

There is BasicCAD, i.e. DesignCAD macros, the latest reference of which is the macros help file, which you will find here: http://forum.designcad.com/index.php?topic=5.0.
It's a kind of magic!




Dempsey

The Requested Features list has something like this listed a F-148.

Is this still required or can I remove it from the list?
Dempsey

Dr PR

Dempsey,

Yes. The current "perpendicular to a plane" really doesn't work correctly. If the starting point is over the plane it does create a line perpendicular to the surface of the plane (green line #1 in the attached drawing). But if the starting point is off to the side of the plane the function creates a line perpendicular to the EDGE of the plane (blue line #2), and not perpendicular to the surface of the plane. Unfortunately, sometimes it is not obvious that the resulting line is not perpendicular to the plane, and subsequent drawing based upon the "perpendicular" is totally messed up. Call it a feature request or a bug fix, but we need a command that produces ONLY lines perpendicular to the surface of the plane.

Ideally it would draw a line from the starting point to a point in the plane of the plane. If the starting point was not above the plane the line would stop at a point off to the side of the plane but in the plane of the plane and perpendicular to the surface of the plane (red line #3).

Alternately, if the point is not above the plane but off to a side, the command should fail.
DesignCAD user since 1987

Dempsey

Tanks Dr PR; I updated the description of F-148.
Dempsey