RegularBox: Improve defaults and docs
Reduce surroundingspaces as it is likely that fingers won't fit for small boxes or one with many sides. Also add proper description instead of inheriting the one from bayonet box directly.
This commit is contained in:
parent
d29c8f7138
commit
9f4657cc64
|
@ -21,11 +21,16 @@ import copy
|
|||
class RegularBox(BayonetBox):
|
||||
"""Box with regular polygon as base"""
|
||||
|
||||
description = """For short side walls that don't fit a connecting finger reduce *surroundingspaces* and *finger* in the Finger Joint Settings.
|
||||
|
||||
The lids needs to be glued. For the bayonet lid all outside rings attach to the bottom, all inside rings to the top.
|
||||
"""
|
||||
|
||||
ui_group = "Box"
|
||||
|
||||
def __init__(self):
|
||||
Boxes.__init__(self)
|
||||
self.addSettingsArgs(edges.FingerJointSettings)
|
||||
self.addSettingsArgs(edges.FingerJointSettings, surroundingspaces=1)
|
||||
self.buildArgParser("h", "outside")
|
||||
self.argparser.add_argument(
|
||||
"--radius", action="store", type=float, default=50.0,
|
||||
|
|
Loading…
Reference in New Issue