Skip to content
This repository was archived by the owner on Dec 20, 2025. It is now read-only.
This repository was archived by the owner on Dec 20, 2025. It is now read-only.

Add support for color and alpha in show_object #73

@TobseF

Description

@TobseF

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🌈😊

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions