Grasshopper

algorithmic modeling for Rhino

ryr's Groups

ryr's Discussions

If statement
10 Replies

Dear all,How can make an if statement in grasshopper, for example. If input values is x then,    x = 1  then y = 332    x = 2  then y = 32     x = 3  then y = 4423 where input x and output y has…Continue

Tags: conditions, statement, if

Started this discussion. Last reply by Aleksander Łapiński Mar 26.

Curved Parking Lines
2 Replies

Hi All, I am trying to figure out how to making parking spaces in a curve.  I have adopted the methodology by..1/ making offset of the original curve (crv1)2/ dividing the crv1 and ccp on the offset…Continue

Started this discussion. Last reply by Frane Zilic Jul 17, 2013.

retrieve item in list of list in python
2 Replies

Dear All, Could anyone show me how to retrieve "dog" in the list? since is a list within the list should this be treated like matrix?Thanks in advance.R.Continue

Tags: List, python

Started this discussion. Last reply by ryr Jul 16, 2013.

python disable multiline of code
2 Replies

Hi All, Just a stupid question. How do you disable a block or multiline code instead one line by line with # please?Thanks in advance.R.Continue

Tags: python

Started this discussion. Last reply by ryr Jul 14, 2013.

 

ryr's Page

Latest Activity

ryr replied to KlKl's discussion Finding pairs of value in a list
"David, How would you collect the duplicated points only? R."
May 19
jnr replied to ryr's discussion Grasshopper Tags to Autocad
"I am working in this, but I have some problems with VB,,,if you are an expert in this language, I could send the original code for acad11, and my adaptation for acad13 (in process). You can…"
May 9
Aleksander Łapiński replied to ryr's discussion If statement
"Hello, I have a question, can this work also for the ranges of numbers ? For exampleIf x c {0,5; 1} then y = 1 ? Kind regards."
Mar 26
David Rutten replied to ryr's discussion If statement
"The Grasshopper expression language doesn't support multiple lines of proper conditional statements. This is something I'd like to improve for GH2, probably build the entire language on VB.NET with some special features to maintain…"
Jul 18, 2013
Sylvain Usai replied to ryr's discussion If statement
"Ok, so in that case, you use the B as an else ?"
Jul 18, 2013
David Rutten replied to ryr's discussion If statement
"f:N->R button in the upper right of the expression editor. -- David Rutten david@mcneel.com Tirol, Austria"
Jul 18, 2013
Sylvain Usai replied to ryr's discussion If statement
"Awesome !!! Is there an index of all the command you can use in formulas ? "
Jul 18, 2013
David Rutten replied to ryr's discussion If statement
"Sure. Both methods in the attached file. -- David Rutten david@mcneel.com Tirol, Austria"
Jul 18, 2013
ryr replied to ryr's discussion If statement
"Thanks David, Can this be created using grasshopper components?  "
Jul 18, 2013
Frane Zilic replied to ryr's discussion Curved Parking Lines
"Hi R This can be solved using hoopsnake to iteratively build the parking spaces. I'll see tomorrow if I can find a definition I did once for this problem... Bye"
Jul 17, 2013
David Rutten replied to ryr's discussion If statement
"Key Value search using Sylvains logic should work. If you really want to create an If statement using code, then it would look like this: Which is pretty horrific. -- David Rutten david@mcneel.com Tirol, Austria"
Jul 17, 2013
ryr replied to ryr's discussion If statement
"sound a good idea. however my index is not sequential."
Jul 17, 2013
Sylvain Usai replied to ryr's discussion If statement
"If y is just a list of predeterminated values : you could create a non multiline panel filled with your value... X is now the index of your list, y is the item, Use a list item to find y according to x."
Jul 17, 2013
ryr posted discussions
Jul 17, 2013
ryr replied to ryr's discussion Curved Parking Lines
"image attached"
Jul 16, 2013
ryr replied to ryr's discussion finding inflection points using galapagos.
"David,  How do you put the curve inside the parameter? How does grasshopper retain this infor without rhino file? thanks R."
Jul 16, 2013

Profile Information

Comment Wall

You need to be a member of Grasshopper to add comments!

Join Grasshopper

  • No comments yet!
 
 
 

Translate

Search Grasshopper

Photos

  • Add Photos
  • View All

© 2014   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service