Fusion 360 gear6/19/2023 ![]() If I want to do something more complex, I will have to dive into coding my own extension script. ![]() Onshape and Fusion 360’s spur gear scripts present their gear parameters in slightly different formats, but both should suffice for simple projects. I found the Python version in the “Scripts and Add-ins” menu and clicked “Run”. They presented it in both C++ and Python format. So a gear with 20 teeth and 2.5 module will have a pitch diameter of 50. If you're creating gears using module the pitch circle is pretty easy to calculate, just multiply the number of teeth by the module. The spur gear script is part of the sample script library installed alongside Fusion 360, so I didn’t have to find a separate download nor was copying of public document necessary. Fusion has a script that generates gears and creates a pitch circle as part of the gear component. They used to also support JavaScript, but as of July 2017 they have moved that into maintenance mode due to lack of usage. They expose their extension API to two languages: C++ for the high-performance native code crowd, and the Python interpreted scripting language for the less performance-focused audience. Thanks for the comment!įusion 360 did not declare their own scripting language. ![]() These two factors combined means many, many copies of the spur gear script in the public documents library. Correction: Custom FeatureScript can be added to the toolbar without making a copy. One downside of this approach is the fact that (1) Onshape users needs to make a copy of a public document before they could use it for their own purposes, and (2) all documents created with the free subscription tier of Onshape are public. A member of the Onshape team used it to create the spur gear script and made it available in the public documents library. Thankfully, both companies have heard the user requests and made simple spur gear creation available as an add-in created with their own respective scripting mechanism.Įxtending Onshape requires learning to write code in their custom language FeatureScript. So I had expected to find a significant section of the CAD package to be devoted to creating various types of gears for different applications, simulating and analyzing their suitability to the task, but there was nothing.įor basic projects, a simple spur gear would suffice. I’ve always thought of gears as a critical part of any nontrivial machinery. One item they share that I found surprising is that neither of them has built-in capability to add gears into the mechanical design. They each have their strengths and weaknesses and it’s always interesting to compare and contrast between them. Hope this helps! Hello, thank you for your feedback. I am a bit confused what the purpose of this feature would be, as mating gears need to be of the same module to work together, and creating gears by number of teeth and diameter would create gears of non-standard module, you would need to do quite a bit of math to ensure two gears created this way could mesh. As a workaround for your problem it is quite simple to generate a gear of specific pitch diameter and number of teeth. Simply divide the number of teeth by the desired pitch diameter to get the module. 42 / 35 = 0.83333333 So a gear with a module of 0.83333333mm and 42 teeth would have a pitch diameter of 35mm For feature requests I would recommend opening an issue on the GitHub page.I’ve been learning Onshape and Fusion 360 as they are two of the cloud-based CAD solutions with a subscription tier that’s free for me. So a gear with a module of 0.83333333mm and 42 teeth would have a pitch diameter of 35mmįor feature requests I would recommend opening an issue on the GitHub page. Simply divide the number of teeth by the desired pitch diameter to get the module. I am a bit confused what the purpose of this feature would be, as mating gears need to be of the same module to work together, and creating gears by number of teeth and diameter would create gears of non-standard module, you would need to do quite a bit of math to ensure two gears created this way could mesh.Īs a workaround for your problem it is quite simple to generate a gear of specific pitch diameter and number of teeth.
0 Comments
Leave a Reply. |