Jump to content
AutoDesSys Forums
Sign in to follow this  
TwoSheaStl

Simple Snapping Question

Recommended Posts

Is it possible to snap an object (object one) to the center of another object (object two), yet keep/lock object one on the ground?

Screen Shot 2021-04-08 at 3.14.18 PM.png

Screen Shot 2021-04-08 at 3.16.28 PM.png

Share this post


Link to post
Share on other sites

There are a few ways to do this.

1) Go to TOP view and with centre snap on move it to it's new position. It will only move in the XY plane because you are in TOP view.

2) With 3D Delta selected in the coordinates, snap to the centre (top or bottom) of the object, move to it's new position and tab to the Z in coordinates and hit 0. It'll move without moving in the Z axis.

3) Start moving the object (snapping to wherever on the object), hold shift to snap it to a temporary guide along whichever axis (say the X axis). You may need to move it again in the Y axis the same way.

You can also draw guides and points which you can snap to as well but switching views is also very handy depending on the object. And using the "Perpendicular To Reference Plane" toggle (command) while in the move tool is also good. I tend to leave open the "Snap Options" palette where I mostly have snap to ghosted & stick to edges selected.

These come to mind for me but I'm sure others will chime in with alternative methods.

 

Des

Share this post


Link to post
Share on other sites

Two, what version of fZ are you using?  I created a script do do this for v9.x.   the script still needs some work, as it is dependent on some changes to the SDK.  But, it is functional.  Sorry, only works on 9.x

The script allows for a lot more positions than just center.  Minimums, Maximums Middle and Center of Gravity of each of the objects considered.

All of which should yield (if my logic/math is correct)  144 possible positions.

 

1681390221_ScreenShot2021-04-10at11_01_57AM.png.f0063af85ece2579435cf8c17a0de541.png

The tricky bit, is it currently cannot use pick order but has to use object creation order.    So, you have to Cut and paste the object you want to be displaced  (this action puts it as being created last in the objects List)

When the SDK allows for pick order, I will update the script.

 

 

Hope this helps!

¢£

Screen Shot 2021-04-10 at 11.01.57 AM.png

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×