Skip to content

v0.4.0

Latest
Compare
Choose a tag to compare
@xiangechen xiangechen released this 05 Jan 09:54
· 2 commits to main since this release

chili-wasm Module

  • New Module Introduction: This update introduces the chili-wasm module, replacing the previous chili-occ module. chili-wasm is developed based on the latest version of OpenCASCADE 7.8.1 and provides a compilation script to easily compile C++ code in the cpp folder into WebAssembly.
  • New cpp Folder in Source Code Directory: The cpp folder is the core of this update, containing WebAssembly bindings for OpenCASCADE and other C++ modules.

Step/Iges Format Enhancement

  • Import Function Upgrade: The import functionality for Step and Iges formats has been significantly enhanced. Users can now import color information from Step files, and the hierarchical structure and names of Step and Iges files can also be correctly imported, making model display and management more accurate and convenient.

New Node Types

  • MeshNode: A new MeshNode has been added, specifically for displaying mesh models.
  • GroupNode: The GroupNode has been introduced to display model groups, facilitating the unified management and display of multiple models.
  • MultiShapeNode: A new MultiShapeNode has been added to display complex models containing multiple shapes.

New Material Types

  • PhongMaterial: The PhongMaterial has been added, providing more options for model rendering and enabling more realistic visual effects.
  • PhysicalMaterial: The PhysicalMaterial has been introduced, which renders based on physical principles, simulating more realistic lighting and material effects.
  • Material Property Editing Support: Support has been added for editing multiple materials in material properties.

New DeepObserver and PathBinding

  • DeepObserver: It is now possible to deeply observe properties of properties, detecting changes within properties, making property monitoring more comprehensive and detailed.
  • PathBinding: Path-based binding is supported, for example: textContent = new PathBinding(source, "a.b.c");.

Other Updates

Numerous detail adjustments and bug fixes.