Sketcher BSplineConvertToNURBS: Difference between revisions

From FreeCAD Documentation
(Docnav)
No edit summary
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
{{Page_in_progress}}
<translate>
<translate>


Line 14: Line 15:
<!--T:1-->
<!--T:1-->
{{GuiCommand
{{GuiCommand
|Name=Sketcher BSplineApproximate
|Name=Sketcher BSplineConvertToNURBS
|MenuLocation=Sketch → Sketcher B-spline tools → Convert geometry to B-spline
|MenuLocation=Sketch → Sketcher B-spline tools → Convert geometry to B-spline
|Workbenches=[[Sketcher_Workbench|Sketcher]]
|Workbenches=[[Sketcher_Workbench|Sketcher]]
|Version=0.17
|Version=0.17
|SeeAlso=[[Sketcher_CompCreateBSpline|Sketcher Create B-spline]]
|SeeAlso=[[Sketcher_CreateBSpline|Sketcher CreateBSpline]]
}}
}}


Line 24: Line 25:


<!--T:10-->
<!--T:10-->
The [[Image:Sketcher_BSplineConvertToNURBS.svg|24px]] [[Sketcher_BSplineConvertToNURBS|Sketcher BSplineConvertToNURBS]] tool converts edges to [[B-Splines|B-splines]].
Converts compatible geometry, edges and curves, into a B-spline (see [[B-Splines|this page]] for more info about B-splines).


</translate>
</translate>
[[File:sketcher_BSplineConvertToNurb.png|400px]]
[[File:sketcher_BSplineConvertToNurb.png|300px]]
<translate>
<translate>
<!--T:11-->
<!--T:11-->
Line 33: Line 34:


</translate>
</translate>
[[File:sketcher_BSplineConvertToNurb1.png|400px]]
[[File:sketcher_BSplineConvertToNurb1.png|300px]]
<translate>
<translate>
<!--T:12-->
<!--T:12-->
Line 41: Line 42:


<!--T:5-->
<!--T:5-->
# Select one or more edges.
# Select one or several sketch segments and press the the toolbar button {{Button|[[File:Sketcher_BSplineApproximate.svg|24px]] [[Sketcher_BSplineApproximate|Convert geometry to B-spline]]}}.
# There are several ways to invoke the tool:
#* Press the {{Button|[[File:Sketcher_BSplineConvertToNURBS.svg|16px]] [[Sketcher_BSplineConvertToNURBS|Convert geometry to B-spline]]}} button.
#* Select the {{MenuCommand|Sketch → Sketcher B-spline tools → [[Image:Sketcher_BSplineConvertToNURBS.svg|16px]] Convert geometry to B-spline}} option from the menu.
# The edges are converted.

==Notes==


<!--T:16-->
<!--T:16-->
Make sure to have either the spline [[Sketcher_BSplineDegree|degree]], [[Sketcher_BSplinePolygon|polygon]], [[Sketcher_BSplineComb|comb]], [[Sketcher_BSplineKnotMultiplicity|multiplicity]] or [[Sketcher_BSplinePoleWeight|weight]] visible, otherwise nothing seems to happen. If you converted straight lines, you first need to [[Sketcher_BSplineIncreaseDegree|increase the degree]] of the lines to make them "bendable".
* Make sure to have the B-spline [[Sketcher_BSplineDegree|degree]], [[Sketcher_BSplinePolygon|polygon]], [[Sketcher_BSplineComb|comb]], [[Sketcher_BSplineKnotMultiplicity|multiplicity]] and/or [[Sketcher_BSplinePoleWeight|weight]] visible, otherwise nothing seems to happen.
* If you have converted straight lines you need to [[Sketcher_BSplineIncreaseDegree|increase the degree]] of the created B-splines to make them "bendable".
* The tool does not remove the internal geometry of [[Sketcher_Workbench#Sketcher_CompCreateConic|conics]]. This has to be deleted manually.





Revision as of 11:13, 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 BSplineConvertToNURBS

Menu location
Sketch → Sketcher B-spline tools → Convert geometry to B-spline
Workbenches
Sketcher
Default shortcut
None
Introduced in version
0.17
See also
Sketcher CreateBSpline

Description

The Sketcher BSplineConvertToNURBS tool converts edges to B-splines.

Various objects before conversion.

The same objects after conversion to B-splines.

Usage

  1. Select one or more edges.
  2. There are several ways to invoke the tool:
    • Press the Convert geometry to B-spline button.
    • Select the Sketch → Sketcher B-spline tools → Convert geometry to B-spline option from the menu.
  3. The edges are converted.

Notes

  • Make sure to have the B-spline degree, polygon, comb, multiplicity and/or weight visible, otherwise nothing seems to happen.
  • If you have converted straight lines you need to increase the degree of the created B-splines to make them "bendable".
  • The tool does not remove the internal geometry of conics. This has to be deleted manually.