Grasshopper

generative modeling for Rhino

J S EDWARDS
  • Male
  • Brooklyn, NY
  • United States
Share on Facebook
Share Twitter
  • Blog Posts
  • Discussions (3)
  • Events
  • Groups
  • Photos
  • Photo Albums
  • Videos

J S EDWARDS's Friends

  • Shane Burger
  • Bob McNeel

J S EDWARDS's Discussions

Baking Breps w/ Color - RHINOCOMMON
11 Replies

Hi All:I've been trying to figure how to translate a Bake w/Color button that I picked up somewhere along the way to Rhinocommon and I'm having some difficulties. Any ideas would be greatly…Continue

Started this discussion. Last reply by Michael Pryor Aug 9, 2011.

 

J S EDWARDS's Page

Latest Activity

Michael Pryor replied to J S EDWARDS's discussion Baking Breps w/ Color - RHINOCOMMON
"It's the bakemostattributes by Giulio"
Aug 9, 2011
Michael Pryor replied to J S EDWARDS's discussion Baking Breps w/ Color - RHINOCOMMON
"The bake color component I have still works in 8.0050."
Aug 9, 2011
David Rutten replied to J S EDWARDS's discussion Baking Breps w/ Color - RHINOCOMMON
"This is correct. Rhino is the main Namespace in our SDK. There's other namespaces inside Rhino, for example Rhino.Geometry and Rhino.Collections. Every type in .NET is part of some namespace. Namespaces only have one raison d'être,…"
Aug 9, 2011
Leceta replied to J S EDWARDS's discussion Baking Breps w/ Color - RHINOCOMMON
"i see... My missunderstood was that doc it´s not the actual name of a class, but of an instance of the property (¿shouldnt be a class?) ActiveDoc inside the class RhinoDoc under the namespace rhino. Is this right? Should i considere…"
Aug 9, 2011
David Rutten replied to J S EDWARDS's discussion Baking Breps w/ Color - RHINOCOMMON
"doc is declared inside the Grasshopper Script component. Have a look at the Members section in the Script_Instance class.    I basically put it there so you don't have to call RhinoDoc.ActiveDoc all the time.   -- David…"
Aug 9, 2011
Leceta replied to J S EDWARDS's discussion Baking Breps w/ Color - RHINOCOMMON
"Hi Marc,   I am trying to understand your code. The logic of the steps are clear to me, but there is a -somehow- technical detail that i cant resolve:   When you use doc.objects.addpoints(...) i understand that "Doc" is the name…"
Aug 9, 2011
Miguel Vidal replied to J S EDWARDS's discussion Baking Breps w/ Color - RHINOCOMMON
"thanks for sharing your work congrats!"
Sep 21, 2010
Marc Syp replied to J S EDWARDS's discussion Baking Breps w/ Color - RHINOCOMMON
"Incidentally, I find that the following code did not work for 3d points: mObj = doc.Objects.AddPoint(DirectCast(obj, Rhino.Geometry.Point).Location, att) Instead, I simplified to: mObj = doc.Objects.AddPoint(obj, att) I had made the change…"
Sep 20, 2010
Marc Syp replied to J S EDWARDS's discussion Baking Breps w/ Color - RHINOCOMMON
"Hi everybody - Thanks to everybody who has commented on these VB posts regarding baking... at long last I've cobbled together bits and pieces of code from the various forum posts, and after digging into the RhinoCommon SDK, I have developed a…"
Sep 20, 2010
J S EDWARDS replied to J S EDWARDS's discussion Baking Breps w/ Color - RHINOCOMMON
"Wow, I was closer than I thought. Thanks a lot for the help!"
Sep 15, 2010
Damien Alomar replied to J S EDWARDS's discussion Baking Breps w/ Color - RHINOCOMMON
"Your first code snippet is like 99% correct. The reason why your not seeing the color is because the attributes still have the color source set to layer. Add the following line before you set the color and you should be fine. att.ColorSource =…"
Sep 15, 2010
J S EDWARDS posted a discussion

Baking Breps w/ Color - RHINOCOMMON

Hi All:I've been trying to figure how to translate a Bake w/Color button that I picked up somewhere along the way to Rhinocommon and I'm having some difficulties. Any ideas would be greatly appreciated.Three inputs:blnBake, booleanobj, Brepscolor, corresponding colors for each BrepCode:If blnBake ThenDim att As New Rhino.DocObjects.ObjectAttributes()att.ObjectColor = colorDim mObj As GuidmObj = doc.Objects.AddBrep(obj, att)End IfIt bakes the geometry but does not include the colors. The script…See More
Sep 14, 2010
J S EDWARDS replied to Alpha222's discussion weaverbird not fit GHv0.6.0059??
"I am having a similar problem. I have managed to install the plugin, however when I try to use one of the buttons (wbEdges for instance) I get this kind of error: 1. BadImageFormatException - Could not load file or assembly 'C:\Program Files…"
Jun 17, 2010
J S EDWARDS is now a member of Grasshopper
Sep 24, 2009

Comment Wall

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

Join Grasshopper

  • No comments yet!
 
 
 

Translate

Search Grasshopper

Members

Photos

  • Add Photos
  • View All

© 2012   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service