v0.10.2
Modia3D v0.10.2
-
Model3D(..) with no degrees of freedom is now supported (previously, an error was triggered).
-
Massless solid is now supported (previously, an error was triggered if Solid(..) had zero mass).
-
SolidMaterial, MassProperties, VisualMaterial in Solid(..) and VisualMaterial in Visual(..) improved to handle corner cases:
- SolidMaterial=="" is treated as SolidMaterial = nothing
- VisualMaterial=="" is treated as Shapes.VisualMaterial(), that is the default VisualMaterial.
- massProperties==nothing && solidMaterial==nothing is treated as MassProperties(), that is as massless solid.
-
Error message improved, if closed kinematic loop is detected. Especially, the names of all Object3Ds in the kinematic loop are printed.
-
Error message improved, if no Scene is defined.
-
solid(..., contactSphereRadius::Union{Nothing,FloatType}=xxx) improved:
- changed to contactSphereRadius::Union{Nothing,Number} (e.g. Int is also allowed).
- contactSphereRadius <= 0 is the same as contactSphereRadius = nothing.
-
Removed keyword "path" from the docu of Prismatic, Revolute, FreeMotion, since not to be set by the user (path is set when calling Model3D(..) to store the absolute path name in the joint).
-
New function
loadPalettes!
. Example:
Modia3D.loadPalettes!(solidMaterialPalette = "file1.json", contactPairMaterialPalette = "file2.json", visualMaterialPalette = "file3.json", log=true)
to use the palettes from the provided files instead of the default palettes fromModia3D/palettes/*.json
.
Merged pull requests:
- New function loadPalettes! (#104) (@MartinOtter)
- Add missing file (#105) (@MartinOtter)
- Improve corner cases and error messages (#106) (@MartinOtter)
- New version 0.10.2 (#107) (@MartinOtter)