[Gmsh] patch for Bsplines in Gmodel
Cosmin Stefan Deaconu
cozzyd at MIT.EDU
Sun Nov 24 10:13:21 CET 2013
Hi all,
It looks to me like there's no easy way to generate a BSPline from the
API (i.e. using GModel), so I modified GModel.* and GModelFactory.* to
allow this. Attached is what I came up with, and although it's not very
complicated and cursory inspection suggests it may work, I don't really
know what I'm doing. In particular, I'm not sure what the third argument
to Create_Curve does (I just set it to 2 since that's what other calls
using MSH_SEGM_BSPLN seem to do).
Note that it is a patch against svn from a few days ago (although I can
update and rediff if necessary).
Hope this is helpful...
-Cosmin
--
PhD Candidate in Experimental Particle Physics
Massachusetts Institute of Technology / Laboratory for Nuclear Science
77 Massachusetts Ave #26-456, Cambridge, MA 02139
(617) 253-1593 (office) / (775) 846-9105 (mobile)
cozzyd at mit.edu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GModelBSpline.patch
Type: text/x-patch
Size: 3457 bytes
Desc: GModelBSpline.patch
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20131124/f80b4c0a/attachment.patch>