PolyhedronOperations`
PolyhedronOperations`

OpenTruncate

As of Version 12.0, all the functionality of the PolyhedronOperations package is built into the Wolfram System. >>

OpenTruncate[expr]

truncates each edge of each polygon in graphics expression expr without filling in with a polygon.

OpenTruncate[expr,ratio]

truncates to the specified ratio of the edge length.

Details

  • To use OpenTruncate, you first need to load the Polyhedron Operations Package using Needs["PolyhedronOperations`"].
  • OpenTruncate[expr] uses a truncation ratio of 3/10.
  • OpenTruncate[PolyhedronData[poly]] creates a truncated polyhedron.
  • ratio must be between 0 and 1/2.

Examples

Basic Examples  (1)

In[1]:=
Click for copyable input

OpenTruncate works on graphics primitives:

In[2]:=
Click for copyable input
Out[2]=

OpenTruncate also works on graphics objects:

In[3]:=
Click for copyable input
Out[3]=