Creating a not closed curved line 3D line
nhevaweb opened this issue · comments
Nicolas REYNAUD commented
Nick Lockwood commented
You can create this with the loft primitive, but the API for it is a bit awkward at the moment as you have to provide an array of cross sections rather than one cross section and a path.
Nicolas REYNAUD commented
Hmm I generated a Path with a PathPoint array from a non closed BezierPath
Create a Mesh.loft with this Path and it renders a filled polygon with no depth.
Am I missing something here ?
Nick Lockwood commented
@nhevaweb the paths you pass to the loft function are cross-sections (so in this case they would be circles). To create the tube you'd need to arrange multiple cross-sections in 3D space to form the tube.
Nick Lockwood commented