v2.1.0-beta.3
Pre-release
Pre-release
·
2 commits
to main
since this release
Minor Changes
-
15cdcfb: Export the CAD viewer tooling from the public
visualizationentry point.The camera controller, reference grid, view gizmo, edge overlays, label layer, and
measurement tool shipped in 2.1.0-beta.1 were wired throughinitThreeat runtime, but
their factories and types were only re-exported from the internal
features/visualization/index.tsbarrel — not fromsrc/visualization.ts, the actual
published entry. Consumers could enable the tools via options and read them off the
initThreereturn, but could not import the supporting type names
(CameraController,MeasureTool,ViewPreset,CameraProjection, …) or the
config types (GridConfig,GizmoConfig,EdgesConfig,MeasureConfig).- Re-export
createCameraController,createGrid,createViewGizmo,addEdges/removeEdges/isEdgeOverlay,createRenderPipeline,createLabelLayer,createMeasureTool/snapToVertexand their types fromvisualization. - Re-export the
GridConfig/GizmoConfig/EdgesConfig/MeasureConfigoption types. - Also surface
parseColor,applyOffset, andcomputeCombinedBoundingBoxfromthree-helpers.
Additive only — no existing export changed.
- Re-export