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

Support for multiple CadQuery volumes #31

Open
shimwell opened this issue May 16, 2021 · 2 comments
Open

Support for multiple CadQuery volumes #31

shimwell opened this issue May 16, 2021 · 2 comments

Comments

@shimwell
Copy link
Contributor

Currently a CadQuery Shape or Compond can be rendered with a single color.

This is fantastic but perhaps it could be expanded to allow a list of Cadquery objects and a list of colors.

This would allow multi color renderings

It appears that cadquery assemblies don't support TJS export at the moment.

So I guess this would involve saving multiple TJS files (one for each cadquery object) then loading them up one after the other and applying a color to the render.

What do people think is this a worthwhile feature

@shimwell
Copy link
Contributor Author

shimwell commented May 16, 2021

Here is an example html rendering with two colors and two CadQuery objects https://rawcdn.githack.com/Shimwell/html_files/029d865949439a23bf83be6b2a7698b3734fa2e6/openmc_logo.html

It would be great if something like this could be made with SphinxCadQuery

@Peque
Copy link
Collaborator

Peque commented May 16, 2021

Yeah, that would be great.

This issue may depend on: CadQuery/cadquery#264

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

2 participants