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.

Need Help drawing a line using Point Relative

Started by bobblack, April 02, 2013, 08:11:40 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bobblack

Dcad 22 2D, Win 7. If I set a point using left click on the mouse, hit comma to bring up Point Relative (Relative to "last cursor postion"), enter the distances and then hit "enter' the cursor moves, but when I hit" V" to draw the line no line is drawn.

I'm not sure if this is the best technique but it has been working for me through a number of versions of Dcad.

I suspect that I have inadvertently changed some setting but I can't figure out what I've done.


Any help would be appreciated.

Bob Black
Bob Black in Atlanta

Rob S


By default for quite some time now, Designcad works the other way around.

You hit V (or whatever drawing command) first, then at the bottom left of your screen you see a hint line telling you the points required for the command.

Then set the required points, and press enter to finish the command.

When using point-relative, make sure "relative to last point" is enabled, otherwise the next point might be drawn relative to last cursor position, which may have moved in the meantime.

Designcad does have an option for preset point mode, (maybe you had this enabled previously??) where you can set points first, and then enter the command, but this method is now seldom used.
User since forever

SciGraphics

I've been using semicolon for point relative. Coma is used for snap to point but don't set the point. Jim A.

bobblack

Thanks for the response.

Still having a problem.

Hit V, set a point, move the cursor with the mouse, set another point, hit enter and get a line. Then I can't get the cursor off the screen. The pointer that I used to get by hitting escape doesn't come up.

Next. Hit V, set a point, use comma to bring up point relative, set points, hit enter. Cursor moves but no line is drawn. Also, can't get rid of cursor.

Can you tell what I'm doing wrong.

Thanks,

Bob Black
Bob Black in Atlanta

bobblack

Re; SciGraphics: I get a polar point relative when I hit semicolon.

FWIW - I just recently upgraded to V22. Has a lot changed in basic operation of the program?

Thanks, in advance,

Bob Black
Bob Black in Atlanta

Rob S

Really very little has changed in basic operation over last several versions.

If something isn't working, maybe it's time to do a full system restart and see if that helps.

If you've been trying out various options in the new version and can't figure what settings you might have changed, you could reinstall or do a reset just to make sure.

Did you keep your old version on your machine?  You can run them side by side and see what is different.

User since forever

bobblack

I thini I got it solved. I had reversed preset point in options. Reset it and all is well.

Probably caused by my ham fistred typing.

Many thanks to Rob and SciGraphics.

Bob Black
Bob Black in Atlanta

samdavo

#7
Just on a similar topic/problem;

From time to time I find that POINT REL has changed from "rel to Last Point"  (which is useful, and what I like to think is my default setting) ...

to "rel to Last Cursor Posn"  (which is arguably pretty useless - or at least less useful- and sometimes introduces errors till you twig to what is going on)...

But I'm damned if I know what caused it to change (??)

As for ways to sort it if it happens,  (call these "tips for discussion"...)

