[Gmsh] Geometry.OCCTargetUnit

Christophe Geuzaine cgeuzaine at uliege.be
Mon Dec 4 12:45:03 CET 2017

> On 4 Dec 2017, at 10:59, Jeremy Theler <jeremy at seamplex.com> wrote:
> Is the new property Geometry.OCCTargetUnit working as expected?


> How can I revert back to the original behavior, i.e. do not assume anything about units in an imported OCC model and leave them as "non-dimensional"?

Actually, when importing a STEP and IGES file with OpenCASCADE a "target unit" was always set - and it was set to "MM", i.e. millimeters.

To revert millimeters, use Geometry.OCCTargetUnit = "MM";


> Thanks
> --
> Jeremy Theler
> www.seamplex.com
> _______________________________________________
> gmsh mailing list
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh

Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science 

Free software: http://gmsh.info | http://getdp.info | http://onelab.info

More information about the gmsh mailing list