News:

When posting a problem be sure to include which version you are using.  Give as much information as possible.  If the problem is with a specific file be sure to attache it to your post.

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.

aligning 3D objects

Started by ot, April 15, 2020, 03:41:34 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

ot

Using TC 2015 Platinum, Version 22.2, Build 54.3

I created two 3D boxes, one is 2" x 2" x 0.25, the other is 1.5" x 1.5" x 3.0", sitting next to each other, viewing from the TOP.  I need to align them so the 2 x 2 sits squarely on top of  the 1.5 x 1.5 box, so they can be Boolean added.

The 1.5 x 1.5 is moved one time to align it to a center point on the grid.  I set view to TOP  and move the 2 x 2 box over the 1.5 x 1.5 box, and center it on the same grid point, so the 2 x 2 overlaps the 1.5 x 1.5 equally on all sides.  Here is the problem: When I set the view to LEFT, I find the 2 x 2 box has shifted midway down vertically so I can't do the Boolean add, If I move the 2 x 2 back up vertically in alignment with the top of the 1.5 x 1.5, then do a TOP view, the 2 x 2 box is no longer aligned squarely over the top of the 1.5 x 1.5 box, it has shifted completely off the 1.5 x 1.5 box so I cant do an ADD. Realigning the 2 x 2 back over the 1.5 x 1.5 and checking it again with a LEFT view, I find the 2 x 2 has shifted down again. I tried repeatedly, >:( SNAPS is turned off.

I have also tried locking Z axis after doing a vertical alignment when in LEFT view, but when I go back to a TOP view and move the 2 x 2 box even slightly then recheck with a LEFT view, the 2 x 2 box has already shifted vertically, sometimes above the 1.5 x 1.5 box or midway on the 1.5 x 1.5 box.   How can I move the boxes so they remain aligned with each other horizontally (TOP view) and vertically (LEFT view)  so I can do an ADD.
Thank you,
TC ver16.2 Platinum, About says "Full Edition"

Jeff_in_90620

There are more sophisticated ways of doing this, but the simplest is to draw two diagonal lines, one on the top surface of the larger box and one on the bottom of the smaller box.

Click to select one box, press the 'D' key (lower case, actually, I just capitalize it to draw attention to it) to relocate the origin and position the cursor near its line before tapping the 'M' key (again, lower case) to set the box's local origin to the middle of the line, which is also the center of the box's face.

Click to select the upper box at its re-located reference point, move the cursor over to the larger box's line and tap the 'M' key again to snap to the middle of the line, which also happens to be the center of the larger box's face.

Verify proper positioning and 3D Add.


Jeff
Jeff

TC 2026 Pro Platinum plus 2015->2024 (most with LightWorks & RedSDK) & V21
System: AMD Ryzen 9 7950X, MSI Mag X670E Tomahawk WiFi, 64GB RAM @ 4.80GHz, ARC A770 w/16GB, 3 x Samsung NVMe 990 (1TB), Windows 11 Pro (64-bit)

ot

#2
Quote from: Jeffin90620 on April 15, 2020, 03:51:41 PM
There are more sophisticated ways of doing this, but the simplest is to draw two diagonal lines, one on the top surface of the larger box and one on the bottom of the smaller box.

Click to select one box, press the 'D' key (lower case, actually, I just capitalize it to draw attention to it) to relocate the origin and position the cursor near its line before tapping the 'M' key (again, lower case) to set the box's local origin to the middle of the line, which is also the center of the box's face.

Click to select the upper box at its re-located reference point, move the cursor over to the larger box's line and tap the 'M' key again to snap to the middle of the line, which also happens to be the center of the larger box's face.

Verify proper positioning and 3D Add.


Jeff

Sorry but I didn't figure out how to put a diagonal line on top of one box and the bottom of another. 
Also I guess you meant to place the diagonal line corner to corner.  You didn't give me enough details though on how to place the the line on top of one box surface and the bottom of the other.

