Grasshopper

algorithmic modeling for Rhino

Hi Guys,

 

I was wondering if you would be able to tell me what the "INT" component is and does? Someone has posted a blog with it in the grasshopper definition and I have no idea what it is.

 

Cheers

Matt

Views: 6626

Replies to This Discussion

Int is short for Integer.

It is a "Param" style component that allows you to specify a single or multiple integers for use in the GH definition. It will also convert a number (Double) eg "1.40" into an integer "1"

Those are intervals which were replaced by Domains

EDIT: it's a very old tutorial

Thanks mate! I'll see if that works!

So then is the DIV then a simple division in the new version or???

No. Divide Interval which is now Divide Domain

There are a few components that still have no distinction between names but have very different functions. The best way to over come this is to use the Icon views for the components on the canvas. This obviously doesn't help when trying to follow a tutorial that has Names.

If you get stuck then you can follow these tips in the FAQs: http://www.grasshopper3d.com/forum/topics/what-is-this-component-an...

Thanks mate!

 

I have to model a pavilion from scratch for a uni project and we have just started learning this and I have no idea how to do anything!

SHould that first domain down the bottom be attached to anything previously?

the inputs a and b can be either connected to a dynamic source or be internalised for the lower and upper bounds of the surface that you are subdividing. they are probably 0 and 1

Integer, its function is self explanatory.

These are the INT components I am talking about...

The INT & the INT2...so these are integers??

The text "Int" occurs in multiple places in Grasshopper, they have been mentioned by folks here already but allow me to put them all in one place:

  • Integer Parameter. The icon looks like a black hexagon with the number 7 in it. This is the object which stores integer numbers in Grasshopper. It exists both as a stand-alone object and sometimes it is part of a component.
  • Int() is a function inside the Grasshopper expression language. It converts a floating point number into an integer by chopping off the decimal part.
  • Interval and Interval² used to be data types in Grasshopper, but they were renamed "Domain" and "Domain²" precisely because I felt that "int" would be a confusing shortening for them. A Domain defines a numeric range and thus consists of two numbers; a lower bound and an upper bound. A Domain² defines two numeric ranges (think of a Surface UV-space and you get the idea) and thus contains 4 numbers.

You're dealing with the last one here, so whenever you see "Int" or "Interval", replace it with Domain.

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Thanks mate thats really helped!

Btw is loft in the old version  have inputs of S,C,A and an output of S? Because in the new version its not got inputs of C & O and an output of L?

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service