News:

The purpose of these forums is to discuss TurboCAD.  Please keep the discussion of other products to compatibility issues or how the other software can be used with TurboCAD.

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

UCS orientation difference when selecting Workplane by Facet?

Started by Saltgrass, February 29, 2016, 04:53:57 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Saltgrass

As you can see by the attachment, one of the two entities shows Dimension text upside down.

The one Upside down is a Box the one with normal text is an extrusion.

When I apply workplane by facet, the orientation of UCS for the box is different than the UCS for the extrusion for the same relative face.  Why is it different with such a simple drawing...?

Thanks..

Clark
TC2015 Platinum

Henry Hubich

Workplane by Facet very often turns out to be backwards from what you expect. "Workplane by 3 Points" gives a predictable result, though it's not nearly as convenient.

Henry H

Saltgrass

Quote from: Henry Hubich on February 29, 2016, 08:01:12 PM
Workplane by Facet very often turns out to be backwards from what you expect. "Workplane by 3 Points" gives a predictable result, though it's not nearly as convenient.

Henry H
Thanks for the response.

The selection in the drawing referenced is very consistent.  The extrusions always show the workplane one way the blocks always show the orientation the other way.  That being the case there must be some reason I do not yet understand for that to happen.  The top of both entities show the same and agree with the WCS.

The reason I did the test drawing was because the dimensions for the door on my other drawing were showing upside down.  I realized selecting certain entities to place the workplane was causing the situation.

I can use the 3 point workplane or rotate the workplane to make the dimensions correct, as you say, but such a process should not be necessary.
Clark
TC2015 Platinum

Dean

Clark,
try "workplane origin" as the dimension tool is still active.
Also, enabling the ucs will help you see what turbo is doing with the x,y,z axis.
"What do I know, I'm still learning".
Lenovo Legion T5  Intel(R) Core(TM) i7-14th Gen 20 cores Nvidia RTX 4070 Super 16GB Windows 11 home TurboCad 2025 with Animation Lab 6.0

Andy H

Quote from: Saltgrass on March 01, 2016, 06:51:17 AM
The extrusions always show the workplane one way the blocks always show the orientation the other way.  That being the case there must be some reason I do not yet understand for that to happen.  The top of both entities show the same and agree with the WCS.

This is a tough subject and I can only give my interpretation, (and I probably won't do a good job at explaining it),

The problem comes because the workplane by facet often has to orientate the objects own internal (usually 'entity' but not always in RedSdk) x,y,z so that the x and y lie on the facet, as obviously one can only ever draw 2d or base 3d on the x, y workplane directions, and +z must point away from the face/facet, but its not always straightforward, for example draw a 2d rectangle on the world workplane and extrude, the top facet will be the same as the world, easy to judge what's what, however go to right view and use workplane by view, draw a rectangle, go to iso SW and extrude, it still may visually look like a box on the world x,y, but in entity coordinates the +z is pointing world +x (assuming its extruded that way).

Therefore in general for a facet, TC will rotate the objects internal coordinates and point +Z away from the facet and spin y in the direction of where z was, which  because the relationship between +x, +y and +z are fixed, gives the impression +x also moves, the actual direction and order of any rotation - possibly only the programmers know,  things get even more complicated because of the different coordinate systems, for example if 'Extents' is set to world, everything will always visually look right, but internally TC will still re-orientate a facets workplane based on its internal coordinates (usually extents), of course Booleans can change things as well plus different objects react differently..

A block will effectively be on whatever workplane was associated at the time of creation but the underling object will still have its own internal CS and this will be used when selecting workplane by facet.

As I say that's my interpretation and even though I always use Extents = Entity (a requirement with animation), so I know the objects orientation, I never use 'by facet' when dealing with text, by facet for good for a quick workplane with 2d, cylinders boxes etc.       


 

Saltgrass

Quote from: Andy H on March 01, 2016, 09:57:58 AM

Therefore in general for a facet, TC will rotate the objects internal coordinates and point +Z away from the facet and spin y in the direction of where z was, which  because the relationship between +x, +y and +z are fixed, gives the impression +x also moves, the actual direction and order of any rotation - possibly only the programmers know,  things get even more complicated because of the different coordinate systems,

I agree Z will be perpendicular to the facet.  If I understand what you mean, y will move where z was so x has to go were y was.  That is what happens with an extrusion, but not a Box.

Quote from: Andy H on March 01, 2016, 09:57:58 AM
for example if 'Extents' is set to world, everything will always visually look right, but internally TC will still re-orientate a facets workplane based on its internal coordinates (usually extents), of course Booleans can change things as well plus different objects react differently..

A block will effectively be on whatever workplane was associated at the time of creation but the underling object will still have its own internal CS and this will be used when selecting workplane by facet.

As I say that's my interpretation and even though I always use Extents = Entity (a requirement with animation), so I know the objects orientation, I never use 'by facet' when dealing with text, by facet for good for a quick workplane with 2d, cylinders boxes etc.

I will need to check into the Extents comments and see what effect that has.

Right now, I am guessing if I start a new drawing with a stud wall, I will not use a box to create those studs..... Henry mentioned something about expecting what the drawing will do.  Currently, many of the things I do is try it to see if it works, with no real expectations of how it will work.

Dean, I will need to check into your comments.  Workplane by origin seems to use a prior workplane to set another one.  That doesn't appear to allow me to use dimensions where the text is in the desired location, but I will do some testing... I do leave all the coordinate systems visible.

Thanks all..
Clark
Clark
TC2015 Platinum

Dean

Quote from: Saltgrass on March 01, 2016, 11:28:02 AM

Dean, I will need to check into your comments.  Workplane by origin seems to use a prior workplane to set another one.  That doesn't appear to allow me to use dimensions where the text is in the desired location, but I will do some testing... I do leave all the coordinate systems visible.

Thanks all..
Clark

It's a solution to your original request.

Clark said "When I apply workplane by facet, the orientation of UCS for the box is different than the UCS for the extrusion for the same relative face.  Why is it different with such a simple drawing...?"
"What do I know, I'm still learning".
Lenovo Legion T5  Intel(R) Core(TM) i7-14th Gen 20 cores Nvidia RTX 4070 Super 16GB Windows 11 home TurboCad 2025 with Animation Lab 6.0

Saltgrass

Quote from: Dean on March 01, 2016, 11:38:33 AM

It's a solution to your original request.

Clark said "When I apply workplane by facet, the orientation of UCS for the box is different than the UCS for the extrusion for the same relative face.  Why is it different with such a simple drawing...?"
I thought you comments might help that situation, I just needed to investigate.

But the question came about after I realized choosing a facet on one entity would cause the text to be upside down while the same relative facet on another entity would create the text right side up.   That led to the discovery the workplane was being created in another orientation based on the particular facet.  If I had a stud made from a box and used its facet, the test would be upside down. If right next to that was a stud made from an extrusion, the text would be correct.

I had been thinking the workplane only had to be aligned with the object I was measuring.  I had not really bumped into the orientation of the workplane being a factor although I had been seeing incorrect text but did not know what was causing it.  I have seen several threads asking about upside down text but I did not see an answer.

Thanks..
Clark
TC2015 Platinum