Opened 12 years ago
Closed 7 years ago
#2117 closed defect (wontfix)
Modelica3d: Complete redesign needed
Reported by: | Christian Schubert | Owned by: | Martin Sjölund |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Third-Party Libraries | Version: | trunk |
Keywords: | modelica3d | Cc: | Martin Sjölund, Christoph Höger, Adeel Asghar, Volker Waurich |
Description
Looking at the definition of Modelica.Utilities.Internal.PartialModelicaServices.Animation.PartialShape I noticed that all "parameters" are defined as inputs:
input Real lengthDirection[3]; input Real widthDirection[3]; input SI.Length length; input SI.Length width; input SI.Length height; input Types.ShapeExtra extra; input Real color[3]; input Types.SpecularCoefficient specularCoefficient;
Thus, they can change their value during simulation (and do as in the case of prismatic joints!)
Currently, the Modelica3D implementation treats them as parameters, i.e. they are sent at the visualization engine only during initialization.
Clearly, they have to be sent either at every frame or whenever they change (difficult since they are continous in general).
Then one should reconsider the modbus library as, as far as I know, it sends all data encoded as text (Is this true?). If that is the case, we should swith to some binary protocol or even simple udp messages, where we simply serialize the information from PartialShape together with the id of the object and the current time.
Change History (6)
comment:1 by , 12 years ago
comment:2 by , 12 years ago
Milestone: | 1.9.0 → Future |
---|
comment:3 by , 9 years ago
Component: | User interface → Third-Party Libraries |
---|---|
Owner: | changed from | to
comment:4 by , 7 years ago
Cc: | added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
This ticket is now obsolete, as a completely new 3D animation engine was introduced in version 1.11.0
Feel free to reopen if relevant to the new 3D engine.
comment:5 by , 7 years ago
Milestone: | Future |
---|---|
Resolution: | fixed |
Status: | closed → reopened |
comment:6 by , 7 years ago
Resolution: | → wontfix |
---|---|
Status: | reopened → closed |
Shouldn't ever have "fixed" tickets with future milestone. And this was not fixed either :)
That being said, Modelica3D is currently basically unmaintained as I cannot invest any time in it. As it is free software, feel free to rewrite it partially!