-
Notifications
You must be signed in to change notification settings - Fork 268
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
plot in a web page #192
Comments
what you can do is to generate html code to be embedded into web apps. Exporting to To generate these pages check out python examples: basically you just need to do: |
Thanks a lot. |
I use export x3d. And my file is very large. So I can say that "this method is not a good way to explore data into web" |
how big is your data file on disk, before exporting? |
The in put file : cavity.vtk (43.8 kb) i used streamlines3.py code to generate x3d file |
that's because there are too many vertices: you can try removing the arrows and decimate the lines with: but... the |
I have some question , |
Use offscreen keyword: from vedo import *
pan = load(datadir+'panther.stl')
show(pan, offscreen=True)
exportWindow('panther.html') |
Error after use
|
by beloow i export data .
but I see a bug in exportWindows(): If I have a one stream, every thing is fine but when I used two streams in show, exportWindows to x3d, miss a |
Uhm are you running it from terminal or in a jupyter/ipython session?
indeed i never tested it for multiple objects, but the html output is only meant as an illustrative example, what matters is the x3d file. You have to create your own html to embed it the way you like. |
i used in terminal not into jupyter .
The exported |
for sever used (without x server) the
|
Hi all, not sure if anyone else is having this issue, but the Possibly related other bug: There appears to be some jank with the axes when exported to .x3d. I have not been able to debug specifically yet, but will figure it out eventually and update. (ATM I think its a bad line transform, tick marks show out of place and grid lines look wacky). |
I can't find any example for show plot into a web application
so is it possible to show an object in a web page ?
If yes, how can do it (a simple example can help me!)
The text was updated successfully, but these errors were encountered: