Script for simulating rectangle and lasso selection for scene objects. It basically creates a mesh based on the bounding box of all scene items and after you select the vertices the corresponding scene objects are selected.
http://www.clintons3d.com/plugins/trues ... index.html" onclick="window.open(this.href);return false;
Rectangle and Lasso Object Selection
- clintonman
- Captain
- Posts: 5429
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: Rectangle and Lasso Object Selection
Clinton thanks again for your efforts.
- clintonman
- Captain
- Posts: 5429
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: Rectangle and Lasso Object Selection
Updated and found a danger in the script.
First the good news(version 1.01):
New icons for less confusion
Some recovery ability if the tool is not ended properly with some drag in the viewport
Automatic installer
Bad news:
There is a sequence of actions that can crash truespace
1. click the custom lasso or rectangle select button
2. right click ending PE mode but not the tool
3. add a cube or any other primitive to the scene
Result: CRASH
Click the button + drag in the 3D view = GOOD
Click the button + go do something else = BAD
Edit: October 7 2011 - fix so doesn't select invisible objects
First the good news(version 1.01):
New icons for less confusion
Some recovery ability if the tool is not ended properly with some drag in the viewport
Automatic installer
Bad news:
There is a sequence of actions that can crash truespace
1. click the custom lasso or rectangle select button
2. right click ending PE mode but not the tool
3. add a cube or any other primitive to the scene
Result: CRASH
Click the button + drag in the 3D view = GOOD
Click the button + go do something else = BAD
Edit: October 7 2011 - fix so doesn't select invisible objects
- clintonman
- Captain
- Posts: 5429
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: Rectangle and Lasso Object Selection
Update - no more crashes
Made the script more robust and doesn't crash anymore.
Right click will end the tool instead of just leaving PE mode and leaving the tool half done.
Ignores subsequent press of the rectangle and lasso buttons until after the selection is made.
http://clintons3d.com/plugins/truespace ... #rectlasso" onclick="window.open(this.href);return false;
Made the script more robust and doesn't crash anymore.
Right click will end the tool instead of just leaving PE mode and leaving the tool half done.
Ignores subsequent press of the rectangle and lasso buttons until after the selection is made.
http://clintons3d.com/plugins/truespace ... #rectlasso" onclick="window.open(this.href);return false;
- Draise
- Captain
- Posts: 3198
- Joined: 21 Sep 2009, 19:33
- Type the number ten into the box: 0
- Location: Bogota, Colombia
- Contact:
Re: Rectangle and Lasso Object Selection
Wonderful! That's a great improvement! I've been using it oh so carefully.
- clintonman
- Captain
- Posts: 5429
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: Rectangle and Lasso Object Selection
Update September 2019
bug: now works with pre-selected cameras and lights - bug was cause by the fact that selected cameras and lights are set to invisible, so they were ignored
improved appearance during selection - edges not visible, only points visible
uses "Workspace" status instead of "Model" status
bug: now works with pre-selected cameras and lights - bug was cause by the fact that selected cameras and lights are set to invisible, so they were ignored
improved appearance during selection - edges not visible, only points visible
uses "Workspace" status instead of "Model" status
- clintonman
- Captain
- Posts: 5429
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: Rectangle and Lasso Object Selection
Update: Sept 2020
Now respects the locking of objects from the unselectable script.
Now respects the locking of objects from the unselectable script.
- clintonman
- Captain
- Posts: 5429
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: Rectangle and Lasso Object Selection
June 22, 2021
Update:
fixed a crash bug - the reason for the update
added support for NURBS
selection of 3d groups instead of the 3d group members
http://clintons3d.com/plugins/truespace ... lasso.html
Update:
fixed a crash bug - the reason for the update
added support for NURBS
selection of 3d groups instead of the 3d group members
http://clintons3d.com/plugins/truespace ... lasso.html