Grasshopper

algorithmic modeling for Rhino

Hi Everyone

I am using python and I am trying to make a graph in Rhino. 

I have labels that will become text in this graph. They have been created on the xy plane, the problem is that when I transform these labels with the code attached they don't really line up properly with the marking lines on the graph axis as seen in the first picture. Even though before they are transformed they do perfectly as seen in the 2nd picture.

Can any one suggest how can I change my code to fix this?

Views: 351

Attachments:

Replies to This Discussion

Hi Anton, Shouldn't you use brepPoint instead of point for the rotation center? -Mostapha

I agree.  It seems that you mean to transform the "brepPoint" variable rather than the "labels" variable.  I don't think that you can transform a list.  Maybe this would be clearer with your GH file.

Well, as far as I know all RhinoCommon commands use radians, and not degrees. -90 should probably be -Math.PI/2

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service