Arch: allow Rebar OffsetStart and OffsetEnd in negative also
This commit is contained in:
@@ -171,9 +171,9 @@ class _Rebar(ArchComponent.Component):
|
||||
if not "Diameter" in pl:
|
||||
obj.addProperty("App::PropertyLength","Diameter","Rebar",QT_TRANSLATE_NOOP("App::Property","The diameter of the bar"))
|
||||
if not "OffsetStart" in pl:
|
||||
obj.addProperty("App::PropertyLength","OffsetStart","Rebar",QT_TRANSLATE_NOOP("App::Property","The distance between the border of the beam and the first bar (concrete cover)."))
|
||||
obj.addProperty("App::PropertyDistance","OffsetStart","Rebar",QT_TRANSLATE_NOOP("App::Property","The distance between the border of the beam and the first bar (concrete cover)."))
|
||||
if not "OffsetEnd" in pl:
|
||||
obj.addProperty("App::PropertyLength","OffsetEnd","Rebar",QT_TRANSLATE_NOOP("App::Property","The distance between the border of the beam and the last bar (concrete cover)."))
|
||||
obj.addProperty("App::PropertyDistance","OffsetEnd","Rebar",QT_TRANSLATE_NOOP("App::Property","The distance between the border of the beam and the last bar (concrete cover)."))
|
||||
if not "Amount" in pl:
|
||||
obj.addProperty("App::PropertyInteger","Amount","Rebar",QT_TRANSLATE_NOOP("App::Property","The amount of bars"))
|
||||
if not "Spacing" in pl:
|
||||
|
||||
Reference in New Issue
Block a user