Translations:Scripted Parts: Ball Bearing - Part 2/4/en

Making the groove
Drawing an arc needs either three points or a start angle and an end angle.

In the sketcher we would use constraints to define the start point and the end point of the arc.

Since we can't do this in scripting, we draw a rounded rectangle and revolve it to get a basic "ring shape".

Then we draw a circle and revolve it to get the geometry of the groove.

Then we apply a boolean cut to the two revolved shapes and we have the complete shape of the inner/outer ring.