Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GhPython mesh artist issues with color handling #1060

Open
gonzalocasas opened this issue Jul 17, 2022 · 0 comments
Open

GhPython mesh artist issues with color handling #1060

gonzalocasas opened this issue Jul 17, 2022 · 0 comments

Comments

@gonzalocasas
Copy link
Member

gonzalocasas commented Jul 17, 2022

The GH python mesh artist makes too many assumptions about color handling, specifically, there are (at least two issues):

  • If a color is specified, it is converted to rgb255 when creating the object, which discards the alpha value of the color. This could be fixed by changing all rgb255 instances to rgba255
  • It seems impossible to not define a color and get Rhino's default color. This might actually be intentional, but it's a bit of a questionable default behavior.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant