Sketcher CreatePeriodicBSplineByInterpolation: Difference between revisions

From FreeCAD Documentation
m (→‎Description: Add "periodic")
(Docnav)
(19 intermediate revisions by 4 users not shown)
Line 2: Line 2:
<translate>
<translate>


<!--T:1-->

{{Docnav
{{Docnav
|[[Sketcher_CreateBSplineByInterpolation|B-spline by Interpolation]]
|[[Sketcher_CreateBSplineByInterpolation|B-spline by knots]]
|[[Sketcher_CreateRectangle|Rectangle]]
|[[Sketcher_CreatePolyline|Polyline]]
|[[Sketcher_Workbench|Sketcher]]
|[[Sketcher_Workbench|Sketcher]]
|IconL=Sketcher_CreateBSplineByInterpolation.svg
|IconL=Sketcher_CreateBSplineByInterpolation.svg
|IconR=Sketcher_CreatePolyline.svg
|IconR=Sketcher_CreateRectangle.svg
|IconC=Workbench_Sketcher.svg
|IconC=Workbench_Sketcher.svg
}}
}}


<!--T:2-->
{{GuiCommand
{{GuiCommand
|Name=Sketcher CreateBSpline
|Name=Sketcher CreatePeriodicBSplineByInterpolation
|MenuLocation=Sketch → Sketcher geometries → Interpolate Periodic B-spline
|MenuLocation=Sketch → Sketcher geometries → Create periodic B-spline by knots
|Workbenches=[[Sketcher_Workbench|Sketcher]]
|Workbenches=[[Sketcher_Workbench|Sketcher]]
|Shortcut={{KEY|G}} {{KEY|B}} {{KEY|O}}
|Shortcut={{KEY|G}} {{KEY|B}} {{KEY|O}}
|Version=0.21
|Version=0.21
|SeeAlso=[[Sketcher_CreatePeriodicBSpline|Sketcher periodic B-spline]]
|SeeAlso=[[Sketcher_CreateBSplineByInterpolation|Sketcher CreateBSplineByInterpolation]]
}}
}}


==Description==
==Description== <!--T:3-->

<!--T:4-->
The [[Image:Sketcher_CreatePeriodicBSplineByInterpolation.svg|24px]] [[Sketcher_CreatePeriodicBSplineByInterpolation|Sketcher CreatePeriodicBSplineByInterpolation]] tool creates a periodic (closed) B-spline curve through knot points. See [[B-Splines|this page]] for more information about B-splines.


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


<!--T:12-->
This tool creates a periodic B-spline curve passing through given points. See [[B-Splines|this page]] for more info about B-splines.
See also: [[Sketcher_Workbench#Drawing_aids|Drawing aids]].


<!--T:6-->
==Usage==
# There are several ways to invoke the tool:
#* Press the {{Button|[[Image:Sketcher_CreatePeriodicBSplineByInterpolation.svg|16px]] [[Sketcher_CreatePeriodicBSplineByInterpolation|Periodic B-spline by knots]]}} button.
#* Select the {{MenuCommand|Sketcher → Sketcher geometries → [[Image:Sketcher_CreatePeriodicBSplineByInterpolation.svg|16px]] Create periodic B-spline by knots}} option from the menu.
#* Use the keyboard shortcut: {{KEY|G}} then {{KEY|B}}, then {{KEY|O}}.
# For further steps see [[Sketcher_CreateBSplineByInterpolation#Usage|Sketcher CreateBSplineByInterpolation]].


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


<!--T:8-->
# Press the {{Button|[[File:Sketcher_CreatePeriodicBSplineByInterpolation.svg|16px]] [[Sketcher_CreatePeriodicBSplineByInterpolation|Create Periodic B-spline by Interpolation]]}} button.
See [[Sketcher_CreateBSpline#Notes|Sketcher CreateBSpline]].
# Create a series of points by clicking in the [[3D_view|3D view]]. While the command is active, the created points are connected with straight lines.
# Optionally press {{KEY|M}} before terminating the input to define the multiplicity of the knot at the last defined point (note that this may not always be respected; see limitations for details).
# Optionally press {{KEY|Backspace}} before terminating the input to delete the last created control point.
# Right-click to terminate the input and generate the curve.
# Depending on preferences, the tool may remain active to trace a new curve. Right-click again to exit the command.
* After a B-spline is created, it is possible to define the weight of the control points by changing the radii of the weight circles. The equality constraints on the circles need to be deleted first. The radius constraint is arbitrary, the weight of the control points will be defined by the relative radii of the circles. It works similar to gravity: the bigger a circle is in relation to the others, the more the curve will be attracted to the control point.
* The visibility of the control polygon, the curvature comb, the degree and the knot multiplicity can be toggled on/off from the [[Sketcher_Workbench#Sketcher_B-spline_tools|B-spline tools]] toolbar.
* Check out the other tools in the [[Sketcher_Workbench#Sketcher_B-spline_tools|B-spline tools]] toolbar for more B-spline editing tools.


==Limitations==
==Limitations== <!--T:9-->


<!--T:10-->
* The resultant curve is no different than the curve defined through control points. So all limitations of a periodic B-spline apply.
See [[Sketcher_CreateBSplineByInterpolation#Limitations|Sketcher CreateBSplineByInterpolation]].
* The B-splines created are always cubic (i.e. with degree 3).
* The defined multiplicity may not always be respected
** For a periodic spline, the first knot (coincident with last) always has a multiplicity of 2.
** If the points just before and just after have multiplicities >=3, the piece between these two is fully continuous, and this (middle) point will only be constrained with point-on-object. If a knot is needed, consider using the insert knot tool.




<!--T:11-->
{{Docnav
{{Docnav
|[[Sketcher_CreateBSplineByInterpolation|B-spline by Interpolation]]
|[[Sketcher_CreateBSplineByInterpolation|B-spline by knots]]
|[[Sketcher_CreateRectangle|Rectangle]]
|[[Sketcher_CreatePolyline|Polyline]]
|[[Sketcher_Workbench|Sketcher]]
|[[Sketcher_Workbench|Sketcher]]
|IconL=Sketcher_CreateBSplineByInterpolation.svg
|IconL=Sketcher_CreateBSplineByInterpolation.svg
|IconR=Sketcher_CreatePolyline.svg
|IconR=Sketcher_CreateRectangle.svg
|IconC=Workbench_Sketcher.svg
|IconC=Workbench_Sketcher.svg
}}
}}

Revision as of 10:50, 23 April 2024

Other languages:

Sketcher CreatePeriodicBSplineByInterpolation

Menu location
Sketch → Sketcher geometries → Create periodic B-spline by knots
Workbenches
Sketcher
Default shortcut
G B O
Introduced in version
0.21
See also
Sketcher CreateBSplineByInterpolation

Description

The Sketcher CreatePeriodicBSplineByInterpolation tool creates a periodic (closed) B-spline curve through knot points. See this page for more information about B-splines.

Usage

See also: Drawing aids.

  1. There are several ways to invoke the tool:
    • Press the Periodic B-spline by knots button.
    • Select the Sketcher → Sketcher geometries → Create periodic B-spline by knots option from the menu.
    • Use the keyboard shortcut: G then B, then O.
  2. For further steps see Sketcher CreateBSplineByInterpolation.

Notes

See Sketcher CreateBSpline.

Limitations

See Sketcher CreateBSplineByInterpolation.