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 <[email protected]> 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
> [email protected]
> http://onelab.info/mailman/listinfo/gmsh

— 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science 
http://www.montefiore.ulg.ac.be/~geuzaine



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

Reply via email to