Offset Line#

https://github.com/user-attachments/assets/c305d462-a021-4cfb-8c6f-2d3574a3f895

Functionality#

This node works only as plane surface surface. If Auto is On then node set verts as horizontal plane then takes X and Y coordinate from vectors input and restore position back. If auto is Off then Z coordinate is used now but this node is still work like 2D node. Z coordinate of the new points is equal z coordinate of the nearest old points. So if you use z coordinate you have to remember:

  • All points are projected to the XY surface so you can use Z coordinate for showing different levels of a flat mesh.

  • Vertical edges will broke down work of the node.

  • Normals of all faces always look to up.

If link to Matrices is connected then node will use vertices in objects as XY plane in process and will restore position to matrix socket data after process.

Use delete loose node before if your input mesh has points without edges. You will receive surface along an input mesh edges with width equal offset value. It is also available to receive outer edges and mask of new and old points.

Inputs#

This node has the following inputs:

  • Vers - vertices of objects.

  • Edgs - polygons of objects.

  • offset - offset values - available multiple value per object (greater than 0. 0 will replace by 0.001).

  • Matrices - Matrices of objects to align Offset Line to objects

Parameters#

All parameters can be given by the node or an external input. offset is vectorized and it will accept single or multiple values.

Param

Type

Default

Description

offset

Float

0.10

offset values.

apply

Boolean

True

get plane matrix automatically

Outputs#

This node has the following outputs:

  • Vers

  • Faces

  • OuterEdges - get outer edges, use together with delete loose node after or mask verts. The list of edges is unordered.

  • VersMask - 0 for new points and 1 for old.

  • Matrices - what matrixes used to process Offset Line in 3D planes

https://user-images.githubusercontent.com/14288520/200906483-088c0f6c-c5de-4718-8f25-31dbba173e97.png

Examples of usage#

To receive offset from input object from scene:

https://user-images.githubusercontent.com/28003269/34199193-5e1281a4-e586-11e7-97b8-f1984facdfcb.png

Using of outer edges:

https://user-images.githubusercontent.com/28003269/34199326-dadbf508-e586-11e7-9542-7b7ff4a9521f.png

Using of vertices mask with transform select node:

https://user-images.githubusercontent.com/28003269/34199698-125ed63e-e588-11e7-9e34-83c5eb33cde9.png

Different values for each object and each point:

https://user-images.githubusercontent.com/28003269/34353407-47f2d918-ea41-11e7-92c0-f0f9751e4cab.png

Using of Z coordinate:

https://user-images.githubusercontent.com/14288520/200909050-34199e42-54aa-41cf-9efb-abef230afdf7.png

Using Plane in 3D:

Additionally: use Shift-Numpad7 to set view to plane in Edit Mode.

P.S.#

If mesh is not plane then you will get ambiguous results