[Grasshopper] How to use Spin Force to create a rotating magnetic field

[Grasshopper] How to use Spin Force to create a rotating magnetic field Grasshopper component EN

This article explains how to use Spin Force to create a rotating magnetic field.

Spin Force1
Spin Force2

On the Grasshopper, it is represented by either of the two above.


↑Youtube Channel

Create a rotating magnetic field

Using Spin Force allows you to create a rotating magnetic field.

points1
points2

For this example, we will use five points to create magnetic fields and 100 points to create curves, as shown in the two images above.

Create a rotating magnetic field

Components Used: ①Point ②Spin Force ③Merge Fields ④Field Line

This time, we are setting two different types of points, each in Point.

magnetic fields are created

Connect the point at the five-point location to the Spin Force(P).

Then, as shown in the image above, magnetic fields are created at the specified position.

zoom

The image above shows a zoom-in view of the magnetic field.

magnetic fields are combined into a single magnetic field

Next, connect Spin Force to Merge Fields.

Then, five independent magnetic fields are combined into a single magnetic field data set.

curves

Then connect the Merge Fields to the Field Line(F).

Furthermore, connect the Point of the 100-point side to the Field Line (P).

Additionally, connect the desired number of steps (the numerical value indicating how many times the calculation process is performed) to Field Line(N).

This time, we’re connecting 10,000.

As a result, curves were created under the influence of the rotating magnetic field, as shown in the image above.

In this way, using Spin Force allows you to create a rotating magnetic field.

Spin Force Settings

Let’s take a look at the various settings for Spin Force.

S

In Spin Force(S), you can set the numerical value for the magnetic field strength.

1

The image above shows Spin Force(S) connected to 1.

negative

Additional Component: ①Negative

Additionally, connecting a negative value to Spin Force(S) will reverse the direction of the line.

This time, we’ve connected 1 to Negative, making it -1.

curves have reversed direction

Then, as shown in the image above, you can see that the curves have reversed direction.

R

With Spin Force(R), you can set the radius of the rotating magnetic field.

This time, we’re connecting 500.

radius of the magnetic field has changed

Then, as shown in the image above, you can see that the radius of the magnetic field has changed.

D

In Spin Force(D), you can set the magnetic field decay value (the numerical setting for how the magnetic field weakens).

1

The image above shows Spin Force(D) connected to 1.

0.01

The image above shows the connection of 0.01 to Spin Force(D).

B1
B2

Additional Components: ①Box ②Rectangle

In Spin Force(B), you can set the magnetic field range by connecting boxes and quadrilateral information.

This time, we created a box in Box, created line data for a rectangle in Rectangle, and connected it to Spin Force(B).

magnetic field range1
magnetic field range2

Then, as shown in the two images above, we were able to set the magnetic field range.

List of Grasshopper articles using Spin Force component↓

Comment

Translate »