PolyhedronOperations`
PolyhedronOperations`

Truncate

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

Truncate[expr]

truncates each edge of each polygon in graphics expression expr.

Truncate[expr,ratio]

truncates to the specified ratio of the edge length.

Details and Options

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

Examples

Basic Examples  (1)

Truncate works on graphics primitives:

Truncate also works on graphics objects: