Radial Modeler for tS7.61

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

Radial Modeler for tS7.61

Post by clintonman »

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

RadialModelerSampleImage.jpg
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.
Clinton Reese

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

Re: Radial Modeler for tS7.61

Post by trueBlue »

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:

Code: Select all

if(!firstSel) return;
Note: It helps but not in always

Fixed the OpenPanelFrame script and RadialModelerPanelFrame node
User avatar
clintonman
Captain
Posts: 5432
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Radial Modeler for tS7.61

Post by clintonman »

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:

Code: Select all

if(!firstSel) return;
Note: It helps but not in always

Fixed the OpenPanelFrame script and RadialModelerPanelFrame node
Made indicated changes, thanks.
Clinton Reese

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

Re: Radial Modeler for tS7.61

Post by trueBlue »

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

Code: Select all

if(Node.Exists(firstSel + '/Intermediate')) return
User avatar
clintonman
Captain
Posts: 5432
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Radial Modeler for tS7.61

Post by clintonman »

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...
Clinton Reese

http://clintons3d.com
User avatar
clintonman
Captain
Posts: 5432
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Radial Modeler for tS7.61

Post by clintonman »

WheelRimMirror_SDS_Radial.jpg


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 44 times
Last edited by clintonman on 12 Jul 2023, 04:11, edited 2 times in total.
Clinton Reese

http://clintons3d.com
User avatar
clintonman
Captain
Posts: 5432
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Radial Modeler for tS7.61

Post by clintonman »

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.
Problem was adding SDS after a radial modeler is applied to a mesh with mirror modeler.

Bug fixed and uploaded a new installer.
Clinton Reese

http://clintons3d.com
User avatar
clintonman
Captain
Posts: 5432
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Radial Modeler for tS7.61

Post by clintonman »

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.
Clinton Reese

http://clintons3d.com
User avatar
clintonman
Captain
Posts: 5432
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Radial Modeler for tS7.61

Post by clintonman »

One more release for July 10 - could be the last preview release

Fixed a typo
Updated the Delete Instances code
Clinton Reese

http://clintons3d.com
User avatar
clintonman
Captain
Posts: 5432
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Radial Modeler for tS7.61

Post by clintonman »

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.
Clinton Reese

http://clintons3d.com
Post Reply