Fillet curves at base of gear teeth only

I’d like to add fillet radii to only the base of all the teeth (300 teeth for the main gear, 60 teeth for the pinion) that I have generated using the gearGen(RhinoV4).rvb script. I tried Fillet Curves but it put a radius on all corners. I tried Fillet Repeat but would rather not manually repeat those steps for every tooth.
Is there some way to do this? Thanks in advance.

I don’t know much about scripting so I can’t offer any advice in that area. But what I would normally do, is fillet one like you have already done. And delete everything but 1 tooth, and 1 valley. Then arraypolar to get your desired gear back.

Thank you ra-mull. I’ll try that.

You can also try this:

  1. draw a circle centered in your gear and intersecting with the ‘teeth’
  2. explode gear curve
  3. Use SelBoundary with the Crossing option and use the intersecting circle as your selection boundary
  4. Join selected teeth bases
  5. FilletCorners
  6. Join back all original gear curves.



I just realized you need the base kept as-is and the teeth filleted - in that case use SelBoundary as “Window”, not “Crossing”, and invert selection before Join,FilletCorners…

Delete all the teeth except one.
Fillets where needed.
Array polar.

Thank you all!
I tried ra_mull’s suggestion which Marc also suggested and it seemed to work well. I have yet to extrude the surface but don’t anticipate any problems.
Thank you for all your suggestions.