However I solved the problem by (LEFT VIEW and Ctrl Shift V for the grid) putting the TOP connecting face of the 1.5 x 1.5 box at 0 vertical ruler and the center of the box at 0 horizontal ruler. Then TOP VIEW and Ctrl Shift V for the grid, align the center of both boxes at 0 vertical and 0 horizontal rulers.

TC ver16.2 Platinum, About says "Full Edition"

Alvin Gregorio

See if Assemble, By Facet, serves you purpose.

You might have to read up about it in the Help documentation.
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)

murray dickinson

Most useful, IMO, and most often ignored, is generic transformation tool, which is in the right-click and inspector bar context options as well as in the transform tools.  Invoke gen trans while one of the objects is selected, snap to the corner of the box that you want to move with the V, vertex SEKE, then V to the destination corner.  There's a dashed line between small boxes at those corners.  Do the same thing with the next pair of corners to be aligned, then the third.  The selected box will align to the destination.  If the boxes already have ortho alignment, you need only align the first or the first two pairs and click the finish flag. 

Torfinn

I agree, Generic Transformation is a nice tool, but even if it sit directly on Inspecto Bar, for some reason People tend to not see/ use it.

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

DonCW

#6
Quote from: ot on April 15, 2020, 03:41:34 PM
Using TC 2015 Platinum, Version 22.2, Build 54.3

I created two 3D boxes, one is 2" x 2" x 0.25, the other is 1.5" x 1.5" x 3.0", sitting next to each other, viewing from the TOP.  I need to align them so the 2 x 2 sits squarely on top of  the 1.5 x 1.5 box, so they can be Boolean added.

The 1.5 x 1.5 is moved one time to align it to a center point on the grid.  I set view to TOP  and move the 2 x 2 box over the 1.5 x 1.5 box, and center it on the same grid point, so the 2 x 2 overlaps the 1.5 x 1.5 equally on all sides.  Here is the problem: When I set the view to LEFT, I find the 2 x 2 box has shifted midway down vertically so I can't do the Boolean add, If I move the 2 x 2 back up vertically in alignment with the top of the 1.5 x 1.5, then do a TOP view, the 2 x 2 box is no longer aligned squarely over the top of the 1.5 x 1.5 box, it has shifted completely off the 1.5 x 1.5 box so I cant do an ADD. Realigning the 2 x 2 back over the 1.5 x 1.5 and checking it again with a LEFT view, I find the 2 x 2 has shifted down again. I tried repeatedly, >:( SNAPS is turned off.

I have also tried locking Z axis after doing a vertical alignment when in LEFT view, but when I go back to a TOP view and move the 2 x 2 box even slightly then recheck with a LEFT view, the 2 x 2 box has already shifted vertically, sometimes above the 1.5 x 1.5 box or midway on the 1.5 x 1.5 box.   How can I move the boxes so they remain aligned with each other horizontally (TOP view) and vertically (LEFT view)  so I can do an ADD.
Thank you,

Simple is good, Start with a 2D  2"x 2" rectangle and an 1.5"x 1.5" rectangle. Select either rectangle and use the 'E' SEKE to centre one around the other. Extrude the 2"x 2" rectangle upwards .25" and the 1.5" x 1.5" downwards 3". The 2 cubes are aligned, 3D Add and the jobs done.
DonCW
2020 Platinum
2018 Platinum
2017 Pro with Light Works Plug in



Windows 10
There's so much to learn and not much time left to learn it.

Alvin Gregorio

Quote from: Torfinn on April 15, 2020, 09:02:21 PM
I agree, Generic Transformation is a nice tool, but even if it sit directly on Inspecto Bar, for some reason People tend to not see/ use it.

Torfinn

I have started using the Transform Tools more, the past few months.
Yes, it's a difficult habit to internalize; more accurately, I should say, not using the Transform Tools is a difficult habit to stop.

After reading Murray consistently praise the benefits of using the Transform Tools over the past years, and my using them some lately, I'm a believer that they are beneficial for many operations.
If "they" would have just made them more prominent, I assume more Users would more consistently utilize them.
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)

