feat: Finalize handle properties

This commit is contained in:
Leni Aniva 2024-07-10 16:20:33 -07:00
parent 86a5d6e6bf
commit 6de1c3bc39
Signed by: aniva
GPG Key ID: 4D9B1C8D10EA4C50
1 changed files with 8 additions and 2 deletions

View File

@ -137,7 +137,9 @@ class Parameters(Model):
simplify_geometry=False,
mount=BayonetMount(n_pin=3),
))
trident_terminal_height: float = 60
trident_terminal_height: float = 80
trident_terminal_hole_diam: float = 24
trident_terminal_bottom_thickness: float = 10
material_panel: Material = Material.ACRYLIC_TRANSPARENT
material_bracket: Material = Material.ACRYLIC_TRANSPARENT
@ -160,7 +162,11 @@ class Parameters(Model):
return self.trident_handle.one_side_connector(height=15)
@target(name="trident/handle-terminal-connector")
def handle_terminal_connector(self):
return self.trident_handle.one_side_connector(height=self.trident_terminal_height)
result = self.trident_handle.one_side_connector(height=self.trident_terminal_height)
#result.faces("<Z").circle(radius=25/2).cutThruAll()
h = self.trident_terminal_height + self.trident_handle.insertion_length - self.trident_terminal_bottom_thickness
result = result.faces(">Z").hole(self.trident_terminal_hole_diam, depth=h)
return result
def harness_profile(self) -> Cq.Sketch: