01 Simple Modeling for Spring Force

Tutorial by:

Hwan Kim (kimx3101@umn.edu)

Simplified Process

Step 01: Set two points and select them as geometry.

Step 02: Connect the points and make a line.

Step 03: Divide the line for creating acting points of forces(gravity and spring).

Step 04: Set the anchor points.

Step 05: Start Kangaroo Engine.

Step 06: Make several spheres and connect them with final geometry to show the spring effect.

Step 1

This tutorial will go over how to apply the spring force to an object and look at some of the controls and limitations.

Open "kangaroo 01.3dm" and "kangaroo 01.gh"

Step 2

This definition works by taking two points created in Rhino and connecting them to create a line.

The first thing we'll do is set each of the points as grasshopper objects.

Command - right click each point icon and "set one point"

Step 3

We'll create the line by connecting these two points, and we'll also define the number of subdivisions

so we can apply the spring force and gravity to the points.

Commands - Line, Number Slider, Divide, Shatter

Step 4

Next we will set the spring force and gravity, and the gravity needs to set "Z Axis".

Commands - Spring, UnaryForce, Unit Z, Number Slider (range: -10 to 10)

Step 5

We will use the kangaroo command to simulate the spring model.

First of all, we need to set the first two points as anchor points and connect the two forces to the Kangaroo Engine.

We also need to set simulation reset and timer.

Commands - Kangaroo, Boolean Toggle, Timer

Step 6

Finally we'll use the sphere command to creat the spheres on the each subdivided points and

add a slider so we can control the radius of the object.

Commands - Sphere, Number Slider