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

Color #15

Open
merco opened this issue Oct 25, 2023 · 1 comment
Open

Color #15

merco opened this issue Oct 25, 2023 · 1 comment

Comments

@merco
Copy link

merco commented Oct 25, 2023

I noticed that colors are handled differently by m_colorTool->GetInstanceColor compared to Quantity_ColorRGBA::ColorToHex which seems more correct to me (compared to the usual implementations)

immagine

immagine

Is it possible to use Quantity_ColorRGBA::ColorToHex intead of GetInstanceColor?

R G B as single are =>.0024 .1619 .0222 but this is not true when using ColorToHex that returns correctly 087029FF

@merco
Copy link
Author

merco commented Oct 25, 2023

Maybe this way? In STEP_Reader AddColors

immagine

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