Re: [Gmsh] R: R: Slice 3D to get 2D geometry

2020-03-06 Thread Don Van Kerkhoven
Your error report looks what I get, if the script cannot locate "component8.step" (see below). I use Win7-64b-pro and Gmsh 4.5.4. >>Error : Could not read file 'D:\upgrades\software\gmsh\GmshMailingListExamples\component8.step' >>Error :

Re: [Gmsh] R: Slice 3D to get 2D geometry

2020-03-05 Thread Don Van Kerkhoven
Make sure you also have the "component8" file in the same directory : https://gitlab.onelab.info/gmsh/gmsh/-/blob/master/demos/boolean/component8. step It's required at this line // load volume(s) from step file v() = ShapeFromFile("component8.step");

Re: [Gmsh] geo script - how to reference elements after reading a msh file

2020-02-29 Thread Don Van Kerkhoven
OK thanks. bw Don -Original Message- From: Christophe Geuzaine [mailto:cgeuza...@uliege.be] Sent: February-29-20 12:15 PM To: Don Van Kerkhoven Cc: gmsh@onelab.info Subject: Re: [Gmsh] geo script - how to reference elements after reading a msh file > On 29 Feb 2020, at 16:04,

[Gmsh] geo script - how to reference elements after reading a msh file

2020-02-29 Thread Don Van Kerkhoven
Hi, I have a "triangulated.msh" file that was created from the Plugin(Triangulate) and saved. I need to attach features to this mesh as well as correct several normal directions. How do I reference or access the points, lines, etc of this mesh ? Is there a way to harmonize the

Re: [Gmsh] geo script - how to get a mesh after plugin(triangulate) ?

2020-02-26 Thread Don Van Kerkhoven
Thanks again Christophe. That does what I need. I ended up importing back for further processing. >> Save View[1] "mesh.msh"; >> Merge "Mesh.msh"; br Don -Original Message- From: Christophe Geuzaine [mailto:cgeuza...@uliege.be] Sent: February-26-20

Re: [Gmsh] Strange mesh in a curved square

2020-02-25 Thread Don Van Kerkhoven
Change the Surface type. 48 s_low_i = news; Surface(s_low_i) = {ll_low_i}; ___ gmsh mailing list gmsh@onelab.info http://onelab.info/mailman/listinfo/gmsh

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

2020-02-24 Thread Don Van Kerkhoven
Thanks Christophe. I used your suggestion. bw Don -Original Message- From: Christophe Geuzaine [mailto:cgeuza...@uliege.be] Sent: February-23-20 2:59 PM To: Don Van Kerkhoven Cc: gmsh@onelab.info Subject: Re: [Gmsh] Geo scripts : syntax PointsOf for a Curve Loop > On 13 Feb 2

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

2020-02-13 Thread Don Van Kerkhoven
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 **