Skip to content

Releases: SciProgCentre/gdml.kt

0.4.0

01 May 17:27
b4c9ad2
Compare
Choose a tag to compare

Added

  • Scripting support
  • GdmlShowcase singleton for test purposes
  • Gdml.decodeFromUrl method to fetch data from url
  • Automatic naming of all gdml builder nodes for absent names
  • Returned position/rotation/firstPosition/firstRotation builders to boolean solids
  • Interfaces for components registries
  • Convenient group builder
  • Basic NCName validation
  • Preprocessor in common

Changed

  • Refactor define builders to place the name in the last position
  • Gdml.format and module made internal
  • Container getMember renamed to getItem
  • Structure builders return GdmlRef instead of elements
  • world variable accepts ref instead of volume
  • All Gdml builder functions now have name in last position and nullable to allow for automatic naming.
  • physVolume position/rotation builders replaced by functions

Deprecated

  • Define builders in boolean solids.

Removed

Fixed

0.3.0

02 Mar 13:41
6d2410f
Compare
Choose a tag to compare

[0.3.0]

Added

  • ZPlane builders for polyhedra and polycone
  • GDML builders for all solid primitives

Changed

  • GDML builders return refs instead of actual nodes

0.2.0

22 Feb 16:11
f53ab04
Compare
Choose a tag to compare

[0.2.0]

Added

  • Equality for gdml nodes
  • Material builders
  • Preprocessor for Gdml expressions (JVM only)

Changed

  • Group name changed to space.kscience
  • GDML changed to Gdml to adhere to the code style
  • Kotlin 1.4.30
  • Kotlinx-serialization 1.1.0
  • XmlUtil 0.81.0

v0.1.8

05 Aug 08:41
Compare
Choose a tag to compare
  • Full solid geometry description
  • Materials

0.1.3

28 Jul 11:40
Compare
Choose a tag to compare

Full gdml syntax coverage