Grasshopper

algorithmic modeling for Rhino

Hey Guys.  I have been sifting through all the previous posts on how to bake color, specifically a gradient over multiple poly surfaces.  It seems that with the new release of 0.7 neither Mode's bake attributes component or Giulio's tools will work.  I am getting null values for any type of input geometry. 

Any help, suggestions would be greatly appreciated.

Thanks.

Views: 45542

Replies to This Discussion

Bake Breps w Color
I messed around with the codes on this page and was successful.
I did it fast and just needed the breps to have color...
Best,
Luis
Attachments:

thanks! Its works!

bake colors for _ brep, mesh, curves and points
based on giulios bakeAttribute for gh 06

Attachments:
Great script!!

Hello,

I tried using your script but it keeps on giving me the following error: (attached image

Attachments:

This will work again. Thanks for reporting this!

Attachments:
Sorry for the delayed response. Thanks for the help. Both definitions worked well. In the end I had the best luck with Baking the Breps w/ color in the grasshopper definition then using a small piece of rhinoscript to convert the object color to material color. Not an ideal workflow, but a work around none the less. Cheers.
I was just looking up how to also set the material color within this bake color gh script. Can you post the rhinoscript code you used? It would be a great help to me.
to fix for newest release 8.0002 just change all the code which says Rhino.DocObjects.LayerInfo to Rhino.DocObjects.Layer. It's in 3 or 4 lines.

see: http://www.grasshopper3d.com/forum/topics/bake-object-to-specific-l...
thanks a lot guy snover

finally it works in gh8

cheers
christian
Attachments:
Really nice community work people!

here a version with added back support for Materials (document materials by name, Gh colors and Gh materials) and wires.
One thing that is still missing is lineWeight... well, one thing at the time. :)

- Giulio
Attachments:
Giulio,

You rock! thanks again.

Go Team!

- Guy

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service