Grasshopper

algorithmic modeling for Rhino

Hey everyone,

I recently had a special problem - for our lecture, I wanted to record a video with the GH definition in the foreground and the Rhino viewport in the background. However, making the canvas transparent proved to be quite difficult, especially because of the grid in the background.



As it has been discussed on the forum a couple times, the Grasshopper color settings are stored in the grasshopper_gui.xml file, so you can just open the file in Notepad and edit it.

For keying, I generally use an ugly pink (with grid disabled) and for working with GH I prefer a grey background with a slightly visible grid - anyway, I didn't want to restart GH whenever I changed from one "mode" to the other, so I just wrote a small C# script to deal with that.

Just a quick advice: In GH, go to "File/Special Folders/Settings Folder" and backup your grasshopper_gui.xml file as the changes are saved to it. If you delete it, GH will automatically create a new one with default settings the next time you start it.

Perhaps some of you have a use for it as well...!

Regards, Johannes


P.S.: The ghx file contains the code as a scripting component while the gha file is a custom component which you would have to copy into the Components directory. They do exactly the same thing!

Views: 15804

Attachments:

Replies to This Discussion

This is great!

Thanks a lot for sharing it. Cheers

Evert
Thanks for sharing.
Let's pimp our interface!

Bye

Andrea.
sweet! lets make grasshopper look like a teenager myspace page
Great idea! We could have a different color each time the definition is refreshed...
Or use the timer component to make a blinking background with alternating neon colors... The possibilities are endless! :)

... with some more lolcats components we could even aim at the geocities look!
Interesting and thanks for sharing !!

I remember David writed one similar component but not released it out ...
that is very nice, thanks for sharing!
How I can make invisible canvas as shown in the video?
This is a postprocessing effect, I made a video of the canvas and the viewport next to each other. Then I used a bluebox-like effect to make the canvas invisible and superimposed them. The "Ultra Key" in Premiere works great.
I never tried making the canvas transparent, you could try setting the canvas_back in the grasshopper_gui.xml to transparent (the first value, it's ARGB) but I doubt that the canvas would let the viewport look through. Can't try it myself at the moment, though.

Regards,

Johannes

Edit: I asked a friend to try it on his machine, a fully transparent canvas produces strange tearing artefacts - no transparency to the viewport, though.
Nice trick! Ok, I will try asap.
Thanks for sharing and for quick reply.
doesn't seem like it works.

I'm not complaining though, but that would be super nice to have a transparent canvas.

Thanks,

i wonder why even in the 0.9 version are not such controls.

How can i reset on default ?

Maybe a default component option will be great if you update it...

Hello,
I'm currently in SE-Asia, far away from any Grasshopper... However, I think that you just have to delete the according XML (grasshopper_gui.xml?) file and Grasshopper will create a new one with the default values!
Best,
Johannes

RSS

About

Translate

Search

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service