Macro Spring

Description
Simulates the compression and decompression of a spring.



Uses
Open the 2 files below (Spring.FCMacro and Spring.FCStd) in FreeCAD with 2 screens (Menu: Windows → Tile) and click in the window and the macro then press (debug macro) to run the macro or run the macro with



The File
Spring.FCStd

Script
ToolBar Icon

Spring.FCMacro

Code for FreeCAD version 0.15

Spring_FC-0-15.FCMacro

Link
The forum discussion page: scripting animations