> On 5 Feb 2019, at 16:34, Michel Cassagnes <michel.cassag...@noos.fr> wrote: > > Dear all, > > I have a surface containing points and lines (file enclosed). > > When I extrude this surface, without extruding points and lines inside, Gmsh > doesn't keep lines correctly. What can be seen on screen doesn't even match > with script file. Please try with the file and comment/uncomment Extrude > lines. > > For example, line 19 on screen is between points 19 and 23, in script it is > between points 22 and 23. >
You need to decrease the tolerance before the extrusion, e.g. set Geometry.Tolerance = 1e-3 before the Extrude command. (For extrusions the tolerance is relative to the size of the bounding box of the model -> the absolute tol at that point is about tol * 30). > Thanks for your help ! > > Michel Cassagnes > <fondations.model.geo><ExtrudeLinesUncommented.JPG><ExtrudeLinesCommented.JPG>_______________________________________________ > gmsh mailing list > gmsh@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 _______________________________________________ gmsh mailing list gmsh@onelab.info http://onelab.info/mailman/listinfo/gmsh