Difference between revisions of "Sketcher BSplineIncreaseKnotMultiplicity"

From FreeCAD Documentation
Jump to navigation Jump to search
(Marked this version for translation)
Line 7: Line 7:
 
|[[Sketcher_Workbench|Sketcher]]
 
|[[Sketcher_Workbench|Sketcher]]
 
|IconL=Sketcher_BSplineDecreaseDegree.svg
 
|IconL=Sketcher_BSplineDecreaseDegree.svg
 +
|IconR=Sketcher_BSplineDecreaseKnotMultiplicity.svg
 
|IconC=Workbench_Sketcher.svg
 
|IconC=Workbench_Sketcher.svg
|IconR=Sketcher_BSplineDecreaseKnotMultiplicity.svg
 
 
}}
 
}}
  
Line 17: Line 17:
 
|Workbenches=[[Sketcher_Workbench|Sketcher]]
 
|Workbenches=[[Sketcher_Workbench|Sketcher]]
 
|Version=0.17
 
|Version=0.17
|SeeAlso=[[Sketcher_BSplineKnotMultiplicity|Show/hide B-spline knot multiplicity]], [[Sketcher_BSplineDecreaseKnotMultiplicity|Decrease knot multiplicity]]
+
|SeeAlso=[[Sketcher_BSplineKnotMultiplicity|Sketcher Show/hide B-spline knot multiplicity]], [[Sketcher_BSplineDecreaseKnotMultiplicity|Sketcher Decrease knot multiplicity]]
 
}}
 
}}
  
Line 70: Line 70:
 
|[[Sketcher_Workbench|Sketcher]]
 
|[[Sketcher_Workbench|Sketcher]]
 
|IconL=Sketcher_BSplineDecreaseDegree.svg
 
|IconL=Sketcher_BSplineDecreaseDegree.svg
 +
|IconR=Sketcher_BSplineDecreaseKnotMultiplicity.svg
 
|IconC=Workbench_Sketcher.svg
 
|IconC=Workbench_Sketcher.svg
|IconR=Sketcher_BSplineDecreaseKnotMultiplicity.svg
 
 
}}
 
}}
  

Revision as of 20:50, 2 December 2020

Other languages:
Deutsch • ‎English • ‎français • ‎italiano • ‎русский

Sketcher BSplineIncreaseKnotMultiplicity.svg Sketcher BSplineIncreaseKnotMultiplicity

Menu location
Sketch → Sketcher B-spline tools → Increase knot multiplicity
Workbenches
Sketcher
Default shortcut
None
Introduced in version
0.17
See also
Sketcher Show/hide B-spline knot multiplicity, Sketcher Decrease knot multiplicity


Description

Increases the knot multiplicity of a B-spline curve knot (see B-spline).

B-splines are basically a combination of Bézier curves (nicely explained in this and this video). The points where two Bézier curves are connected to form the spline are called knots. A knot on a degree d spline with the multiplicity m means that the curve left and right to the knot has at least an equal n order derivative (called Cn continuity) whereas n=d-m.
Here is a cubic (degree 3) spline whose knots have the multiplicity 1 (indicated by the number in parentheses,
indication can be changed using the toolbar button Sketcher BSplineKnotMultiplicity.svg Show/hide B-spline knot multiplicity):

Sketcher KnotMultiplicity multiplicity1.png

B-spline where both knots have the multiplicity 1.


A multiplicity of 3 will change this spline so that even the first order derivatives are not equal (C0 continuity). Here is the same spline where the left's knot multiplicity was increased to 3:

Sketcher KnotMultiplicity multiplicity3.png

B-spline from above with knot multiplicity 3. A control point was moved to show that the knot has C0 continuity.


A consequence of a higher multiplicity is that for the price of loosing continuity you gain local control. This means the change of one control point only affects the spline locally to this changed point. This can be seen in this example, where the spline from the first image above was taken and its second control point from the right side was moved up:

Sketcher KnotMultiplicity locality.png

Effect of locality due to different multiplicity.


One can see that the spline with knot multiplicity 1 is completely changed while the one with multiplicity 2 kept its form at its left side.

Usage

  1. Select a B-spline knot.
  2. Either: