feat: Finalize handle properties
This commit is contained in:
parent
86a5d6e6bf
commit
6de1c3bc39
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue