[Gmsh] BooleanFragments on tiny scale

Christophe Geuzaine cgeuzaine at uliege.be
Tue Apr 28 18:26:21 CEST 2020

> On 28 Apr 2020, at 17:49, Mathias Scheunert <ms79vary at mailserver.tu-freiberg.de> wrote:
> Dear developers and users,
> is there a way, to apply BooleanFragments (and others?) also on a very tiny scale?
> -> Please find attached a MWE, illustrating that this operation fails on a small scale even with reducing BooleanTolerance (ln 17/18).

No, unfortunately OpenCASCADE has a fixed tolerance and does not work for very small values of coordinates. The solution is e.g. to work close to 1, then rescale the coordinates when saving the mesh with Mesh.ScalingFactor.


> Best regards,
> Mathias
> -- 
> Dr. Mathias Scheunert
> Institute of Geophysics and Geoinformatics, TU Bergakademie Freiberg
> Gustav-Zeuner-Str. 12, D-09596 Freiberg
> Tel.: +493731393630
> <MWE_scaling.geo>_______________________________________________
> gmsh mailing list
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh

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

More information about the gmsh mailing list