DonCW

Quote from: murray dickinson on April 15, 2020, 08:53:00 PM
Most useful, IMO, and most often ignored, is generic transformation tool, which is in the right-click and inspector bar context options as well as in the transform tools.  Invoke gen trans while one of the objects is selected, snap to the corner of the box that you want to move with the V, vertex SEKE, then V to the destination corner.  There's a dashed line between small boxes at those corners.  Do the same thing with the next pair of corners to be aligned, then the third.  The selected box will align to the destination.  If the boxes already have ortho alignment, you need only align the first or the first two pairs and click the finish flag.

Murray,
In the original post he wanted the larger cube centred over the lower. I couldn't seem to get the generic transform tool to do that.
DonCW
2020 Platinum
2018 Platinum
2017 Pro with Light Works Plug in



Windows 10
There's so much to learn and not much time left to learn it.

Jeff_in_90620

Quote from: ot on April 15, 2020, 06:36:52 PM
Sorry but I didn't figure out how to put a diagonal line on top of one box and the bottom of another. 
Also I guess you meant to place the diagonal line corner to corner.  You didn't give me enough details though on how to place the the line on top of one box surface and the bottom of the other.

Every version of TurboCAD I've installed had Auto Workplane by Facet active, so invoking the Line command and placing the cursor over the preferred facet near a corner allows you to use the 'V' key (for Vertex) snap to start at one corner and, after moving the cursor to the diagonal corner, end the line with another V snap.


Jeff
Jeff

TC 2026 Pro Platinum plus 2015->2024 (most with LightWorks & RedSDK) & V21
System: AMD Ryzen 9 7950X, MSI Mag X670E Tomahawk WiFi, 64GB RAM @ 4.80GHz, ARC A770 w/16GB, 3 x Samsung NVMe 990 (1TB), Windows 11 Pro (64-bit)

Alvin Gregorio

Quote from: Alvin Gregorio on April 15, 2020, 08:36:05 PM
See if Assemble, By Facet, serves you purpose.

I was wondering why I wasn't getting much support for my "Assemble by Facet" suggestion.

After trying to use that Tool/command to achieve what ot initially posted in this thread, I now see that using that Tool/command does not achieve the desire result of having the to-be-moved Box center on top the to-have-something-land-on-it Box.
-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)

murray dickinson

#11
Quote from: DonCW on April 16, 2020, 07:52:51 AM
Murray,
In the original post he wanted the larger cube centred over the lower. I couldn't seem to get the generic transform tool to do that.

Don, to achieve that with generic trans, I checked the continue option, I aligned the two objects snap E, centre of extents, larger to smaller, checked finish flag, the larger cube envelopes the lower.  Then I checked the x and y locks on the lower right hand coordinate boxes (you only have to tap the x and y keys to lock or unlock them), then snapped V of one of the larger box's lower corners to V of one of the lower box's upper corners and finish flag.  Escape the gen trans tool and uncheck the x and y locks. 

DonCW

Quote from: murray dickinson on April 16, 2020, 08:03:45 PM
Quote from: DonCW on April 16, 2020, 07:52:51 AM
Murray,
In the original post he wanted the larger cube centred over the lower. I couldn't seem to get the generic transform tool to do that.

Don, to achieve that with generic trans, I checked the continue option, I aligned the two objects snap E, centre of extents, larger to smaller, checked finish flag, the larger cube envelopes the lower.  Then I checked the x and y locks on the lower right hand coordinate boxes (you only have to tap the x and y keys to lock or unlock them), then snapped V of one of the larger box's lower corners to V of one of the lower box's upper corners and finish flag.  Escape the gen trans tool and uncheck the x and y locks.
Murray, thanks for pointing that out, it'll be very useful.
DonCW
2020 Platinum
2018 Platinum
2017 Pro with Light Works Plug in



Windows 10
There's so much to learn and not much time left to learn it.