-
Notifications
You must be signed in to change notification settings - Fork 8
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
Can't create json animation files on mac #124
Comments
Thanks for reporting your issue. Animation export can be enabled in any Modia3D model by setting I am going to investigate the problem asap. Supposedly the JSON Object Scene format has changed again like some time ago in #119. I am not sure what your problem with GLMakie is, but it is not related to Modia3D animation export. |
Thanks Gerhard. By the way, I just tried using the DLR visualisation in a linux VM. No luck though. I guess this is because I'm running on an M1 macbook, so everything has to be compiled for ARM. |
Not yet fixed in Modia3D, coming soon... |
- Always consider Object3Ds for AnimationExport in Scene.allVisuElements and Scene.updateVisuElements - This fixes #124
Thank you - it works now!
… On 13 Oct 2023, at 5:30 pm, Andrea Neumayr ***@***.***> wrote:
Closed #124 <#124> as completed via #125 <#125>.
—
Reply to this email directly, view it on GitHub <#124 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/BDCYWSXC6NRSJLW7GKHNKI3X7DUYDAVCNFSM6AAAAAA5WR6N7OVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJQGY2DAOBXGAZTENA>.
You are receiving this because you authored the thread.
|
Yes, this time the problem was not caused by three.js, but by me... |
Modia3D is installed on my mac. It runs the tutorial and generates 2D plots (PyPlot and GLMakie), but I can’t generate 3D animations (json) for display in threejs.org.
I’ve tried many of the tutorials and tests (I know not all are supposed to generate a json file). So far, only the following have produced a json file:
However, the json files that are created don’t display properly in threejs.org. As an example, I’ve attached the json file and a short threejs animation screen capture for NewtonsCradle.
I’m not trying to use DLR_VISUALIZATION. (Library not available for mac.)
Not sure if it is related, but I get errors when I try to add the ModiaPlot_GLMakie package. Terminal output is at the below (at the end).
Here is how I’ve run the simulations:
julia> ENV["SignalTablesPlotPackage"] = "PyPlot"
"PyPlot"
Julia info and packages:
Error trying to add ModiaPlot_GLMakie:
NewtonsCradle outputs.zip
The text was updated successfully, but these errors were encountered: