SINTEF / Splipy

Spline modelling made easy.
GNU General Public License v3.0
100 stars 18 forks source link

Let `surface_factory.sweep()` parse input SplineModel #106

Open VikingScientist opened 4 years ago

VikingScientist commented 4 years ago

This is a two stage process: first allow the argument path to be a SplineModel consisting of only Curve objects, secondly to allow the argument shape to be a (curve-)SplineModel.

This is somewhat more involved than #105 in the sense that you need the connectivity information. Since it is using normals and binormals to compute the path offset, these are almost certain to be discontinuous across neighbouring curve pieces. A solution to this is to use the average value for the computations. This requires neighbouring information which is contained in the SplineModel class.