sheets_to_solid
Creates a solid from a number of sheets that form the solid's faces.
Signatures
- sheets_to_solid( sheet[] sheets )
Details
The function accepts a number of sheets in an array that get combined together as outside faces of a new solid. Sections that are not covered by the sheets will get filled up with minimal surfaces.
Example
curve c1 = <[2,0,0]> -> arc( <[0, 0, 0]>, PI, <[0,-1]> )
curve c2 = <[-1,3,0]> -> arc( <[0, 3, 0]>, PI, <[0,1]> )
sheet msurf1 = min_surf( c1 -><- )
sheet msurf2 = min_surf( c2 -><- )
sheet msurf3 = min_surf( -c1 -> -c2 -><- )
make sheets_to_solid( [ msurf1, msurf2, msurf3 ] )
Remark
The function is experimental.
Parameters
- sheets
-
An array holding one or more sheets that will be combined to a single solid. The sheets normals should point outward and the sheets can touch, but should not overlap. It is recommended to construct touching sheets from the equal outline curves.