Update stopper and add a PTFE guide into extrueder

This commit is contained in:
Alex Selimov 2026-09-21 22:45:39 -04:00
parent 335f002a1a
commit 2a430dc28a
2 changed files with 87 additions and 4 deletions

View file

@ -23,14 +23,24 @@ with BuildPart() as stopper:
Circle(diameter_at_hole / 2.0 + 0.5 * MM)
Circle(diameter_at_hole / 2.0, mode=Mode.SUBTRACT)
extrude(amount=ptfe_length)
offset = ptfe_length + washer_thickness
with BuildSketch(Plane.XY.offset(offset)) as sketch:
z_offset = ptfe_length + washer_thickness
with BuildSketch(Plane.XY.offset(z_offset)) as sketch:
Circle(diameter_at_hole / 2.0 + 0.5 * MM)
Circle(diameter_at_hole / 2.0, mode=Mode.SUBTRACT)
offset += filament_length
with BuildSketch(Plane.XY.offset(offset)) as sketch:
z_offset += filament_length
with BuildSketch(Plane.XY.offset(z_offset)) as sketch:
Circle(diameter_at_filament / 2.0 + 0.5 * MM)
Circle(diameter_at_filament / 2.0, mode=Mode.SUBTRACT)
loft()
with BuildSketch(Plane.XZ) as sketch:
with Locations((0, z_offset)):
with BuildLine():
l1 = RadiusArc(
(diameter_at_filament / 2.0, 0), (diameter_at_hole / 2, 1), radius=1
)
offset(amount=0.5 * MM, side=Side.RIGHT)
make_face()
revolve(axis=Axis.Z)
show(stopper)
export_stl(stopper.part, "stopper.stl")