|
Menu location |
---|
Curves → Discretize |
Workbenches |
Curves |
Default shortcut |
None |
Introduced in version |
- |
See also |
None |
Description
The Curves Discretize tool discretizes an edge or a wire and therefore creates a set of points along the edge/wire according to a chosen discretization method.
Usage
- Select one or more edges in the 3D view.
- There are several ways to invoke the tool:
- Press the
Discretize button.
- Select the Curves →
Discretize option from the menu.
- Press the
- A Discretized_Edge object is created for each selected edge.
- Optionally edit the values in the Property editor to choose a different discretization method and adjust the related properties (see Properties below).
Properties
See also: Property editor.
A Discretized_Edge object is derived from a Part Feature object and inherits all its properties. It also has the following additional properties:
Data
Discretized
- DataEdge (
LinkSub
): Input edge. - DataPoint (
VectorList
): Lists the output points. - DataTarget (
Enumeration
): Tool target.SingleEdge
(default): Discretizes the selected edge only.Wire
: Discretizes the whole wire the edge belongs to.
Method
- DataAlgorithm (
Enumeration
): Discretization method.Number
(default): A number of points that are evenly distributed along the selected edge/wire.QuasiNumber
: ...Distance
: All points are placed at the same distance to their neighbors apart from the last pair.Deflection
: ...QuasiDeflection
: ...Angular-Curvature
: ...
- DataAngular (
Float
): Angular value for Angular-Curvature Algorithm. - DataCurvature (
Float
): Curvature value for Angular-Curvature Algorithm. - DataDeflection (
Float
): Distance for deflection Algorithm. - DataDistance (
Float
): Distance between edge points. - DataMinimum (
Integer
): Minimum number of points. - DataNumber (
Integer
): Number of edge points.
Output
- DataNormalized Parameters (
FloatList
): Normalized parameters list.
Parameters
- DataParameter First (
Float
): Start parameter. - DataParameter Last (
Float
): End parameter.
Scripting
This page is retrieved from https://wiki.freecad.org/Curves_Discretize