Add sanding block

This commit is contained in:
Leni Aniva 2025-05-20 08:18:11 -07:00
parent bd7e8677c7
commit 0574a767a3
Signed by: aniva
GPG Key ID: D5F96287843E8DFB
1 changed files with 11 additions and 0 deletions

View File

@ -149,6 +149,17 @@ class Onbashira(Model):
dx = self.bearing_gap
return math.sqrt(diag ** 2 - dx ** 2)
@target(name="sanding_block")
def sanding_block(self) -> Cq.Workplane:
x = 50.0
return (
Cq.Workplane()
.sketch()
.polygon([(0,0), (0, x), (x, x/2), (x, 0)])
.finalize()
.extrude(self.side_width * 1.5)
)
@target(name="bearing-stator", kind=TargetKind.DXF)
def profile_bearing_stator(self) -> Cq.Sketch:
return (