[Gmsh] howto import STEP/IGES/BREP file?
=?windows-1252?Q?Jean-Fran=8D=E7ois_Remacle?=
jean-francois.remacle at uclouvain.be
Mon Feb 18 10:01:54 CET 2008
Edgar Last a écrit :
> Hi,
> the Gmsh website says
> "Gmsh can be linked with OpenCascade to provide support for STEP, IGES and BREP files."
>
> How do I do the linking? Is this procedure documented anywhere?
>
>
in gmsh/configure, there is a directive for designing the location of
opencascade.
./configure --with-occ-prefix=/usr/local/opencascade etc...
Open cascade can be downloaded form http://www.opencascade.org/
At this location, you can have pre-compiled versions of occ :
http://www.opencascade.org/getocc/download/loadocc/
Note that we have ported OCC to Apple MAC OSX.
When linking is done, just do
gmsh foo.STEP
gmsh will treat files with extensions ".stp", ".step", ".STP" and
".STEP" as STEP files.
JF Remacle
> And how do I import a STEP file and mesh it after the linking is done?
>
> Thanks
> Edgar
> _________________________________________________________________
> Express yourself instantly with MSN Messenger! Download today it's FREE!
> http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh
>