Repository navigation
v3.0.0 — Native SolidWorks (.SLDPRT/.SLDASM), Multi-Format 3D & Engineering Studio
Changelog
All notable changes to QuickLook.Plugin.StepViewer are documented in this file.
[3.0.0] - 2026-11-18
Added
- Phase 6 — Native SolidWorks Support (
.SLDPRT&.SLDASM):- Registered
.sldprtand.sldasminPlugin.cs,QuickLook.Plugin.Metadata.config, andStepMetadataParser.cswith fast OLE2 (OpenMcdf/__ZLB) and modern SolidWorks block header detection (14 00 06 00 08 00), plus XML metadata extraction. - Added sandboxed same-directory
https://cad-stream.local/cad-siblingendpoint inWebViewEnvironmentManager.csto resolve external sibling.SLDPRTcomponents in.SLDASMassemblies without path traversal. - Implemented
Assets/js/solidworksWorker.jsandAssets/js/solidworksLoader.jsto decodeContents/DisplayLists(uoTempBodyTessData_c/uoTempFaceTessData_c) triangle strips with preserved body/face colors, parseswXmlContents/COMPINSTANCETREEtransforms, and fall back gracefully to embeddedPreviewPNGthumbnails when cached tessellation is absent.
- Registered
- Phase 5 — Smart Measure v2, 3D Printability & Precision Controls:
- Upgraded
measureEngine.jswith multi-dimension pinning in the 3D viewport, BVH-accelerated Wall Thickness probing along opposite face normals, and Minimum Clearance distance between two selected assembly bodies. - Added 3D Printability Diagnostics in
cadAnalysisEngine.js: configurable Overhang Angle Heatmap (15°–75°) and Open / Non-Manifold Edge Visualizer (magenta boundary edges, red non-manifold edges). - Added numeric precision offset input for 3D section planes (
sectionEngine.js) andlocalStoragepersistence for theme, units, HLR edges, and default camera projection.
- Upgraded
- Phase 4 — Multi-Format Support & Format Conversion Export:
- Added native loading for
.3mf(3MFLoader+fflate),.obj(+.mtl),.ply(ASCII & binary), and.glb/.gltfwith< 2msC# header validation inStepMetadataParser.csand unified normalization into the CAD inspection pipeline. - Added "Export 3D Model As..." (
Binary STL,OBJ,GLB) viaSnapshotExportService.csandIpcContracts.cs.
- Added native loading for
- Phase 3 — Engineering Accuracy, BVH HLR & Worker Offloading:
- Upgraded assembly collision detection to AABB broad-phase +
three-mesh-bvhnarrow-phase exact triangle-triangle intersection. - Replaced bounding-box Center of Mass approximations with exact signed-tetrahedron volumetric centroid summation integrated with
MaterialsEngine. - Added BVH-Accelerated Hidden Line Removal (HLR) and an interactive 2D Blueprint Studio Live Preview Modal supporting First-Angle / Third-Angle projection, hidden line toggling, and Metric / Imperial units.
- Offloaded STL parsing and
MeshFeatureDetectortoAssets/stlWorker.jsusing Zero-CopyTransferableFloat32Arraybuffers.
- Upgraded assembly collision detection to AABB broad-phase +
- Dual-Theme Engineering Studio, RealView & Original CAD Colors:
- Added Light Engineering Workbench theme alongside Dark CAD Studio, paired with an interactive 3D ViewCube.
- Added RealView Studio toolbar mode (
#btn-realview) boosting PMREM environment reflections,ACESFilmicexposure, PBR metallic/roughness response, and grounded floor shadows across both live viewport and Snapshot exports. - Added native STEP AP214/AP242 per-face colors (
brepFacesvertex colors) and SolidWorks appearance color extraction with clean per-body override and 1-click Reset.
Changed & Fixed
- Phase 1 — Critical Bug Fixes, Memory Leaks & Security Hardening:
- Fixed collision results DOM ID mismatch, STL triangle count & face highlight/focus in
assemblyTree.js,OrthographicCamerazoom handling inzoomToBody/focusOnFace, CoM unit readouts,clearModel()state reset, section gizmo visibility toggling, and STL QR passport tags. - Fixed GPU/memory leaks in
viewerApp.js(animFrameId/__cleanupViewer),sectionStencilGroupdisposal, and cachedViewCubeCanvasTextureinstances. - Hardened
innerHTMLsinks against XSS (escapeHtml+ delegated listeners), fixedWebViewEnvironmentManagerfaultedTaskcaching and%TEMP%fallback, made guardrail thresholds format-aware (35 MBSTEP/IGES/BREP,150 MBSTL), and stopped_watchdogcleanly on lifecycle completion.
- Fixed collision results DOM ID mismatch, STL triangle count & face highlight/focus in
- Phase 2 — Code Deduplication & Repository Hygiene:
- Deduplicated IndexedDB cache logic (delegated to
AdminTwin),toggleUnits(),#btn-clearcache, and#btn-explodelisteners; removed dead exports, stale version strings, and unsupported.stpxregistration. - Consolidated obsolete ad-hoc test scripts and stale root audit reports into a structured C# (
QuickLook.Plugin.StepViewer.Tests.csproj) and Node.js regression suite.
- Deduplicated IndexedDB cache logic (delegated to