Spline and Polyline. 2D Constructs

Предыдущая страницаВ началоСледующая страница

The command can be called in one of the following ways:

Icon

Ribbon

SplineBig

Draw > Construct > Spline

Workplane > Construct > Spline

Keyboard

Textual Menu

<SP>

Construct > Spline

Splines are drawn basing on a set of points. If the location of points is changed, the spline shape changes too.

Upon calling the command you have to select a type of spline to be created. Type selection is performed via the buttons in the Spline Parameters tab of the parameters window or via the hotkey combinations mentioned below. There are following types available:

Spline3

<Shift>+<H>

Spline

The spline goes through given control points.

10S_ConstructsSpline1

Spline4

<Shift>+<J>

Spline by Polyline (NURBS)

A polygonal line goes through control points, and the spline is based on such line.

10S_ConstructsSpline2

Spline5

<Shift>+<K>

Closed Spline

A closed spline goes through given control points.

10S_ConstructsSpline3

Spline6

<Shift>+<L>

Closed Spline by Polyline (Closed NURBS)

A closed spline based on polygonal line, where latter goes through control points.

10S_ConstructsSpline4

Spline7

<Shift>+<G>

Polyline

A first degree spline.

10S_ConstructsSpline5

Spline8

<Shift>+<F>

Closed Polyline

A closed first degree spline.

10S_ConstructsSpline6

While creating and editing a spline, you can change its type at any moment.

 

The spline drawing command functional in construction lines and in a sketch is practically identical. But there are some minor differences.

Object snapping doesn't recognize control points of the construction spline.

A node can be snapped to construction spline, with specifying a relative position along the spline.

The parameters dialog Parameters20x20 of a construction spline parameters is different from the one of a sketch spline.

Creating a Spline

Choose one of the aforementioned spline types. Specify the location of control points with mouse left. The points can be bound to 2D nodes. The location of the points can be defined using object snapping. Upon specifying a first control point, the dynamic preview of the spline appears on the screen. The last point of the spline follows the cursor, so the preview changes accordingly. When creating a spline by polyline, a preview of a polyline is shown along with a preview of a spline.

 

Coordinates and other parameters of the specified points, as well as geometrical parameters of the spline as whole, are shown in the parameters window (see the Geometrical Parameters of Spline section).

Specify control points, their parameters, parameters of spline as whole and then finish the spline creation using either the AutomenuOk1 (<Ctrl>+<Enter>) option, or double click mouse leftmouse left.

10_SplineParametersTab

Spline Drawing

Spline command now supports a continuous curve input holding the left mouse button pressed, i.e. implemented is the feature of spline painting.

SplineContinous

 

In this case, the spline points are added automatically. Spline generation accuracy is set in the system options (Options > Snap > Snap > Spline approximation accuracy (px)). Accuracy is measured in pixels, i.e. it depends on the current image scale in the working window.

Automenu options

Following options are available upon calling the command:

Parameters

<P>

Set Spline parameters

This option invokes the spline's parameters dialog

LineAxisSymmetrical

<A>

Select axis of symmetry (Straight Line)

This option allows you to construct a spline symmetrical to the existing one. After activating the option, select mouse left a straight construction line and then the existing spline. The resulting spline keeps the associative link with the initial one: all the changes in the initial spline affect the symmetrical one.

 

Spline2

<O>

Create Spline in Polar Coordinate System

This option allows you to construct a spiral line based on three points. Upon activating this option, you have to specify mouse left three points. First point is the center of the spiral, second point defines the starting radius, third point defines the ending radius. After specifying first and second point, additional option appears in the automenu, allowing you to reverse the spiral direction:

ChangeSpiralDirection30x30

<Tab>

Change arc direction

10S_SplineSpiral

SelectGraphicLine

<G>

Select Graphic line

Upon activating this option, select mouse left a graphic line. In result a spline will be instantly created. Shape of the created spline fully coincides with the shape of the selected graphic line.

 

To finish spline creation, use the following option:

AutomenuOk1

<Ctrl>+<Enter>

Finish Spline input

Upon finishing the input, the system starts creation of another spline.

To cancel a spline creation, use the following option or the mouse right:

CancelSelection30x30

<Esc>

Cancel selection

Whenever two or more control points are defined, the right-click Правый клик Текст, as well as the CancelSelection30x30 option, brings up the Right button action dialog, unless the Don't Show this dialog in future option was enabled earlier in the current session. Upon selecting the Continue operation action in the dialog, adding control points to the end of the spline stops, but you can still can add intermediate ones by clicking mouse leftat the desired location on the spline or edit any of the spline's parameters. In order to resume adding points to the end of the spline, select mouse left the last point in the list of points displayed in the parameters window and click the SplineAddBefore Add after button.

Topics in this section:

Spline Analysis

Main Concepts of 2D Spline

2D Spline Point Controls

Geometrical Parameters of 2D Spline

General Parameters of 2D Construction Spline

See also:

Edit Splines

Right button action

Spline based on 3D Nodes