Skip to content

openskp Python 1.3.2 (GitHub-only, not on PyPI)

Choose a tag to compare

@iamahsanmehmood iamahsanmehmood released this 10 Sep 08:48
· 112 commits to main since this release

Not published to PyPI - a real, tested, tagged release (538 tests passing). Install by pinning this tag:

pip install "openskp[fragments] @ git+https://github.com/iamahsanmehmood/openskp.git@preview-python-v1.3.2#subdirectory=packages/python"

What's new since preview-python-v1.3.1

attribute_dictionaries now reaches GLB/JSON metadata export. build_scene()/build_instanced_scene() already correctly resolved every attribute dictionary an instance carries (not just SketchUp's own dynamic_attributes, which properties covers exclusively per #254), but no JSON-producing export path ever serialized it - only the IFC exporter surfaced this data, as Pset_<dict-name> properties. A consumer reading GLB/JSON metadata instead of the derived .ifc (e.g. a third-party plugin's own named dictionary, such as a steel-detailing tool's own dict) silently never saw it.

  • export/glb.py, export/json_export.py, and export/instanced_glb.py now include an attribute_dictionaries key alongside the existing properties key, keyed by each dictionary's own declared name.
  • Verified against real plugin data on a production file (steelframer-dict, 45 entries); no output shape change for models with no extra dictionaries (attribute_dictionaries is simply {}).
  • Same fix ported to C++, see preview-cpp-v1.3.1.

See CHANGELOG.md § 1.3.0 for full details.