News:

Be sure your post is relevant to the current discussion.  Create a new topic within the appropriate board if you are unsure.

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.

change UCS

Started by Nickam, August 29, 2012, 08:22:12 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Nickam

I have a drawing that has been imported from an acad dwg. The WCS is set at an angle. How do I change it back to orthogonal?
I've attached the drawing in question.
Nick
(United Kingdom)
TurboCAD 20 Pro Platinum.
Windows 7 64 bit.

John R

Even though this is basically a 2D drawing, you have 3D polylines in it.

I selected the housing units,
moved the Reference point to the bottom of a building.
I then held the Ctrl key while selecting the X rotation node.
I moved the X Node to the bottom of another building.
Then rotated the Selection while holding the Shift key to force it to 0°.
I used "Ctrl+Q" to select only the 3D polylines.
I held the Shift key while selecting the building unit, thus deselecting the polylines.
Now I could activate "Plane by World" and "Format / Place on Workplane".
If I left the 3D polyline selected, they would've been moved far away (to their origin).

I hope this is what you wanted.
John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

Alvin Gregorio

#2
Quote from: John R on August 30, 2012, 03:35:42 PM
Even though this is basically a 2D drawing, you have 3D polylines in it.

I selected the housing units,
moved the Reference point to the bottom of a building.
I then held the Ctrl key while selecting the X rotation node.
I moved the X Node to the bottom of another building.
Then rotated the Selection while holding the Shift key to force it to 0°.
I used "Ctrl+Q" to select only the 3D polylines.
I held the Shift key while selecting the building unit, thus deselecting the polylines.
Now I could activate "Plane by World" and "Format / Place on Workplane".
If I left the 3D polyline selected, they would've been moved far away (to their origin).

I hope this is what you wanted.

John, in your revised drawing, the Walls are out of plumb.  I noticed that in your drawing, the bottoms of the walls aren't at the same "Y" coordinate (these buildings seem to be on a sloping terrain).  So, when I read the part of your process "I then held the Ctrl key while selecting the X rotation node", I suspected that you had everything off a little.

When I select a long/tall wall in the elevation, and go to Selection Info, in the Metrics, the "X" coordinate for Start and Finish are different.  They should be the same, shouldn't they?  (assuming that the original draftsman intended his walls to be plumb, as well as square in relation to the "foundation", window-sills, and roof-ridge.)

Maybe it's supposed to be that way.  Maybe these are some really old buildings that have settled a bunch and are starting to lean.

----
Nick,  I don't think that it is possible to have "WCS is set at an angle".  I mean, the World Coordinate System is set and fixed, isn't it?  The WCS aligns and is parallel with our monitor edges-- right? (In Standard View->World Plan)

When one first opens your file, sometimes it opens in a rotated view--- like 30°, or so.  But when you go to Standard View->World Plan the whole drawing re-orients itself.  If you keep your World Coordinate System indicator on (bottom left), you will see that it's not the WCS that is off, it's your View.

Likewise, the objects in the drawing are rotated, in relation to the WCS.

-Alvin
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Alvin Gregorio

#3
Quote from: Alvin Gregorio on August 30, 2012, 04:39:01 PM

John, in your revised drawing, the Walls are out of plumb.  I noticed that in your drawing, the bottoms of the walls aren't at the same "Y" coordinate (these buildings seem to be on a sloping terrain).  So, when I read the part of your process "I then held the Ctrl key while selecting the X rotation node", I suspected that you had everything off a little.

When I select a long/tall wall in the elevation, and go to Selection Info, in the Metrics, the "X" coordinate for Start and Finish are different.  They should be the same, shouldn't they?  (assuming that the original draftsman intended his walls to be plumb, as well as square in relation to the "foundation", window-sills, and roof-ridge.)

Maybe it's supposed to be that way.  Maybe these are some really old buildings that have settled a bunch and are starting to lean.

----
Nick,  I don't think that it is possible to have "WCS is set at an angle".  I mean, the World Coordinate System is set and fixed, isn't it?  The WCS aligns and is parallel with our monitor edges-- right? (In Standard View->World Plan)

