FEM: beam sectiong and element geometry 1D object, make name fit in FEM name system
This commit is contained in:
committed by
Yorik van Havre
parent
9f3b7ebfe0
commit
5215a7d751
@@ -20,16 +20,16 @@
|
||||
# * *
|
||||
# ***************************************************************************
|
||||
|
||||
__title__ = "_FemBeamSection"
|
||||
__title__ = "FemElementGeometry1D"
|
||||
__author__ = "Bernd Hahnebach"
|
||||
__url__ = "http://www.freecadweb.org"
|
||||
|
||||
## @package FemBeamSection
|
||||
## @package FemElementGeometry1D
|
||||
# \ingroup FEM
|
||||
|
||||
|
||||
class _FemBeamSection:
|
||||
"The FemBeamSection object"
|
||||
class _FemElementGeometry1D:
|
||||
"The FemElementGeometry1D object"
|
||||
|
||||
known_beam_types = ['Rectangular', 'Circular', 'Pipe']
|
||||
|
||||
@@ -41,10 +41,10 @@ class _FemBeamSection:
|
||||
obj.addProperty("App::PropertyLength", "PipeThickness", "PipeBeamSection", "set thickness of the pipe beam elements")
|
||||
obj.addProperty("App::PropertyEnumeration", "SectionType", "BeamSection", "select beam section type")
|
||||
obj.addProperty("App::PropertyLinkSubList", "References", "BeamSection", "List of beam section shapes")
|
||||
obj.SectionType = _FemBeamSection.known_beam_types
|
||||
obj.SectionType = _FemElementGeometry1D.known_beam_types
|
||||
obj.SectionType = 'Rectangular'
|
||||
obj.Proxy = self
|
||||
self.Type = "FemBeamSection"
|
||||
self.Type = "FemElementGeometry1D"
|
||||
|
||||
def execute(self, obj):
|
||||
return
|
||||
@@ -1,7 +1,7 @@
|
||||
# ***************************************************************************
|
||||
# * *
|
||||
# * Copyright (c) 2016 - Ofentse Kgoa <kgoaot@eskom.co.za> *
|
||||
# * Based on the FemBeamSection by Bernd Hahnebach *
|
||||
# * Based on the FemElementGeometry1D by Bernd Hahnebach *
|
||||
# * *
|
||||
# * This program is free software; you can redistribute it and/or modify *
|
||||
# * it under the terms of the GNU Lesser General Public License (LGPL) *
|
||||
|
||||
Reference in New Issue
Block a user