Function Repository Resource:

# ChamferedPolyhedron

Chamfer a given polyhedron

Contributed by: Jan Mangaldan
 ResourceFunction["ChamferedPolyhedron"][poly] gives the chamfered polyhedron of poly by chamfering all edges. ResourceFunction["ChamferedPolyhedron"][poly,l] chamfers the polyhedron poly by a length ratio l at its edges.

## Details

Chamfering, or edge truncation, is done by truncating each edge of a polyhedron with the plane perpendicular to the plane bisecting the dihedral angle between two faces, effectively replacing each original edge with a hexagonal face.

## Examples

### Basic Examples (1)

Chamfer a dodecahedron:

 In[1]:=
 Out[1]=
 In[2]:=
 Out[2]=

### Scope (2)

ChamferedPolyhedron works on polyhedra:

 In[3]:=
 In[4]:=
 Out[4]=
 In[5]:=
 Out[5]=

Chamfer the polyhedron by different length ratios:

 In[6]:=
 In[7]:=
 Out[7]=

### Properties and Relations (1)

ChamferedPolyhedron transforms edges, while BeveledPolyhedron transforms edges and vertices:

 In[8]:=
 Out[8]=

### Possible Issues (1)

ChamferedPolyhedron only supports simple polyhedra:

 In[9]:=
 Out[9]=
 In[10]:=
 Out[10]=
 In[11]:=
 Out[11]=

### Neat Examples (2)

Equilateral chamfered polyhedra based on Platonic solids:

 In[12]:=
 Out[12]=

Show the relationship between a polyhedron and its chamfered version:

 In[13]:=
 Out[13]=

## Version History

• 1.0.0 – 21 September 2021