diff --git a/KennedyPegboard/Toolholders/multiconnect/backSlot.stl b/KennedyPegboard/Toolholders/multiconnect/backSlot.stl index 43c5b5d..934af71 100644 Binary files a/KennedyPegboard/Toolholders/multiconnect/backSlot.stl and b/KennedyPegboard/Toolholders/multiconnect/backSlot.stl differ diff --git a/KennedyPegboard/Toolholders/multiconnect/basicBackSlot.py b/KennedyPegboard/Toolholders/multiconnect/basicBackSlot.py index 5c63030..83e56b9 100644 --- a/KennedyPegboard/Toolholders/multiconnect/basicBackSlot.py +++ b/KennedyPegboard/Toolholders/multiconnect/basicBackSlot.py @@ -10,6 +10,7 @@ dmh = depth_multiconnector_hole = 4.15 dbr = depth_big_round = 1.2121 dsr = depth_small_round = 0.4379 db = depth_bevel = 2.5 +el = extrusion_length = 10.0 pts = [ (0, 0), @@ -19,24 +20,25 @@ pts = [ (((wmh+4)/2)-db-2, dmh+2-dsr), ((wmh+4)/2-2, dbr+2), ((wmh+4)/2-2, 2), - (0, 2) + (0, 2), + (0, 0) ] # Make one basic connector with BuildPart() as backSlot: # Make a polyline sketch and revolve it 180 degrees - with BuildSketch() as sk_backSlot: - with BuildLine() as ln_backSlot: + with BuildSketch(Plane.XZ) as sk_backSlot: + with BuildLine(Plane.XZ) as ln_backSlot: Polyline(pts) make_face() - revolve(revolution_arc=180.0, axis=Axis.Y) + revolve(revolution_arc=180.0, axis=Axis.Z) # Add a straight part to it - with BuildSketch() as sk_extrusion: - with BuildLine() as ln_extrusion: + with BuildSketch(Plane.XZ) as sk_extrusion: + with BuildLine(Plane.XZ) as ln_extrusion: Polyline(pts) make_face() mirror(about=Plane.YZ) - extrude(amount = 4) + extrude(amount = el) -export_stl(backSlot.part, "backSlot.stl") +#export_stl(backSlot.part, "backSlot.stl") show_all()