New NURBS tools
- clintonman
- Captain
- Posts: 5429
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
New NURBS tools
Working on improving the workspace NURBS tools.
Original curve in the center, right is old add control point, left new add control point
The enhancement is that adding a control point doesn't change the shape of the curve anymore. The old way flattened the curve at the insertion point.
The add curve tools have all been restructured and I'm in the process of fixing the load and save scripts to work with the new curve nodes. It can currently load truespace cob file curves. The svg loader can load a simple path but needs more work to load other shapes.
No new color options yet.
Original curve in the center, right is old add control point, left new add control point
The enhancement is that adding a control point doesn't change the shape of the curve anymore. The old way flattened the curve at the insertion point.
The add curve tools have all been restructured and I'm in the process of fixing the load and save scripts to work with the new curve nodes. It can currently load truespace cob file curves. The svg loader can load a simple path but needs more work to load other shapes.
No new color options yet.
- clintonman
- Captain
- Posts: 5429
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: New NURBS tools
Next is lofting curves into a patch.
- clintonman
- Captain
- Posts: 5429
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: New NURBS tools
This one takes the profile curve at the bottom and extrudes it between 2 rail curves on the sides.
"Birail1" name is from Maya and means 1 profile curve for the 2 rail curves
The next one is "Birail2", so instead of 1 profile it has 2 profiles, one at each end of the rails.
- clintonman
- Captain
- Posts: 5429
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: New NURBS tools
Profile curves top and bottom and rail curves on the sides.
I wasn't sure I would be able to pull this one off. There was a lot of tricky things to consider.
Next is making these new tools easier to use. As they exist now the curves have to be created in a certain orientation and relationship to each other and the rail curves have to have the same level of detail and the profile curves have to match their level of detail.
next steps:
translate my curve and patch rebuild plugins from modelspace into workspace
translate my curve and patch reverse plugins from modelspace into workspace
Re: New NURBS tools
Wow! That is a LOT of progress in 2 days!
Well done...
Well done...
- clintonman
- Captain
- Posts: 5429
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: New NURBS tools
Thanks, it was a lot of work over the weekend.
Direction indicators
U and V direction indicators for curves and patches. This is needed to be sure curves and patches are lined up properly for some functions.
Not visible is also reverse curve, reverse patch in u or v direction and swap u and v directions of patch.
Direction indicators
U and V direction indicators for curves and patches. This is needed to be sure curves and patches are lined up properly for some functions.
Not visible is also reverse curve, reverse patch in u or v direction and swap u and v directions of patch.
- clintonman
- Captain
- Posts: 5429
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: New NURBS tools
The purpose is to get even spacing in the curve control points or to increase or decrease detail.
- clintonman
- Captain
- Posts: 5429
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: New NURBS tools
Not shown - updated the point to point snapping to work with curves. Some other snap tools also need adjustment to work with curves and patches
Fixed the curve from points tool to make a straight line when only 2 points are selected.
I think at this point it's time to stop adding tools and make the current versions usable.
Potential future tools are weld curve, weld patch, rebuilt patch, revolve/lathe curve into a patch, extract curve from patch iso-line.
- clintonman
- Captain
- Posts: 5429
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: New NURBS tools
Test building the spaceship from a 3DBuzz NURBS modeling tutorial.
It's all going well. The ship is built from 4 curves, that are rebuilt to a specific iso line counts before running birail2 tool to make the surface.
The split nurbs tools was used to break up the surface into 5 parts with 1 piece offset from it's original location.
Now the tutorial calls for attaching that piece back with 4 new patches. So I need to make an extract curve from patch tool to then use the curves to make the 4 new pieces to fill in the gaps.