
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
13 lines
273 B
Python
13 lines
273 B
Python
# Example hwo to use the basic fem classes. The Fem module is dependend on Part but nor on other Modules.
|
|
# So we need only:
|
|
from Fem import *
|
|
from Part import *
|
|
from FreeCAD import *
|
|
|
|
m = FemMesh()
|
|
m.NodeCount
|
|
|
|
b = makeBox(10,10,10)
|
|
m.setShape(b)
|
|
|
|
m.NodeCount |