When one first opens your file, sometimes it opens in a rotated view--- like 30°, or so.  But when you go to Standard View->World Plan the whole drawing re-orients itself.  If you keep your World Coordinate System indicator on (bottom left), you will see that it's not the WCS that is off, it's your View.

Likewise, the objects in the drawing are rotated, in relation to the WCS.

-Alvin

Nick,  Here's your drawing back, doing basically what John did, but taking care to make the walls plumb.

Note:  I didn't have to do anything in regards to those 3D polylines (they are the 8 lines that make up the sides of the 4 keystones over the second-floor arched windows).  I left those 3D polylines alone; although, if I were you, I'd change them to lines.

----
I detailed the procedure I used in the File|Summary|Description box.  A copy is below:

Edited By Alvin Gregorio.
Went to Standard World View
Selected All; Snapped Vertical Construction Line over vertical wall line; relocated Reference Point over that intersection; hold Ctrl. key down, rotated selector to wall line, released Ctrl. key; rotated everything to Construction line, snapping to Nearest on Graphic.


-Alvin

EDIT: Nick, a lot of the lines in your drawing that should be orthoganal are not, even when the drawing is "fixed".  I just think that maybe it was originally drawn a little haphazardly.  I definitely wouldn't recommend using your drawing- even John's or my edited ones- to "trace" over using Snaps.  Just click around with the Selection tool, while the Selection Info palette|Metrics|Start & Finish are open, and you'll see what I mean.  -Alvin
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Dean

Hi Nick, I am assuming the pink line should maintain a 0 degree.
1)   Go to world plan
2)   Turn on all layers
3)   Select all and make group
4)   Rotate -60.648 if in 2d select mode or -60.648 in “z” field if in 3d select mode.
5)   Explode group>
"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

wd

Hey Nick

Just for the fun of I made a little video on straightening it out.See video link  :)


http://youtu.be/FGOcdtfcijY
Even a mistake may turn out to be the one thing necessary to a worthwhile achievement Henry Ford
If I have ever made any valuable discoveries it has been owing more to patient attention than to any other talent Isaac Newton
I have not failed Ive just found 10,000 ways that won't work Thomas Edison

Alvin Gregorio

Weird thing about Nick's original file is:  Assuming that since it's a simple 2D drawing, it was drawn in 2D in whatever is AutoCAD's equivalent to Workplane By World, we should be able to Select All / Workplane By World / Format|Place On Workplane and have the whole drawing stay intact and rotate along the orthogonal axes.  Shouldn't we?

But when I do that, all sorts of things go crazy.

(Note:  the above performed after going to Standard Views|World View.)

-Alvin
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

wd

Just a thought
Place on the work plane only puts the object on the grid line and working in 2d it always on the grid if notice you there is no z axis when  the 2d selector shell is active,when things get crazy is when 3d objects are place on the grid because there above the grid and below the grid and the reference point on the object is set off not in accordance to the grid
Even a mistake may turn out to be the one thing necessary to a worthwhile achievement Henry Ford
If I have ever made any valuable discoveries it has been owing more to patient attention than to any other talent Isaac Newton
I have not failed Ive just found 10,000 ways that won't work Thomas Edison

John R

re: John, in your revised drawing, the Walls are out of plumb.

Yes, and the more I looked at the original drawing, everything was 'off' ever so much. I probably should have used one of the lines from a roof top, but some of those are suspect.
John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

Nickam

Thanks for all your help guys. When I get a minute I'll go over it in detail but it sounds like the original ACAD drawing which was sent to me is not drawn very well. I may have to just make the best of what I've got. I did copy and paste the drawing into a new drawing made from one of my templates. The drawing was then at an angle so I made a group of it and aligned it by three points to a line I'd drawn orthoganally.
Nick
(United Kingdom)
TurboCAD 20 Pro Platinum.
Windows 7 64 bit.

Alvin Gregorio

Quote from: wd on August 30, 2012, 07:32:09 PM
Hey Nick

Just for the fun of I made a little video on straightening it out.See video link  :)


http://youtu.be/FGOcdtfcijY

