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.

Tabbing into Coordinate Bar

Started by Lar, July 21, 2019, 08:22:58 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Lar

Hi all,

I remember there being a way to tab into the fields of the Coordinate Bar directly from the drawing (ie, without moving the cursor because moving the cursor causes the numbers in the coordinate bar to change).

Does anyone know how to do this?

Lar,
...thanks in advance for any help.

Bob P

Are you talking about the " (double-quote) key?

Lar


Rob S

Ah, but you CAN move the cursor over the co-ordinate bar while the point-relative dialog is open, and then esc key to close the dialog, and then click into the box, and the numbers in the co-ordinate bar will not change.

Not sure if this helps you achieve your purpose though....
User since forever

Bob P

* I don't know where my fingers are typing. I meant the : (colon) key.

bdeck

Quote from: Bob P on July 23, 2019, 09:00:35 AM
* I don't know where my fingers are typing. I meant the : (colon) key.

BobP, good call.

Or, with implementation of the Sys$() variable suggested here http://forum.designcad.com/index.php?topic=5270.msg51912#msg51912, one could roll his own macro to do something similar using prepopulated input fields. (another shameless plug for an old request)

bd

Lar


The native colon shortcut is the Point XYZ command.


I have the colon and the and semi-colon (native point polar) flipped because I use the point xyz at 000 a whole lot and just about never use the point polar command s
o no fooling with control keys
(I hardly use point xyz at anything other than 000 either, so I start whatever drawing command, hit the ;/: key and the enter key all in the blink of an eye).


Rob's idea works... and while trying it out a small twinkling of my old coordinate technique came back. The trick, I think, was to use the deltaX, deltaY and deltaZ fields (not the XYZ fields, as I was doing first).


Say I start the Line command and then set the first point....   and the gist of all this is... you guessed it... to draw in shaded mode without the cursor bogging down... which I know is caused by the built-in, un-turn-off'able rubberband line trying to retrace the entire ghost line every time the mouse twitches....So back on point... I start a line and set the first point somewhere, then I remember being able to tab into the coordinate bar's first field (X), then I would have regular Tab all the way to the DX field (you can turn off the X, Y and Z fields if you want), type in a value (0 if not moving in that axis), tab to DY and then DZ putting in appropriate values, then press enter and the 2nd point is set there. Since there was no actual movement there is no dcad trying to trace through the ghost line.


Now, this idea works but couple'a things: you don't have to tab into the C_Bar. You can just move the cursor directly to the DX and click to highlight the entire field (important) and type in something, then you sort of must regular Tab into the DY and DZ fields and enter something, even if (expecially if) it's 0. But if doing this you should have the C_Bar very near by cus once you move the cursor dcad gleefully traces through the rubberband points. Having the Bar close cuts down on the distance you move the cursor so less dcad retracing. If you can anticipate where your next point will land you can actually drag the center of the C_Bar there so when the point sets there you are already in the C_Bar. The other couple'a things are, 1) there is a learning curve to this technique and it's a little tricky getting the pending point to actually set. The cursor would move there but pressing enter doesn't always guarantee that the point will be set. I had to keep peeping down to the point count in the status bar to see if the point count went up a digit.



The other thing is this no-rubberband-retracing works a lot easier with the PointRelitive command, IF you don't ever have to touch the mouse and just press the apostrophe key (for PointRel), tabbing to the field you want (easier if 'set to zero' is on), entering a value then pressing enter. Dcad still retraces a bit but it only seems to be the segment being drawn and not the entire ghost line.


Lar

Rob S

Ah sooo, always nice to know the purpose of the exercise...
User since forever

Lar

#8

Ok...Ok folks, I figured it out. I was dilly-dallying (instead of doing urgent work) and when I finally go to do some urgent work instead I messed with the C-Bar again and it came straight to me. It's pretty easy when you do it the straight way. Trying to find easy tricks makes it iffy.


All you do is start the line (or whatever) command, set the first point, then manually move the cursor into the DX field and double click, making sure all the numbers in that field get highlighted. Say you want to move +10 units on the X axis, type in 10. Then press the Tab key, which will highlight the DY axis, type in 0, then Tab to the DZ and type in 0. Now here's the trick: press Shift+Tab. This takes you back to the previous field, which is normal for the whole Windows system, but in dcad, in this circumstance, it also sets the point for the line. Now press Shift+Tab again to return to the DX field and, say you now want to go 10 digits up the Y axis, type in 0, Tab to DY, type in 10, Tab to DZ and type in 0. Shift+Tab  back to DY, the second point is set. Now Shift+Tab  back to DX and start all over again (all this tabbing and shift+tabbing happens quickly one you get used to it).

