-
Notifications
You must be signed in to change notification settings - Fork 11
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
PLOTTING: color alignment with service(Discovery,SpaceClaim) #433
Comments
Not sure this is possible with out current pyvista setup... Colors are usually assigned to actors, and pygeom only ever has 1 actor - the top level design component. Either have to iterate through multiblocks in that one actor, or use multiple actors if we want to implement this color-syncing. Lmk if you see something different. |
We made a soft decision to implement this by having multiple actors - either at the component level or body level. Color can be passed from SC API using DesignBody.GetColor(). Probably best to pass this color in the Tessellation message. |
Having multiple actors also allows us to have cheaper transform operations. You could now do something like |
|
As part of the JSON information, whenever it is send back, we also get information on the color of each body/component. We should make use of it when plotting.
The text was updated successfully, but these errors were encountered: