Radial Modeler for tS7.61
- clintonman
- Captain
- Posts: 5438
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Radial Modeler for tS7.61
The release is in preview form - meaning no good documentation yet. It also has a number of prerequisites so it would be easier to load it onto an Unofficial Update installation.
http://clintons3d.com/plugins/truespace ... deler.html
Image from the attached sample scene.
The front object already has Radial Modeler applied to it. Point edit the solid looking portion.
Sample scene attached below.
Other objects in the scene are primitives that can be tested with the tool. They were all created with 45 degree slice to match the default segment angle value of the tool. Choose one of them and enter point edit, start the tool and press the "Generate Instances".
Real documentation coming soon...
.
Removed the sample scene because it used an old method to produce the radial modeler node structures.
Re uploaded the updated sample scene
http://clintons3d.com/plugins/truespace ... deler.html
Image from the attached sample scene.
The front object already has Radial Modeler applied to it. Point edit the solid looking portion.
Sample scene attached below.
Other objects in the scene are primitives that can be tested with the tool. They were all created with 45 degree slice to match the default segment angle value of the tool. Choose one of them and enter point edit, start the tool and press the "Generate Instances".
Real documentation coming soon...
.
Removed the sample scene because it used an old method to produce the radial modeler node structures.
Re uploaded the updated sample scene
- Attachments
-
- RadialModelerSample.RsScn
- (663.32 KiB) Downloaded 46 times
Last edited by clintonman on 12 Jul 2023, 04:10, edited 2 times in total.
Re: Radial Modeler for tS7.61
Getting a few errors
Select Radial Object button
ERR Source object: /Scripts/CustomCommands/Radial Modeler/SelectInstances Error: Microsoft JScript runtime error Description: Invalid procedure call or argument Error code: 0x800a0005 - (null) Line: 10, Char: 1 Script text: if(Node.LinkedOutputNodeCount(firstSel, "Mesh") == 0) return;
Prepare for Union button
ERR Source object: /Scripts/CustomCommands/Radial Modeler/PrepBoolean Error: Microsoft JScript runtime error Description: Invalid procedure call or argument Error code: 0x800a0005 - (null) Line: 9, Char: 1 Script text: if(Node.LinkedOutputNodeCount(firstSel, "Mesh") == 0) return;
Also trueSpace stop responding during the Boolean operation
Radial Modeler modifications:
I added the following to all scripts that use firstSel:
Note: It helps but not in always
Fixed the OpenPanelFrame script and RadialModelerPanelFrame node
Select Radial Object button
ERR Source object: /Scripts/CustomCommands/Radial Modeler/SelectInstances Error: Microsoft JScript runtime error Description: Invalid procedure call or argument Error code: 0x800a0005 - (null) Line: 10, Char: 1 Script text: if(Node.LinkedOutputNodeCount(firstSel, "Mesh") == 0) return;
Prepare for Union button
ERR Source object: /Scripts/CustomCommands/Radial Modeler/PrepBoolean Error: Microsoft JScript runtime error Description: Invalid procedure call or argument Error code: 0x800a0005 - (null) Line: 9, Char: 1 Script text: if(Node.LinkedOutputNodeCount(firstSel, "Mesh") == 0) return;
Also trueSpace stop responding during the Boolean operation
Radial Modeler modifications:
I added the following to all scripts that use firstSel:
Code: Select all
if(!firstSel) return;
Fixed the OpenPanelFrame script and RadialModelerPanelFrame node
- clintonman
- Captain
- Posts: 5438
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: Radial Modeler for tS7.61
Made indicated changes, thanks.trueBlue wrote: ↑09 Jul 2023, 14:20 Getting a few errors
Select Radial Object button
ERR Source object: /Scripts/CustomCommands/Radial Modeler/SelectInstances Error: Microsoft JScript runtime error Description: Invalid procedure call or argument Error code: 0x800a0005 - (null) Line: 10, Char: 1 Script text: if(Node.LinkedOutputNodeCount(firstSel, "Mesh") == 0) return;
Prepare for Union button
ERR Source object: /Scripts/CustomCommands/Radial Modeler/PrepBoolean Error: Microsoft JScript runtime error Description: Invalid procedure call or argument Error code: 0x800a0005 - (null) Line: 9, Char: 1 Script text: if(Node.LinkedOutputNodeCount(firstSel, "Mesh") == 0) return;
Also trueSpace stop responding during the Boolean operation
Radial Modeler modifications:
I added the following to all scripts that use firstSel:
Note: It helps but not in alwaysCode: Select all
if(!firstSel) return;
Fixed the OpenPanelFrame script and RadialModelerPanelFrame node
Re: Radial Modeler for tS7.61
I think you need something more robust
For instance, when you Delete something, if(!firstSel) return; does not seem work
This seems to help too
For instance, when you Delete something, if(!firstSel) return; does not seem work
This seems to help too
Code: Select all
if(Node.Exists(firstSel + '/Intermediate')) return
- clintonman
- Captain
- Posts: 5438
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: Radial Modeler for tS7.61
Updated the tool so it works better with SDS and SDS combined with the Mirror Modeler.
New installer with the changes has been uploaded.
Still need to document this thing...
New installer with the changes has been uploaded.
Still need to document this thing...
- clintonman
- Captain
- Posts: 5438
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: Radial Modeler for tS7.61
Here is another sample scene. It's a modified version of a wheel I did way back in 2018. It shows SDS, Mirror Modeler and this Radial Modeler assigned to a mesh. There are 5 sections so the Section Angle for the Radial Modeler was set to 72 = 360 / 5
To complete the wheel rim:
Select the model
Press Prepare for Union
Answer yes if get a dialog
Boolean tool will active - select the 4 other sections, RMB to exit the tool.
Use the Heal vertices button with Heal Mode = Coincident
Add SDS - the center will look bad
Point edit select the center vertices and weld them
Little footnote, I just found a bug. When SDS and mirror modeler are used the Reconnect Instances button doesn't work properly. - bug fixed
Re-uploaded the updated scene file
- Attachments
-
- Murcielago Rim Scene.RsScn
- (944.49 KiB) Downloaded 45 times
Last edited by clintonman on 12 Jul 2023, 04:11, edited 2 times in total.
- clintonman
- Captain
- Posts: 5438
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: Radial Modeler for tS7.61
Problem was adding SDS after a radial modeler is applied to a mesh with mirror modeler.clintonman wrote: ↑10 Jul 2023, 01:05 ...
Little footnote, I just found a bug. When SDS and mirror modeler are used the Reconnect Instances button doesn't work properly.
Bug fixed and uploaded a new installer.
- clintonman
- Captain
- Posts: 5438
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: Radial Modeler for tS7.61
New sample scene updated to the latest radial modeler techniques.
Last edited by clintonman on 11 Jul 2023, 21:55, edited 1 time in total.
- clintonman
- Captain
- Posts: 5438
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: Radial Modeler for tS7.61
One more release for July 10 - could be the last preview release
Fixed a typo
Updated the Delete Instances code
Fixed a typo
Updated the Delete Instances code
- clintonman
- Captain
- Posts: 5438
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: Radial Modeler for tS7.61
Removed all sample scenes.
May have found a serious incompatibility in the code.
Later that day...
That was bizarre. I can barely wrap my head around it. The issue came from deleting the radial instance object. When it was deleted anything in that region of 3D space became difficult to select and would eventually crash truespace. That's to say you delete at location XYZ. Move another object near that location and it will become more difficult to select that item. The problem was solved by disconnecting the mesh before the delete and to only allow deletion of properly connected radial instance object. No more deleting floating disconnected instances.
I'll do one more review before re-releasing.
May have found a serious incompatibility in the code.
Later that day...
That was bizarre. I can barely wrap my head around it. The issue came from deleting the radial instance object. When it was deleted anything in that region of 3D space became difficult to select and would eventually crash truespace. That's to say you delete at location XYZ. Move another object near that location and it will become more difficult to select that item. The problem was solved by disconnecting the mesh before the delete and to only allow deletion of properly connected radial instance object. No more deleting floating disconnected instances.
I'll do one more review before re-releasing.