Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- Be respectful, on topic and if you see a problem, Flag it.
If you would like to contact our Community Manager personally, feel free to send a private message or an email.
Updating Official Feature Scripts and Using the Updated Version
greg_frost204
Member Posts: 12 ✭✭
I'm working on a design for compound planetary gear boxes with the intention of 3D printing them: https://cad.onshape.com/documents/9ca554446455ea6f1adca427/v/115c4f54e64515268982634d/e/10697cc92f7ab71e3933066c
I have developed a design using the offical Spur Gear feature script, but that script lacks backlash control, which given the 3D printer manufacturing is problematic.
I know how to change the script to add the backlash feature that I want, but in order to do this I need to make a copy of the script.
Is there a way that I can update my original design so that it uses my copy of the feature script instead of the official version?
I have developed a design using the offical Spur Gear feature script, but that script lacks backlash control, which given the 3D printer manufacturing is problematic.
I know how to change the script to add the backlash feature that I want, but in order to do this I need to make a copy of the script.
Is there a way that I can update my original design so that it uses my copy of the feature script instead of the official version?
Tagged:
0
Best Answer
-
NeilCooke Moderator, Onshape Employees Posts: 5,714No it’s not possible, but if you share your backlash code I can look to include it in the official feature (no guarantees).Senior Director, Technical Services, EMEAI2
Answers
https://cad.onshape.com/documents/2e3daf86e6e6fa1b9f04b75f/w/4ffc7a791d446675e6376600/e/6342e8414c3ff2e4e06a66ba
It is pretty much a straight up copy of the official spur gear with a single new parameters:
With this change to the involute generation code:
It moves the face of each tooth 1/4 of the specified backlash along the line of the pitch circle.
This means for instance if you specify 0.2mm as the backlash and you specify this on both gears, you get an additional gap between the coupling teeth of approx 0.2mm.
https://cad.onshape.com/documents/f13ca17c18c21fa266e7385a/v/0468cf9cfdbc892b4ffa7611/e/81a2b382873011411a859c57
Thanks for that reference too. Some good info there. If you are open to accepting contributions and including them in the official script, I'd be interested in working on the helix change too. At the moment my compound planetary gear uses the feature script to generate the gear, and then uses the gear face to sweep the helix and then delete the original gear. It would be far better to have helix built in. If you have a view on how the helix parameters should be organised, let me know. I was thinking:
Helical Gear (checkbox)
Helix Angle (postitive for clockwise, negative for counter clock wise)
Double Helix (checkbox).
But another way would be to select clockwise or counter clockwise as selectable options (this seems to be what Helix does).
Either would allow backlash adjustment, whereas the current script does not. A bit of trial and error is probably required to settle on the right backlash for a given printer in either case.