Snapping Toolbar
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Snapping Toolbar
New snapping scripts based around new picking widgets.
Face to Face - is updated from the standalone Face to face snapping script. This uses a new painting style selection widget, has button highlighting and a custom cursor. The old object vertex snapping scripts have been separated out into individual buttons for an easier user experience and also has custom enhancements. The Axis to PE button calls the point edit widget shortcuts of the Unofficial Update for snapping the axis to point edit selections.
New plugin version for Clintons3dPlugin.rsx v.1638423 is required. It contains the new paint select widgets.
http://clintons3d.com/plugins/truespace ... pping.html
Face to Face - is updated from the standalone Face to face snapping script. This uses a new painting style selection widget, has button highlighting and a custom cursor. The old object vertex snapping scripts have been separated out into individual buttons for an easier user experience and also has custom enhancements. The Axis to PE button calls the point edit widget shortcuts of the Unofficial Update for snapping the axis to point edit selections.
New plugin version for Clintons3dPlugin.rsx v.1638423 is required. It contains the new paint select widgets.
http://clintons3d.com/plugins/truespace ... pping.html
Last edited by clintonman on 24 Oct 2020, 17:33, edited 1 time in total.
-
the_ant
- Chief Petty Officer
- Posts: 155
- Joined: 02 Jun 2009, 09:26
- Type the number ten into the box: 0
- Location: Perugia - Italy
Re: Snapping Toolbar
-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: Snapping Toolbar
I agree, these are some great tools for SURE!
Thank you Clinton!
Is it possible to do a Point Edit Selection to Object Face using your PickFaceWidget2 widget?
Or maybe an option in the PE 2 Point?
Thank you Clinton!
Is it possible to do a Point Edit Selection to Object Face using your PickFaceWidget2 widget?
Or maybe an option in the PE 2 Point?
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: Snapping Toolbar
trueBlue found a bug in the joint to points snapping. Fixed in this release.
Also fixed axis to point edit snapping, which would error if no point edit elements were selected.
installer uses new toolbar reset list provided by trueBlue.
Also fixed axis to point edit snapping, which would error if no point edit elements were selected.
installer uses new toolbar reset list provided by trueBlue.
-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: Snapping Toolbar
Can you give an example on using the Joint to Object and why you would want to move a Joint to an Object?
I know how it works, just do not understand it's use.
TIA
I know how it works, just do not understand it's use.
TIA
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: Snapping Toolbar
Here's one application, centering on wheels and steering wheel of a car using the old object vertex snap script.trueBlue wrote: 29 Oct 2020, 10:24 Can you give an example on using the Joint to Object and why you would want to move a Joint to an Object?
I know how it works, just do not understand it's use.
TIA
http://clintons3d.com/truespace/unreal3 ... _page2.htm
-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: Snapping Toolbar
Thank you!clintonman wrote: 29 Oct 2020, 14:45Here's one application, centering on wheels and steering wheel of a car using the old object vertex snap script.trueBlue wrote: 29 Oct 2020, 10:24 Can you give an example on using the Joint to Object and why you would want to move a Joint to an Object?
I know how it works, just do not understand it's use.
TIA
http://clintons3d.com/truespace/unreal3 ... _page2.htm
That is one huge project!
Never seen those pages before.
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: Snapping Toolbar
Update january 2021
updated to work with the new nurbs tools
updated to work with the new nurbs tools
-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: Snapping Toolbar
Face to Face snapping is not working for me with NURBS patches & Curves and or 3D Objects to NURBS patches & Curves
After performing the snap, which does not work, the NURBS's LODMesh is selected
After performing the snap, which does not work, the NURBS's LODMesh is selected
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: Snapping Toolbar
I see the problem. The nurbs adjustment is only happening if the copy option is selected. The UU version should have the same problem since this latest update is just a copy of the quick snapping installs from a couple of weeks ago.trueBlue wrote: 05 Jan 2021, 15:16 Face to Face snapping is not working for me with NURBS patches & Curves and or 3D Objects to NURBS patches & Curves
After performing the snap, which does not work, the NURBS's LODMesh is selected
-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: Snapping Toolbar
Yep, Copy works.
If possible, it would be great if you could remove the LE2Data cons
If possible, it would be great if you could remove the LE2Data cons
Code: Select all
var currentNode = params.ConValue('currentNode');
var selCount = Node.SelectedCount();
if(selCount == 0) return;
for(var i=0;i<selCount;i++) {
var currentNode = Node.Selected(i);
for(var j=0;j<12;j++)
Node.ConRemove(currentNode, "LE2Data");
var k = 1;
while(Node.ConExists(currentNode, "LE2Data, " + k)) {
Node.ConRemove(currentNode, "LE2Data, " + k);
k++;
//check for skipped number
if(!Node.ConExists(currentNode, "LE2Data, " + k))
k++;
}
}
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: Snapping Toolbar
Face to Face snapping for NURBS is fixed. Thanks.
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: Snapping Toolbar
As requested, Added LE arrange code to the copied nodes.trueBlue wrote: 05 Jan 2021, 16:45 Yep, Copy works.
If possible, it would be great if you could remove the LE2Data cons
...
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: Snapping Toolbar
Update August 19 2021
made the installer version up to date with the Unofficial Update version of the scripts
uses fewer undos
updated the icon image
status message compatible
also added 2 requirements:
Widget Scripts and Status Message scripts are required
Status Message is already included in the Unofficial Updates
http://clintons3d.com/plugins/truespace ... getscripts
http://clintons3d.com/plugins/truespace ... tusmessage
http://clintons3d.com/plugins/truespace ... pping.html
made the installer version up to date with the Unofficial Update version of the scripts
uses fewer undos
updated the icon image
status message compatible
also added 2 requirements:
Widget Scripts and Status Message scripts are required
Status Message is already included in the Unofficial Updates
http://clintons3d.com/plugins/truespace ... getscripts
http://clintons3d.com/plugins/truespace ... tusmessage
http://clintons3d.com/plugins/truespace ... pping.html
-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: Snapping Toolbar
There is an issue with the Snapping toolbars and widgets!
If you start one of the Snapping tools, and you use any other trueSpace tool including other Snapping tools I finally figured out how to check the state of all of these Snapping tools and close them
Do you think you can update these scripts to check if any of these tools are in use first?
Edit: I have fixed all of the Snapping scripts by adding a check to these scripts:
Let me know if you think there needs to be additional code
It seems to work for me in all cases
If you start one of the Snapping tools, and you use any other trueSpace tool including other Snapping tools I finally figured out how to check the state of all of these Snapping tools and close them
Code: Select all
if(Node.Exists('/Widgets/Active Widgets Layer2/Active Widget/TrianglePickCursor') || Node.Exists('/Widgets/Active Widgets Layer2/Active Widget/PointPickCursor') || Node.Exists("/Widgets/Edit/Default context/Select/ObjectSelectCursor") && Node.Exists('Scripts/CustomCommands/SnappingScripts/toolbarScripts/resetState')) {
ScriptObject.Execute('Scripts/CustomCommands/SnappingScripts/toolbarScripts/resetState')
}
Edit: I have fixed all of the Snapping scripts by adding a check to these scripts:
Code: Select all
"/Scripts/CustomCommands/SnappingScripts/facetoface/save obj ref"
"/Scripts/CustomCommands/SnappingScripts/pointsToPoints/start"
"/Scripts/CustomCommands/SnappingScripts/objectToObject/start/start2"
"/Scripts/CustomCommands/SnappingScripts/objectToPoints/start"
"/Scripts/CustomCommands/SnappingScripts/pivotToObject/start/start2"
"/Scripts/CustomCommands/SnappingScripts/pivotToPoints/start/start2"
"/Scripts/CustomCommands/SnappingScripts/pivotToPE/start"
"/Scripts/CustomCommands/SnappingScripts/peToObject/start"
"/Scripts/CustomCommands/SnappingScripts/peToPoints/start"
"/Scripts/CustomCommands/SnappingScripts/jointToObject/start"
"/Scripts/CustomCommands/SnappingScripts/jointToPoints/start"It seems to work for me in all cases
- Attachments
-
- SnappingScripts.RsObj
- (693.92 KiB) Downloaded 142 times
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: Snapping Toolbar
Looks good to me.trueBlue wrote: 24 Jul 2023, 13:17 There is an issue with the Snapping toolbars and widgets!
If you start one of the Snapping tools, and you use any other trueSpace tool including other Snapping tools
Snapping widget BUG.png
I finally figured out how to check the state of all of these Snapping tools and close themDo you think you can update these scripts to check if any of these tools are in use first?Code: Select all
if(Node.Exists('/Widgets/Active Widgets Layer2/Active Widget/TrianglePickCursor') || Node.Exists('/Widgets/Active Widgets Layer2/Active Widget/PointPickCursor') || Node.Exists("/Widgets/Edit/Default context/Select/ObjectSelectCursor") && Node.Exists('Scripts/CustomCommands/SnappingScripts/toolbarScripts/resetState')) { ScriptObject.Execute('Scripts/CustomCommands/SnappingScripts/toolbarScripts/resetState') }
Edit: I have fixed all of the Snapping scripts by adding a check to these scripts:Let me know if you think there needs to be additional codeCode: Select all
"/Scripts/CustomCommands/SnappingScripts/facetoface/save obj ref" "/Scripts/CustomCommands/SnappingScripts/pointsToPoints/start" "/Scripts/CustomCommands/SnappingScripts/objectToObject/start/start2" "/Scripts/CustomCommands/SnappingScripts/objectToPoints/start" "/Scripts/CustomCommands/SnappingScripts/pivotToObject/start/start2" "/Scripts/CustomCommands/SnappingScripts/pivotToPoints/start/start2" "/Scripts/CustomCommands/SnappingScripts/pivotToPE/start" "/Scripts/CustomCommands/SnappingScripts/peToObject/start" "/Scripts/CustomCommands/SnappingScripts/peToPoints/start" "/Scripts/CustomCommands/SnappingScripts/jointToObject/start" "/Scripts/CustomCommands/SnappingScripts/jointToPoints/start"
It seems to work for me in all cases
The vertex paint panel "start painting"also needs your fix.
and the mesh origin panel "set snap point widget" button.
Also the dimensions panel "linear" and "angle" buttons.
and the nurbs draw curve tool
-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: Snapping Toolbar
Added to your list and several other scripts including the Global Function Setclintonman wrote: 24 Jul 2023, 21:29Looks good to me.trueBlue wrote: 24 Jul 2023, 13:17 There is an issue with the Snapping toolbars and widgets!
If you start one of the Snapping tools, and you use any other trueSpace tool including other Snapping tools
Snapping widget BUG.png
I finally figured out how to check the state of all of these Snapping tools and close themDo you think you can update these scripts to check if any of these tools are in use first?Code: Select all
if(Node.Exists('/Widgets/Active Widgets Layer2/Active Widget/TrianglePickCursor') || Node.Exists('/Widgets/Active Widgets Layer2/Active Widget/PointPickCursor') || Node.Exists("/Widgets/Edit/Default context/Select/ObjectSelectCursor") && Node.Exists('Scripts/CustomCommands/SnappingScripts/toolbarScripts/resetState')) { ScriptObject.Execute('Scripts/CustomCommands/SnappingScripts/toolbarScripts/resetState') }
Edit: I have fixed all of the Snapping scripts by adding a check to these scripts:Let me know if you think there needs to be additional codeCode: Select all
"/Scripts/CustomCommands/SnappingScripts/facetoface/save obj ref" "/Scripts/CustomCommands/SnappingScripts/pointsToPoints/start" "/Scripts/CustomCommands/SnappingScripts/objectToObject/start/start2" "/Scripts/CustomCommands/SnappingScripts/objectToPoints/start" "/Scripts/CustomCommands/SnappingScripts/pivotToObject/start/start2" "/Scripts/CustomCommands/SnappingScripts/pivotToPoints/start/start2" "/Scripts/CustomCommands/SnappingScripts/pivotToPE/start" "/Scripts/CustomCommands/SnappingScripts/peToObject/start" "/Scripts/CustomCommands/SnappingScripts/peToPoints/start" "/Scripts/CustomCommands/SnappingScripts/jointToObject/start" "/Scripts/CustomCommands/SnappingScripts/jointToPoints/start"
It seems to work for me in all cases
The vertex paint panel "start painting"also needs your fix.
and the mesh origin panel "set snap point widget" button.
Also the dimensions panel "linear" and "angle" buttons.
and the nurbs draw curve tool
function OpenFloatingPanel()
This covers a lot of ground in the UU9
Also, the Popups/OpenToolbars script


