Show Model SpeckBIM In Jupyter Notebook

Happy to share a small tip show model 3d in jupyter notebook with two line :slightly_smiling_face:

from IPython.display import IFrame
IFrame("https://speckle.xyz/embed?stream=3073b96e86&commit=604bea8cc6&c=%5B41.608%2C46.98512%2C69.78354%2C20.86703%2C15.4694%2C16.57642%2C0%2C1%5D",width=700,height=500)

9 Likes

shocked

2 Likes

Super! Thanks for sharing @chuongmep !

This is one of @dimitrie 's favorite emojis :wink:

3 Likes

I just had a PR merged into the speckle.guide Developer Docs that tweaks the code a little to correspond to the attached Jupyter notebook so you can now run the Documentation!

speckle-examples.ipynb (24.5 KB)

This notebook assumes you are running Jupyter locally where Speckle Manager has already registered accounts. To run in an online environment like Colab, CoCalc or another hosted Jupyter port, you can use you an Access Token.

In a few obvious places you’ll need to edit placeholders to your own real values (e.g. stream_id)

Watch this space for more Speckle Jupyter goodness :stuck_out_tongue:

3 Likes

@jsdbroughton this awesome, I think speckle should have a section to guide use jupyter notebook :grimacing:

2 Likes

As promised

1 Like

Nice job, That’s the best news of the day that I know :grimacing:

1 Like