Skip to content

Releases

DWF Viewer 0.6.8

Choose a tag to compare

@wybaby168 wybaby168 released this 18 Nov 14:46

DWF Viewer 0.6.8 decodes binary W2D Gouraud polytriangles in drawings such as the AutoCAD 2021 attachment reported in flyfish-dev/cad-viewer#2. Canvas and WebGL preserve per-vertex color and opacity. The release includes regressions for truncated records, overlap coverage, and bounded Canvas work.

v0.6.7

Choose a tag to compare

@wybaby168 wybaby168 released this 08 Sep 01:55

Keep native DWF/DWFx vectors visible on dark backgrounds without changing source colors or alpha. Monochrome mode and cached render resources retain their existing behavior. Color-policy tests and CI pass.

npm publication is pending: the registry rejected the current trusted-publishing authorization. The npm latest version is still 0.6.6.

DWF Viewer v0.6.6

Choose a tag to compare

@wybaby168 wybaby168 released this 05 Sep 08:27

Adds non-destructive fixed-color rendering for DWF, DWFx and XPS vector content. Preserves source data, geometry, line weights, opacity and raster image colors while switching the render policy.

DWF Viewer v0.6.5

Choose a tag to compare

@wybaby168 wybaby168 released this 24 Aug 02:49
c6f7027

What's Changed

New Contributors

Full Changelog: v0.6.4...v0.6.5

dwf-viewer 0.6.4

Choose a tag to compare

@wybaby168 wybaby168 released this 12 Jun 08:26

Highlights

  • Restores colorful W3D/HSF 3D rendering for eModel files where ContentDefinition instance count does not match decoded shell geometry, preventing Robot Arm from being washed into gray by unsafe ordinal material binding.
  • Adds production regression coverage for Robot Arm mesh color diversity alongside geometry, strict XML, XPS, W2D, and package checks.
  • Cleans up the demo header by moving advanced controls into Settings, replacing the native file picker with a compact Open file action, and removing the duplicate top-level Fit button.
  • Adds visible sample/local-file loading feedback with progress UI, disabled controls, and inline load failures.
  • Keeps the default demo on Blocks and Tables for a fast, clean first impression.

Verification

  • npm run build:demo
  • npm run validate:production
  • npm run check:package
  • Browser verification: default Blocks and Tables loads through dist-v0.6.4; Robot Arm renders via threejs-webgl with colored canvas sampling and no console warnings/errors.

DWF Viewer v0.6.3

Choose a tag to compare

@wybaby168 wybaby168 released this 12 Jun 07:59

Highlights

  • Fixes strict browser XML parsing for legacy Autodesk eModel metadata with invalid xmlns:schemaLocation declarations.
  • Keeps valid 3D DWFx models such as Robot Arm rendering as real w3d-model pages with zero diagnostics under strict DOMParser simulation.
  • Preserves the Cloudflare Pages demo flow, versioned dist-v0.6.3 assets, AGPL/NOTICE packaging, and dual npm publishing to dwf-viewer and @flyfish-dev/dwf-viewer.

Validation

  • npm run build
  • npm run validate:production
  • npm run check:examples
  • npm run build:demo
  • npm run check:package

Links

DWF Viewer v0.6.1

Choose a tag to compare

@wybaby168 wybaby168 released this 12 Jun 02:43

Highlights

  • Changed the public demo default sample to Blocks and Tables · Binary W2D DWF for faster first load and clearer visual presentation.
  • Kept Autodesk Floor Plans as an optional XPS WebGL validation sample instead of loading the large DWFx by default.
  • Demo dist assets are versioned under dist-v0.6.1 to avoid stale browser module caches.

Links

Verification

  • npm run build
  • npm run validate:production
  • npm run build:demo
  • npm run check:package
  • Built demo verifies default sample id blocks-tables-2d and dist-v0.6.1 import

DWF Viewer v0.6.0

Choose a tag to compare

@wybaby168 wybaby168 released this 12 Jun 02:27

Highlights

  • Added WebGL-accelerated XPS/DWFx 2D vector rendering through WebGlXpsBackend.
  • Added XPS ODTTF embedded font deobfuscation/loading for CAD-like text appearance.
  • Added curated Autodesk Floor Plans DWFx demo sample, defaulting to A03 First Floor Plan.
  • Tuned CAD overview linework defaults for dense architectural sheets.
  • Coalesced viewer render requests to avoid zoom/pan render pile-ups.
  • Demo dist assets remain versioned under dist-v0.6.0 to avoid stale browser module caches.

Links

Verification

  • npm run build
  • npm run validate:production
  • npm run build:demo
  • npm run check:package
  • Production validation covers Autodesk Floor Plans DWFx A03, Robot Arm 3D DWFx, minimal XPS DWFx, and binary W2D DWF

DWF Viewer v0.5.1

Choose a tag to compare

@wybaby168 wybaby168 released this 12 Jun 01:48

Highlights

  • Added CAD adaptive line-weight rendering for XPS FixedPage, W2D Canvas/WASM, and W2D WebGL paths.
  • Added demo controls for adaptive, physical, and hairline line-weight modes.
  • Improved overview rendering with text LOD culling and embedded XPS TrueType font loading.
  • Versioned demo dist assets under dist-v0.5.1 to prevent stale browser module caches on Cloudflare Pages.
  • Published dwf-viewer@0.5.1 and @flyfish-dev/dwf-viewer@0.5.1 to npm.

Links

Verification

  • npm run build
  • npm run validate:production
  • npm run build:demo
  • npm run check:package
  • Production Cloudflare Pages smoke test with real DWF sample and line-weight mode switching