Grasshopper

generative modeling for Rhino

Suryansh Chandra
  • Male
  • London
  • United Kingdom
Share on Facebook
Share Twitter

Suryansh Chandra's Friends

  • Yoshi Fukumori
  • HeeDong Im
  • Felipe Romero
  • Matthew Richardson
  • Nahed Jawad
  • Sevinj Keyaniyan
  • x3curve
  • Abhi Bhatt
  • Michele Versaci
  • Erick Vásquez
  • Khizer Ishtiaq
  • Jesus Galvez
  • Riyad Joucka
  • Yousuf
  • BrionyP

Suryansh Chandra's Groups

Suryansh Chandra's Discussions

/unsafe?
8 Replies

Started this discussion. Last reply by to] Mar 13.

Hide While Picking?
5 Replies

Started this discussion. Last reply by Suryansh Chandra Nov 29, 2012.

Using C++ DLLs in Grasshopper?
2 Replies

Started this discussion. Last reply by dominic Mar 5, 2012.

 

Suryansh Chandra's Page

Latest Activity

to] replied to Suryansh Chandra's discussion /unsafe?
"nice!"
Mar 13
Suryansh Chandra replied to Suryansh Chandra's discussion /unsafe?
"Worked.. and indeed is a significant speed bump! More memory usually seems to be the better trade-off as compared more CPU cycles.. atleast while its not multi-threaded. Though considering this is am image/read-write, it could easily be…"
Mar 13
David Rutten replied to Suryansh Chandra's discussion /unsafe?
"Marshal.ReadByte is very slow. You might want to consider copying the entire bitmap data into an array of bytes. That's how GH_MemoryBitmap gets the speed. Unfortunately it doubles memory usage and involves a block copy, but GH_MemoryBitmap is…"
Mar 12
Suryansh Chandra replied to Suryansh Chandra's discussion /unsafe?
"Making do with Marshal.ReadByte/WriteByte for now. Will use unsafe in the assembly.. Thanks for help!"
Mar 12
Suryansh Chandra replied to Suryansh Chandra's discussion /unsafe?
"Okay.. that explains it. I was reading pixels on an image, but the code is to be used outside of Grasshopper/Rhino.. which is why I was not using the GH_MemoryBitmap. Grasshopper sometimes also doubles as great sketching/debug tool for…"
Mar 12
David Rutten replied to Suryansh Chandra's discussion /unsafe?
"You can use unsafe if you're making your own GHA and are in control of the compilation process. There's no way to use it in a script component. Out of curiosity, what do you need it for? -- David Rutten david@mcneel.com Poprad, Slovakia"
Mar 12
Suryansh Chandra replied to Suryansh Chandra's discussion /unsafe?
"Yup.. tried it as a separate function, and also tried putting my code in an unsafe{} within the RunScript.. Neither seems to work. Also tried removing all my code and just putting the unsafe keyword in the function declaration and that's…"
Mar 12
to] replied to Suryansh Chandra's discussion /unsafe?
"Hi, di you tried : public unsafe static void Main() { ' your code }"
Mar 12
Suryansh Chandra posted a discussion

/unsafe?

Hi All,I've been trying to get "unsafe" code to execute within the c# component, but it seems like it needs to be enabled in compiler settings? (which I don't have access to within GH)I remember David mentioning here that unsafe could be used inside the…See More
Mar 12
Suryansh Chandra replied to Suryansh Chandra's discussion Hide While Picking?
"Makes sense.. can't imagine a scenario where it would make things inconvenient."
Nov 29, 2012
Jacek Jaskólski replied to Suryansh Chandra's discussion Hide While Picking?
"me likey"
Nov 29, 2012
Anders Holden Deleuran replied to Suryansh Chandra's discussion Hide While Picking?
"Sounds like an interesting concept! If using a laptop or for presentation purposes I personally like to run Rhino in fullscreen mode with a single viewport using full anti-aliasing and all that jazz. I then have the Grasshopper GUI floating on top…"
Nov 29, 2012
David Rutten replied to Suryansh Chandra's discussion Hide While Picking?
"Incidentally, would it perhaps make more sense to always hide the Grasshopper window (or even just the Rhino viewports) if it overlaps with the Rhino window and never hide it if they are not overlapping? -- David Rutten david@mcneel.com Poprad,…"
Nov 29, 2012
David Rutten replied to Suryansh Chandra's discussion Hide While Picking?
"I think it just went missing when I added the Display menu and repositioned a bunch of items. I can't find a trace of it anywhere in the code so looks like I'll have to write a new one. Thanks for noticing and reporting. -- David…"
Nov 28, 2012
Suryansh Chandra posted a discussion

Hide While Picking?

No one seems to have raised this question, so I'll shoot..Anyone misses being able to disable the 'hide while picking' option from 0.90014? Was it intentionally left out or just accidentally?See More
Nov 28, 2012
HeeDong Im left a comment for Suryansh Chandra
"Hi May I take your grasshopper script about the movie, "Packing Algorithms in Rhino + Grasshopper"? I'm making photo mosiac images. This is my works with C++/python.http://www.flickr.com/photos/painnick/sets/72057594074576229/ I make…"
Nov 28, 2012

Profile Information

Suryansh Chandra's Videos

  • Add Videos
  • View All

Comment Wall (2 comments)

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

Join Grasshopper

At 7:10am on January 29, 2012, HeeDong Im said…

Hi

May I take your grasshopper script about the movie, "Packing Algorithms in Rhino + Grasshopper"?

I'm making photo mosiac images. This is my works with C++/python.
http://www.flickr.com/photos/painnick/sets/72057594074576229/

I make all of my mosaics with boxes. Even though several methods, all boxes.

Eventually I saught circle packing images. And googling.

So I found your video on youtube.

I repeated seeing that video more than 10times. But can not know how to do that.

If I can make image-based circle-packing, I can make photo mosaic with circles. It shold be Gorgeous!!!

Thanks for reading my message.

please my urgly english make does not you sad.

At 11:41am on October 26, 2009, steffen impgaard pedersen said…
Hi
I am interested in your project The lightbox pavilion. Because i am working on a school project with some of the same principles in physical model. I have seen your youtube movie and been trying to build it in grasshoppers but i am a grass rookie and haven't been able to. How did you make it?

Kind regards
steffen impgaard
 
 
 

Translate

Search Grasshopper

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2013   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service