Add sanding block
This commit is contained in:
parent
bd7e8677c7
commit
0574a767a3
|
@ -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 (
|
||||
|
|
Loading…
Reference in New Issue