Hey wd--   I hate getting off-topic in a Topic (seems disorganized and "not right" towards the original Poster to "hijack" his Topic [my apologies, Nick), but-- What program did you use to make that video?

Thanks, Alvin
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

wd

Hey Al
All though I show I kick all the object around to the WCS it still off down below at the foundation level you can see some jaggies perhaps it was drawn that way.

Another thought;
I don't think its hijacking a discussion after all its a posted under General Discussion and open to suggestions or help. Some times it helps to mix it up every now and than. To deviate from it all brings further insight into the conversation..Come to think of its done all the time.Think of it a meeting of the minds. Smiley


http://www.techsmith.com/download/camtasia/default.asp



(Ideal for Xp wouldn't recommended for W7)         http://camstudio.org/


http://www.windows7download.com/win7-free-screen-recorder/dzzkrfcz.html             (W7 Friendly)
Even a mistake may turn out to be the one thing necessary to a worthwhile achievement Henry Ford
If I have ever made any valuable discoveries it has been owing more to patient attention than to any other talent Isaac Newton
I have not failed Ive just found 10,000 ways that won't work Thomas Edison

Alvin Gregorio

Quote from: wd on September 01, 2012, 08:28:15 AM
Hey Al
All though I show I kick all the object around to the WCS it still off down below at the foundation level you can see some jaggies perhaps it was drawn that way.

Another thought;
I don't think its hijacking a discussion after all its a posted under General Discussion and open to suggestions or help. Some times it helps to mix it up every now and than. To deviate from it all brings further insight into the conversation..Come to think of its done all the time.Think of it a meeting of the minds. Smiley


http://www.techsmith.com/download/camtasia/default.asp



(Ideal for Xp wouldn't recommended for W7)         http://camstudio.org/


http://www.windows7download.com/win7-free-screen-recorder/dzzkrfcz.html             (W7 Friendly)

Cool.  Thanks, wd.  And thanks for your insights on the "hijack" thing.  -Alvin
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Torfinn

Since i never figured out what was wrong with the drawing i take it back to AC, and it seems like the drawing is made in a spesial user-wiev named PLOT.

I set the UCS to world, and rotate it after the blue line (see the attached file) and the red line, both this will give a 90 degree angel to each other,
The drawing look like front and backside of a old house ( or 3 ), thats why i tested on this point ( chimney to chimney ), i also mark some other line in green that have correct angel after this rotation

The drawing is also marked with EXISTING, for me that meens that this is a drawing that should be used to prove how the house lock before they do some thing on the house or in the close neiborhood.
And like the most old house there is nothing there is level, so you will not find many strayt line inside the drawing.

For TS, this do not explaine howe to change the UCS ( that i quess you get from wd ) but now you will hav a drawing that you can work on :)

Torfinn
V20, V21, 2015 > 2024  Platinum
Deluxe 2015/ 16/ 19
RedSDK enabled
Windows 10 Home Premium (20H2/ 19042.1083) 64 bit, 32 GB
NVIDIA Geforce GTX 780m, 1 GB

Alvin Gregorio

Quote from: torfinn on September 01, 2012, 10:56:16 AM
Since i never figured out what was wrong with the drawing i take it back to AC, and it seems like the drawing is made in a spesial user-wiev named PLOT.

I set the UCS to world, and rotate it after the blue line (see the attached file) and the red line, both this will give a 90 degree angel to each other,
The drawing look like front and backside of a old house ( or 3 ), thats why i tested on this point ( chimney to chimney ), i also mark some other line in green that have correct angel after this rotation

The drawing is also marked with EXISTING, for me that meens that this is a drawing that should be used to prove how the house lock before they do some thing on the house or in the close neiborhood.
And like the most old house there is nothing there is level, so you will not find many strayt line inside the drawing.

For TS, this do not explaine howe to change the UCS ( that i quess you get from wd ) but now you will hav a drawing that you can work on :)

Torfinn

re:  this do not explaine howe to change the UCS ( that i quess you get from wd)

That goes back to my first post on this Topic.  Nick originally asked how to change the World Coordinate System, not the User Coordiante System.  I guess we are all in agreement that the World Coordinate System is set and cannot be changed.

----
Good Topic.  I guess we all got some practice at and insight into fixing a screwed-up imported AutoCAD drawing using different methods.

-Alvin
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)