Pulga Springs Force¶
Functionality¶
This node creates a force to be applied with the [Pulga Physics->Pulga Physics Solver] node.
The springs are defined as edges indices.
The force direction the direction of the edge.
The force magnitude will be: (Spring Length - Spring Rest Length) * Stiffness
Input¶
Springs: Edges Indices referring to the particle system vertices.
Stiffness: Stiffness of the springs, if multiple values are given the will be use as stiffness per spring.
Rest Length: Springs rest length, if set to 0 the rest length will be calculated from the initial position.
Clamp: Constrain maximum difference each iteration. If set to 0 no clap will be applied
Examples¶
Example in description:
Generator-> Cylinder
Spatial-> Populate Mesh
Spatial-> Voronoi on Mesh
Modifiers->Modifier Change-> Mesh Join
Modifiers->Modifier Change-> Merge by Distance
Analyzers->Component Analyzer Vertices->Sharpness: Vertices Sharpness
Analyzers->Component Analyzer Vertices->Is Boundary: Vertices Is Boundary
List->List Main-> List Zip
List->List Main-> List Math
List-> List Mask (Out)
List->List Main-> List Length
List->List Struct-> List Repeater
List->List Main-> List Zip
BIG_EQ: Logic-> Logic Functions
Logic-> Switch
Color-> Color Input
Viz-> Viewer Draw
Pulga Physics-> Pulga Physics Solver
Pulga Physics-> Pulga Pin Force
Pulga Physics-> Pulga Drag Force
Example with Cylinder:
Example with Torus:
Generator-> Plane
Analyzers->Component Analyzer: Adjacent Edges num
Logic-> Logic Functions
List-> Mask To Index
List->List Main-> List Join
Viz-> Viewer Draw
Pulga Physics-> Pulga Physics Solver
Pulga Physics-> Pulga Vector Force
Pulga Physics-> Pulga Pin Force
Generator-> Box
Analyzers->Component Analyzer Vertices->Sharpness: Vertices Sharpness
Fields-> Attractor Field
List-> Mask To Index
List->List Main-> List Join
Logic-> Logic Functions
Viz-> Viewer Draw
Pulga Physics-> Pulga Physics Solver
Pulga Physics-> Pulga Vector Force
Pulga Physics-> Pulga Pin Force