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

Add support for color and alpha in show_object #73

Open
TobseF opened this issue Oct 26, 2022 · 0 comments
Open

Add support for color and alpha in show_object #73

TobseF opened this issue Oct 26, 2022 · 0 comments

Comments

@TobseF
Copy link

TobseF commented Oct 26, 2022

To visually separate the pars I use different colors for my models:

show_object(partA, options={"alpha":0.2, "color": (64, 164, 223)}, name='Part A')

Also the alpha property is very useful to show hidden parts.

But the color option, will crash rendering:

## Oops! An error occured.

Can not load module. Standard_OutOfRange: Color out

I found out I can use predefined colors like RED, GREEN.
But using my own with RGB value, would be very nice🌈😊

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