Skip to content

NwcIO v0.4.0

Choose a tag to compare

@github-actions github-actions released this 10 Nov 18:06
· 66 commits to main since this release
3a5e09d

Major Additions & Capabilities

  • Autodesk Navisworks Appearance Profiler:
    • Strongly typed appearance rule and profiler model: NwcAppearanceRule and NwcAppearanceProfiler.
    • Color overrides (RGB) and transparency levels (0.0 to 1.0) dynamically mapped to scene graph nodes and geometry meshes using NwcSearchCondition criteria.
    • Scene traversal engine: NwcAppearanceProfiler.Apply(NwcDocument) applies rules across the full scene tree and geometry meshes, updating element materials.
    • Multi-model assembly support: NwcAssembly.ApplyAppearanceProfiler(NwcAppearanceProfiler) applies rules across all contributing federated models.
    • XML exchange: NwcXmlAppearanceProfilerSerializer reading and writing Autodesk Navisworks Appearance Profiler rule files (.xml) adhering to the official nw-exchange-12.0.xsd schema.
  • Fluent Builder & Document Integration:
    • Added NwcDocument.ApplyAppearanceProfiler(...) and NwcDocument.ExportAppearanceProfilerXml(...).
    • Added NwcDocumentBuilder.SetAppearanceProfiler(...) and NwcDocumentBuilder.AddAppearanceRule(...).
  • CLI Enhancements (nwcio):
    • Added --profiler <rules.xml>: loads appearance profiler XML rules and applies color/transparency overrides before exporting to GLB, IFC, OBJ, JSON, or NWC.
    • Added --export-profiler <rules.xml>: exports the document's appearance profiler rules to an XML file.
  • Cross-Ecosystem Interoperability (NwcIO ↔ IfcIO):
    • Integration testing between NwcIO and IfcIO verifying end-to-end NWC → IFC STEP physical file generation → IfcModel.Open deserialization of meshes, vertices, triangles, and property sets.