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

Do you have examples of JupyterCAD working in google colab? #654

Open
willywong opened this issue Dec 13, 2024 · 2 comments
Open

Do you have examples of JupyterCAD working in google colab? #654

willywong opened this issue Dec 13, 2024 · 2 comments
Labels
enhancement New Feature or improvement

Comments

@willywong
Copy link

I am able to install JupyterCAD in colab, but unable to display/render any objects.

#@title Create new CAD doc
from jupytercad import CadDocument

doc = CadDocument()

# Create a box, create a sphere, then cut the box using the sphere as a tool
doc = doc.add_box().add_sphere().cut()

display(doc)

This cell would return

<jupytercad_lab.notebook.cad_document.CadDocument object at 0x7f721829c790>
@martinRenou
Copy link
Member

Unfortunately that cannot work in the current state of JupyterCAD.

I guess we could technically implement support for it by making a build of JupyterCAD that does not require jupyter collaboration to run in the front end

@willywong
Copy link
Author

Thanks for the quick reply.

Google colab support would be a wonderful support, since it lowers the barrier of entry for sharing :)

Feel free to close as not planned/backlog/etc. Thanks.

@martinRenou martinRenou added the enhancement New Feature or improvement label Dec 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New Feature or improvement
Projects
None yet
Development

No branches or pull requests

2 participants