GuiCommand: Name: Sketcher BSplineIncreaseDegree MenuLocation: Sketch , Sketcher B-spline tools , Increase B-spline degree Workbenches: Sketcher_Workbench Version: 0.17 SeeAlso: Sketcher_BSplineDecreaseDegree
Sketcher BSplineIncreaseDegree
Description
The Sketcher BSplineIncreaseDegree tool increases the degree (order) of B-splines.
Usage
-
Select one or more B-splines.
-
There are several ways to invoke the tool:
-
Press the
Increase B-spline degree button.
-
Select the Sketch → Sketcher B-spline tools →
Increase B-spline degree option from the menu.
-
(v1.0)
: Right-click in the 3D view and select the
Increase B-spline degree option from the context menu.
-
Example
B-splines are basically a combination of Bézier curves (nicely explained in this and this video).
In this cubic B-spline (degree 3) there are 3 segments, meaning 3 curves are connected at 2 knots.
The degree is indicated by the number in the center. See Show/hide B-spline degree.
![](https://raw.githubusercontent.com/FreeCAD/FreeCAD-documentation/master/wiki/images/Sketcher_BSplineDegree3.png)
The outer segments each have 2 control points, the inner segment has none to ensure the knots have multiplicity 1. See this page for an explanation about multiplicity.
Increasing the degree to 4 will add control points without changing the shape of the B-spline:
![](https://raw.githubusercontent.com/FreeCAD/FreeCAD-documentation/master/wiki/images/Sketcher_BSplineDegree4.png)
From this result you cannot get back to the initial state of the B-spline by decreasing the degree. Some information is lost when the degree of a B-spline is changed. Decreasing the degree back to 3 leads to this:
![](https://raw.githubusercontent.com/FreeCAD/FreeCAD-documentation/master/wiki/images/Sketcher_BSplineDegree3from4.png)
Each segment now has 2 control points and each knot is coincident with an additional control point. The knots have C^0^ continuity so that the B-spline will get \"corners\" if you move a control point. The information of a higher continuity is therefore lost. See this page for an explanation about continuity.
⏵ documentation index > Sketcher > Sketcher BSplineIncreaseDegree
This page is retrieved from https://github.com/FreeCAD/FreeCAD-documentation/blob/main/wiki/Sketcher_BSplineIncreaseDegree.md