Grasshopper

algorithmic modeling for Rhino

ryr
  • Male
  • Valletta
  • Malta
Share on Facebook
Share

ryr's Groups

ryr's Discussions

If statement
13 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 Ivan Appoloni May 5.

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

Ivan Appoloni replied to ryr's discussion If statement
"Many thanks for the helpful answer David. The f(x)->R gave me a clear view of the available commands, clear also the reason for the if() function syntax David , congratulation once again for the incredible instrument you have created . GH…"
May 5
David Rutten replied to ryr's discussion If statement
"No such thing exists I'm afraid. But it's basically a VBScript syntax with a bunch of additional methods (click on the f(x)->R button in the top right of the Expression editor to see them all). Since conditionals in VBScript typically…"
May 4
Ivan Appoloni replied to ryr's discussion If statement
"Hi dear David  would you please indicate me a good source where to study the correct syntax for GH expression language ? thanks in advance regards Ivan - Veneto IT"
May 4
Giuseppe Peronato replied to ryr's discussion Vector reversal with condition
"I solved. I had forgotten the existence of the Deconstruct Vector component ;-)"
Jan 21, 2015
Giuseppe Peronato replied to ryr's discussion Vector reversal with condition
"Hello, I have a similar problem. I have a set of vectors and I want to reverse only the ones facing down. Any advice? Thanks in advance. Giuseppe "
Jan 21, 2015
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, 2014
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, 2014
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, 2014
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

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

© 2016   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service