Skip to content

Commit

Permalink
add lateral thickness to travel body
Browse files Browse the repository at this point in the history
  • Loading branch information
bat52 committed Nov 29, 2024
1 parent 69d58f5 commit 162b91b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/pylele/pylele2/chamber.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,13 @@ def pylele_chamber_parser(parser=None) -> argparse.ArgumentParser:
type=float,
default=-0.5,
)
parser.add_argument(
"-tbw",
"--travel_body_width",
help="Travel Body Width [mm]",
type=float,
default=15,
)

return parser

Expand Down Expand Up @@ -81,7 +88,7 @@ def gen(self) -> Shape:
chm_front = -self.cfg.chmFront + rad
chm_back = chm_front + self.cfg.chmFront - 2 * rad - self.cfg.brdgLen

chm = self.gen_extruded_oval(chm_front, chm_back, 2 * rad, chm_thickness)
chm = self.gen_extruded_oval(chm_front, chm_back, 2 * rad - self.cli.travel_body_width, chm_thickness)
chm = chm.mv(jcTol, 0, -self.cli.flat_body_thickness / 2)

else:
Expand Down

0 comments on commit 162b91b

Please sign in to comment.