News:

All posts discussing pricing or where to buy TurboCAD will be deleted.

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.

Changing Axis

Started by colinreid, May 05, 2011, 10:30:29 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

colinreid

A newbie with TC18DL and a problem.
I have three separate drawings of a boat hull made up virtually all of polylines.  The first is a plan with various different level horizontal sections.  The second is vertical cross sections along the hull.  The last is vertical sections along the hull.  Being old school engineer they were all prepared in 2D form, all in XY mode.
I am hobby playing/learning to make 3D models and would like to build such a model and then raster it.  I have tried pasting the sections onto the plan and then rotating it vertically but I am finding it almost imossible to get them to line up at the same origin point (as they are in 2D).
I think I need to be able to change the Axis in 2D to YZ in the cross sections and XZ in the long sections before pasting onto the plans.  I have searched the forums but only found a way to do it the other way around but cannot find the Assemble by 3 Points in the Drawing Tools.
Anybody any ideas how to assemble 2D drawings in the respective 3D mode.
regards
Colin Reid
regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video

Henry Hubich

Quote from: colinreid on May 05, 2011, 10:30:29 AM
A newbie with TC18DL and a problem.
I have three separate drawings of a boat hull made up virtually all of polylines.  The first is a plan with various different level horizontal sections.  The second is vertical cross sections along the hull.  The last is vertical sections along the hull.  Being old school engineer they were all prepared in 2D form, all in XY mode.
I am hobby playing/learning to make 3D models and would like to build such a model and then raster it.  I have tried pasting the sections onto the plan and then rotating it vertically but I am finding it almost imossible to get them to line up at the same origin point (as they are in 2D).
I think I need to be able to change the Axis in 2D to YZ in the cross sections and XZ in the long sections before pasting onto the plans.  I have searched the forums but only found a way to do it the other way around but cannot find the Assemble by 3 Points in the Drawing Tools.
Anybody any ideas how to assemble 2D drawings in the respective 3D mode.
regards
Colin Reid

In what program/version were the 2D drawings created?

Henry H

colinreid

Partially in TC16DL but finished in TC18DL
regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video

Henry Hubich

Note which coordinate axis (X, Y, or Z) is normal to the plane of the sections, then select each section in turn and adjust its Pos X (or Pos Y or Pos Z, whichever is appropriate) by typing the desired value in the corresponding field of the Inspector Bar and pressing Enter.

If this sounds excessively cryptic, post a .tcw file containing the sections, and let us know the desired spacing between adjacent sections.

Henry H

colinreid

I did as you suggested and that works in spreading the sections apart on the original but different file to the attachment.  The problem comes when I paste the outer of the three side sections each side of the hull centreline into the attached file as it is still in the original XY plane of the attached file and I am looking for a way to change the original file to the XZ plane before copy/pasting without going right back to the original DXF file based on a vector conversion of a bitmap scan and then pasting that in the XZ plane in a new TCW files.  I have tried doing that with the final file that yielded the section into the attached file but the pasted file original in the XY plane.

I am aiming eventually to have all the red side sections longitudinally parallel to the centreline vertically and the blue cross sections across the hull again vertically.

Is there any way of changing the sections files from their current XY plane to either the XZ or YZ plane before importing.
regards
Colin Reid
regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video

colinreid

I have nearly cracked it by thinking a bit more about what you said.

I selected the cross section that sits across the hull at position 5 on plan from another file at position (0,2760,0  -  X,Y,Z in the original) and pasted onto the play.  I then rotated by putting 90 in the RotY and RotX in the boxes of the Information bar.  I then entered the X,Y,Z coordinates as before but it jumped to the position shown in the 3D view of the attached file.

How do I get it to line up with the middle of the plan at position 5?
regards
Colin Reid
regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video

Henry Hubich

Quote from: colinreid on May 07, 2011, 07:28:51 AM
I have nearly cracked it by thinking a bit more about what you said.

I selected the cross section that sits across the hull at position 5 on plan from another file at position (0,2760,0  -  X,Y,Z in the original) and pasted onto the play.  I then rotated by putting 90 in the RotY and RotX in the boxes of the Information bar.  I then entered the X,Y,Z coordinates as before but it jumped to the position shown in the 3D view of the attached file.

How do I get it to line up with the middle of the plan at position 5?
regards
Colin Reid


To begin, click the "Selector 3D Properties" icon on the Inspector Bar and set both Extents CS and Coordinate System to "User UCS."

Selecting the blue section in the 3D Select mode displays its X, Y, & Z axes and shows that it's the X and Y coordinates which must be adjusted. To adjust the X coordinate, select the line at position 5 and click the "Set UCS by Selector" icon on the Inspector Bar. (You'll probably be confronted by a Warning about changing the drawing's WorkPlane. Click "Yes.") Notice that all three Pos fields immediately reset to zero. Select the blue section again, type a zero in the Pos X field of the IBar, and hit Enter.

Adjust the Y coordinate using the same technique: Select the centerline of the plan; click "Set UCS by Selector"; acknowledge the warning (if you haven't already told it not to come back!); select the blue section, type a zero in the Pos Y field, and hit Enter.

...BTW, if you intend to use those sections as lofting profiles, I strongly advise that you redraw them using Beziers or Splines. The existing Polylines contain so many nodes that TCad is likely to bog down if you try to loft them. (Don't delete the Polylines; just hide them.)

Henry H

colinreid

Sorry but I am confused.  I tried what you suggested but when I clicked on the Set UCS by Selection icon all three axis Pos value went to zero and re-entering ) in the PosX position had not effect and the Set UCS bt Selection Icon was blanked out and the blue section continued to be selected.

The only way I have found by trial and error is to open the attached file and paste onto it (as it is in the file at present), select the blue section, enter 90 into RotX, enter and repeat for RotY and then drag it into place.  This surely cannot be right.  I would be grateful if you could weave your magic and let me know what steps to take to get the blue section upright lined up across the plan at position five, centred on the keel centreline
regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video

Henry Hubich

#8
Quote from: colinreid on May 09, 2011, 06:57:55 AM
Sorry but I am confused.  I tried what you suggested but when I clicked on the Set UCS by Selection icon all three axis Pos value went to zero and re-entering ) in the PosX position had not effect and the Set UCS bt Selection Icon was blanked out and the blue section continued to be selected.

The only way I have found by trial and error is to open the attached file and paste onto it (as it is in the file at present), select the blue section, enter 90 into RotX, enter and repeat for RotY and then drag it into place.  This surely cannot be right.  I would be grateful if you could weave your magic and let me know what steps to take to get the blue section upright lined up across the plan at position five, centred on the keel centreline

Let me try again: Select the LINE which lies at position 5 and click "Set UCS by Selector." All three axis Pos fields WILL go to zero. Deselect the line and then select the SECTION -- the thing that you want to move -- and type 0 in the Pos X field and then press Enter. The section will move to a new location; its X position will be the same as the X position of the line which lies at postion 5.

Moving the  section in the Y direction so that it's centered on the keel is done the same way: Select the keel centerline; click "Set UCS by Selector"; deselect the keel centerline and select the section; type 0 in the Pos Y field and press Enter.

Henry H

colinreid

Thanks and I think I am nearly there.

I did what you have said and it looked all wrong in isometric view until I realised that the centrepoint of the section was exactly on the keel on the centreline at position 5.

To get the bottom of the section on the same point, I had to change PosY from 0 to 910 (half the height of the section) and change the PosX from -187.77 (fixed in changing the Y values to -1097.77 (i.e. -910 over the then current position).  Smack on where I wanted.  Does this make sense?
regards
Colin Reid
regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video

Henry Hubich

Quote from: colinreid on May 10, 2011, 05:44:10 AM
Thanks and I think I am nearly there.

I did what you have said and it looked all wrong in isometric view until I realised that the centrepoint of the section was exactly on the keel on the centreline at position 5.

To get the bottom of the section on the same point, I had to change PosY from 0 to 910 (half the height of the section) and change the PosX from -187.77 (fixed in changing the Y values to -1097.77 (i.e. -910 over the then current position).  Smack on where I wanted.  Does this make sense?
regards
Colin Reid

Yes indeed. But it's worthwhile to become familiar with the "Set UCS by Selector" option. What it does is to move the current origin to the Reference Point of whatever entity had been selected when you clicked the icon. (It's often useful to relocate the entity's Reference Point first.) You can then move another entity to a known position with respect to that current origin simply by typing numbers in the appropriate Pos field(s). No math is required. (Using "Relative Coordinates" is another way of doing the same thing, but that method was buggy in earlier TCad versions and I quit using it.)

Henry H

colinreid

Thanks for the help _ I think I understand but is a steep learning curve.  I shall plug away.

Your earlier point about the number of nodes in polylines is well made and taken.  It was my earlier attempt to get the sections copied and joined up and problems with getting a Bezier curve to turn 90 degress without a bend lead me to joining a polyline to a bezier curve.  A separate post has lead me to groups and I shall convert the polylines back to a group incorporating the angular polylines and bezier curves.

Is there a way to close post as I think this one is done.
regard
Colin Reid
regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video

John R

re: Is there a way to close post, as I think this one is done?

You can go to your original post that started this topic, click on the Modify button, click on "Additional Options, then checkmark "Lock this topic" under the message field. I think it would be better to leave this topic open though.
John R.

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

Henry Hubich

Quote from: colinreid on May 11, 2011, 05:25:11 AM
Thanks for the help _ I think I understand but is a steep learning curve.  I shall plug away.

Your earlier point about the number of nodes in polylines is well made and taken.  It was my earlier attempt to get the sections copied and joined up and problems with getting a Bezier curve to turn 90 degress without a bend lead me to joining a polyline to a bezier curve.  A separate post has lead me to groups and I shall convert the polylines back to a group incorporating the angular polylines and bezier curves.

Is there a way to close post as I think this one is done.
regard
Colin Reid

Be aware that there are very few things you can do with a Group. It's useful for keeping pieces together while moving them around, but that's about it. You cannot extrude it or loft it or slice it or shell it or fillet it or...

Henry H

colinreid

Groups - if I use then to move beziers, spine, lines and polyline around, does this mean I will not be able to render them into a 3D model as I have not got as far as extruding in my Training Manual yet?

Will leave open as recommended
regards
Colin Reid
regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video

Henry Hubich

Quote from: colinreid on May 13, 2011, 05:44:22 AM
Groups - if I use then to move beziers, spine, lines and polyline around, does this mean I will not be able to render them into a 3D model as I have not got as far as extruding in my Training Manual yet?

Will leave open as recommended
regards
Colin Reid

If the beziers, splines, lines, and/or polylines have been given a nonzero Thickness (in the 3D page of the Properties dialog), they will render whether they're grouped or not. If they have not been assigned a nonzero Thickness, they will NOT render regardless of whether they are grouped or not -- they'll have to be extruded or revolved or lofted or otherwise turned into 3D objects first. And you cannot extrude or revolve or loft members of a Group unless you either explode the Group or else select it and apply Edit>Edit Group Content.

Henry H