[Gmsh] Geometry.OCCTargetUnit

jeremy theler jeremy at seamplex.com
Mon Dec 4 13:16:34 CET 2017


Hi Chrstophe

I tried setting it to "MM" and the result was the same. I will take a look
again and send a mwe illustrating the issue.

Regards
jeremy

On Mon, Dec 4, 2017, 08:45 Christophe Geuzaine <cgeuzaine at uliege.be> wrote:

>
>
> > On 4 Dec 2017, at 10:59, Jeremy Theler <jeremy at seamplex.com> wrote:
> >
> > Is the new property Geometry.OCCTargetUnit working as expected?
> >
>
> Yes.
>
> > 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";
>
> Christophe
>
> >
> > 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
> http://www.montefiore.ulg.ac.be/~geuzaine
>
> Free software: http://gmsh.info | http://getdp.info | http://onelab.info
>
> --
--
jeremy theler
www.seamplex.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20171204/734416b1/attachment.html>


More information about the gmsh mailing list