Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Chamfer a given polyhedron
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. |
Chamfer a dodecahedron:
In[1]:= | ![]() |
Out[1]= | ![]() |
In[2]:= | ![]() |
Out[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]= | ![]() |
ChamferedPolyhedron transforms edges, while BeveledPolyhedron transforms edges and vertices:
In[8]:= | ![]() |
Out[8]= | ![]() |
ChamferedPolyhedron only supports simple polyhedra:
In[9]:= | ![]() |
Out[9]= | ![]() |
In[10]:= | ![]() |
Out[10]= | ![]() |
In[11]:= | ![]() |
Out[11]= | ![]() |
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]= | ![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License