migrate to cadquery

This commit is contained in:
2024-11-10 01:21:10 +01:00
parent 07ee3c1fbf
commit dc68d65aed
71 changed files with 1165155 additions and 529 deletions

39
src/params.py Normal file
View File

@@ -0,0 +1,39 @@
from dataclasses import dataclass
import units as u
@dataclass
class Params:
radius: float
to: tuple
shell: bool
hollow_studs: bool
width: float = u.studs(4)
height = u.studs(1)
start_joint = True
end_joint = True
joint_studs = 2
nail_slot = True
nail_slot_size = (u.studs(1), u.ldu(1), u.ldu(1))
connector = True
connector_position = u.ldu(4)
connector_width = u.ldu(8)
connector_depth = u.ldu(1)
shell_mid_thickness = u.stud(1)
shell_mid_cut_thickness = u.ldu(4)
shell_support = True
standoff_height = u.brick(1)
standoff_padding = u.ldu(6)
standoff_studs = (1, 2)
teeth_height = u.ldu(7)
teeth_width = u.ldu(2)
teeth_spacing = u.ldu(1)
teeth_inner_width = u.ldu(10)
teeth_outer_width = u.ldu(14)