Sketcher BSplineConvertToNURBS/it: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
 
(One intermediate revision by the same user not shown)
Line 11: Line 11:


{{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]]
}}
}}


==Description==
==Description==


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).


[[File:sketcher_BSplineConvertToNurb.png|400px]]
[[File:sketcher_BSplineConvertToNurb.png|300px]]
{{Caption|Various objects before conversion.}}
{{Caption|Various objects before conversion.}}


[[File:sketcher_BSplineConvertToNurb1.png|400px]]
[[File:sketcher_BSplineConvertToNurb1.png|300px]]
{{Caption|The same objects after conversion to B-splines.}}
{{Caption|The same objects after conversion to B-splines.}}


==Usage==
==Usage==


# 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==
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.





Latest revision as of 07:25, 22 April 2024

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.