Updated Workspace NURBS Tools

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:

Updated Workspace NURBS Tools

Post by clintonman »

Major changes to the NURBS toolset for workspace.

New Tools:
Stitching patches
Skin curves to patch
Rail and BiRail curves to patch
Lathe curve to patch
Welding tool for curves and patches
Split tool for curves and patches
Sharp and Smooth handles script
Rebuild NURBS for curves and patches
Extract curve from patch
The ability to freehand draw a curve on existing mesh surfaces.

Changes/additions:
new curve and patch node structure
improved freeze patch script gives quad mesh instead of triangles
file dialog for export improved
adding items don't overlap in link editor
nurbs direction indicator display code moved out of the scene nurbs nodes and it's positioning improved
removed fix concave and flip polygon buttons from the toolbar, buttons found in nurbs utility panel
moved freeze curve/patch code out of the scene nurbs nodes
selection modes are preserved
* polygon to curve uses edge list for proper ordering of curve segments

Needs more documentation and several existing tools need to be updated to work with the NURBS objects.
The workflow may need a little work too. They look like NURBS but they edit like polygons which is a bit awkward.

New rsx plugin v.1638425 is required for the new curve drawing tool.

http://clintons3d.com/plugins/truespace ... nurbs.html
Clinton Reese

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

Re: Updated Workspace NURBS Tools

Post by clintonman »

I just finished documenting the tools with more explanations and images.

I also added an important note,

"Turn Super Sampling off"
When turned on the curves and handles get a very fine and difficult to see appearance.
Clinton Reese

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

Re: Updated Workspace NURBS Tools

Post by clintonman »

Update Dec 15
Some small changes and bug fixes

changed default color of curves to white
incorporated UI changes by trueBlue
removed select curve and select patch buttons from the NURBS nodes
removed owner name node used for the render attributes - deprecated years ago
locked the Matrix of the LODMesh(visible NURBS) so it can't move independent of the control mesh
export the render attributes so the NURBS mesh visibility can be controlled
freeze nurbs - remove left over name node (trueBlue contrib), replace the render attribute node
Clinton Reese

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

Re: Updated Workspace NURBS Tools

Post by clintonman »

Update Jan 3 2021

added enhancements and fixes from trueBlue's Unofficial Updates for trueSpace
new freeze curve as polygon option
fix triangulation tool renamed to fix handles - enhanced to work when any element of the curve node is selected
sweep curve changes from trueBlue plus
name curve from circle scripts - NURBS Circle
name patch from primitive type - NURBS Plane, NURBS Torus etc.
fix all cases (I hope) where pe selection mode is altered by the tools
extend curve - increase curve resolution and don't extend so far
move patch and curve file buttons to the file menu
requires new plugin version 1638426 for the file menu export options
control point meshes added new button to select the nurbs nodes = trueBlue "Exit" button
NURBS_ImportExport_Menu.jpg
NURBS_ImportExport_Menu.jpg (39.63 KiB) Viewed 3442 times
Changing the file menu is a first for me. I've always tried to keep my changes seperate from the built in trueSpace stuff. In this case I wanted to remove a couple of buttons from the toolbar and that was the best place to put them.
The new nurbs patch and curve file buttons require the new rsx plugin file v1638426
Clinton Reese

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

Re: Updated Workspace NURBS Tools

Post by clintonman »

Update Jan 6 2021

mostly bug fixes to do with svg import and animation export plus a few other things

move curve utilities into nurbs utilities
recombine curve import and settings panels
css animation export: fix bugs, make sample file and remove greensock javascript animation
curve import remove expose extra attributes, replace with panel export for color and opacity
curve import fix so svg color imported to non-constant material
curve import fix svg convert to polygon option
fix incompatible nurbs name when loading exported workspace nurbs into modelspace - prevented proper node behavior
nurbs patch import get proper naming via parent polyhedron
patch import proper assignment of the matrix values
fix bug in the fix handles scripts so works no matter which element of the nurbs is selected
all floating panels open side by side and takes side panel into consideration
Clinton Reese

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

Re: Updated Workspace NURBS Tools

Post by clintonman »

Update August 29, 2021

Many changes from the previous release
Clinton Reese

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

Re: Updated Workspace NURBS Tools

Post by clintonman »

Previous update Sept 2021 - improved freezing patches

Dec 14, 2021

fix invisible import when svg stroke and fill are not defined
add check to make sure bridge isn't "On" - stops model copy errors
add curve path resolution control so complex shapes can have a simpler less detailed appearance - maybe useful for importing as polygons and the curves are too detailed
option to use stroke color when fill color is missing
thickness option for importing polygons as full 3D extrusion instead of as a single polygon

The altered command is attached for convenience.
Attachments
loadCurveScript.RsObj
(560.31 KiB) Downloaded 106 times
Clinton Reese

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

Re: Updated Workspace NURBS Tools

Post by clintonman »

Update: Oct 10 2022

fixed a bug where if you move a large or medium number of nurbs objects tS would run slowly
this makes nurbs more compatible with point clone script when nurbs are the cloned items

http://clintons3d.com/plugins/truespace ... nurbs.html
Clinton Reese

http://clintons3d.com
Post Reply