[Gmsh] Merge .stp file - scaling issue
Christophe Geuzaine
cgeuzaine at ulg.ac.be
Tue Mar 17 12:50:41 CET 2015
> On 12 Mar 2015, at 18:34, Sonntag, Daniel Alexander <daniel-alexander.sonntag at itke.uni-stuttgart.de> wrote:
>
> Hello,
>
> I am currently playing around with gmsh to mesh surfaces imported as .stp file (exported from Rhino3d), but somehow once merging the .stp file the unit setting seem to get confused. Example: the .stp file is exported in meters, but once I import the file via Merge the unit gets changed to millimeters (or in other words the geometry gets scaled by a factor 1000). So once I reimport the mesh it is also scaled up by a factor 1000.
>
> Is there a way to control this or to disable such scaling?
>
We use OpenCASADE to import .stp files; if there's a 1000x scaling, probably the files have some mm units referenced in them? (Gmsh does not have any units.)
> Any help is appreciated,
>
> Cheers
> Daniel
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh
--
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
http://www.montefiore.ulg.ac.be/~geuzaine