[Gmsh] Splines in OpenCascade Kernel
Christophe Geuzaine
cgeuzaine at uliege.be
Wed Mar 6 19:01:26 CET 2019
Hi Giorgio,
There's indeed a tolerance for the C2 BSpline in OCC, which will pass through the points but up to "Geometry.Tolerance". I guess we could recode actual Catmull-Roms with OCC as well. Don't hesitate to send us a patch if you implement it - see the function _addBSpline() in Geo/GModelIO_OCC.cpp.
Christophe
> On 6 Mar 2019, at 11:54, Giorgio Palma <gior.palma at gmail.com> wrote:
>
> Dear All,
> I was playing around with splines and, as reported in the official gmsh documentation, when using the opencascade kernel (OCK) the "Spline" command produces a C2 BSpline instead of a Catmull-Rom Spline (CRS). This means that the resulting curve is no longer passing through the given primitive points when using the OCK.
> I find this behaviour annoying for my purposes and I am looking for a way around to work with OCK and still having CRS (or equivalent curves that guarantees the passage through primitive points). Obviously Linear segments would do the trick but I'd rather avoid this solution.
> Has anyone experienced this issue?Is there any way to force the "spline" command to use the CRS inside OCK?
> All the best,
> Giorgio
> _______________________________________________
> gmsh mailing list
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh
—
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
http://www.montefiore.ulg.ac.be/~geuzaine
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20190306/49d4a152/attachment.html>
More information about the gmsh
mailing list