Dear Nicolas I asked the very same thing here: https://gitlab.onelab.info/gmsh/gmsh/-/issues/450The answer is here: https://gitlab.onelab.info/gmsh/gmsh/-/issues/644 TLDR; perform a boolean fragments operation between the line and the point: SetFactory("OpenCASCADE"); Point(1) = {0,0,0, 0.1}; Point(2) = {5,0,0, 0.1}; Line(1) = {1,2}; Point(3) = {1,0,0, 0.2}; BooleanFragments{ Point{3}; Delete; }{ Curve{1}; Delete; }
On Fri, 2020-05-15 at 09:33 +0200, Karin&NiKo wrote: > Dear Gmsh Gurus, > I am trying to embed a point lying on an edge of a volume, so that a > node be generated there in the mesh. > > I am providing with a simple example, using the OCC Factory. > I have tried several solutions (see test.geo) given that the Split > command is unvailable with OCC Factory but they all fail. > > I must be missing something... > > Thanks for your help. > Nicolas > > _______________________________________________gmsh mailing > [email protected] > http://onelab.info/mailman/listinfo/gmsh
_______________________________________________ gmsh mailing list [email protected] http://onelab.info/mailman/listinfo/gmsh
