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.

X and Z axis reversed?

Started by metrognome, November 09, 2012, 05:24:40 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

metrognome

DCad V22, win7.      :-[

I seem to have no idea how to correct this: (or even if I caused it)

In the side, top and front view panes, as I move the cursor up/down, the coordinates bar says I'm moving in the X axis.

In the side, top and front view panes, as I move the cursor left/right, the coordinates bar says I'm moving in the Z axis.

When I attempt object alignment these axii (sic) are also reversed.

I'd be very thankful if somebody could steer me in the right direction to correct this.
Win10, core i-3, 6G ram, Dcad v25.2

Dr PR

mg,

Just a guess, but have you rotated the view 180 degrees? I have done this while working in 3D wireframe, and it is totally confusing!

Try using "Window/DesignCAD Tile." This will restore the original orientation.

Also, try working in shaded mode (Gouraud, with graphics acceleration enabled) and see if this helps orient you.

Phil
DesignCAD user since 1987

prl

#2
If what Phil is guessing is correct then you may want to create a "home" view or "home" hotkey.  I get turned around in complex 3d models and find it necessary to back out to a standard view every few operations.  My "home" view is a southeast isometric zoomed-to-fit the screen.

'Program: home.d3m (southeast iso view)

'prl note - this is hotkeyed to Home key

' Make sure we're in 3D
if Sys(344) = 1 then
>2DMode
{
}
endif

>ViewChange
{
  <Type 1
  <Angle 21.0000,-51.0000,0.0000
  <VRP 0,0,0
  <PRP 0.0000,0.0000, -5000
  }

' This simple macro sets the viewer's position at the center of the screen,
' then enters the Set View command, so objects drawn can't be "lost" in 3D space.

xav = (Sys(120) + Sys(122))/2
yav = (Sys(121) + Sys(123))/2
zav = (Sys(124) + Sys(125))/2

>SetViewerPoints
{
    <Pointxyz [xav, yav, zav]
}

>FitToWindow
{
}

End

metrognome

Thanks to both for the suggestions.
Neither seems to cure this anomaly.
Opening a new drawing has the same directional problem, ie; moving cursor:

'Y' = up/down.

'X' = left/right

'Z' = in/out

even with no entities drawn. So it doesn't seem to be a viewpoint orientation situation.

It's not disastrous. I'm mentally adjusting.




Win10, core i-3, 6G ram, Dcad v25.2

prl

Sorry it didn't help.  Your drawing is positioned okay. I'm at a disadvantage here since I never use the four way DesignCAD tile nor do I ever use the cursor movement approach.  To double check, are you talking about merely moving the mouse around in each of the three side views or actually keyboarding cursor movements in them?  Maybe someone that does use the DesignCAD defaults can chime in.

metrognome

Thanks again for your time.

Normally I don't have all four panes open as I fumble around constructing.
I use 'all views' occasionally for placement verification.
I do, though, use a combination of my track ball (I thank this board for the recommendation) and mouse to get around in the main window.
I started, as a noob, using only mouse motions and never did learn to use the keyboard to move and set points.
Nor learning or using commands.

Perhaps I should.......

but I still have the reversed X and Z to live with.   Oh well    :o
Win10, core i-3, 6G ram, Dcad v25.2

MarkX

Quote from: metrognome on November 09, 2012, 05:24:40 PM
DCad V22, win7.      :-[

I seem to have no idea how to correct this: (or even if I caused it)

In the side, top and front view panes, as I move the cursor up/down, the coordinates bar says I'm moving in the X axis.

In the side, top and front view panes, as I move the cursor left/right, the coordinates bar says I'm moving in the Z axis.

When I attempt object alignment these axii (sic) are also reversed.

I'd be very thankful if somebody could steer me in the right direction to correct this.
My motions show differently, but also incorrectly. To fix it, I  first make sure that the view toolbar is displayed. Then I click on the Front view window. Then I select Front View from the view tool bar. I select this, I should say, *again* because it already shows as being selected in the toolbar.

After this adjustment, the XY motion matches the way you expect. Do this for each window that is displaying XYZ coordinates incorrectly.

Mark
(using v21)

prl

Quote from: MarkX on November 11, 2012, 11:53:52 AM
Then I click on the Front view window. Then I select Front View from the view tool bar. I select this, I should say, *again* because it already shows as being selected in the toolbar.

Thanks Mark, I get the problem.

Looking again at the drawing metrognome provided, I just realized the front view pane is showing a side view and the side view pane is showing a front view.  Metrognome, not sure how you got to this tiling but when I used the "restore DesignCAD tile" command, I get the second image which now looks correct.  See the attached graphics.

Note I'm doing this with version 22.

Dr PR

#8
mg,

Designcad defaults to mathematical axes, where X is horizontal and Y is vertical. That originates back in the early 2D only versions. For 3D the Z axis in in/out of the screen in the horizontal plane. This makes the XZ plane horizontal.

If I understand you, you are expecting the Z axis to be vertical, and the Y axis into the screen, so the XY plane is horizontal. Some other programs work this way. In them when you draw a 2D drawing in the XY plane, say a house floor plan, the XY plane is horizontal when you switch to 3D. Is this what you are talking about?

DesignCAD has the positive Z direction going into the screen. Some programs have the positive Z direction coming out of the screen. Some have Z the vertical direction.

Personally, I have always ignored the orientations and window labels. For me, when drawing objects the X axis is the longitudinal longest axis, the Z is transverse, and Y is vertical. Consequently, the labels on the three small side windows are wrong. The "front" window is actually the side (XY), the "Top" window is the top view (XZ), and the "side" window is actually the front view (YZ).

You can change the view orientations of all windows and then save them as the "DesignCAD Tile" settings. You can also save custom view settings. I have never bothered because everything you set will be lost when you load a new version and you will have to reset everything. I just got used to it.

There is one case when I have to pay attention to axis orientations. When I convert a DesignCAD drawing to a stereolith (3D printing) file I have to move the origin so all parts of the drawing have positive X and Y values, and all Z values are negative. STL files require all values to be positive, and they expect the opposite polarity along the Z axis (positive out of the screen). The translation process reverses the polarity of all Z values, so the negative DesignCAD values become positive STL values.

Phil

Note: edited to correct my fumbling fingers.
DesignCAD user since 1987

prl

#9
Quote from: Dr PR on November 11, 2012, 02:59:13 PM
Personally, I have always ignored the orientations and window labels. . . . . Consequently, the labels on the three small side windows are wrong. The "front" window is actually the side (XY). the "Top" window is the top view (XZ), and the "side" window is actually the front view (XZ).

Phil, your description lost me. You consider a front view to be in the XZ (??, did you mean YZ) plane and the side view a in the XY?  Maybe you are talking about how you are looking at your ship model only. In DesignCAD, the XY is the front view (aka south elevation if you are doing building models using the xz plane as the ground).

MarkX

Quote from: prl on November 12, 2012, 03:55:13 AM
Quote from: Dr PR on November 11, 2012, 02:59:13 PM
Personally, I have always ignored the orientations and window labels. . . . . Consequently, the labels on the three small side windows are wrong. The "front" window is actually the side (XY). the "Top" window is the top view (XZ), and the "side" window is actually the front view (XZ).

Phil, your description lost me. You consider a front view to be in the XZ (??, did you mean YZ) plane ...
Phil must have meant YZ, because otherwise there would be 2 XZ views. Sometimes the fingers type what they want. Happens to me all the time.

Mark

Lar

One thing to keep in mind, and I'm surprised there was never a lot of complaints about this, is that in 3d mode the name of a window is in no way tied to the actual view. You can start a new drawing with the built-in settings, draw something, press Y to rotate the view, click into the window named 'front', or 'side', or 'top'  and rotate the view to your heart's delight. When done rotating the window's name does not reflect the viewing angles. You could also go to any window and freely change it's view with the view toolbox without the window's name changing. Even the View toolbox is not consistent in this in that it may show the correct viewing angle for the active window but it does not attempt to correct what is the name field, except for 'perspective' and maybe 'parallel' (but all not perspective views are parallel).

In other 3d programs to get a window to display the 'front' view, for example, you have to pick it from a menu and you can not ever rotate that view. Only the 'perspective' and 'parallel' views can be rotated, as their names suggests.

Lar

prl

Quote from: Lar on November 12, 2012, 08:38:12 AM
in 3d mode the name of a window is in no way tied to the actual view. You can start a new drawing with the built-in settings, draw something, press Y to rotate the view, click into the window named 'front', or 'side', or 'top'  and rotate the view to your heart's delight.

Is this how the odd tiling was created?  One clicks into the front view pane and selects a side view.  Then one clicks into the side view and selects a front view.  Then one saves this as the DesignCAD tile and now everything is rotated about the y axis by 90 degrees.

Good observations Lar.  I'm glad I only use the main screen.

Lar

#13
Ok, understand that this is another one of those 'flexible' things about dcad that I love.

I start out with my custom tile. Before long I'm working between 2 of the windows, one zoomed out on a general area and another zoomed in on a particular detail of that area. Another of dcad's unique qualities, being able to start something in one window and continue it in other windows, makes this easy. Depending on the aspect ratio of the area of interest I would resize a window either horizontally or vertically. One window would normally cover others but they are all arranged so no window is ever totally behind others... a part of every window's border, no matter how tiny, would always be visible to click on so it comes to the front.

So, before long my original window sizes are bye-bye.

It is very common that I need to rotate the zoomed in view slightly to distinguish points. I hit my hot key for Dr PR's favorite macro to snap at a point and rotate the view focused on that point all in one go. At that point the view angle of that window is no longer related to its name and I'm not giving it a second thought. In fact, I don't even know what the window is named.

Now, say I need a 2nd zoomed in window. I call up another macro. This one allows me to click 2 points in my zoomed out window then click a 3rd point in another window and that other window zooms in to the area defined in the first window. Dacd for DOS does this but it got lost in the translation to windows... so I wrote my own macro for it.

However, since that window's view does not match either of the other two window's views it is not showing me what I need to see. So, I call up yet another macro that allows me to define a zoom area in the zoomed out window and when I click in the 3rd window, not only does it zoom in but its view angles change to match the other window.  I do this without a peep from dcad.

So, as you can see my windows are in a constant state of flux, changing sizes and view angles at will without dcad making a fuss. I love it.

Lar
ps: I should mention that I don't like multiple screens because it involves too much turning of the neck and long distance travelling of the mouse.

Dr PR

All,

Don't pay any attention to what I say, just what I mean. That's what I tell the grandkids.

You are right - for me the YZ plane is the front view. That is the way I learned to draw things long before CAD was invented. It comes from drawing the 2D side view of things like cars, airplanes and ships in the XY plane. This was the "normal" way to draw objects, and the paper was rotated with the long dimension horizontal. When 3D came along the XY plane still ran lengthwise so the YZ plane became the transverse dimension.

To me, ProDesign/DesignCAD automatically worked the way I expected it to (Y up/down) because that was the way I thought about drawing. The X axis is (for me) the longitudinal axis and the Z axis is the transverse axis. I even draw 3D maps and houses this way.

Architects typically drew 2D floor plans in the XY plane. When 3D CAD came along it was "normal" for them to keep the XY plane horizontal and make the Z axis vertical. Again, the program worked the way they expected it to.

NEITHER method makes more sense than the other. And with CAD you could just as easily work with the X axis up, the Z axis horizontal, and the Y axis in/out of the plane of view.

In fact, long ago I decided that all axes are entirely relative to the object. Try drawing an object in space - there is no up/down. Everything I draw is object relative, especially when I use "View/Working Plane/Change Working Plane" to reorient the axes relative to a particular part of a drawing. One of the big problems people seem to have when switching from 2D to 3D drawing is their hangups about the origin and axis orientations. In 3D drawing these things are irrelevant.

prl is right - you can select the "front" view window and rotate the view to anything you want to be the front view. Then you can save this view. I haven't bothered, because every time I install a new version I would have to reinstall my special views. It would be a waste of time.

Phil

PS: I seem to recall that there was a way to rename the windows in DesignCAD. Is anyone familiar with this? Not that I care - I wouldn't bother.
DesignCAD user since 1987