I have not been able to write a macro to ALWAYS open with   "rel to Last Point" ;
(and if I could I would reallocate apostrophe ( ' ) to such a macro) ...   

but if I  just type "Tab Tab Tab P X"  then I know I am in that setting;

(or Alt+P, then X I guess); ...  (sorry I prefer the keyboard to aiming the mouse at small icons)

and also,  FWIW, I like to set "Always reset values to zero"  (2 cents).
Any improvements to this plan (to avoid finding oneself in  "rel to Last Cursor Posn") would be appreciated.

PS there is one more "trick?" (albeit seriously trivial) , and that is, whenever you want to draw a vector using PointRel, BEFORE you type ('),  move the cursor some significant distance to the left or right - and it will be blatantly obvious if the PointRel has changed to "rel to Last Cursor") .  But I'd prefer  to have a reliable macro to give me my preferred default :)

MarkX

Quote from: bobblack on April 02, 2013, 08:11:40 AM
Dcad 22 2D, Win 7. If I set a point using left click on the mouse, hit comma to bring up Point Relative (Relative to "last cursor postion"),
I assume that what you meant was "hit single quote" to bring up Point Relative?

Mark

magic

Hi Sam,

Quote from: samdavo on April 11, 2013, 03:47:31 AM
From time to time I find that POINT REL has changed from "rel to Last Point"  (which is useful, and what I like to think is my default setting) ...
to "rel to Last Cursor Posn"  (which is arguably pretty useless - or at least less useful- and sometimes introduces errors till you twig to what is going on)...
But I'm damned if I know what caused it to change (??)

This usually happens, if you've tried Point Relative or Point Polar without setting a point first. Even if you then set a point and try any of them again, they will still be at relative to last cursor position. It's a PITA.

Hi Mark,

Quote from: MarkX on April 11, 2013, 06:15:37 AM
I assume that what you meant was "hit single quote" to bring up Point Relative?

I assume that you mean Apostrophe.
It's a kind of magic!




MarkX

Quote from: magic on April 11, 2013, 06:25:09 AM
Quote from: MarkX on April 11, 2013, 06:15:37 AM
I assume that what you meant was "hit single quote" to bring up Point Relative?

I assume that you mean Apostrophe.
Well, its really a dual-function key. I have to refer to it as single quote when using dragon.

Mark

samdavo

#11
Thanks magic,
Of course you are right.  (I wasn't very thorough checking that out was I ? lol. sorry).
So one response to a PITA is to treat it as a FUTR OFI  (Feature Under Team Review / Opportunity For Improvement)

Moving on ...
So one way to stop it happening would be to right a macro - tied to a reallocated hotkey (') -
that first warned "Make sure you have set a point first before using PointRel!", and then opened the PointRel box. 
[ PS It shouldn't be that hard, but I'm having trouble with it  - any help gents? ]

In a similar vein,  when I print to anything, I find it good to remind myself to set parameters carefully, and to CONCENTRATE.   This is particularly true when prtinting to cutepdf (which I use for pdf's) , as I find it takes a few seconds, and if I'm not careful, my mind moves on, perhaps to a different drawing  - and cutepdf is sitting in a hidden window (or on the other screen) asking "Save As? - do you want to save this file as 'Elevation of an Elephant.pdf?"  and I am ignoring it - and future instructions to print just queue up behind that unprocessed/unresolved window.

So the elephant didn't get printed, nor the zebra nor the meerkat etc etc queued up behind it.  And I usually have to cancel them all and start again (to get things under control again - and to be sure, to be sure).  [ Typically my job involves printing say 6 or a half dozen small drawings to pdf, and sending them off for approval ].

So what I have done there is to write a macro (tied to a reallocated Ctrl+P) that warns to use patience when printing... 
message "P-P-Patience, especially for pdf's!!"
>Print
{
  }

Let's face it, macros don't come any simpler than that - but hey, I save several minutes a day as a result, "getting it right first time"  - cheers (2 cents)

samdavo

#12
PS I suppose one option is to add a warning (Message) to the library macro  UserPoints.d3m viz ...

and (as I say) reallocate hotkey (') to that macro -

PS.  OOPS That wouldn't work lol - you need (') to set the points!! -

A much better way would be to add it on the end of the hotkey for "draw a line" eg V, and THEN use PointRel (unchanged, but forewarned).

PPS or just change hotkey "V" from simply draw a vector/line, to macro UserPoints2.d3m as below.

In my case I have set L for Ortho Line, (some use H, I guess) so I'd have to think that through as well -... mmm,  not quite there yet


But I also guess there's a better option:-
(currently 10 points - no reason you couldn't make this 20 points of course - 2cents)

' UserPoints2.d3m - Prompts user for up to 10 points, stores
' the points in an array, then uses those points to draw a line.

' Allocate storage for the points.
Dim X(10), Y(10), Z(10)
npts = 0

Message "DOUBLE CHECK - Rel TO LAST POINT!"

Sys(41) = 1 'Set the RubberBand type to show a line.

'Prompt the user to set up to 10 points.
SetPoint "Set up to 10 points for a line; press Enter to stop." 10
npts = Sys(1)
Message "You set ", npts, " points."

Sys(41) = 0 'Turn the RubberBand back off.

' Store the points in an array.
For i = 1 To npts
    PointVal X(i) Y(i) Z(i) i
Next i

Sys(1) = 0  ' Clear the points.

'Draw a line using the points.
>Line
{
    For i = 1 to npts
       <PointXYZ [X(i), Y(i), Z(i)]
    Next i
    }


PS I have reallocated V from draw a line to "UserPoints2.d3m" - seems to work ok (2cents)

samdavo

#13
Actually, just watching a video called "DesignCad 3D Max v22 Tutorial: How to position and create holes"
http://www.youtube.com/watch?v=-CkDiZO_g-g&list=UUtGXpkLc8IPCWpOg2Qtcs5w&index=1

and based on something the author algernOne  (related to anyone here? lol) does at the 1m 30s mark - I wondered if you could use the Point Relative command with the default of "Relative to Ref Point"  , and then you click the last point (IF it was that option, i.e. as and when relevant). Food for thought.

In one sense inefficient (if all points are rel to last point), but in another, very powerful (if they aren't).
 
Cheers, and thanks to whomever takes credit for that and all the other videos out there :)

MarkX

Quote from: samdavo on April 20, 2013, 12:37:25 AM
Actually, just watching a video called "DesignCad 3D Max v22 Tutorial: How to position and create holes"
http://www.youtube.com/watch?v=-CkDiZO_g-g&list=UUtGXpkLc8IPCWpOg2Qtcs5w&index=1

and based on something the author algernOne  (related to anyone here? lol)
Yes.

Quote
Point Relative command with the default of "Relative to Ref Point"  , and then you click the last point (IF it was that option, i.e. as and when relevant). Food for thought.
I believe you could, but it makes you pay to much attention to what point you're at in the movement process. I concluded that it was better to pick one method and stick with it. The time you spend hovering with your mouse, deciding which approach to use, would be better spent just getting on with it.

Have fun,
Mark