Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Display the set of polygons obtained by extending polyhedron edges perpendicularly inward by a given distance
ResourceFunction["RibbonPolyhedron"][poly,d] shows the ribbon polyhedron obtained by extending edges of polyhedron poly by the distance d. | |
ResourceFunction["RibbonPolyhedron"][poly] uses a default distance of 0.2. |
"Ribbonize" the cube:
In[1]:= |
Out[1]= |
RibbonPolyhedron works on polyhedron objects:
In[2]:= |
Out[2]= |
RibbonPolyhedron works on polyhedron constructors:
In[3]:= |
Out[3]= |
Specifying the distance d changes the width of the "ribbons":
In[4]:= |
Out[4]= |
Large distances may create ribbons that lie outside the original polyhedron:
In[5]:= |
Out[5]= |
For polyhedra with different face types, some ribbons may self-intersect while others do not:
In[6]:= |
Out[6]= |
Explore the "ribbonization" of the icosidodecahedron:
In[7]:= |
Out[7]= |
This work is licensed under a Creative Commons Attribution 4.0 International License