doc:user:geometry:import:stp2e
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
doc:user:geometry:import:stp2e [2014/08/10 13:35] – joris | doc:user:geometry:import:stp2e [2015/01/08 10:38] – boman | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
- | ===== Introduction ===== | + | It is possible to import STEP files generated by external CAD software such as Catia or FreeCAD. The function used to convert the STEP file to python commands that are understandable by Metafor is defined in the '' |
- | To handle complex geometries un Metafor, | + | This converter provides only a partial translation of STEP files. |
- | ===== Use ===== | + | Here is an example (from '' |
+ | import toolbox.stp2py | ||
+ | thedir = os.path.dirname(os.path.abspath(__file__)) | ||
+ | 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.txt · Last modified: 2016/03/30 15:23 by 127.0.0.1