This repository was archived by the owner on Aug 8, 2024. It is now read-only.
Releases: scalableminds/wknml
Releases · scalableminds/wknml
v0.0.6
New Features:
- wknml now uses a streaming NML reader and writer, so large NML files should no longer cause memory problems.
- Optional property support: Optional properties may be omitted and will no longer be persisted when dumping the NML, which allows to write smaller, more compact NML files. For example, only the
id
,radius
, andposition
of aNode
are mandatory, the remaining 6 properties are optional and can be omitted.
Breaking Changes:
parse_nml(file)
now takes a file instance as its parameter.dump_nml
has been renamed towrite_nml(file, nml)
which now takes a file instance as the first parameter and an NML instance as the second. The method will take care of writing the dump ofnml
to thefile
.- A
Group
now needs a third parameter which contains its children and is of typeList[Group]
, so[]
if the group has no children.
v0.0.5
Merge pull request #11 from scalableminds/user-bbox Also read and store user bounding box