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.'
引用格式
Duncan Carlsmith (2024). Helical Spring Maker (https://www.mathworks.com/matlabcentral/fileexchange/171929-helical-spring-maker), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2024a
兼容任何版本
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!HelicalSpringMaker folder
版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0 |