Add holes for x stepper mount to bearing mount and column
This commit is contained in:
parent
d0728c5392
commit
2f0c46dcdf
20
gantry.py
20
gantry.py
|
@ -229,18 +229,26 @@ class Gantry:
|
|||
stepper_mount_w.transformed(offset=(0, 0, 0), rotate=(180, 0, 0))
|
||||
)
|
||||
.hole(40)
|
||||
.copyWorkplane(
|
||||
stepper_mount_w.transformed(offset=(0, -ballscrew_x_offset, 5))
|
||||
)
|
||||
.rect(78, 30)
|
||||
.vertices()
|
||||
.hole(5)
|
||||
# .copyWorkplane(stepper_mount_w)
|
||||
# .circle(40)
|
||||
# .extrude(10)
|
||||
)
|
||||
self.stepper_mount = self.ball_screw_model.fixedBearingHoles(self.stepper_mount)
|
||||
|
||||
def stepper_mount_holes(w):
|
||||
return (
|
||||
w.copyWorkplane(
|
||||
stepper_mount_w.transformed(offset=(0, -ballscrew_x_offset, 5))
|
||||
)
|
||||
.rect(78, 26)
|
||||
.vertices()
|
||||
.hole(5)
|
||||
)
|
||||
|
||||
self.stepper_mount = stepper_mount_holes(self.stepper_mount)
|
||||
self.right = stepper_mount_holes(self.right)
|
||||
self.right_bearing_mount = stepper_mount_holes(self.right_bearing_mount)
|
||||
|
||||
def assembly(self):
|
||||
return (
|
||||
cq.Assembly(name="gantry")
|
||||
|
|
Loading…
Reference in New Issue