Criar B-spline

From FreeCAD Documentation
Jump to navigation Jump to search
This page is a translated version of the page Sketcher CreateBSpline and the translation is 9% complete.

Sketcher CreateBSpline.svg Sketcher CreateBSpline

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


This tool creates a B-spline curve from its control points. (See this page for more info about B-splines.)

Sketcher B-spline example01.png

A B-spline curve (in white) defined by 4 control points. Pictured are the control polygon in green (the straight lines connecting the control points) and the weight circles in dark yellow. The green digit "3" in the center refers to the degree of the B-spline and the digits "(4)" at the ends of the B-spline refer to their knot multiplicity. The red digit "3" denotes the control point weight which is defined as radius constraint to the control point circle.


  1. Press the Sketcher CreateBSpline.svg 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 centered on each point.
  3. Optionally press D before terminating the input to define the degree of the B-spline. introduced in version 0.20
  4. Optionally press Backspace before terminating the input to delete the last created control point. introduced in version 0.20
  5. Right-click to terminate the input and generate the curve.
  6. 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.


  • Many types of constraints are not supported at this time. Only the B-spline's control point and end points can be constrained.
  • Split 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.