Skip to content

v0.10.2

Compare
Choose a tag to compare
@github-actions github-actions released this 26 Mar 22:40
· 157 commits to main since this release
d835812

Modia3D v0.10.2

Diff since v0.10.1

  • 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 from Modia3D/palettes/*.json.

Merged pull requests: