doc:user:geometry:import:stp2e
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
doc:user:geometry:import:stp2e [2014/08/10 13:33] – joris | doc:user:geometry:import:stp2e [2016/03/30 15:23] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
+ | {{: | ||
+ | It is possible to import STEP files generated by external CAD software such as Catia or FreeCAD. The function used to convert STEP files to python commands that are understandable by Metafor is defined in the '' | ||
- | ===== Introduction ===== | + | <note important> |
- | To handle complex geometries un Metafor, a software which can convert STEP files (extension | + | Here is an example |
- | ===== Use ===== | + | import toolbox.stp2py |
+ | thedir | ||
+ | mod = toolbox.stp2py.stp2py(os.path.join(thedir, | ||
+ | mod.fillImportedStp(domain) | ||
- | //For the software compilation, | ||
- | |||
- | To convert from STEP to '' | ||
- | |||
- | < | ||
- | |||
- | If all goes well, a summary is displayed and a '' | ||
- | |||
- | < | ||
- | import apps.rep.fichstp | ||
- | apps.rep.fichstp.fillImportedStp(domain, | ||
- | </ |
doc/user/geometry/import/stp2e.1407670389.txt.gz · Last modified: 2016/03/30 15:22 (external edit)