Truncate

Truncate[expr]
truncates each edge of each polygon in graphics expression expr.


truncates to the specified ratio of the edge length.

DetailsDetails

  • To use , 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.

ExamplesExamplesopen allclose all

Basic Examples (1)Basic Examples (1)

In[1]:=
Click for copyable input

works on graphics primitives:

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

also works on graphics objects:

In[3]:=
Click for copyable input
Out[3]=
New to Mathematica? Find your learning path »
Have a question? Ask support »