BabaJ
BabaJ
About Me
Connect
LOCATION
Not Specified
WEBSITE
Houdini Skills
Availability
Not Specified
Recent Forum Posts
Easiest way to draw a NURBS box? Jan. 11, 2026, 12:29 p.m.
seven6ty
I'd still like to be able to draw any random shape using solely a set of coordinates.
You can do that starting with a vex node(see attached hip).
Also(even though I didn't provide an example), you could create a series of splines in vex to get a 'nurbs' curve.
I don't know the math of how to construct a series of spline types to do that, but there is some documentation on those vex spline functions that might be able to help you.
I have in the past been able to create splines within vex, however that's with one caveat.
Using vex won't actually output the spline primitives. It exists only as an abstraction of spline(non polygon) data.
You would have to do your own 'resampling'(creating the polyline) within the vex node for output.
You can define the resolution of that spline/s to polyline though.
So unless you want to stay in spline/nurb space downstream, doing it completely from vex is possible.(Based on a set of coordinates)
Easiest way to draw a NURBS box? Jan. 10, 2026, 4:04 p.m.
For Nurbs.
Assuming you mean from existing stand alone points;
You can do this(starting from just only points) using the add node then curve node.
However you have to make sure you have the proper point order and enough coincident points to get a sharp corner.
This will also change depending on the 'Order' of the Nurb curve you want - Which will determine the number of 'control/vertice' points needed for the desired curve shape of the Nurb specific Order.
However, if you just want to create the Nurb shape on the fly you can just 'draw' with the curve node itself; followed by a primitive node or Ends node.
When drawing directly, to get a sharp corner, you have to(depending on the 'Order' you selected for the Nurb) create(click) multiple coincident points at the 'hard' corner itself.
You can also draw multiple single nurb primitives and bring them together using the join sop to convert the multiple nurbs into a single nurb primitive.
Assuming you mean from existing stand alone points;
You can do this(starting from just only points) using the add node then curve node.
However you have to make sure you have the proper point order and enough coincident points to get a sharp corner.
This will also change depending on the 'Order' of the Nurb curve you want - Which will determine the number of 'control/vertice' points needed for the desired curve shape of the Nurb specific Order.
However, if you just want to create the Nurb shape on the fly you can just 'draw' with the curve node itself; followed by a primitive node or Ends node.
When drawing directly, to get a sharp corner, you have to(depending on the 'Order' you selected for the Nurb) create(click) multiple coincident points at the 'hard' corner itself.
You can also draw multiple single nurb primitives and bring them together using the join sop to convert the multiple nurbs into a single nurb primitive.
VEX - frac() function - Floating Point Precision Dec. 24, 2025, 10:50 a.m.
Yes...that's the reason....not high enough integer values.