FEM: code formating, flake8
This commit is contained in:
committed by
Yorik van Havre
parent
d5bf55555d
commit
d861dae77f
@@ -39,7 +39,7 @@ def makeFemBeamSection(width=20.0, height=20.0, name="BeamSection"):
|
||||
obj.RectHeight = height
|
||||
obj.CircRadius = height
|
||||
obj.PipeRadius = height
|
||||
obj.PipeThickness = 2.0
|
||||
obj.PipeThickness = 2.0
|
||||
if FreeCAD.GuiUp:
|
||||
import _ViewProviderFemBeamSection
|
||||
_ViewProviderFemBeamSection._ViewProviderFemBeamSection(obj.ViewObject)
|
||||
|
||||
@@ -30,7 +30,9 @@ __url__ = "http://www.freecadweb.org"
|
||||
|
||||
class _FemBeamSection:
|
||||
"The FemBeamSection object"
|
||||
|
||||
known_beam_types = ['Rectangular', 'Circular', 'Pipe']
|
||||
|
||||
def __init__(self, obj):
|
||||
obj.addProperty("App::PropertyLength", "RectWidth", "RectBeamSection", "set width of the rectangular beam elements")
|
||||
obj.addProperty("App::PropertyLength", "RectHeight", "RectBeamSection", "set height of therectangular beam elements")
|
||||
|
||||
Reference in New Issue
Block a user