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 and Options
- 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)Summary of the most common use cases
In[1]:=1

✖
https://wolfram.com/xid/0fldn0slylwzkzy7ui35fwd5aluvy-hfevv9
OpenTruncate works on graphics primitives:
In[2]:=2

✖
https://wolfram.com/xid/0fldn0slylwzkzy7ui35fwd5aluvy-ub0ctn
Out[2]=2

OpenTruncate also works on graphics objects:
In[3]:=3

✖
https://wolfram.com/xid/0fldn0slylwzkzy7ui35fwd5aluvy-5kgxlo
Out[3]=3
