-
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
DLR Visualization library Community Edition problem with Julia 1.0.1 on Ubuntu 18.04 #3
Comments
Sorry, this should not have occured (if the community edition is used, not supported elements should just be ignored for the animation). This will be fixed in the next days. |
…3D with the CommunityEdition of the DLR Visualization library)
Fixed with ff0a485 |
Thanks a lot. Even with this fix for some reason the README examples works fine when using |
Please, can you give the exact sequence of commands that lead to the problem. |
I will try to replicate it on a clean VM to make sure that is not due to my setup over the weekend.
import ModiaMath
using Modia3D
material1 = Modia3D.Material(color="LightBlue", transparency=0.3);
material2 = Modia3D.Material(color="Red");
@assembly Pendulum(;Lx = 1.0, Ly=0.2*Lx, Lz=0.2*Lx) begin
world = Object3D(Modia3D.CoordinateSystem(0.5*Lx))
beam_frame0 = Object3D(Modia3D.Solid(Modia3D.SolidBeam(Lx,Ly,Lz), "Aluminium", material1))
beam_frame1 = Object3D(beam_frame0; r=[-Lx/2, 0.0, 0.0])
cylinder = Object3D(beam_frame1,Modia3D.Cylinder(Ly/2,1.2*Ly; material=material2))
revolute = Modia3D.Revolute(world, beam_frame1)
end;
simulationModel = Modia3D.SimulationModel(Pendulum(Lx=0.8),stopTime=5.0);
result = ModiaMath.simulate!(simulationModel); |
I found the problem. The chmod +x <path-to-library>/Visualization/Extras/SimVis fixed the issue that I was describing in #3 (comment) . |
Thanks for your findings. I have added your suggestion about execution rights to the README.md file. Just to make sure: Is the animation of Modia3D now working for you? |
Yes, the animation is now working. |
@Thantalos, @GallLeo: Please, check that the distribution of the DLR Visualization library has "executable permissions" for the SimVis executable on Ubuntu. If not, please correct (this might explain the issue above). |
Under Linux only the Community Edition of the DLR Visualization library is working. A limited number of shapes is displayed, further not all shapes are displayed supported by the Community Edition, like Text. Due a complete redesign of Modia3D this issue is closed. |
Trying to use the latest version of
Modia3D
with the DLR Visualization library Community Edition results in the following error:checking with
nm
, indeed theSimVis_setTextObject
symbol is not included in the library of the Community Edition.The text was updated successfully, but these errors were encountered: