Browse Source

changed loop

master
wes 10 months ago
parent
commit
6ace2b0828
  1. 6
      belt_rivets.py

6
belt_rivets.py

@ -28,7 +28,7 @@ rivet_thickness = 3
belt_width = 39
loop_thickness = 1.83
loop_side_thickness = 5
loop_height = 10.5 + loop_thickness
loop_height = 11.5 + loop_thickness
loop_width = 25
loop_length = belt_width + loop_side_thickness
@ -57,7 +57,7 @@ rivet = rivet.faces(">Z[0]").circle(rivet_inner_radius-0.15).extrude(rivet_thick
rivet = rivet.faces(">Z[1]").center(0,0).cylinder(rivet_thickness+2, rivet_inner_radius-1, combine="cut")
rivet = rivet.workplane(offset=1.0).circle(rivet_outer_radius+1).extrude(1)
rivet_outer = Workplane().circle(rivet_inner_radius+1).extrude(rivet_thickness)
rivet_outer = Workplane().circle(rivet_inner_radius+0.4).extrude(rivet_thickness)
rivet_outer = rivet_outer.faces(">Z[0]").circle(rivet_inner_radius).extrude(rivet_thickness, combine="cut")
rivet_outer = rivet_outer.workplane(offset=1.0).circle(rivet_outer_radius+1).extrude(1)
@ -99,6 +99,6 @@ try:
#show_object(rivet_outer)
#show_object(rivet)
#show_object(loop_bottom)
show_object(loop_top)
#show_object(loop_top)
except NameError:
pass

Loading…
Cancel
Save