Scale¶
Functionality¶
This node will allow you to scale any king of geometry. It works directly with vertices, not with matrixes, so the output will be just scaled geometry from your original vertices.
Inputs¶
All inputs are vectorized and they will accept single or multiple values. There is three inputs:
Vertices
Centers
Scale
Factor
Parameters¶
All parameters except Vertices has a default value. Factor can be given by the node or an external input.
Param |
Type |
Default |
Description |
---|---|---|---|
Vertices |
Vector |
none |
vertices to scale |
Centers |
Vector |
(0.0, 0.0, 0.0) |
point from which the scaling will be done |
Scale |
Vector |
(1.0, 1.0, 1.0) |
Axis scaling |
Multiplier |
Float |
1.0 |
Uniform multiplier factor |
Advanced Parameters¶
In the N-Panel (and on the right-click menu) you can find:
Output NumPy: Output NumPy arrays in stead of regular lists (makes the node faster)
List Match: Define how list with different lengths should be matched
Outputs¶
Only Vertices will be generated. Depending on the type of the inputs, if more than one factor or centers are set, then more objects will be outputted. If you generate more outputs than inputs were given, then is probably that you need to use list Repeater with your edges or polygons.
Example of usage¶
Creating a spiral from a Circle:
Generator-> Circle
Number-> Number Range
Viz-> Viewer Draw
The node will match different data structures, in this case this mechanism is used to create surface is generated from a line:
Generator-> Line
Modifiers->Modifier Make-> UV Connection
Number-> Number Range
Sine Oscillator: Number-> Oscillator
Vector-> Vector In
List->List Struct-> List Split
Viz-> Viewer Draw
Deforming an icosphere into a distorted ovoid:
Generator-> IcoSphere
List->List Main-> List Length
Number-> Random Num Gen
Viz-> Viewer Draw