Skip to content

Commit

Permalink
renaming the Demo1 copy.py to Demo2.py
Browse files Browse the repository at this point in the history
export to '.vtk' removed
  • Loading branch information
MichalO committed Apr 22, 2022
1 parent 619daf7 commit 65e9d87
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
12 changes: 2 additions & 10 deletions Examples/Cantilever/Demo1 copy.py → Examples/Cantilever/Demo2.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,14 @@
print('dirname: ', dirName)
sys.path.append(dirName + r'/../..')

from RFEM.enums import NodalSupportType, LoadDirectionType
from RFEM.initModel import Model, Calculate_all
from RFEM.BasicObjects.material import Material
from RFEM.BasicObjects.section import Section
from RFEM.initModel import Model
from RFEM.BasicObjects.node import Node
from RFEM.BasicObjects.member import Member
from RFEM.TypesForNodes.nodalSupport import NodalSupport
from RFEM.LoadCasesAndCombinations.staticAnalysisSettings import StaticAnalysisSettings
from RFEM.LoadCasesAndCombinations.loadCase import LoadCase
from RFEM.Loads.nodalLoad import NodalLoad
from RFEM.Calculate.meshSettings import GetModelInfo
from RFEM.TypesForMembers.memberDefinableStiffness import MemberDefinableStiffness

if __name__ == '__main__':

Model(True, "Demo1")
Model(True, "Demo2")
Model.clientModel.service.begin_modification()

Node(1, 0,0,0)
Expand Down
2 changes: 1 addition & 1 deletion UnitTests/test_Export.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def test_export():
assert config[1][0][0][2][0]['property_export_target'] == 'E_EXPORT_TARGET_CSV'

# supported formats
formats = ['.xml','.vtk','.xlsx', '.gltf', '.glb']
formats = ['.xml','.xlsx', '.gltf', '.glb'] # export to .vtk doesn't work
for i in formats:
try:
ExportTo(os.path.join(dirname, 'export'+i))
Expand Down

0 comments on commit 65e9d87

Please sign in to comment.