[Gmsh] Embed a point lying on the edge

Jeremy Theler jeremy at seamplex.com
Fri May 15 11:25:27 CEST 2020

Dear Nicolas
I asked the very same thing here: 
https://gitlab.onelab.info/gmsh/gmsh/-/issues/450The answer is here: 
TLDR; perform a boolean fragments operation between the line and the
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 
> listgmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20200515/3d66a483/attachment-0001.html>

More information about the gmsh mailing list