Sketcher BSplinePoleWeight: Difference between revisions

From FreeCAD Documentation
(initial)
 
(more info)
Line 26: Line 26:


</translate>
</translate>
[[File:sketcher_BSplineWeightShow.png]] '''<-->''' [[File:sketcher_BSplineWeightHide.png]]
[[File:sketcher_BSplineWeightShow.png|468px]]
<translate>
<translate>
{{Caption|B-spline with control point weights displayed in brackets}}

</translate>
[[File:sketcher_BSplineWeightHide.png|468px]]
<translate>
{{Caption|Same B-spline without weights}}

The weights determine how the control points are taken into account.
The weight is the factor with with the spline basis is multiplied for the corresponding control point. Therefore, if all weights are equal, the shape of the spline does not change. So the weights relative to each other is important, not the value alone. For example this spline has exactly the same shape as the one in the first image:

</translate>
[[File:sketcher_BSplineWeightDouble.png|468px]]
<translate>
{{Caption|Same B-spline as in first image but with different absolute weight values}}

A weight of 0 means the control point is not taken into account, as if it would not exist. For example if the third control point in the above spline has weight 0, it becomes this:

</translate>
[[File:sketcher_BSplineWeightZero.png|468px]]
<translate>
{{Caption|Same B-spline with a zero weight control point}}


==Usage== <!--T:5-->
==Usage== <!--T:5-->

Revision as of 00:46, 9 November 2020

Sketcher BSplinePoleWeight

Menu location
Sketch → Sketcher B-spline tools → Show/Hide B-spline control point weight
Workbenches
Sketcher
Default shortcut
None
Introduced in version
0.19
See also
Create B-spline

Description

Shows or hides the display of the weight for the control points of a B-spline curve (see B-spline).

B-spline with control point weights displayed in brackets

File:Sketcher BSplineWeightHide.png

Same B-spline without weights

The weights determine how the control points are taken into account. The weight is the factor with with the spline basis is multiplied for the corresponding control point. Therefore, if all weights are equal, the shape of the spline does not change. So the weights relative to each other is important, not the value alone. For example this spline has exactly the same shape as the one in the first image:

Same B-spline as in first image but with different absolute weight values

A weight of 0 means the control point is not taken into account, as if it would not exist. For example if the third control point in the above spline has weight 0, it becomes this:

Same B-spline with a zero weight control point

Usage

  1. Select a B-spline and apply.