Grasshopper

algorithmic modeling for Rhino

Gabriella Rossi
  • Female
  • Milano
  • Italy
Share on Facebook
Share

Gabriella Rossi's Groups

Gabriella Rossi's Discussions

Control over Light attributes
9 Replies

Hello People,I am trying to create spotlights using RhinoCommon and  Python. Everything works except assigning a diffusion color or an intensity, it seems like the defaults over override it whether i…Continue

Tags: RhinoCommon, Render, Attributes, Color, Spotlight

Started this discussion. Last reply by Gabriella Rossi Jun 2.

rhinoscriptsyntax AddSpotLight error
1 Reply

Hello Everyone,I am trying to create a spotlight using python and rhinoscriptsyntax. The first two inputs are as point3d item acces, and the slider is a float item access. I get the following error1.…Continue

Started this discussion. Last reply by Gabriella Rossi May 30.

Rotation Script
17 Replies

Hey all, so i'm totally new to scripting and i'm wondering how can this be doneEvaluate the angle (a) between a vector and x axisIf (a) is positivethen rotate the vector about z axis with angle value…Continue

Tags: rotation

Started this discussion. Last reply by Gabriella Rossi Mar 7.

 

Gabriella Rossi's Page

Latest Activity

Gabriella Rossi commented on Luis Fraguada's video
Thumbnail

Animating Rhino Clipping Plane with Grasshopper

"Thank you for sharing Luis for those of you who struggle with C#, this worked for me"
Jun 7
Gabriella Rossi replied to Gabriella Rossi's discussion Control over Light attributes
"I tried ignoring the fact that the baked light is "wrong" and rendering directly in Vray on gh but still ddnt respect the attributes. Thanks for the code, it will be my last resort"
Jun 2
Paul Poinet replied to Gabriella Rossi's discussion Control over Light attributes
"Not sure if this really helps, but here is a script that modifies the intensity attribute of the light after it has been baked (note that it changes the attribute of ALL light contained within the input layer). Indeed, moving the slider that is on…"
Jun 2
Anders Holden Deleuran replied to Gabriella Rossi's discussion Control over Light attributes
"Could be, try checking your Service Release and make sure it's up to date (might be an issue with an earlier build of RhinoCommon)."
Jun 2
Paul Poinet replied to Gabriella Rossi's discussion Control over Light attributes
"Are you sure that the object you check in Rhino is the last that was generated with the script?Also, if you want to update the properties of the object after it is baked, you will have to access it again (probably through its guid). In the script…"
Jun 2
Paul Poinet replied to Gabriella Rossi's discussion Control over Light attributes
"ah no sorry I got what you mean now"
Jun 2
Paul Poinet replied to Gabriella Rossi's discussion Control over Light attributes
"wait, but what's the problem here? The intensity you set and the print you get are matching in the last picture you sent."
Jun 2
Gabriella Rossi replied to Gabriella Rossi's discussion Control over Light attributes
"Hey Anders, Paul I don't know if its a problem of my rhino then? I double checked also with an intensity <1... very wierd"
Jun 2
Paul Poinet replied to Gabriella Rossi's discussion Control over Light attributes
"Yes, in your file if you set the intensity > 1 it will just be set as the max value so 1. That's normal.For the color it print exactly what you set as input. So i think there is no problem here"
Jun 2
Anders Holden Deleuran replied to Gabriella Rossi's discussion Control over Light attributes
"Hi Gabriella, I'm not entirely sure I understood the issue, that said your code seems to work as expected for me (perhaps it's the mapping from the 0.00-1.00 range in RhinoCommon to the 0-100 range in Rhino that's causing the…"
Jun 2
Gabriella Rossi posted a discussion

Control over Light attributes

Hello People,I am trying to create spotlights using RhinoCommon and  Python. Everything works except assigning a diffusion color or an intensity, it seems like the defaults over override it whether i bake it or not, however when i ask it to print the values inside the code it does it with no problem. What am i missing?here is the rhino common page …See More
Jun 1
Gabriella Rossi replied to Gabriella Rossi's discussion rhinoscriptsyntax AddSpotLight error
"Ok if anyone is interested, the correct code is the following import rhinoscriptsyntax as rsimport scriptcontext as scimport Rhino sc.doc = Rhino.RhinoDoc.ActiveDoca = rs.AddSpotLight(base,radius,apex)"
May 30
Gabriella Rossi posted a discussion

rhinoscriptsyntax AddSpotLight error

Hello Everyone,I am trying to create a spotlight using python and rhinoscriptsyntax. The first two inputs are as point3d item acces, and the slider is a float item access. I get the following error1. Solution exception:'GrasshopperDocument' object has no attribute 'Lights'and in the compiler:Runtime error (MissingMemberException): 'GrasshopperDocument' object has no attribute 'Lights'Traceback:line 138, in AddSpotLight,…See More
May 30
Gabriella Rossi added a discussion to the group Ladybug Tools
Thumbnail

Honeybee Illuminance analysis FAIL

Hello everyone,I have been trying to get an illuminance analysis running, but i get black mesh which is not the wanted result, if i compare it to the results of raytracing for the same hour/day/month. I made sure that the reflective surface is on the side i need, and i also tried to change the hour on the sky because of the bug suggested here (…See More
May 17
Abraham Yezioro replied to Gabriella Rossi's discussion Differential Material RayTracing in the group Ladybug Tools
"The bounce component doesn't take into account the material definition. As Mostapha said, LB doesn't count for materials properties. Your input oh HB materials is useless for that matter (you can disconnect them). The component shows, i…"
Apr 24
Gabriella Rossi replied to Gabriella Rossi's discussion Differential Material RayTracing in the group Ladybug Tools
"my bad if i stripped down the geometry to the necessary minimum, so not to upload GBs of useless geometry. In short, the plane is a floor which i am interested to see the light ray hit after bouncing off the reflector geometry. And no the context is…"
Apr 24

Profile Information

Comment Wall

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

Join Grasshopper

  • No comments yet!
 
 
 

Translate

Search Grasshopper

Photos

  • Add Photos
  • View All

© 2017   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service