@@ -54,7 +54,7 @@ Modia3D has various *3D animation features*:
54
54
55
55
## Faster Startup
56
56
57
- In order to speed up startup, it is adviced to generate a sysimage by executing the following commands:
57
+ In order to speed up startup a sysimage can be generated by executing the following commands:
58
58
59
59
``` julia
60
60
julia
@@ -67,7 +67,7 @@ This will include a file `Modia3D_sysimage.dll` (on Windows) or `Modia3D_sysimag
67
67
current working directory that includes all packages of your current project and the following packages
68
68
(these packages are added to your current project, if not yet included):
69
69
70
- - Modia, Modia3D, ModiaPlot_PyPlot , PackageCompiler, Revise
70
+ - Modia, Modia3D, SignalTablesInterface_PyPlot , PackageCompiler, Revise
71
71
72
72
Start julia with this sysimage in the following way:
73
73
@@ -93,6 +93,59 @@ julia -JModia3D_sysimage.so (otherwise)
93
93
94
94
## Release Notes
95
95
96
+
97
+ ### Version 0.11.0
98
+
99
+ - Requires Modia 0.9.1 or later.
100
+
101
+ - Additional keyword arguments of Object3D: ` Object3D(..., fixedInParent=true, velocity=[0.0, 0.0, 0.0], angularVelocity=[0.0, 0.0, 0.0]) ` ,
102
+ besides the existing ` parent, translation, rotation, feature ` . A freely moving Object3D is defined with
103
+ ` Object3D(..., fixedInParent=false, ...) ` , where ` velocity=.., angularVelocity=.. `
104
+ are the initial conditions (resolved in the parent frame). For more details, see [ ` Object3D ` ] ( @ref ) .\
105
+ The states and other code for such Object3Ds are * not* part of the generated code
106
+ (so compilation is faster, and the objects can be changed after code generation).
107
+
108
+ - The ` FreeMotion ` joints in all test models have been removed and replaced by Object3Ds with ` fixedInParent=false ` .
109
+ A new test model test/Basic/FreeShaftAdaptiveRotSequenceWithFreeMotion.jl has been introduced with a ` FreeMotion `
110
+ joint, to still have one test for a ` FreeMotion ` joint.
111
+
112
+ - ` Revolute(..) ` and ` Prismatic(..) ` joints can define axis of rotation/translation optionally as vector, e.g., ` axis = [1.0, 2.0, 3.0] ` .
113
+
114
+ - New function ` Modia3D.rot1(angle,v) ` which is an efficient implementation of ` Modia3D.rot1(angle)*v ` where ` rot1(angle) ` returns
115
+ a transformation matrix and ` v ` is a vector and ` rot1(angle,v) ` returns the product of the transformation matrix and a vector
116
+ in an efficient way. Correspondingly, there are new functions
117
+ ` Modia3D.rot2(angle,v), Modia3D.rot3(angle,v), Modia3D.resolve1(rotation,v2), Modia3D.resolve2(rotation,v1) ` .
118
+
119
+ - Simulation speed improved, if contact of FileMesh objects.
120
+
121
+ - contactPairMaterials.json updated with more material pairs (e.g. results in less warning messages for runtests).
122
+
123
+ - New file ` Modia3D.create_Modia3D_sysimage.jl ` to create a * sysimage* . Using this sysimage has the
124
+ advantage that ` using Modia3D ` is nearly immediatedly executed (instead of > 30 seconds).
125
+ For details, see README.md file.
126
+
127
+ - Internal: Timer included in Scene (scene.timer), so that a timer is more easily accessible for debugging.
128
+
129
+ - Internal: Cleanup and improvements of Modia3D/src/Frames.jl
130
+
131
+
132
+ ** Deprecated**
133
+
134
+ - Joint ` FreeMotion ` is ** deprecated** . Use instead ` Object3D(..., fixedInParent=false, ...) ` .
135
+ Note, Object3D has variables ` translation, rotation, velocity, angularVelocity, rotationXYZ ` instead of
136
+ ` r, rot, v, w, isrot123 ` of ` FreeMotion ` .
137
+ Furthermore, ` angularVelocity ` is resolved in the parent ` Object3D ` whereas ` w ` in ` FreeMotion(obj1=.., obj2=..., ..) ` is resolved in
138
+ ` obj2 ` and not in ` obj1 ` . This means in particular that the init/start value ` FreeMotion(.., w=Var(start=w_start)...) ` needs
139
+ to be transformed in Object3D with ` Object3D(..., fixedInParent=false, rotation=XXX, angularVelocity = Modia3D.resolve1(XXX,w_start)) `
140
+ and the results of ` angularVelocity ` will be different to ` w ` because resolved in different coordinate systems.
141
+
142
+ ** Non-backwards compatible changes**
143
+
144
+ - Since Modia3D 0.11.0 is based on Modia 0.9.0, the non-backwards compatible changes of Modia have also an effect on Modia3D
145
+ (for details, see the [ release notes of Modia 0.9.0] ( https://github.com/ModiaSim/Modia.jl/releases/tag/v0.9.0 ) ).
146
+ Typically, this should give problems only in seldomly occuring corner cases.
147
+
148
+
96
149
### Version 0.10.4
97
150
98
151
- Script ` Modia3D/create_Modia3D_sysimage.jl ` improved.
0 commit comments