Jump to content

Curves Interpolate

From FreeCAD Documentation

This documentation is not finished. Please help and contribute documentation.

GuiCommand model explains how commands should be documented. Browse Category:UnfinishedDocu to see more incomplete pages like this one. See Category:Command Reference for all commands.

See WikiPages to learn about editing the wiki pages, and go to Help FreeCAD to learn about other ways in which you can contribute.

Curves Interpolate

Menu location
Curves → Interpolate
Workbenches
Curves
Default shortcut
None
Introduced in version
-
See also
None

Description

The Curves Interpolate tool interpolates points with a B-spline curve.

Unlike the Curves Approximate tool, which aims to create as smooth a curve as possible by deviating from the points up to an approximation distance, it aims to generate a curve passing through all points.

Usage

  1. Select several vertices or one object containing at least 2 vertices.
  2. There are several ways to invoke the tool:
    • Press the Interpolate button.
    • Select the Curves → Interpolate option from the menu.
  3. An Interpolation_Curve object is created.

Properties

See also: Property View.

An Interpolation_Curve object is derived from a Part Feature object and inherits all its properties. It also has the following additional properties:

Data

General

  • DataCustomTangents (Bool): User specified tangents.
  • Data (Hidden)DetectAligned (Bool): interpolate 3 aligned points with a line.
  • DataPeriodic (Bool): Set the curve closed.
  • Data (Hidden)PointList (LinkSubList): Point list to interpolate.
  • DataPolygonal (Bool): interpolate with a degree 1 polygonal curve.
  • DataSource (Link): Source object that provides points to interpolate.
  • DataStartOffset (Integer): Offset the start index of the point list.
  • DataTangentFlags (BoolList): Activation flag of tangents.
  • DataTangents (VectorList): Tangents at interpolated points.
  • DataTolerance (Float): Interpolation tolerance.

Parameters

  • Data (Hidden)Parameters (FloatList): Parameters of interpolated points.
  • DataParametrization (Enumeration): Parametrization type.
    • ChordLength (default): ...
    • Centripetal: ...
    • Uniform: ...
    • Custom: ...
  • DataWireOutput (Bool): outputs a wire or a single edge.

Spiral

  • DataFaceSupport (LinkSub): Face support of the spiral.
  • DataUTurns (Integer): Number of turns between 2 points, in U direction.
  • DataVTurns (Integer): Number of turns between 2 points, in V direction.