Helical Spring Maker
Version 1.0.0 (620 KB) by
Duncan Carlsmith
Live Script that makes a variety of helical-spring alpha shapes, geometry files, and STL files.
This Live script makes a variety of solid helical coils by sweeping a rectangular or elliptical beam cross section through space. The point cloud is wrapped with an alpha shape resulting in faces extending along the coil plus two end faces. Optionally the triangulated alpha shape and associated 3D-meshed fegeometry object may be saved and exported as a STL file.
This script can make cylindrical coils or coils that spiral in or out when viewed from above. It may interest students and instructors of physics and related fields and be used in education. The STL files may for example be subject to modal analysis using Singing Wine Glass and Bowl Explorer. 'Try this' suggestions and slider controls are included to assist in designing the coil. The code could be modified to use other cross sectional shapes following any parametric path and a simple extension is suggested as a 'Challenge.'
Cite As
Duncan Carlsmith (2024). Helical Spring Maker (https://www.mathworks.com/matlabcentral/fileexchange/171929-helical-spring-maker), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2024a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
HelicalSpringMaker folder
Version | Published | Release Notes | |
---|---|---|---|
1.0.0 |