This project is a fork of two existing projects by RoTechnic: CycloidalDesign and internalECGears. The aim of this fork is to combine and extend the functionality of these projects while introducing performance improvements and an easier user experience.
Cycloid Generator is a powerful tool that allows you to generate external and internal cycloid shapes in Fusion 360. It provides a user-friendly GUI menu that enables you to configure various parameters related to the shape, including the type of shape, the number of pins, pin radius, pitch radius, contraction, and geometric complexity.
This version of Cycloid Generator stands out from RoTechnic's original work in two key ways:
-
Consolidation and Enhanced Usability: The original projects, CycloidalDesign and internalECGears, have been combined into a single repository, simplifying the overall workflow. Additionally, this version introduces a graphical user interface (GUI) menu that allows users to conveniently configure the parameters for generating cycloid shapes.
-
Optimized Drawing Algorithm: One of the significant enhancements in this fork is the optimization of the drawing algorithm. Unlike the original scripts, which drew numerous lines to plot the curves, this version incorporates a complexity parameter. The complexity value determines the resolution of the geometry. By adjusting the complexity, users can control the number of lines required to render the same curve. This improvement proves especially advantageous for individuals who experienced crashes when using the original scripts in software like Fusion 360.
To use Cycloid Generator, follow these steps:
-
Download the cycloid_generator.py file.
-
Copy the file to the scripts folder:
%AppData%\Roaming\Autodesk\Autodesk Fusion 360\API\Scripts
-
Open Fusion 360, go to the Utilities tab, and click Add-Ins > Scripts and Add-Ins.
-
Under the My Scripts section, select cycloid_gneerator and press Run.
-
Enter your required values in the GUI menu.
-
Press OK, read the warning message, and press OK again.
-
Wait patiently, as generating may take a minute or two. Do not try to click anything or interact with Fusion 360 until generation has complete, or you may crash your program.
-
Continue with your cool project!
Contributions to Cycloid Generator are welcome! If you would like to contribute, please follow these guidelines:
-
Fork the repository on GitHub.
-
Create a new branch with a descriptive name for your feature or bug fix.
-
Implement your changes.
-
Commit your changes and push the branch to your forked repository.
-
Open a pull request on the main repository, describing your changes in detail.
Cycloid Generator is released under the MIT License. Please review the license file for more information.
Cycloid Generator is built upon the fantastic work by RoTechnic in the original projects:
A huge thanks to RoTechnic for their valuable contributions and inspiration.
Happy cycloid generating!