Everything can be done without touching the mouse, but if you prefer, you can use the mouse to click in the fields (in order), and then just click in DX (rather than
Shift+Tabbing twice) to set the point. But, the cursor will jump to the coordinate locations each time so you will have to keep bringing it back to the C_Bar, and in shaded mode this will defeat the purpose.


So the trick is to enter digits in each of the DX, DY and DZ fields consecutively and then Shift+Tab to set the point. This will also take you back to DY and you need to start in DX so Shift+Tab again, and then enter digits in the three fields consecutively, pressing Tab to move forward. You will be tempted to just tab if the number is already in the field (like a zero) but enter the same number again or the cursor will move to that point but no point will be set and that may cause issues (like you may not notice that no point is set and when you do the next point the cursor will move again without the previous point being set).

Use the minus sign for negative directions, just like the relative command. If you use inch units you can enter ' after the number for feet, and I assume you can type " for inches if you use feet units.

You can also enter digits in the X, Y and Z fields but you have to tab twice since the Lock buttons are in between.

Sometimes the rubberline may disappear (like my wireless mouse needs batteries so it's causing weirdness to happen) but just enter a digit and tab (or shift+tab if you at DZ) and the rubberband line will reappear.

To end the line you have to move the cursor away from the C_Bar and click somewhere, like the active window edge (none of the C_Bar's fields should be highlighted. Then press Enter. If in shaded mode give dcad a li'l while to present the line.


To me this is an ok alternative to using point relative, if not setting any points manually, because you don't have to open and close anything so it runs smoother (if done right). It only works with 'from last point' or 'from origin', no 'from reference point' here, but these commands are still available, just move the cursor away and click somewhere to get the highlight out of the C-Bar's field and press the shortcut key for the Relative command (or if using the menu or icons just click directly).
Lar

Dr PR

All of this fuss for what?

I know some of you complain about the slow rubber band when drawing in shaded mode.

I have never seen it, and I have worked with some enormous files. So I don't believe the problem is in DesignCAD.

So I have to ask a question. For those of you who are experiencing this "slow rubber band" problem, are you using a Mickey Mouse laptop with a lame game-oriented video system, or a real computer with a video graphics processor and drivers that are optimized for CAD?

No matter how much time the programmers waste trying to "fix" DesignCAD, no amount of effort will turn a Volkswagen (laptop) into a Ferrari (work station).

Phil
DesignCAD user since 1987

Rob S

My apologies, Dr, but unlike most of your presentations, I must say I don't agree with much of that at all.

I have several computers, including a couple with supposedly decent video cards, and they all exhibit this problem to some extent or other.   The developers have reproduced and acknowledged it as well.

Designcad makes its living mostly by being the CAD program of choice for people who can't or won't afford Cadillac systems, with certain few exceptions who shall remain nameless here.  :)

Agreed, this problem only affects users who try to set multiple points for a new line or object by mouse in 3D shaded mode, but this is certainly something the target customer might want to do.

Thus, I feel strongly that  this problem experienced and described by many users here, and which makes it feel like you are driving your Volkswagen with one square wheel, is indeed a very important.

It is also puzzling as to why it can't be fixed, because the rubber band line in any other mode responds fluently even when setting a very large number of points.

I do agree that developer time is precious and should not be wasted on things that don't matter too much.   

If there is no better solution, due to the mixed mode of this feature, possibly there could be a redraw delay in 3D mode, so the rubber band line only redraws when the cursor stops at a certain location for a number milliseconds???  This might be an easy band-aid fix.

User since forever

Lar


I've used many systems over the years, some shabby and some decent. In all those systems dcad did slow shaded orbits and anything involving a rubberband preview was like driving on square wheels, as Rob put it.


But, with those same systems, even with the last of the 086 processors before the Pendium days, I remember doing real time smooth shaded orbits in 3D programs that offered it. Ever since 2006, when I started using Cinema 4D
, on those same systems,
I was not only doing real time shaded orbits, but real time  sahaded non-destructive user interactive multiple Boolean solid operations where I playfully manipulate the points of vector or curve control spline and watch the resulting solid change with my every move. Not after I manipulate the control line or curve but while I manipulate the control line or curve.


On those same systems... dcad would regenerate by drawing each entity individually while acad viewer (I don't have acad installed) would drop the whole drawing on screen one time.


... Dcad struggled with simple shadows and transparencies while games easily did real time shadows, transparencies... and reflections... while avoiding my projectiles... while trying to take me out... or driving at high speed through a fully shaded and lighted Tokyo, New York or Vegas... with rain or snow falling.


So I know it's not the system but the lack of decent display drivers in dcad. I mean, even within dcad the view rotation arrows can rotate faster than the Y command, because Y seems to consider the entire drawing (even off layers and stuff not on screen) while the arrows only consider what's visible on screen at the moment.




Lar

Dr PR

Lar and Rob,

As I said in an earlier post, DesignCAD's display routines are pathetic. They date back to single core 286 and 386 architecture running Windows 3 and probably to DOS 5. They have been patched so many times there is probably none of the original code left, just patches on patches, with more and more bugs introduced with each patch. I doubt if there is any program with worse display routines.

I purchased AccuTrans 3D many years ago to produce STL files from DesignCAD designs. Even with the most complex designs the 3D shaded views rotated extremely fast. In DesignCAD rotations clunked along with view updates every 5-10 seconds. AccuTrans cost $20, yet it had real-time view rendering hundreds of times as fast as DesignCAD.

I used to use Microsoft Flight Simulator to test new graphics systems, and since Windows XP I could enable every feature (weather, dynamic winds, road traffic, other air traffic, instruments, etc.) and the program ran with little or no slowdown. However, Flight Simulator and other games use pre-defined scenes with pre-defined views and pre-defined icons. Games do not re-render every scene from scratch but paste together pre-rendered objects. They do not use OpenGL, dynamic lighting, material properties, etc. like CAD programs, and each scene is not rendered dynamically, so they appear to run very fast. Games use DirectX or similar display routines that are optimized for games, and just about every computer made uses DirectX video hardware optimized for games.

Real time rendering is very different. We had a very good demonstration of the difference between well written code and the DesignCAD display code with the RedSDK Turbine Demo. Even on my laptop with a very generic graphic system most of the code ran in real time with rotating parts, dynamic shadows, primitive reflections and such, all at speeds much faster than DesignCAD. And on my work machine with hardware assisted OpenGL everything worked. Even ray tracing was faster than anything DesignCAD could manage!

****

You have been asking for yet another patch to fix one small problem that doesn't even appear on all systems. In my opinion, based upon past history, that is likely to cause more problems - for everyone - than it will fix. And it will waste programmer time that could be spent more productively.

In my opinion the only solution to all of the bugs in the existing code is to replace it entirely. Anything would be better than what we have now! I  had hoped that the RedSDK implementation would eliminate all old display code and replace it with much more modern code designed for modern machines. That didn't happen. But we should be advocating for entirely new code, and not just patches to what is possibly the worst code in existence.

Phil
DesignCAD user since 1987

Lar

Phil, we are not asking the programmers to specifically patch the display routines. We are asking for an improvement basic to 3D cad in this day and age. How the programmers implement it is up to them, we cannot control that aspect.
Not evey problem affects all users. A problem that's major for one person could be very minor for me, but if that problem is fixed I feel glad for that person, I wouldn't scorn him for letting what is a small problem for me get the best of him.
For example, you often complains about dcad on your system going into endless redraws and being unable to Esc out of it. This problem has been bugging you for years. Meanwhile, over those same years on all my systems I was always abled to halt a redraws by pressing the Esc key (I posted before on what to do in certain specific circumstances). This major problem for you is a minor one for me but I don't go around scorning you, saying things like "maybe your Ferrari system need some brakes, man".
Lar


Dr PR

Lar,

I feel the same way as you about problems that others have that I don't see. I do want those problems to be fixed.

But it did seem to me you were asking for just a fix to the slow rubberband problem in shaded mode. That wouldn't fix all the other problems in shaded views - and there are dozens of bugs in the existing code!

****

I really don't understand fully why the ESCape key doesn't immediately terminate a drawing operation. In fact, it does stop the current redraw in some cases -  but apparently only after the redraw has repeated 17 or 34 times. I think the ESCape key may stop the individual redraw cycle that is in progress, but the program continues with the next iteration of the redundant redraw. If the multiple redraws take less than a second it appears the ESCape key does function correctly. But if each redraw takes 10 minutes the ESCape key is essentially useless.

There is one other strange redraw phenomenon that happens only rarely. If I do something like subtract a solid from another solid in OpenGL Gouraud shading, sometimes the screen is redrawn once for every facet in the resulting solid. I can watch as each facet is redrawn one by one, and even if the drawing is small, if the solid has a lot of facets it can take a very long time for the redraw to complete. ESCape doesn't stop the redraws. This problem was so common in earlier versions that I developed the habit of never editing in shaded mode, and I still don't. So I do not know if the program still does this.

But it is clear that the ESCape implementation does not immediately interrupt the screen redraw, but allows it to complete before "stopping" it. That is a gross programming error!

****

As far as the Volkswagen vs Ferrari analogy goes, my laptop is a Volkswagen and my work machine is a Ferrari. Nothing the programmers can do will make the laptop perform like the work machine. No amount of wishful thinking will change that.

Phil
DesignCAD user since 1987