gumyr / cq_warehouse

A cadquery parametric part collection

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Curved rack gears

alikureishy opened this issue · comments

In the gears API, do you envision being able to make curved racks (with teeth along the side or along the curve)?

Teeth along the side:
curved_rack

Teeth along the curve:
curved_rack

My use case for having rack teeth along the side (the first image) would be for a motor shaft (whose axis of rotation was the X axis) to be able to drive/rotate a revolute joint along the Y or Z axes.

Will try that using a beveled gear in your openscad tool and update this thread if that works.

Looks like a bevel gear system gets me closer to my goal, with one being attached to the motor shaft, and the other, illustrated below, driving the rotating part. But, aside from being secured to a shaft, I also need to be able to screw that second gear onto the subsequent link's surface, so that that section rotates along with the bevel gear (i.e, around the same axis/shaft). So, I'd like to include flange-like screw holes (illustrated in red color below), that I could use to attach the gear firmly to the subsequent section:
marked

I generated the image above for the second beveled gear using the tool you have on thingiverse, but since it is STL I can't import it into cadquery for adding the holes. One option would be to print and then drill out the holes for the time being. But, if there is another (more straightforward) option you know of, I'd love to get your thoughts.

Sorry if this seems like a silly or obvious question. I just started reading up about gears a week ago and am still a little lost. I'm trying to build a robot arm with 3DOF. I've already implemented one revolute joint (with axis along the motor shaft), but the other two joints (for pitch/yaw motion) are what I'm stuck on. I understand there are multiple ways of achieving rotational motion that is perpendicular to the axis of the motor shaft -- using beveled gears, or worm gears, but in either case, I need some way of attaching the final gear firmly onto the next body part (link) that's being rotated. One option would be to secure both the gear and the next part together indirectly by securing each to the common shaft using their respective setscrews, but it feels like much smpler/better design to attach the gear to the part directly first (like using a flanged coupler), and then have that combined apparatus rotate freely on the shaft. Hope I explained that well...

Thanks a million, Roger!
Your code suggestion above worked perfectly. I need to start learning OpenSCAD, to round out my CAD skills ;).
As for step files from McMaster ... thx for the tip... I've added that to my todo list.
Many thanks again for the help.

[It'd be awesome to stay connected via linkedin, if that's something you'd be open to. If yes, please feel free to add me].