Kresling Module Generation
Background
A Kresling module is a cylindrical origami shape that is representative of the buckling pattern formed when a cylinder of paper is twisted and compressed. While the Kresling pattern originated as a paper structure, it can be 3D printed out of other compliant materials such as thermoplastic polyurethane (TPU). 3D printing enables Kresling modules to be fabricated with consistency and ease, and simplifies the process of adjusting its dimensions.
A script run on Autodesk Fusion 360’s Python API generates 3D Kresling models based on a set of adjustable user-input parameters. In this script, each fold of the module is drawn as two sets of lofted triangles. An explanation of the math is available in the Kresling notes file. An example STL generated using this script is available here.
Prerequisites
In order to generate Kresling modules:
- The Kresling.py script must be downloaded from the repository. Place the downloaded .py file into a folder titled “Kresling”.
- Autodesk Fusion 360 must be downloaded from the Autodesk site. Autodesk permits educational licenses for Fusion 360 to be used for university research.
Script Usage Instructions
The script is run from Autodesk Fusion 360, using their built-in Python API. To load the script into Fusion 360:
- Open Fusion 360 and select “UTILITIES” in the toolbar.
- Open the “ADD-INS” menu and select “Scripts and Add-Ins”.
- Click the green “+” next to “My Scripts” in the “Scripts” tab.
- Navigate to the “Kresling” folder where the .py script lives.
- Hit “Select Folder” to add the script to Fusion 360.
- To run the script, select “Kresling” in the “My Scripts” list and click the “Run” button.
- When the script runs, a new document opens in Fusion 360. A window with a set of adjustable parameters allows the user to modify critical dimensions on the Kresling. The Kresling model automatically updates while the parameters are altered.
- To generate the Kresling with the selected parameters, hit “OK”.
Export as STL
The Kresling model can be exported as an STL for 3D printing:
- Open the “Bodies” dropdown on the feature tree.
- The model is separated into different bodies so each part can be printed separately (such as the lid and the main Kresling structure). The main Kresling structure can be identified by its name, which lists the values of key parameters used to generate the model.
- Right-click one of the bodies to export it as an STL. Select “Save As Mesh”.
- Ensure the “Format” is set to “STL (Binary)”.
- Hit “OK”. Give the STL an appropriate file name and click “Save”.