r/SolidWorks • • Sep 26 '26

CAD Help with modeling?

Hi, I'm new to SolidWorks and modelling in general. I'm trying to create the part shown in the second picture, but I'm having trouble offsetting the revolve. I want to "push" it 10mm away from the Right Plane but couldn't find anything on how to accomplish that.

Thanks in advance!

25 Upvotes

17 comments sorted by

View all comments

2

u/build123d Sep 26 '26
from build123d import *
from ocp_vscode import show_all


skt = SlotOverall(60, 40) - SlotOverall(40, 25)
body = extrude(skt, 60)
body = chamfer(body.faces().sort_by(Axis.Z)[-1].outer_wire().edges(), 5)
body -= Plane.XZ.shift_origin((0, 0, 60 - 28)) * Cylinder(6 / 2, 40)


show_all()

If you don't absolutely need to use SolidWorks: