Skip to content

Commit

Permalink
SideHingeBox: Fix parameter types
Browse files Browse the repository at this point in the history
  • Loading branch information
florianfesti committed May 14, 2024
1 parent bfd91eb commit a0018e2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions boxes/generators/sidehingebox.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@ def __init__(self) -> None:
help="play between the two sides as multiple of the wall thickness")

self.argparser.add_argument(
"--hinge_center", action="store", type=float, default=None,
help="distance between the hinge center and adjacent sides")
"--hinge_center", action="store", type=float, default=0.0,
help="distance between the hinge center and adjacent sides (0.0 for default)")

self.argparser.add_argument(
"--hinge_radius", action="store", type=float, default=5.5,
help="radius of the hinge inner circle")

self.argparser.add_argument(
"--cherrymx_latch", action="store", type=bool, default=False,
"--cherrymx_latch", action="store", type=boolarg, default=False,
help="add a latch, based on 3D printing and a cherry mx compatible mechanical keyboard switch")


Expand Down

0 comments on commit a0018e2

Please sign in to comment.