Segment

https://user-images.githubusercontent.com/14288520/188512106-e151f579-82d5-4cb5-8e41-c67d87f02151.png

Functionality

The node creates segments between two given points. Also number of subdivisions can be set.

Category

Generators -> Segment

Inputs

  • A - 1 vertices

  • B - 2 vertices

  • Num cuts - number of line subdivision

Outputs

  • Verts - coordinates of line(s)

  • Edges - just edges

Parameters

Param

Type

Default

Description

Cute modes

Enum

Cuts/Steps

“Cuts”

Cuts - cut line evenly

Steps - cut line proportionally by given steps

Split to objects

Boolean (N panel)

True

Each line will be put to separate object any way

Numpy output

Boolean (N panel)

False

Convert vertices to Numpy array

Example of usage

https://user-images.githubusercontent.com/14288520/188512120-e3410fd7-eda8-4697-8ef6-04b60dbb6845.png https://user-images.githubusercontent.com/14288520/188512135-6084a8b5-c15b-494b-a44c-6a0f6e50578c.gif

The AB mode will output a divided segment for each vector pair, the step can be used to change the proportions of the divisions

https://user-images.githubusercontent.com/14288520/188512311-9ea7e002-ca3d-47ee-b639-f055d4b9e4b4.png https://user-images.githubusercontent.com/14288520/188512296-6287d7eb-ae38-4087-9a31-1fe433deea93.gif

Advanced example using the node to create a paraboloid grid