Sketcher CreateBSpline: Difference between revisions

From FreeCAD Documentation
No edit summary
No edit summary
Line 40: Line 40:
* The shape of a B-spline curve can only be edited by dragging one of the control points. The knots lying on the curve cannot be selected.
* The shape of a B-spline curve can only be edited by dragging one of the control points. The knots lying on the curve cannot be selected.


</translate>
<translate>
[[Category:Sketcher]]
</translate>
</translate>
{{Clear}}
{{Clear}}

Revision as of 23:04, 25 November 2018

Sketcher CreateBSpline

Menu location
Sketch → Sketcher geometries → Create B-spline
Workbenches
Sketcher
Default shortcut
None
Introduced in version
0.17
See also
Sketcher periodic B-spline

Description

This tool traces an open B-spline curve from its control points.

A B-spline curve made from 4 points (in white). Pictured are the control polygon in green (the straight lines connecting the red points), the weight circles in blue and the curvature comb in green. The (3) digit in the centre refers to the degree of the B-spline, and the (4) digits at the ends of the curve refer to their knot multiplicity.

How to use

  1. Press the Create B-spline button.
  2. Create a series of points by clicking in the 3D view. While the command is active, the created points are connected with straight lines, and a construction circle is created centred on each point.
  3. Right-click to terminate the input and generate the curve.
  4. Depending on preferences, the tool may remain active to trace a new curve. Right-click again to exit the command.
  • 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 B-spline tools toolbar.
  • Check out the other tools in the B-spline tools toolbar for more B-spline editing tools.

Limitations

  • Many types of constraints are not supported at this time. Only the B-spline's control point and end points can be constrained.
  • Trimming and extend tools are not supported.
  • The shape of a B-spline curve can only be edited by dragging one of the control points. The knots lying on the curve cannot be selected.