Version 0.55.1

conv_hull

Creates a 3d solid of the convex hull of the input.

Signatures

  •   conv_hull( solid body )

Details

The conv_hull function generates a convex hull from its given input. The convex hull is returned in form of a solid.

Example

 solid c = box()
 solid s = sphere()
 make conv_hull( c + s )
 

Result of the code example. It uses the conv_hull function to build a convex hull from a cube and a sphere.

Return value

A solid that is the convex hull of the input solid.

Parameters

body

A solid that is used to form the 3d-convex hull solid from.

🗙

Search results for