Face to Face Object Snapping

free scripts, plugins, models, textures
Post Reply
User avatar
clintonman
Captain
Posts: 5422
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Face to Face Object Snapping

Post by clintonman »

New script will snap objects together based on face selection.
face2faceSnapping.jpg
Image shows yellow cylinders that have been face snapped into place on the blue torus.

http://www.clintons3d.com/plugins/trues ... index.html" onclick="window.open(this.href);return false;

Update:

Added a RMB = copy behavior - thanks trueBlue for the copy function
The update is available on the website and here for convenience
Attachments
install face to face snap Button v1.5.zip
(32.33 KiB) Downloaded 245 times
Last edited by clintonman on 18 Feb 2010, 17:01, edited 1 time in total.
Clinton Reese

http://clintons3d.com
pugman 1
Captain
Posts: 1555
Joined: 21 May 2009, 19:26
Type the number ten into the box: 0
Location: Germany

Re: Face to Face Object Snapping

Post by pugman 1 »

Hi clintonman, thank you so much for what you
are doing here. i think you and true blue will soon
have ts8 the way you are going.
maybe possible, :bananathumb: :bananacool2: reformed ts7
thanks again Ralph
User avatar
LeonRegis
Captain
Posts: 1946
Joined: 18 Aug 2009, 17:36
Type the number ten into the box: 0
Location: Brazil/Earth/Orion Arm/Milky Way/4th Dimension/This Universe/Multiverse???/Singularity???

Re: Face to Face Object Snapping

Post by LeonRegis »

Thank you very much men! it seems really cool! Can we snap a group or snap in a face loop?

Thanks
Be the change you want to see in the world. - Mohandas Gandhi
User avatar
clintonman
Captain
Posts: 5422
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Face to Face Object Snapping

Post by clintonman »

leonregis wrote:Thank you very much men! it seems really cool! Can we snap a group or snap in a face loop?

Thanks
Sorry, but no to both questions. It only works with single mesh objects and only with single face selections.
Clinton Reese

http://clintons3d.com
User avatar
LeonRegis
Captain
Posts: 1946
Joined: 18 Aug 2009, 17:36
Type the number ten into the box: 0
Location: Brazil/Earth/Orion Arm/Milky Way/4th Dimension/This Universe/Multiverse???/Singularity???

Re: Face to Face Object Snapping

Post by LeonRegis »

Anyway it's amazing, keep the good work!
Be the change you want to see in the world. - Mohandas Gandhi
User avatar
Steinie
Captain
Posts: 2910
Joined: 21 May 2009, 17:38
Type the number ten into the box: 10
Contact:

Re: Face to Face Object Snapping

Post by Steinie »

Face2Face example showing how cool this is.
Thanks Clintonman!
Attachments
Face2Face.zip
(652.52 KiB) Downloaded 247 times
User avatar
LeonRegis
Captain
Posts: 1946
Joined: 18 Aug 2009, 17:36
Type the number ten into the box: 0
Location: Brazil/Earth/Orion Arm/Milky Way/4th Dimension/This Universe/Multiverse???/Singularity???

Re: Face to Face Object Snapping

Post by LeonRegis »

Great example Steinie, much better than click and drag to the position, or copy the location of the object and put it there. :worship:
Be the change you want to see in the world. - Mohandas Gandhi
User avatar
clintonman
Captain
Posts: 5422
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Face to Face Object Snapping

Post by clintonman »

Steinie wrote:Face2Face example showing how cool this is.
Thanks Clintonman!
Wow, that's interesting. I wrote it like so:

select 2 objects
push the button
select face on first object
select face on second object

you changed the order and it still works

select 2 objects
enter PE mode
select face on first object
ctrl select face on second object
push the button
Clinton Reese

http://clintons3d.com
User avatar
trueBlue
Captain
Posts: 5208
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Face to Face Object Snapping

Post by trueBlue »

This is great Clinton! Thank you!
Since this is a Face to Face Snap tool, I have two suggestions:

1.) Add a script at the end of your chain of scripts that runs this command:
Node.Value('/Preferences/Mesh Editor Settings','PE selection mode') = 'face'

2.) Make the pivotParent Invisible.
User avatar
clintonman
Captain
Posts: 5422
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Face to Face Object Snapping

Post by clintonman »

trueBlue wrote:This is great Clinton! Thank you!
Since this is a Face to Face Snap tool, I have two suggestions:

1.) Add a script at the end of your chain of scripts that runs this command:
Node.Value('/Preferences/Mesh Editor Settings','PE selection mode') = 'face'

2.) Make the pivotParent Invisible.
Before the script moves the object it has to exit out of PW mode so why set selection mode to face when it's done?

The pivotParent isn't in the scene after the script is installed. I think you need to remove the installer node from the scene.
Clinton Reese

http://clintons3d.com
Post Reply