[Gmsh] Geo scripts : syntax PointsOf for a Curve Loop

Don Van Kerkhoven donvk at distributel.net
Thu Feb 13 21:33:53 CET 2020


Hi,

 

Using Gmsh V4.5.2 for on Window7-64pro. I have search the archives and can't
find an example of this.

 

I have a  Curve Loop and I want to extract the #curves and the list of
curves in the loop. Can it be done, and if so, what command / syntax ?

 

// script  **************************

 

Line(1)={Point(1), Point(2)};                                        //
works fine

Curve Loop(10) = {1,2,. n};                                         // works
fine, displays properly, 

 

NumLineSeg=#Curve{10};                                            // fail --
try to find #curves, and it fails, don't know why

MouthLineList3[]=PointsOf{ Curve{10};};              // fail -- try to find
curve list, could not apply operation on shape

MouthLineList3[]= Boundary {Curve{10};};           // fail --  try to find
curve list, could not apply operation on shape, unknown tag 10    

 

 

thanks

Don

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20200213/d3142b5c/attachment.html>


More information about the gmsh mailing list