Rename LidSetting to SlideOnLidSetting
to free the name of the generic lids
This commit is contained in:
parent
d2d8c34de3
commit
72aeb95bd5
|
@ -617,8 +617,8 @@ class Boxes:
|
|||
edges.CabinetHingeSettings(self.thickness, True,
|
||||
**self.edgesettings.get("CabinetHinge", {})).edgeObjects(self)
|
||||
# Sliding Lid
|
||||
edges.LidSettings(self.thickness, True,
|
||||
**self.edgesettings.get("Lid", {})).edgeObjects(self)
|
||||
edges.SlideOnLidSettings(self.thickness, True,
|
||||
**self.edgesettings.get("SlideOnLid", {})).edgeObjects(self)
|
||||
# Rounded Triangle Edge
|
||||
edges.RoundedTriangleEdgeSettings(self.thickness, True,
|
||||
**self.edgesettings.get("RoundedTriangleEdge", {})).edgeObjects(self)
|
||||
|
|
|
@ -1915,7 +1915,7 @@ class CabinetHingeEdge(BaseEdge):
|
|||
#### Slide-on lid
|
||||
#############################################################################
|
||||
|
||||
class LidSettings(FingerJointSettings):
|
||||
class SlideOnLidSettings(FingerJointSettings):
|
||||
"""Settings for Slide-on Lids
|
||||
|
||||
Note that edge_width below also determines how much the sides extend above the lid.
|
||||
|
|
|
@ -29,7 +29,7 @@ class BOX(Boxes): # Change class name!
|
|||
# self.addSettingsArgs(edges.FingerJointSettings, finger=1.0,space=1.0)
|
||||
# self.addSettingsArgs(edges.StackableSettings)
|
||||
# self.addSettingsArgs(edges.HingeSettings)
|
||||
# self.addSettingsArgs(edges.LidSettings)
|
||||
# self.addSettingsArgs(edges.SlideOnLidSettings)
|
||||
# self.addSettingsArgs(edges.ClickSettings)
|
||||
# self.addSettingsArgs(edges.FlexSettings)
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ class AllEdges(Boxes):
|
|||
self.addSettingsArgs(edges.FingerJointSettings)
|
||||
self.addSettingsArgs(edges.StackableSettings)
|
||||
self.addSettingsArgs(edges.HingeSettings)
|
||||
self.addSettingsArgs(edges.LidSettings)
|
||||
self.addSettingsArgs(edges.SlideOnLidSettings)
|
||||
self.addSettingsArgs(edges.ClickSettings)
|
||||
self.addSettingsArgs(edges.FlexSettings)
|
||||
self.addSettingsArgs(edges.HandleEdgeSettings)
|
||||
|
|
|
@ -32,7 +32,7 @@ class RectangularWall(Boxes):
|
|||
self.addSettingsArgs(edges.GripSettings)
|
||||
self.addSettingsArgs(edges.HingeSettings)
|
||||
self.addSettingsArgs(edges.ChestHingeSettings)
|
||||
self.addSettingsArgs(edges.LidSettings)
|
||||
self.addSettingsArgs(edges.SlideOnLidSettings)
|
||||
self.addSettingsArgs(edges.StackableSettings)
|
||||
|
||||
self.buildArgParser(x=100, h=100)
|
||||
|
|
|
@ -91,13 +91,13 @@ class _ChestLid(Boxes):
|
|||
class _TopEdge(Boxes):
|
||||
|
||||
def addTopEdgeSettings(self, fingerjoint={}, stackable={}, hinge={},
|
||||
cabinethinge={}, lid={}, click={},
|
||||
cabinethinge={}, slideonlid={}, click={},
|
||||
roundedtriangle={}, mounting={}, handle={}):
|
||||
self.addSettingsArgs(edges.FingerJointSettings, **fingerjoint)
|
||||
self.addSettingsArgs(edges.StackableSettings, **stackable)
|
||||
self.addSettingsArgs(edges.HingeSettings, **hinge)
|
||||
self.addSettingsArgs(edges.CabinetHingeSettings, **cabinethinge)
|
||||
self.addSettingsArgs(edges.LidSettings, **lid)
|
||||
self.addSettingsArgs(edges.SlideOnLidSettings, **slideonlid)
|
||||
self.addSettingsArgs(edges.ClickSettings, **click)
|
||||
self.addSettingsArgs(edges.RoundedTriangleEdgeSettings, **roundedtriangle)
|
||||
self.addSettingsArgs(edges.MountingSettings, **mounting)
|
||||
|
|
Loading…
Reference in New Issue