Line Along Direction

A straight line segment that starts at a point and runs a given length in a given direction. With Centered on, the point sits at the middle of the segment.

Inputs

Point Point

Anchor point, from a wire; replaces the typed value.

Takes: any block that gives Point (13 blocks)
Direction Vector

Direction, from a wire; replaces the typed value. Only its heading is used.

Length Number

Length, from a wire; replaces the typed value.

Centered Yes/No

When on, the segment extends half its length to each side of the point.

Output

Curve

Used by: any block that takes Curve (22 blocks)

Properties

Values the block gives besides its output. The editor lists them under Properties, and an input can read one by reference.

StartPoint Point

Where the curve begins.

EndPoint Point

Where the curve ends.

StartTangent Vector

The curve's unit direction at its start.

EndTangent Vector

The curve's unit direction at its end.

Direction Vector

Unit vector along the straight chord from start to end.

Length Number

Length measured along the curve.

CenterPoint Point

The center of the curve's bounding box.

BoundingBox Bounding Box

The axis-aligned extent of the curve.

ScalarField Number

Distance to the curve as a field, zero on the curve.

ArcLength Number

At each point, how far along the curve its nearest curve point lies (computed on the CPU only).

Name Text

The display name of the node that made the curve.

ReversedCurve Curve

The same curve, running from end to start.

Axis Axis

The line as an Axis: a point on it plus its unit direction.

Closed Yes/No

Whether the curve closes on itself; a line never does.

In the demos

What implicit modeling is

Clever Design GmbH · Einsiedeln, SwitzerlandPrivacy · Imprint