Grasshopper

generative modeling for Rhino

Maurice Martel
Maurice Martel
  • Male
  • Montreal
  • Canada
Share on Facebook
Share Twitter
  • Blog Posts
  • Discussions (21)
  • Events
  • Groups
  • Photos
  • Photo Albums
  • Videos

Maurice Martel's Discussions

DISPATCH a list in 2
1 Reply

Hi everybody,I have a list of numbers:0 - 0.01 - 14.02 - 28.03 - 56.04 - 70.05 - 84.0I want to reduce this list randomly with Reduce command.  Then I have a list of 3 numbers:0 - 14.01 - 56.02 -…Continue

Tags: 2, in, list, a, Dispatch

Started this discussion. Last reply by Giulio Piacentino Nov 1, 2010.

Flip Surfaces
2 Replies

HiIs there a way in to find surfaces that are inversed and then flip them after?THanksMauriceContinue

Tags: Surfaces, Flip

Started this discussion. Last reply by taz Mar 26, 2010.

EVEN NUMBERS
4 Replies

Is there a way to find if a number is ODD or EVEN?I mean if I have an output number and its 6, is there a function that could say: Yes its even then TRUE...ThanksMauriceContinue

Tags: NUMBERS, EVEN

Started this discussion. Last reply by Dedackelzucht Aug 5, 2011.

Round up + sort quantities according to dimension
8 Replies

I have 2 questions:1- I've got a list of datas like for example:3.02.11.10.02.13.14.2They have been rounded up with one decimal -Round(x,1)-  but I would like to reduce the amount of datas and round…Continue

Tags: according, to, dimension, quantities, sort

Started this discussion. Last reply by Maurice Martel Mar 20, 2010.

 

Maurice Martel's Page

Latest Activity

Profile Icon
Dedackelzucht replied to Maurice Martel's discussion 'EVEN NUMBERS'
added to my favourite expressions!   Thank you!   DeDackel
Aug 5, 2011
Profile Icon
Arthur Mani replied to Maurice Martel's discussion 'EVEN NUMBERS'
Thanks Taz, very helpful !
Aug 4, 2011
Profile Icon
Giulio Piacentino replied to Maurice Martel's discussion 'DISPATCH a list in 2'
Here an example doing what you asked. I think that there might be other ways... - Giulio ________________________ giulio@mcneel.com McNeel Europe, Barcelona
Nov 1, 2010
Profile Icon

DISPATCH a list in 2

Hi everybody,I have a list of numbers:0 - 0.01 - 14.02 - 28.03 - 56.04 - 70.05 - 84.0I want to reduce this list randomly with Reduce command.  Then I have a list of 3 numbers:0 - 14.01 - 56.02 - 70.0HOW CAN I GET THE LIST OF THE OTHER ITEMS?????  i.e.:0 - 0.01 - 28.02 - 84.0Thank you!MauriceSee More
Discussion posted by Maurice Martel Oct 27, 2010
Profile Icon
taz replied to Maurice Martel's discussion 'Flip Surfaces'
You could also visualize the surface normal by displaying the vector. Then you wouldn't need to bake, but I find coloring the backside faces is any easier way (in Rhino) to see what's going on.
Mar 26, 2010
Profile Icon
taz replied to Maurice Martel's discussion 'Flip Surfaces'
Not directly... One way would be to bake your surfaces and inspect them manually to see which one are flipped. Then try and devise a GH routine to keep the surfaces oriented they way you want using perhaps a guide surface or revising the way you…
Mar 26, 2010
Profile Icon

Flip Surfaces

HiIs there a way in to find surfaces that are inversed and then flip them after?THanksMauriceSee More
Discussion posted by Maurice Martel Mar 26, 2010
Profile Icon
taz replied to Maurice Martel's discussion 'Round(x[,d]) -- How Do I use this ?'
You have to keep pruning the tree so it stays pleasantly bonsai size, otherwise it will grow into a mighty oak (which, in this horticultural analogy, would be a bad thing).
Mar 22, 2010
Profile Icon
David Rutten replied to Maurice Martel's discussion 'Round(x[,d]) -- How Do I use this ?'
There's a To-Do tree now. I dumped the list when we switched to 0.6. It's a bit more flexible but I do sometimes get lost in the branches. -- David Rutten david@mcneel.com Poprad, Slovakia
Mar 21, 2010
Profile Icon
taz replied to Maurice Martel's discussion 'Round(x[,d]) -- How Do I use this ?'
I just thought the problem was at the bottom of the To-Do list :)
Mar 21, 2010
Profile Icon
Vicente Soler replied to Maurice Martel's discussion 'Round(x[,d]) -- How Do I use this ?'
Yes, this was broken for a while now, remember this thread: http://www.grasshopper3d.com/forum/topics/appending-to-a-tree
Mar 21, 2010
Profile Icon
Profile Icon
David Rutten replied to Maurice Martel's discussion 'Round(x[,d]) -- How Do I use this ?'
Sorry, there is a bug in SubString, if you specify the optional third parameter it will always crash. I just fixed it, but it will be a while until the next version comes out. -- David Rutten david@mcneel.com Poprad, Slovakia
Mar 21, 2010
Profile Icon
Alpha222 replied to Maurice Martel's discussion 'Round(x[,d]) -- How Do I use this ?'
Hi David, so it's very obvious that "[]"means things inside it are optional.Thanks for this information. But how to use "Substring(s,i[,L])"??I tried,and with no luck.I think I must miss something very obvious/essential.
Mar 21, 2010
Profile Icon
Maurice Martel replied to Maurice Martel's discussion 'EVEN NUMBERS'
Thanks a lot TAZ
Mar 20, 2010
Profile Icon
taz replied to Maurice Martel's discussion 'EVEN NUMBERS'
Try this expression: x % 2 = 0 The "%" is "modulus" (there's also a modulus component...) which returns any remainder when x is divided by 2. You'll have to watch out for zero which is neither even or odd, but with…
Mar 20, 2010

Comment Wall

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

Join Grasshopper

  • No comments yet!
 
 
 

Translate

Search Grasshopper

Members

  • CODA
  • Carlino Antonio
  • Brimet Silva
  • Xiaoyi Wu
  • Andrew Butler
  • Matthias Standfest
  • archicadonline
  • Amirsina Rezaei
  • David Rutten
  • Barry Mair
  • lucas cañada
  • daniel camiro

Photos

  • Add Photos
  • View All

© 2012   Created by Scott Davidson.   Powered by .

Badges  |  Report an Issue  |  Terms of Service