[Gmsh] Points from extruded lines
Cade Perkins
physikermeister at gmail.com
Thu Apr 3 18:18:28 CEST 2014
Thanks to David Colignon for pointing me to the Boundary command. The
following worked sufficiently to get me what I needed:
endPointIDs[] = Boundary{ Line{ lineID }; };
Boundary command will also work for getting surface and line boundaries of
volumes and surfaces, respectively. I still don't see a way of getting
other axillary entities created by extrusions. For example, a Circle or
Spline are curved line entities and require extra points in their
definition. Extruding such entities automatically generates axillary
points for defining the new entities, but Boundary only returns the end
points of the new curve. I don't see how the other automatically-generated
points are accessible and/or identifiable without manual inspection and
hard-coded entity IDs.
On Tuesday, April 1, 2014 8:30:14 PM UTC-5, Cade Perkins wrote:
>
> I am aware that one can get coordinates of points using the following
> syntax:
> coords[] = Point{pointID};
>
> I would like to get the points of a line (for example, from a line
> generated by an extrusion). I want to avoid having to use hard coded
> entity IDs. The following syntax does not work:
> pointIDs = Line{lineID};
>
> Is there a general syntax for getting such metadata from other types of
> entities, or is the point coordinates just a special implementation?
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20140403/9ef0ff7f/attachment.html>