Hi Lorena,

Are you sure you are not mixing up two different Extrusion commands ? Since 
Gmsh 3.x and the inclusion of the OpenCascade factory, the new Extrude 
{extrude-list} Using Wire {expression-list} ; command is available in addition 
to the old set of Extrude commands for translations, rotation, etc.

Now, if you want to extrude a point along translate vector, you can simply use 
the old command : out[] = Extrude {extr_vect_x, extr_vect_y , extr_vect_z } { 
Point{point_id} ; } ;. That will return the extruded point id in out[0] and the 
extrude line segment id in out[1].

The Extrude Using Wire command is a new addition that allows to extrude a 
geometrical entity (most often a line or surface) along a spline (defined as a 
Wire). This command is also exclusive to the OpenCascade Kernel, it is useful 
if you want to build models of pipes, cables and such. Anyway, I do not think 
that you need it for what you are trying to achieve.

Let me know if it helped,

Sincerely Yours,

Guillaume DILASSER
Doctorant DACM / LEAS
CEA - Centre de Saclay - Bât.123 - PC 319c
91191 Gif sur Yvette Cedex - France -

[email protected]<mailto:[email protected]>



De : gmsh [mailto:[email protected]] De la part de Lorena 
Poenaru-Olaru
Envoyé : vendredi 7 juillet 2017 08:47
À : [email protected]
Objet : [Gmsh] Extrude function does not show the extruded point's id anymore

Hello!

I have been working on gmsh version 2.8.3, but now I've turned to version 3.0.2 
where I found some problems with the Extrude function.

When pressing the command: line[] = Extrude {1, 0, 0} Using Wire {Point{50};}; 
in version 2.8.3 line[0] was the id of the extruded point and line[1] was the 
id of the line that connects the two points.
In version 3.0.2 line[] has only one element, line[0], which is the id of the 
line that connects the two points.

I really need the id of the extruded point.

Is there any other way I can find it?

Thank you!
_______________________________________________
gmsh mailing list
[email protected]
http://onelab.info/mailman/listinfo/gmsh

Reply via email to