Sketcher BSplineDecreaseKnotMultiplicity: Difference between revisions

From FreeCAD Documentation
m (Changed section to 'Usage')
No edit summary
 
(32 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
{{Page_in_progress}}
<translate>
<translate>

<!--T:11-->
<!--T:11-->
{{Docnav
{{Docnav|[[Sketcher_BSplineIncreaseKnotMultiplicity|Increase knot multiplicity]]|[[Sketcher_SwitchVirtualSpace|Switch Virtual Space]]|[[Sketcher_Workbench|Sketcher]]|IconL=Sketcher_BSplineIncreaseKnotMultiplicity.svg|IconC=Workbench_Sketcher.svg|IconR=Sketcher SwitchVirtualSpace.png‎}}
|[[Sketcher_BSplineIncreaseKnotMultiplicity|Increase knot multiplicity]]
|[[Sketcher_BSplineInsertKnot|Insert knot]]
|[[Sketcher_Workbench|Sketcher]]
|IconL=Sketcher_BSplineIncreaseKnotMultiplicity.svg
|IconR=Sketcher_BSplineInsertKnot.svg‎
|IconC=Workbench_Sketcher.svg
}}


<!--T:1-->
<!--T:1-->
{{GuiCommand
{{GuiCommand
|Name=Sketcher BSplineDecreaseKnotMultiplicity
|Name=Sketcher BSplineDecreaseKnotMultiplicity
|Workbenches=[[Sketcher Workbench|Sketcher]]
|MenuLocation=Sketch → Sketcher B-spline tools → Decrease knot multiplicity
|MenuLocation=Sketch → Sketcher B-spline tools → Decrease knot multiplicity
|Workbenches=[[Sketcher_Workbench|Sketcher]]
|Version=0.17
|Version=0.17
|SeeAlso=[[Sketcher CompCreateBSpline|Create B-spline]]
|SeeAlso=[[Sketcher_BSplineIncreaseKnotMultiplicity|Sketcher BSplineIncreaseKnotMultiplicity]]
}}
}}


Line 16: Line 25:


<!--T:9-->
<!--T:9-->
The [[Image:Sketcher_BSplineDecreaseKnotMultiplicity.svg|24px]] [[Sketcher_BSplineDecreaseKnotMultiplicity|Sketcher BSplineDecreaseKnotMultiplicity]] tool decreases the multiplicity of a [[B-Splines|B-spline]] knot.
Decreases the knot multiplicity of a B-spline curve knot (see [https://en.wikipedia.org/wiki/B-spline B-spline]).

</translate>
[[File:sketcher_SampleBSplineDecreaseKnotMultiplicity.png]]
<translate>
<!--T:10-->
{{Caption|B-spline curve showing decreasing knot multiplicity.}}


==Usage== <!--T:5-->
==Usage== <!--T:5-->
# Select a B-spline knot and apply.


<!--T:14-->
# Select a B-spline knot.
# There are several ways to invoke the tool:
#* Press the {{Button|[[File:Sketcher_BSplineDecreaseKnotMultiplicity.svg|16px]] [[Sketcher_BSplineDecreaseKnotMultiplicity|Decrease knot multiplicity]]}} button.
#* Select the {{MenuCommand|Sketch → Sketcher B-spline tools → [[Image:Sketcher_BSplineDecreaseKnotMultiplicity.svg|16px]] Decrease knot multiplicity}} option from the menu.


==Example==
<!--T:8-->
{{Docnav|[[Sketcher_BSplineIncreaseKnotMultiplicity|Increase knot multiplicity]]|[[Sketcher_SwitchVirtualSpace|Switch Virtual Space]]|[[Sketcher_Workbench|Sketcher]]|IconL=Sketcher_BSplineIncreaseKnotMultiplicity.svg|IconC=Workbench_Sketcher.svg|IconR=Sketcher SwitchVirtualSpace.png‎}}


See [[Sketcher_BSplineIncreaseKnotMultiplicity#Example|Sketcher_BSplineIncreaseKnotMultiplicity]]
<!--T:12-->
{{Sketcher Tools navi}}


==Notes==
<!--T:13-->

{{Userdocnavi}}
<!--T:21-->
If you decrease the multiplicity of a knot to zero, the knot vanishes. Mathematically it then appears zero times in the knot vector, meaning there is no longer a basis function. Understanding this requires some math, but it will also be clear if you look at the multiplicity. For example a knot with multiplicity 0 on a B-spline with degree 3
means that at the position of the knot two Bézier pieces are connected with ''C<sup>3</sup>'' continuity. So the third derivative should be equal on both sides of the knot. However for a cubic Bézier curve this means that both sides must be part of the same curve. There is then effectively no longer a knot connecting 2 Bézier curves.


<!--T:8-->
{{Docnav
|[[Sketcher_BSplineIncreaseKnotMultiplicity|Increase knot multiplicity]]
|[[Sketcher_BSplineInsertKnot|Insert knot]]
|[[Sketcher_Workbench|Sketcher]]
|IconL=Sketcher_BSplineIncreaseKnotMultiplicity.svg
|IconR=Sketcher_BSplineInsertKnot.svg‎
|IconC=Workbench_Sketcher.svg
}}


</translate>
</translate>
{{Sketcher_Tools_navi{{#translation:}}}}
{{clear}}
{{Userdocnavi{{#translation:}}}}

Latest revision as of 11:18, 2 April 2024

This documentation is a work in progress. Please don't mark it as translatable since it will change in the next hours and days.

Sketcher BSplineDecreaseKnotMultiplicity

Menu location
Sketch → Sketcher B-spline tools → Decrease knot multiplicity
Workbenches
Sketcher
Default shortcut
None
Introduced in version
0.17
See also
Sketcher BSplineIncreaseKnotMultiplicity

Description

The Sketcher BSplineDecreaseKnotMultiplicity tool decreases the multiplicity of a B-spline knot.

Usage

  1. Select a B-spline knot.
  2. There are several ways to invoke the tool:
    • Press the Decrease knot multiplicity button.
    • Select the Sketch → Sketcher B-spline tools → Decrease knot multiplicity option from the menu.

Example

See Sketcher_BSplineIncreaseKnotMultiplicity

Notes

If you decrease the multiplicity of a knot to zero, the knot vanishes. Mathematically it then appears zero times in the knot vector, meaning there is no longer a basis function. Understanding this requires some math, but it will also be clear if you look at the multiplicity. For example a knot with multiplicity 0 on a B-spline with degree 3 means that at the position of the knot two Bézier pieces are connected with C3 continuity. So the third derivative should be equal on both sides of the knot. However for a cubic Bézier curve this means that both sides must be part of the same curve. There is then effectively no longer a knot connecting 2 Bézier curves.