[Gmsh] need Help for Gmsh
Pooryaa Bayat
pooryaa1992 at yahoo.com
Tue Aug 13 09:02:13 CEST 2013
hi dear Gmsh creators
I'm a mechanical engineering student and I'm trying to add the ability to draw nurbs curves to your great product Gmsh.
My question may seem kinda silly but which function(s) is (are) resposnible for drawing B-splines in the source code?
As far as I discovered when clicked on an elementry entitiy like "B-spline" the function "geometry_elementary_add_new_cb()" calls
add_new_multiline() and sends "Bspline" to this function. Then this function waits until the control points are chosen and afterward sends the type of the curve,the
points and the file name to a function called "add_multline()" and this function saves the type of the curve and the control points in a string and sends this string
and the filename to the function add_infile().
Am I totally right so far?
If yes,I dont really know what happens after that. :-?
How does the program then use this data?and how does it then draw the B-spline?(using which functions?)
I found a fucntion called "addnurbs()" in the source code?is this function responsible for that?I dont guess so,Beacause I didn't find where the inputs of this
function come from.
Any help would be gratefully appreciated
Pouriya :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20130813/c551f64b/attachment.html>