three-cad-viewer 5.0.3 → 5.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/scene/objectgroup.d.ts +5 -4
- package/dist/three-cad-viewer.esm.js +42 -43
- package/dist/three-cad-viewer.esm.js.map +1 -1
- package/dist/three-cad-viewer.esm.min.js +3 -3
- package/dist/three-cad-viewer.js +42 -43
- package/dist/three-cad-viewer.min.js +2 -2
- package/dist/ui/display.d.ts +2 -10
- package/package.json +1 -1
package/dist/ui/display.d.ts
CHANGED
|
@@ -359,6 +359,8 @@ declare class Display {
|
|
|
359
359
|
/**
|
|
360
360
|
* Checkbox Handler for setting the tools mode.
|
|
361
361
|
* Delegates state mutations to Viewer.activateTool() to maintain unidirectional data flow.
|
|
362
|
+
* The active tab is left untouched: a measure/select tool can run on any tab,
|
|
363
|
+
* including Clip, so a sectioned model can be measured.
|
|
362
364
|
*/
|
|
363
365
|
setTool: (name: string, flag: boolean) => void;
|
|
364
366
|
/**
|
|
@@ -395,16 +397,6 @@ declare class Display {
|
|
|
395
397
|
* @internal
|
|
396
398
|
*/
|
|
397
399
|
private _restoreToolsAfterStudio;
|
|
398
|
-
/**
|
|
399
|
-
* Entering Clip mode: hide the measure + select tool buttons (a measure/select
|
|
400
|
-
* tool can't be active here — it disables the clip tab — but the buttons must not
|
|
401
|
-
* be invocable while clipping). Mirrors {@link _deactivateToolsForStudio};
|
|
402
|
-
* explode/zscale stay enabled for consistency with studio mode. Restored by
|
|
403
|
-
* {@link _restoreToolsAfterClip} on leave.
|
|
404
|
-
*/
|
|
405
|
-
private _deactivateToolsForClip;
|
|
406
|
-
/** Leaving Clip mode: restore measure + select buttons per their feature flags. */
|
|
407
|
-
private _restoreToolsAfterClip;
|
|
408
400
|
/**
|
|
409
401
|
* Checkbox Handler for setting the clip planes parameter
|
|
410
402
|
*/
|