Pulga Physics Solver¶
Functionality¶
This node creates simulations from input parameters, it is meant to be used in form-finding purposes. It creates the simulation using the inputted vertices as spherical particles that react to applied forces.
The node is a basic NumPy implementation of basic physics system heavily inspired in “The Nature of Code” by Daniel Shiffman and the Kangoroo Plug-in for Grasshopper. Due the nature of the algorithm it can get very intensive, handle with responsibility
Input & Output¶
Input |
Type |
Description |
---|---|---|
Initial_Pos |
Vertices |
Vertices in original state |
Iterations |
Integer |
Number of iterations of the process |
Radius |
Float |
Radius of virtual sphere, used to calculate intersections, mass and surface |
Initial Velocity |
Vertices |
Initial vertices velocity |
Max Velocity |
Float |
Maximum vertices velocity |
Density |
Float |
Particles Density |
Forces |
Force |
System forces |
Output |
Type |
Description |
---|---|---|
Vertices |
Vertices |
Vertices in original state |
Radius |
Strings |
Radius of virtual sphere, used to calculate intersections, mass and surface |
Velocity |
Vertices |
Velocity at the end of iterations |
Pin Reactions | Strings |
Reactions at Pinned Vertices |
Accumulative:¶
When activated every nodeTree update will use the previous update as the starting point. The update can be triggered by the Update button or by any other event that triggers regular updates (like playing animation or changing any value).
It offers some options:
Reset: Takes back the system to the initial state.
Update: Runs one Node-Tree update.
Pause: Pauses nodes calculations and ignores ui changes.
Examples¶
Arranging circles with attraction and collision.

Inflating a cube simulating a pillow.

Tensile structures can be studied with pinned points.

Using the caternary as a structural modeling tool:

Variable spring stiffness can be used to simulate sewing springs inflatable structures.

Shooting particles to a attractors field.

The “Pins Reactions” output supply the resultant force on the pins. It can be use to model auxiliary structures.
