@buerli.io/react-cad 0.13.1-beta.9 → 1.0.0
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/README.md +1 -1
- package/build/components/UI/CAD/Constraints.d.ts +12 -12
- package/build/components/UI/CAD/Drawing.d.ts +16 -16
- package/build/components/UI/CAD/ListPlaceholder.d.ts +2 -2
- package/build/components/UI/CAD/Messages/Message.d.ts +5 -5
- package/build/components/UI/CAD/Messages/Messages.d.ts +9 -9
- package/build/components/UI/CAD/Messages/index.d.ts +1 -1
- package/build/components/UI/CAD/Messages/msgStore.d.ts +18 -18
- package/build/components/UI/CAD/ModelTree/AssemblyNode.d.ts +10 -10
- package/build/components/UI/CAD/ModelTree/FeatureList/Feature.d.ts +7 -7
- package/build/components/UI/CAD/ModelTree/FeatureList/FeatureList.d.ts +5 -5
- package/build/components/UI/CAD/ModelTree/FeatureList/index.d.ts +1 -1
- package/build/components/UI/CAD/ModelTree/FeatureList/utils.d.ts +7 -7
- package/build/components/UI/CAD/ModelTree/ModelTree.d.ts +13 -13
- package/build/components/UI/CAD/ModelTree/ModelTreeHeader.d.ts +16 -16
- package/build/components/UI/CAD/ModelTree/index.d.ts +1 -1
- package/build/components/UI/CAD/ModelTree/primitives.d.ts +9 -9
- package/build/components/UI/CAD/ModelTree/useContextMenuItems.d.ts +5 -5
- package/build/components/UI/CAD/PluginBounds.d.ts +8 -8
- package/build/components/UI/CAD/PluginTooltip.d.ts +5 -5
- package/build/components/UI/CAD/PluginsWindows.d.ts +23 -23
- package/build/components/UI/CAD/SideBar.d.ts +6 -6
- package/build/components/UI/CAD/Solids/Solids.d.ts +11 -11
- package/build/components/UI/CAD/Solids/index.d.ts +1 -1
- package/build/components/UI/CAD/Solids/useContextMenuItems.d.ts +5 -5
- package/build/components/UI/CAD/Solids/useVisibleSolids.d.ts +2 -2
- package/build/components/UI/CAD/ToolBar/AssemblyModeCmds.d.ts +3 -3
- package/build/components/UI/CAD/ToolBar/Icon.d.ts +4 -4
- package/build/components/UI/CAD/ToolBar/PartModeCmds.d.ts +3 -3
- package/build/components/UI/CAD/ToolBar/ToolBar.d.ts +6 -6
- package/build/components/UI/CAD/ToolBar/index.d.ts +1 -1
- package/build/components/UI/CAD/ToolBar/useCommands.d.ts +10 -10
- package/build/components/UI/CAD/ViewOptionsBar/ViewOptionButtons.d.ts +3 -3
- package/build/components/UI/CAD/ViewOptionsBar/useOptionCommands.d.ts +14 -14
- package/build/components/UI/CAD/ViewPlugButtons.d.ts +6 -6
- package/build/components/UI/CAD/ant-design-draggable-modal/DraggableModal.d.ts +19 -19
- package/build/components/UI/CAD/ant-design-draggable-modal/DraggableModal.test.d.ts +1 -1
- package/build/components/UI/CAD/ant-design-draggable-modal/DraggableModalContext.d.ts +9 -9
- package/build/components/UI/CAD/ant-design-draggable-modal/DraggableModalInner.d.ts +27 -27
- package/build/components/UI/CAD/ant-design-draggable-modal/DraggableModalProvider.d.ts +4 -4
- package/build/components/UI/CAD/ant-design-draggable-modal/ResizeHandle.d.ts +2 -2
- package/build/components/UI/CAD/ant-design-draggable-modal/clamp.d.ts +1 -1
- package/build/components/UI/CAD/ant-design-draggable-modal/draggableModalReducer.d.ts +123 -123
- package/build/components/UI/CAD/ant-design-draggable-modal/getWindowSize.d.ts +4 -4
- package/build/components/UI/CAD/ant-design-draggable-modal/index.d.ts +3 -3
- package/build/components/UI/CAD/ant-design-draggable-modal/useDrag.d.ts +5 -5
- package/build/components/UI/CAD/ant-design-draggable-modal/usePrevious.d.ts +1 -1
- package/build/components/UI/CAD/ant-design-draggable-modal/useResize.d.ts +7 -7
- package/build/components/UI/CAD/common/BlankDiv.d.ts +4 -4
- package/build/components/UI/CAD/common/Collapse.d.ts +8 -8
- package/build/components/UI/CAD/common/ContextMenu.d.ts +33 -33
- package/build/components/UI/CAD/common/Divider.d.ts +4 -4
- package/build/components/UI/CAD/common/EntityName.d.ts +9 -9
- package/build/components/UI/CAD/common/Icon.d.ts +5 -5
- package/build/components/UI/CAD/common/Img.d.ts +1 -1
- package/build/components/UI/CAD/common/LoadingScreen/LoadingScreen.d.ts +6 -6
- package/build/components/UI/CAD/common/LoadingScreen/Spinner.d.ts +2 -2
- package/build/components/UI/CAD/common/LoadingScreen/index.d.ts +1 -1
- package/build/components/UI/CAD/common/Menu.d.ts +29 -29
- package/build/components/UI/CAD/common/MultiSelect.d.ts +12 -12
- package/build/components/UI/CAD/common/NameEdit.d.ts +8 -8
- package/build/components/UI/CAD/common/SectionHeader.d.ts +4 -4
- package/build/components/UI/CAD/common/primitives.d.ts +10 -10
- package/build/components/UI/CAD/hooks/index.d.ts +13 -13
- package/build/components/UI/CAD/hooks/useContextMenuInteraction.d.ts +7 -7
- package/build/components/UI/CAD/hooks/useContextMenuItems.d.ts +5 -5
- package/build/components/UI/CAD/hooks/useCurrentInstance.d.ts +2 -2
- package/build/components/UI/CAD/hooks/useCurrentProduct.d.ts +2 -2
- package/build/components/UI/CAD/hooks/useEditMode.d.ts +7 -7
- package/build/components/UI/CAD/hooks/useGlobalMateInfo.d.ts +6 -6
- package/build/components/UI/CAD/hooks/useHasPending.d.ts +8 -8
- package/build/components/UI/CAD/hooks/useIsDisabled.d.ts +2 -2
- package/build/components/UI/CAD/hooks/useIsLoading.d.ts +8 -8
- package/build/components/UI/CAD/hooks/useIsSketchActive.d.ts +2 -2
- package/build/components/UI/CAD/hooks/useObjectDetails.d.ts +12 -12
- package/build/components/UI/CAD/hooks/useOperationSequence.d.ts +2 -2
- package/build/components/UI/CAD/hooks/useRollbackBar.d.ts +8 -8
- package/build/components/UI/CAD/hooks/useRoot.d.ts +2 -2
- package/build/components/UI/CAD/index.d.ts +17 -17
- package/build/components/UI/CAD/plugins/ProductManagement/ProdTable.d.ts +10 -10
- package/build/components/UI/CAD/plugins/ProductManagement/Root.d.ts +6 -6
- package/build/components/UI/CAD/plugins/ProductManagement/View.d.ts +6 -6
- package/build/components/UI/CAD/plugins/ProductManagement/index.d.ts +8 -8
- package/build/components/UI/CAD/plugins/ProductManagement/types.d.ts +4 -4
- package/build/components/UI/CAD/plugins/ProductManagement/useContextMenuItems.d.ts +5 -5
- package/build/components/UI/CAD/store/CADActions.d.ts +15 -15
- package/build/components/UI/CAD/store/CADStore.d.ts +26 -26
- package/build/components/UI/Readfile.d.ts +6 -6
- package/build/components/UI/editors/BooleanEditor/BooleanEditor.d.ts +8 -15
- package/build/components/UI/editors/BooleanEditor/index.d.ts +2 -2
- package/build/components/UI/editors/BooleanEditor/useBoolParam.d.ts +3 -5
- package/build/components/UI/editors/CSysEditor/CSysEditor.d.ts +11 -11
- package/build/components/UI/editors/CSysEditor/index.d.ts +2 -2
- package/build/components/UI/editors/CSysEditor/useCSysParam.d.ts +9 -9
- package/build/components/UI/editors/ColorEditor/ColorEditor.d.ts +9 -9
- package/build/components/UI/editors/ColorEditor/index.d.ts +2 -2
- package/build/components/UI/editors/ColorEditor/useColorParam.d.ts +9 -9
- package/build/components/UI/editors/ExpressionEditor/ExpressionEditor.d.ts +16 -14
- package/build/components/UI/editors/ExpressionEditor/index.d.ts +2 -2
- package/build/components/UI/editors/ExpressionEditor/useExpressionsParam.d.ts +5 -3
- package/build/components/UI/editors/NumberEditor/Inputs.d.ts +18 -18
- package/build/components/UI/editors/NumberEditor/Mentions.d.ts +11 -11
- package/build/components/UI/editors/NumberEditor/NumOrExpr.d.ts +12 -12
- package/build/components/UI/editors/NumberEditor/NumberEditor.d.ts +12 -22
- package/build/components/UI/editors/NumberEditor/index.d.ts +2 -2
- package/build/components/UI/editors/NumberEditor/useNumParam.d.ts +5 -9
- package/build/components/UI/editors/PointEditor/PointEditor.d.ts +10 -18
- package/build/components/UI/editors/PointEditor/index.d.ts +2 -2
- package/build/components/UI/editors/PointEditor/usePointParam.d.ts +5 -7
- package/build/components/UI/editors/RefsEditors/ChainFinder.d.ts +14 -14
- package/build/components/UI/editors/RefsEditors/MateEditor.d.ts +13 -13
- package/build/components/UI/editors/RefsEditors/MateOrientationEditor.d.ts +9 -9
- package/build/components/UI/editors/RefsEditors/RefEditor.d.ts +24 -24
- package/build/components/UI/editors/RefsEditors/RefsEditor.d.ts +16 -16
- package/build/components/UI/editors/RefsEditors/index.d.ts +8 -8
- package/build/components/UI/editors/RefsEditors/pickers.d.ts +4 -4
- package/build/components/UI/editors/RefsEditors/useIdParam.d.ts +3 -3
- package/build/components/UI/editors/RefsEditors/useMateParam.d.ts +10 -10
- package/build/components/UI/editors/RefsEditors/useModes.d.ts +11 -11
- package/build/components/UI/editors/RefsEditors/useRefsParam.d.ts +3 -3
- package/build/components/UI/editors/RefsEditors/useSelectedItems.d.ts +18 -18
- package/build/components/UI/editors/ToleranceEditor/ToleranceEditor.d.ts +7 -7
- package/build/components/UI/editors/ToleranceEditor/index.d.ts +2 -2
- package/build/components/UI/editors/ToleranceEditor/useToleranceParam.d.ts +3 -3
- package/build/components/UI/editors/TypeEditor/TypeEditor.d.ts +10 -10
- package/build/components/UI/editors/TypeEditor/index.d.ts +2 -2
- package/build/components/UI/editors/TypeEditor/useTypeParam.d.ts +3 -5
- package/build/components/UI/editors/TypeWrapper.d.ts +5 -5
- package/build/components/UI/editors/Wrapper.d.ts +9 -9
- package/build/components/UI/editors/useParam.d.ts +20 -20
- package/build/components/UI/editors/useValidation.d.ts +4 -4
- package/build/components/graphics/CSysDisplay.d.ts +50 -50
- package/build/components/graphics/CompositeCurveObj.d.ts +11 -11
- package/build/components/graphics/GeometryOverrides/GeometryOverridesManager.d.ts +5 -5
- package/build/components/graphics/GeometryOverrides/GeometryOverridesStore.d.ts +18 -18
- package/build/components/graphics/GeometryOverrides/index.d.ts +2 -2
- package/build/components/graphics/GeometryOverrides/useOverrideGeometryColor.d.ts +3 -3
- package/build/components/graphics/HUD.d.ts +4 -4
- package/build/components/graphics/HoveredConstraintDisplay.d.ts +5 -5
- package/build/components/graphics/InfinityPlane.d.ts +4 -4
- package/build/components/graphics/Outlines/AAPass.d.ts +8 -8
- package/build/components/graphics/Outlines/IDPass.d.ts +12 -12
- package/build/components/graphics/Outlines/Outline.d.ts +20 -20
- package/build/components/graphics/Outlines/OutlineEffect.d.ts +37 -37
- package/build/components/graphics/Outlines/OutlineMaterial.d.ts +9 -9
- package/build/components/graphics/Outlines/WidenPass.d.ts +17 -17
- package/build/components/graphics/PluginGeometryBounds.d.ts +8 -8
- package/build/components/graphics/SelectableMate.d.ts +3 -3
- package/build/components/graphics/SelectedMateObj.d.ts +12 -12
- package/build/components/graphics/WorkAxisObj.d.ts +10 -10
- package/build/components/graphics/WorkCSysObj.d.ts +11 -11
- package/build/components/graphics/WorkCoordSystemObj.d.ts +11 -11
- package/build/components/graphics/WorkPlaneObj.d.ts +11 -11
- package/build/components/graphics/WorkPointObj.d.ts +10 -10
- package/build/components/graphics/graphics.d.ts +61 -61
- package/build/components/graphics/utils/MatePathTransform.d.ts +10 -10
- package/build/components/graphics/utils/useCsysMatrix.d.ts +4 -4
- package/build/components/utils/CompValidation/ErrorBoundary.d.ts +28 -28
- package/build/components/utils/CompValidation/validators/CSysDisplayValidator.d.ts +12 -12
- package/build/components/utils/CompValidation/validators/DrawingValidator.d.ts +12 -12
- package/build/components/utils/CompValidation/validators/ExpressionsValidator.d.ts +12 -12
- package/build/components/utils/CompValidation/validators/FPluginValidator.d.ts +16 -16
- package/build/components/utils/CompValidation/validators/FeatureListValidator.d.ts +12 -12
- package/build/components/utils/CompValidation/validators/ProductManagementValidator.d.ts +14 -14
- package/build/components/utils/CompValidation/verifiers.d.ts +32 -32
- package/build/components/utils/FtVisibilityController.d.ts +6 -6
- package/build/index.cjs.js +3320 -3672
- package/build/index.d.ts +73 -72
- package/build/index.js +3267 -3620
- package/build/plugins/AppearanceEditor/Root.d.ts +7 -7
- package/build/plugins/AppearanceEditor/index.d.ts +7 -7
- package/build/plugins/Boolean/Root.d.ts +6 -6
- package/build/plugins/Boolean/index.d.ts +4 -4
- package/build/plugins/BoundingBoxInfo/Root.d.ts +7 -7
- package/build/plugins/BoundingBoxInfo/View.d.ts +6 -6
- package/build/plugins/BoundingBoxInfo/index.d.ts +5 -5
- package/build/plugins/Box/Root.d.ts +6 -6
- package/build/plugins/Box/index.d.ts +4 -4
- package/build/plugins/Chamfer/Root.d.ts +6 -6
- package/build/plugins/Chamfer/index.d.ts +4 -4
- package/build/plugins/CircularPattern/Root.d.ts +6 -6
- package/build/plugins/CircularPattern/index.d.ts +4 -4
- package/build/plugins/CompositeCurve/Root.d.ts +6 -6
- package/build/plugins/CompositeCurve/View.d.ts +6 -6
- package/build/plugins/CompositeCurve/index.d.ts +5 -5
- package/build/plugins/Cone/Root.d.ts +6 -6
- package/build/plugins/Cone/index.d.ts +4 -4
- package/build/plugins/Cylinder/Root.d.ts +6 -6
- package/build/plugins/Cylinder/index.d.ts +4 -4
- package/build/plugins/Dimensions/DimContext.d.ts +10 -10
- package/build/plugins/Dimensions/Root.d.ts +6 -6
- package/build/plugins/Dimensions/View.d.ts +6 -6
- package/build/plugins/Dimensions/graphics/DimGraphics.d.ts +7 -7
- package/build/plugins/Dimensions/graphics/DimensionSet.d.ts +8 -8
- package/build/plugins/Dimensions/graphics/primitives.d.ts +35 -35
- package/build/plugins/Dimensions/index.d.ts +5 -5
- package/build/plugins/Dimensions/utils.d.ts +5 -5
- package/build/plugins/EntityDeletion/Root.d.ts +6 -6
- package/build/plugins/EntityDeletion/index.d.ts +4 -4
- package/build/plugins/Expressions/Root.d.ts +6 -6
- package/build/plugins/Expressions/index.d.ts +4 -4
- package/build/plugins/Expressions/useContextMenuItems.d.ts +5 -5
- package/build/plugins/Extrusion/Root.d.ts +6 -6
- package/build/plugins/Extrusion/View.d.ts +6 -6
- package/build/plugins/Extrusion/index.d.ts +10 -10
- package/build/plugins/Fillet/Root.d.ts +6 -6
- package/build/plugins/Fillet/index.d.ts +4 -4
- package/build/plugins/HLConstraints/CircularPattern/Root.d.ts +6 -6
- package/build/plugins/HLConstraints/CircularPattern/View.d.ts +6 -6
- package/build/plugins/HLConstraints/CircularPattern/index.d.ts +5 -5
- package/build/plugins/HLConstraints/Cylindrical/Root.d.ts +6 -6
- package/build/plugins/HLConstraints/Cylindrical/View.d.ts +6 -6
- package/build/plugins/HLConstraints/Cylindrical/index.d.ts +5 -5
- package/build/plugins/HLConstraints/Fastened/Root.d.ts +6 -6
- package/build/plugins/HLConstraints/Fastened/View.d.ts +6 -6
- package/build/plugins/HLConstraints/Fastened/index.d.ts +5 -5
- package/build/plugins/HLConstraints/FastenedOrigin/Root.d.ts +6 -6
- package/build/plugins/HLConstraints/FastenedOrigin/View.d.ts +6 -6
- package/build/plugins/HLConstraints/FastenedOrigin/index.d.ts +5 -5
- package/build/plugins/HLConstraints/Gear/Root.d.ts +6 -6
- package/build/plugins/HLConstraints/Gear/View.d.ts +6 -6
- package/build/plugins/HLConstraints/Gear/index.d.ts +5 -5
- package/build/plugins/HLConstraints/Group/Root.d.ts +6 -6
- package/build/plugins/HLConstraints/Group/index.d.ts +4 -4
- package/build/plugins/HLConstraints/LinearPattern/Root.d.ts +6 -6
- package/build/plugins/HLConstraints/LinearPattern/View.d.ts +6 -6
- package/build/plugins/HLConstraints/LinearPattern/index.d.ts +5 -5
- package/build/plugins/HLConstraints/Parallel/Root.d.ts +6 -6
- package/build/plugins/HLConstraints/Parallel/View.d.ts +6 -6
- package/build/plugins/HLConstraints/Parallel/index.d.ts +5 -5
- package/build/plugins/HLConstraints/Planar/Root.d.ts +6 -6
- package/build/plugins/HLConstraints/Planar/View.d.ts +6 -6
- package/build/plugins/HLConstraints/Planar/index.d.ts +5 -5
- package/build/plugins/HLConstraints/Revolute/Root.d.ts +6 -6
- package/build/plugins/HLConstraints/Revolute/View.d.ts +6 -6
- package/build/plugins/HLConstraints/Revolute/index.d.ts +5 -5
- package/build/plugins/HLConstraints/Slider/Root.d.ts +6 -6
- package/build/plugins/HLConstraints/Slider/View.d.ts +6 -6
- package/build/plugins/HLConstraints/Slider/index.d.ts +5 -5
- package/build/plugins/HLConstraints/Spherical/Root.d.ts +6 -6
- package/build/plugins/HLConstraints/Spherical/View.d.ts +6 -6
- package/build/plugins/HLConstraints/Spherical/index.d.ts +5 -5
- package/build/plugins/HLConstraints/components/CSysDisplayWrapper.d.ts +7 -7
- package/build/plugins/HLConstraints/components/HLConstrIcon.d.ts +7 -7
- package/build/plugins/HLConstraints/components/LimitedValue.d.ts +12 -12
- package/build/plugins/HLConstraints/components/Limits.d.ts +25 -22
- package/build/plugins/HLConstraints/components/LimitsCollapse.d.ts +8 -8
- package/build/plugins/HLConstraints/validators.d.ts +2 -2
- package/build/plugins/Import/Root.d.ts +6 -6
- package/build/plugins/Import/index.d.ts +4 -4
- package/build/plugins/LinearPattern/Root.d.ts +6 -6
- package/build/plugins/LinearPattern/index.d.ts +4 -4
- package/build/plugins/Measure/Digits.d.ts +6 -6
- package/build/plugins/Measure/Root.d.ts +6 -6
- package/build/plugins/Measure/View.d.ts +10 -10
- package/build/plugins/Measure/config.d.ts +1 -1
- package/build/plugins/Measure/graphics/MeasureGraphics.d.ts +24 -24
- package/build/plugins/Measure/index.d.ts +9 -9
- package/build/plugins/Measure/utils.d.ts +1 -1
- package/build/plugins/Mirror/Root.d.ts +6 -6
- package/build/plugins/Mirror/index.d.ts +4 -4
- package/build/plugins/Revolve/Root.d.ts +6 -6
- package/build/plugins/Revolve/index.d.ts +4 -4
- package/build/plugins/Rotate/Root.d.ts +6 -6
- package/build/plugins/Rotate/index.d.ts +4 -4
- package/build/plugins/Sketch/Root/Constraints/Constraints.d.ts +2 -2
- package/build/plugins/Sketch/Root/Constraints/constraintsHelpers.d.ts +21 -19
- package/build/plugins/Sketch/Root/Constraints/index.d.ts +2 -2
- package/build/plugins/Sketch/Root/Constraints/utils.d.ts +6 -6
- package/build/plugins/Sketch/Root/CopyPatterns.d.ts +2 -7
- package/build/plugins/Sketch/Root/Details.d.ts +2 -2
- package/build/plugins/Sketch/Root/Handlers.d.ts +3 -3
- package/build/plugins/Sketch/Root/PlaneSelection.d.ts +7 -7
- package/build/plugins/Sketch/Root/Position.d.ts +2 -2
- package/build/plugins/Sketch/Root/Regions.d.ts +2 -2
- package/build/plugins/Sketch/Root/Root.d.ts +6 -6
- package/build/plugins/Sketch/Root/RootContext.d.ts +7 -7
- package/build/plugins/Sketch/Root/SketchGroup.d.ts +9 -9
- package/build/plugins/Sketch/Root/index.d.ts +1 -1
- package/build/plugins/Sketch/Root/useContextMenuItems.d.ts +5 -5
- package/build/plugins/Sketch/Root/useLayoutSize.d.ts +11 -11
- package/build/plugins/Sketch/View/View.d.ts +6 -6
- package/build/plugins/Sketch/View/ViewContext.d.ts +8 -8
- package/build/plugins/Sketch/View/graphics/Constraints.d.ts +5 -5
- package/build/plugins/Sketch/View/graphics/IconGroups.d.ts +7 -7
- package/build/plugins/Sketch/View/graphics/Merged/Arc.d.ts +12 -12
- package/build/plugins/Sketch/View/graphics/Merged/ArcGeometry.d.ts +2 -2
- package/build/plugins/Sketch/View/graphics/Merged/ArcMaterial.d.ts +2 -2
- package/build/plugins/Sketch/View/graphics/Merged/Circle.d.ts +8 -8
- package/build/plugins/Sketch/View/graphics/Merged/Line.d.ts +10 -10
- package/build/plugins/Sketch/View/graphics/Merged/MergedWrapper.d.ts +24 -24
- package/build/plugins/Sketch/View/graphics/Merged/Point.d.ts +8 -8
- package/build/plugins/Sketch/View/graphics/MousePosition.d.ts +2 -2
- package/build/plugins/Sketch/View/graphics/Regions.d.ts +5 -5
- package/build/plugins/Sketch/View/graphics/TmpAngularDimension.d.ts +8 -8
- package/build/plugins/Sketch/View/graphics/graphics.d.ts +5 -5
- package/build/plugins/Sketch/View/graphics/hooks.d.ts +38 -38
- package/build/plugins/Sketch/View/graphics/primitives.d.ts +34 -34
- package/build/plugins/Sketch/View/graphics/scale.d.ts +5 -5
- package/build/plugins/Sketch/View/graphics/tmpGraphics.d.ts +3 -3
- package/build/plugins/Sketch/View/handlers/CreateAngle.d.ts +3 -3
- package/build/plugins/Sketch/View/handlers/Drag.d.ts +3 -3
- package/build/plugins/Sketch/View/handlers/DrawArc.d.ts +3 -3
- package/build/plugins/Sketch/View/handlers/DrawCircle.d.ts +3 -3
- package/build/plugins/Sketch/View/handlers/DrawLine.d.ts +3 -3
- package/build/plugins/Sketch/View/handlers/DrawPoint.d.ts +3 -3
- package/build/plugins/Sketch/View/handlers/DrawRectangle.d.ts +3 -3
- package/build/plugins/Sketch/View/handlers/Fillet.d.ts +3 -3
- package/build/plugins/Sketch/View/handlers/HandlersConstructors.d.ts +28 -28
- package/build/plugins/Sketch/View/handlers/Hover.d.ts +3 -3
- package/build/plugins/Sketch/View/handlers/SSelect.d.ts +3 -3
- package/build/plugins/Sketch/View/handlers/Split.d.ts +3 -3
- package/build/plugins/Sketch/View/handlers/Trim.d.ts +3 -3
- package/build/plugins/Sketch/View/handlers/Use.d.ts +3 -3
- package/build/plugins/Sketch/View/handlers/filletHelpers.d.ts +22 -40
- package/build/plugins/Sketch/View/handlers/hoverHelpers.d.ts +3 -3
- package/build/plugins/Sketch/View/handlers/snapper.d.ts +11 -11
- package/build/plugins/Sketch/View/handlers/splitHelpers.d.ts +19 -19
- package/build/plugins/Sketch/View/index.d.ts +1 -1
- package/build/plugins/Sketch/constants.d.ts +5 -5
- package/build/plugins/Sketch/description.d.ts +2 -2
- package/build/plugins/Sketch/index.d.ts +4 -4
- package/build/plugins/Sketch/resources.d.ts +5 -5
- package/build/plugins/Sketch/types.d.ts +133 -131
- package/build/plugins/Sketch/utils/Interaction.d.ts +7 -7
- package/build/plugins/Sketch/utils/OverdefinedStateManager.d.ts +6 -6
- package/build/plugins/Sketch/utils/getSketchState.d.ts +3 -3
- package/build/plugins/Sketch/utils/useSketchRegions.d.ts +2 -2
- package/build/plugins/Sketch/utils/useSketchState.d.ts +4 -4
- package/build/plugins/Slice/Root.d.ts +6 -6
- package/build/plugins/Slice/index.d.ts +4 -4
- package/build/plugins/SliceBySheet/Root.d.ts +6 -6
- package/build/plugins/SliceBySheet/index.d.ts +4 -4
- package/build/plugins/Sphere/Root.d.ts +6 -6
- package/build/plugins/Sphere/index.d.ts +4 -4
- package/build/plugins/TransformByCsys/Root.d.ts +6 -6
- package/build/plugins/TransformByCsys/index.d.ts +4 -4
- package/build/plugins/Translate/Root.d.ts +6 -6
- package/build/plugins/Translate/index.d.ts +4 -4
- package/build/plugins/Twist/Root.d.ts +6 -6
- package/build/plugins/Twist/View.d.ts +6 -6
- package/build/plugins/Twist/index.d.ts +10 -10
- package/build/plugins/WorkAxis/Root.d.ts +6 -6
- package/build/plugins/WorkAxis/View.d.ts +6 -6
- package/build/plugins/WorkAxis/index.d.ts +5 -5
- package/build/plugins/WorkCSys/Root.d.ts +6 -6
- package/build/plugins/WorkCSys/View.d.ts +6 -6
- package/build/plugins/WorkCSys/index.d.ts +14 -14
- package/build/plugins/WorkCoordSystem/Root.d.ts +6 -6
- package/build/plugins/WorkCoordSystem/View.d.ts +6 -6
- package/build/plugins/WorkCoordSystem/index.d.ts +14 -14
- package/build/plugins/WorkPlane/Root.d.ts +6 -6
- package/build/plugins/WorkPlane/View.d.ts +6 -6
- package/build/plugins/WorkPlane/index.d.ts +5 -5
- package/build/plugins/WorkPlane/validators.d.ts +1 -1
- package/build/plugins/WorkPoint/Root.d.ts +6 -6
- package/build/plugins/WorkPoint/View.d.ts +6 -6
- package/build/plugins/WorkPoint/index.d.ts +5 -5
- package/build/plugins/components/PluginForm.d.ts +24 -36
- package/build/plugins/utils/useRefsReset.d.ts +2 -2
- package/build/types.d.ts +17 -17
- package/build/utils/FileUtils.d.ts +18 -18
- package/build/utils/conversionUtils.d.ts +16 -0
- package/build/utils/defaultValues.d.ts +3 -3
- package/build/utils/drawing/index.d.ts +3 -3
- package/build/utils/drawing/useDrawingArr.d.ts +10 -10
- package/build/utils/drawing/useDrawingCCId.d.ts +10 -10
- package/build/utils/drawing/useDrawingStr.d.ts +10 -10
- package/build/utils/getHighlightedColor.d.ts +1 -1
- package/build/utils/getMatePath.d.ts +2 -2
- package/build/utils/getMateRefIds.d.ts +2 -2
- package/build/utils/helpers.d.ts +18 -18
- package/build/utils/mateUtils.d.ts +2 -2
- package/build/utils/selection/filters.d.ts +12 -12
- package/build/utils/selection/scopes/mateSelection.d.ts +29 -29
- package/build/utils/selection/scopes/treeObjInteraction.d.ts +37 -37
- package/build/utils/selection/useSelectorsOrder.d.ts +12 -12
- package/build/utils/sketchIntersectionUtils.d.ts +29 -29
- package/build/utils/sketchUtils.d.ts +173 -173
- package/build/utils/useAllObjects.d.ts +2 -2
- package/build/utils/useIsUncommited.d.ts +2 -2
- package/build/utils/useRetainVisibility.d.ts +2 -2
- package/build/utils/useScale.d.ts +4 -2
- package/build/utils/validation.d.ts +11 -12
- package/package.json +107 -107
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { MemberParam } from '../../../types';
|
|
2
|
-
/**
|
|
3
|
-
* Wrapper for a parameter which will be used in an editor.
|
|
4
|
-
* @param param - an object which should contain next props:
|
|
5
|
-
* {
|
|
6
|
-
* userValue - value shown for the user
|
|
7
|
-
* setUserValue - userValue setter
|
|
8
|
-
defaults - default value
|
|
9
|
-
isChanged - function shows whether value is changed or not
|
|
10
|
-
* }
|
|
11
|
-
* @param getServValue - if value should be converted (e.g. deg -> rad) pass this function, it will be called right before classCAD API call.
|
|
12
|
-
* @param validation - Custom validation (used in useMateParam, useRefsParam. - these params has an array in userValue, so we need to apply validateF for each element from array).
|
|
13
|
-
* @returns
|
|
14
|
-
*/
|
|
15
|
-
export declare function useParam<T>(param: Omit<MemberParam<T>, 'serverValue' | 'validator' | 'setValidator' | 'options'>, getServValue?: (x: T) => T, validation?: {
|
|
16
|
-
validator: () => string[];
|
|
17
|
-
setValidator: (...args: any[]) => void;
|
|
18
|
-
}, options?: {
|
|
19
|
-
[key: string]: any;
|
|
20
|
-
}): MemberParam<T>;
|
|
1
|
+
import { MemberParam } from '../../../types';
|
|
2
|
+
/**
|
|
3
|
+
* Wrapper for a parameter which will be used in an editor.
|
|
4
|
+
* @param param - an object which should contain next props:
|
|
5
|
+
* {
|
|
6
|
+
* userValue - value shown for the user
|
|
7
|
+
* setUserValue - userValue setter
|
|
8
|
+
defaults - default value
|
|
9
|
+
isChanged - function shows whether value is changed or not
|
|
10
|
+
* }
|
|
11
|
+
* @param getServValue - if value should be converted (e.g. deg -> rad) pass this function, it will be called right before classCAD API call.
|
|
12
|
+
* @param validation - Custom validation (used in useMateParam, useRefsParam. - these params has an array in userValue, so we need to apply validateF for each element from array).
|
|
13
|
+
* @returns
|
|
14
|
+
*/
|
|
15
|
+
export declare function useParam<T>(param: Omit<MemberParam<T>, 'serverValue' | 'validator' | 'setValidator' | 'options'>, getServValue?: (x: T) => T, validation?: {
|
|
16
|
+
validator: () => string[];
|
|
17
|
+
setValidator: (...args: any[]) => void;
|
|
18
|
+
}, options?: {
|
|
19
|
+
[key: string]: any;
|
|
20
|
+
}): MemberParam<T>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare function useValidation<T>(userValue: T): {
|
|
2
|
-
setValidator: (validator_: (x: T) => string[]) => void;
|
|
3
|
-
validator: () => string[];
|
|
4
|
-
};
|
|
1
|
+
export declare function useValidation<T>(userValue: T): {
|
|
2
|
+
setValidator: (validator_: (x: T) => string[]) => void;
|
|
3
|
+
validator: () => string[];
|
|
4
|
+
};
|
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import * as THREE from 'three';
|
|
3
|
-
import { DrawingID, ObjectID, SelectedItem } from '@buerli.io/core';
|
|
4
|
-
import { FlipType, ReorientedType } from '@buerli.io/classcad';
|
|
5
|
-
export declare type CustomCSys = {
|
|
6
|
-
drawingId: DrawingID;
|
|
7
|
-
matrix: THREE.Matrix4;
|
|
8
|
-
userData: {
|
|
9
|
-
csysId: ObjectID;
|
|
10
|
-
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
export declare type CSysUserData = {
|
|
14
|
-
|
|
15
|
-
csysId: ObjectID;
|
|
16
|
-
flip?: FlipType;
|
|
17
|
-
|
|
18
|
-
isSelected?: boolean;
|
|
19
|
-
isActive?: boolean;
|
|
20
|
-
onHUD?: boolean;
|
|
21
|
-
};
|
|
22
|
-
export declare enum CSysDisplayMode {
|
|
23
|
-
DisplayAll = 0,
|
|
24
|
-
DisplayHovered = 1,
|
|
25
|
-
DisplayVisible = 2
|
|
26
|
-
}
|
|
27
|
-
export declare type CSysDisplayContextProps = {
|
|
28
|
-
drawingId: DrawingID;
|
|
29
|
-
displayMode: CSysDisplayMode;
|
|
30
|
-
includeSelected: boolean;
|
|
31
|
-
selItems: SelectedItem<any>[];
|
|
32
|
-
activeSelItems: SelectedItem<any>[];
|
|
33
|
-
activeRigidsets: ObjectID[];
|
|
34
|
-
csysComponent: React.FC<CustomCSys> | undefined;
|
|
35
|
-
};
|
|
36
|
-
export declare const CSysDisplayContext: React.Context<CSysDisplayContextProps>;
|
|
37
|
-
export declare const CSysWrapper: React.FC<{
|
|
38
|
-
drawingId: DrawingID;
|
|
39
|
-
csys?: React.FC<CustomCSys>;
|
|
40
|
-
onPointerMove?: (csysId_: ObjectID,
|
|
41
|
-
onPointerOut?: (csysId_: ObjectID,
|
|
42
|
-
userData: CSysUserData;
|
|
43
|
-
}>;
|
|
44
|
-
export declare const CSysDisplay: React.FC<{
|
|
45
|
-
drawingId: DrawingID;
|
|
46
|
-
csys?: React.FC<CustomCSys>;
|
|
47
|
-
displayMode?: CSysDisplayMode;
|
|
48
|
-
instances?: ObjectID[];
|
|
49
|
-
includeSelected?: boolean;
|
|
50
|
-
}>;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import * as THREE from 'three';
|
|
3
|
+
import { DrawingID, ObjectID, SelectedItem } from '@buerli.io/core';
|
|
4
|
+
import { FlipType, ReorientedType } from '@buerli.io/classcad';
|
|
5
|
+
export declare type CustomCSys = {
|
|
6
|
+
drawingId: DrawingID;
|
|
7
|
+
matrix: THREE.Matrix4;
|
|
8
|
+
userData: {
|
|
9
|
+
csysId: ObjectID;
|
|
10
|
+
path: ObjectID[];
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export declare type CSysUserData = {
|
|
14
|
+
path: ObjectID[];
|
|
15
|
+
csysId: ObjectID;
|
|
16
|
+
flip?: FlipType;
|
|
17
|
+
reorient?: ReorientedType;
|
|
18
|
+
isSelected?: boolean;
|
|
19
|
+
isActive?: boolean;
|
|
20
|
+
onHUD?: boolean;
|
|
21
|
+
};
|
|
22
|
+
export declare enum CSysDisplayMode {
|
|
23
|
+
DisplayAll = 0,
|
|
24
|
+
DisplayHovered = 1,
|
|
25
|
+
DisplayVisible = 2
|
|
26
|
+
}
|
|
27
|
+
export declare type CSysDisplayContextProps = {
|
|
28
|
+
drawingId: DrawingID;
|
|
29
|
+
displayMode: CSysDisplayMode;
|
|
30
|
+
includeSelected: boolean;
|
|
31
|
+
selItems: SelectedItem<any>[];
|
|
32
|
+
activeSelItems: SelectedItem<any>[];
|
|
33
|
+
activeRigidsets: ObjectID[];
|
|
34
|
+
csysComponent: React.FC<CustomCSys> | undefined;
|
|
35
|
+
};
|
|
36
|
+
export declare const CSysDisplayContext: React.Context<CSysDisplayContextProps>;
|
|
37
|
+
export declare const CSysWrapper: React.FC<{
|
|
38
|
+
drawingId: DrawingID;
|
|
39
|
+
csys?: React.FC<CustomCSys>;
|
|
40
|
+
onPointerMove?: (csysId_: ObjectID, path_: ObjectID[]) => void;
|
|
41
|
+
onPointerOut?: (csysId_: ObjectID, path_: ObjectID[]) => void;
|
|
42
|
+
userData: CSysUserData;
|
|
43
|
+
}>;
|
|
44
|
+
export declare const CSysDisplay: React.FC<{
|
|
45
|
+
drawingId: DrawingID;
|
|
46
|
+
csys?: React.FC<CustomCSys>;
|
|
47
|
+
displayMode?: CSysDisplayMode;
|
|
48
|
+
instances?: ObjectID[];
|
|
49
|
+
includeSelected?: boolean;
|
|
50
|
+
}>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { DrawingID, ObjectID } from '@buerli.io/core';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import * as THREE from 'three';
|
|
4
|
-
export declare const CompositeCurveObj: React.FC<{
|
|
5
|
-
drawingId: DrawingID;
|
|
6
|
-
objectId: ObjectID;
|
|
7
|
-
color?: THREE.ColorRepresentation;
|
|
8
|
-
lineWidth?: number;
|
|
9
|
-
userData?: any;
|
|
10
|
-
handlers?: any;
|
|
11
|
-
}>;
|
|
1
|
+
import { DrawingID, ObjectID } from '@buerli.io/core';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import * as THREE from 'three';
|
|
4
|
+
export declare const CompositeCurveObj: React.FC<{
|
|
5
|
+
drawingId: DrawingID;
|
|
6
|
+
objectId: ObjectID;
|
|
7
|
+
color?: THREE.ColorRepresentation;
|
|
8
|
+
lineWidth?: number;
|
|
9
|
+
userData?: any;
|
|
10
|
+
handlers?: any;
|
|
11
|
+
}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { DrawingID } from '@buerli.io/core';
|
|
3
|
-
export declare const GeometryOverridesManager: React.FC<{
|
|
4
|
-
drawingId: DrawingID;
|
|
5
|
-
}>;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { DrawingID } from '@buerli.io/core';
|
|
3
|
+
export declare const GeometryOverridesManager: React.FC<{
|
|
4
|
+
drawingId: DrawingID;
|
|
5
|
+
}>;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { ObjectID } from '@buerli.io/core';
|
|
2
|
-
export declare type OverrideValues = {
|
|
3
|
-
meshColor?: THREE.Color;
|
|
4
|
-
meshOpacity?: number;
|
|
5
|
-
lineColor?: THREE.Color;
|
|
6
|
-
lineOpacity?: number;
|
|
7
|
-
};
|
|
8
|
-
export declare type Override = {
|
|
9
|
-
priority: number;
|
|
10
|
-
values: OverrideValues;
|
|
11
|
-
solidIds?: ObjectID[];
|
|
12
|
-
};
|
|
13
|
-
export declare type GeometryOverridesStateT = {
|
|
14
|
-
overrides: Record<string, Override>;
|
|
15
|
-
addOverride: (name: string, override: Override) => void;
|
|
16
|
-
removeOverride: (name: string) => void;
|
|
17
|
-
};
|
|
18
|
-
export declare const useGeometryOverridesStore: import("zustand").UseBoundStore<import("zustand").StoreApi<GeometryOverridesStateT>>;
|
|
1
|
+
import { ObjectID } from '@buerli.io/core';
|
|
2
|
+
export declare type OverrideValues = {
|
|
3
|
+
meshColor?: THREE.Color;
|
|
4
|
+
meshOpacity?: number;
|
|
5
|
+
lineColor?: THREE.Color;
|
|
6
|
+
lineOpacity?: number;
|
|
7
|
+
};
|
|
8
|
+
export declare type Override = {
|
|
9
|
+
priority: number;
|
|
10
|
+
values: OverrideValues;
|
|
11
|
+
solidIds?: ObjectID[];
|
|
12
|
+
};
|
|
13
|
+
export declare type GeometryOverridesStateT = {
|
|
14
|
+
overrides: Record<string, Override>;
|
|
15
|
+
addOverride: (name: string, override: Override) => void;
|
|
16
|
+
removeOverride: (name: string) => void;
|
|
17
|
+
};
|
|
18
|
+
export declare const useGeometryOverridesStore: import("zustand").UseBoundStore<import("zustand").StoreApi<GeometryOverridesStateT>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { useOverrideGeometryColor } from './useOverrideGeometryColor';
|
|
2
|
-
export { GeometryOverridesManager } from './GeometryOverridesManager';
|
|
1
|
+
export { useOverrideGeometryColor } from './useOverrideGeometryColor';
|
|
2
|
+
export { GeometryOverridesManager } from './GeometryOverridesManager';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ObjectID } from '@buerli.io/core';
|
|
2
|
-
import { OverrideValues } from './GeometryOverridesStore';
|
|
3
|
-
export declare const useOverrideGeometryColor: (name: string, priority: number, values: OverrideValues, solidIds?: ObjectID[]) => void;
|
|
1
|
+
import { ObjectID } from '@buerli.io/core';
|
|
2
|
+
import { OverrideValues } from './GeometryOverridesStore';
|
|
3
|
+
export declare const useOverrideGeometryColor: (name: string, priority: number, values: OverrideValues, solidIds?: ObjectID[]) => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare const HUD: React.FC<{
|
|
3
|
-
children?: React.ReactNode;
|
|
4
|
-
}>;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const HUD: React.FC<{
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { DrawingID } from '@buerli.io/core';
|
|
3
|
-
export declare const HoveredConstraintDisplay: React.FC<{
|
|
4
|
-
drawingId: DrawingID;
|
|
5
|
-
}>;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { DrawingID } from '@buerli.io/core';
|
|
3
|
+
export declare const HoveredConstraintDisplay: React.FC<{
|
|
4
|
+
drawingId: DrawingID;
|
|
5
|
+
}>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as THREE from 'three';
|
|
2
|
-
export declare class InfinityPlane extends THREE.Object3D {
|
|
3
|
-
raycast(raycaster: THREE.Raycaster, intersects: THREE.Intersection[]): void;
|
|
4
|
-
}
|
|
1
|
+
import * as THREE from 'three';
|
|
2
|
+
export declare class InfinityPlane extends THREE.Object3D {
|
|
3
|
+
raycast(raycaster: THREE.Raycaster, intersects: THREE.Intersection[]): void;
|
|
4
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as THREE from 'three';
|
|
2
|
-
import { Pass } from 'postprocessing';
|
|
3
|
-
export declare class AAPass extends Pass {
|
|
4
|
-
material: THREE.RawShaderMaterial;
|
|
5
|
-
constructor();
|
|
6
|
-
setSize(width: number, height: number): void;
|
|
7
|
-
render(renderer: THREE.WebGLRenderer, inputBuffer: THREE.WebGLRenderTarget, outputBuffer: THREE.WebGLRenderTarget): void;
|
|
8
|
-
}
|
|
1
|
+
import * as THREE from 'three';
|
|
2
|
+
import { Pass } from 'postprocessing';
|
|
3
|
+
export declare class AAPass extends Pass {
|
|
4
|
+
material: THREE.RawShaderMaterial;
|
|
5
|
+
constructor();
|
|
6
|
+
setSize(width: number, height: number): void;
|
|
7
|
+
render(renderer: THREE.WebGLRenderer, inputBuffer: THREE.WebGLRenderTarget, outputBuffer: THREE.WebGLRenderTarget): void;
|
|
8
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import * as THREE from 'three';
|
|
2
|
-
import { Pass, Selection } from 'postprocessing';
|
|
3
|
-
export declare class IDPass extends Pass {
|
|
4
|
-
material: THREE.RawShaderMaterial;
|
|
5
|
-
oldMaterials: Map<THREE.Mesh, THREE.Material>;
|
|
6
|
-
selection: Selection;
|
|
7
|
-
id: number;
|
|
8
|
-
channel: number;
|
|
9
|
-
constructor(scene: THREE.Scene, camera: THREE.Camera);
|
|
10
|
-
get idColor(): THREE.Color;
|
|
11
|
-
render(renderer: THREE.WebGLRenderer, inputBuffer: THREE.WebGLRenderTarget): void;
|
|
12
|
-
}
|
|
1
|
+
import * as THREE from 'three';
|
|
2
|
+
import { Pass, Selection } from 'postprocessing';
|
|
3
|
+
export declare class IDPass extends Pass {
|
|
4
|
+
material: THREE.RawShaderMaterial;
|
|
5
|
+
oldMaterials: Map<THREE.Mesh, THREE.Material>;
|
|
6
|
+
selection: Selection;
|
|
7
|
+
id: number;
|
|
8
|
+
channel: number;
|
|
9
|
+
constructor(scene: THREE.Scene, camera: THREE.Camera);
|
|
10
|
+
get idColor(): THREE.Color;
|
|
11
|
+
render(renderer: THREE.WebGLRenderer, inputBuffer: THREE.WebGLRenderTarget): void;
|
|
12
|
+
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Object3D } from 'three';
|
|
3
|
-
import { OutlineEffect } from './OutlineEffect';
|
|
4
|
-
export declare type OutlineProps = ConstructorParameters<typeof OutlineEffect>[2] & Partial<{
|
|
5
|
-
selections1: Object3D[][];
|
|
6
|
-
selections2: Object3D[][];
|
|
7
|
-
selections3: Object3D[][];
|
|
8
|
-
selectionLayer: number;
|
|
9
|
-
}>;
|
|
10
|
-
export declare const Outline: React.ForwardRefExoticComponent<{
|
|
11
|
-
width?: number | undefined;
|
|
12
|
-
edgeColor1?: [import("three").ColorRepresentation, import("three").ColorRepresentation] | undefined;
|
|
13
|
-
edgeColor2?: [import("three").ColorRepresentation, import("three").ColorRepresentation] | undefined;
|
|
14
|
-
edgeColor3?: [import("three").ColorRepresentation, import("three").ColorRepresentation] | undefined;
|
|
15
|
-
} & Partial<{
|
|
16
|
-
selections1: Object3D[][];
|
|
17
|
-
selections2: Object3D[][];
|
|
18
|
-
selections3: Object3D[][];
|
|
19
|
-
selectionLayer: number;
|
|
20
|
-
}> & React.RefAttributes<OutlineEffect>>;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Object3D } from 'three';
|
|
3
|
+
import { OutlineEffect } from './OutlineEffect';
|
|
4
|
+
export declare type OutlineProps = ConstructorParameters<typeof OutlineEffect>[2] & Partial<{
|
|
5
|
+
selections1: Object3D[][];
|
|
6
|
+
selections2: Object3D[][];
|
|
7
|
+
selections3: Object3D[][];
|
|
8
|
+
selectionLayer: number;
|
|
9
|
+
}>;
|
|
10
|
+
export declare const Outline: React.ForwardRefExoticComponent<{
|
|
11
|
+
width?: number | undefined;
|
|
12
|
+
edgeColor1?: [import("three").ColorRepresentation, import("three").ColorRepresentation] | undefined;
|
|
13
|
+
edgeColor2?: [import("three").ColorRepresentation, import("three").ColorRepresentation] | undefined;
|
|
14
|
+
edgeColor3?: [import("three").ColorRepresentation, import("three").ColorRepresentation] | undefined;
|
|
15
|
+
} & Partial<{
|
|
16
|
+
selections1: Object3D[][];
|
|
17
|
+
selections2: Object3D[][];
|
|
18
|
+
selections3: Object3D[][];
|
|
19
|
+
selectionLayer: number;
|
|
20
|
+
}> & React.RefAttributes<OutlineEffect>>;
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
import * as THREE from 'three';
|
|
2
|
-
import { Effect, ClearPass, ShaderPass, Selection } from 'postprocessing';
|
|
3
|
-
import { IDPass } from './IDPass';
|
|
4
|
-
import { WidenPass } from './WidenPass';
|
|
5
|
-
import { AAPass } from './AAPass';
|
|
6
|
-
export declare class OutlineEffect extends Effect {
|
|
7
|
-
scene: THREE.Scene;
|
|
8
|
-
camera: THREE.Camera;
|
|
9
|
-
idRT: THREE.WebGLRenderTarget;
|
|
10
|
-
outlineRT: THREE.WebGLRenderTarget;
|
|
11
|
-
aaRT: THREE.WebGLRenderTarget;
|
|
12
|
-
clearPass: ClearPass;
|
|
13
|
-
idPass: IDPass;
|
|
14
|
-
outlinePass: ShaderPass;
|
|
15
|
-
widenPass: WidenPass;
|
|
16
|
-
aaPass: AAPass;
|
|
17
|
-
selections1: Selection[];
|
|
18
|
-
selections2: Selection[];
|
|
19
|
-
selections3: Selection[];
|
|
20
|
-
time: number;
|
|
21
|
-
isColorSwitchNeeded: (selection: Selection, color: THREE.Color, colorS: THREE.Color) => boolean;
|
|
22
|
-
processSelection: (renderer: THREE.WebGLRenderer, selection: Selection, color: THREE.Color, colorS: THREE.Color, id: number) => void;
|
|
23
|
-
constructor(scene: THREE.Scene, camera: THREE.Camera, { width, edgeColor1, edgeColor2, edgeColor3, }?: {
|
|
24
|
-
width?: number | undefined;
|
|
25
|
-
edgeColor1?: [THREE.ColorRepresentation, THREE.ColorRepresentation] | undefined;
|
|
26
|
-
edgeColor2?: [THREE.ColorRepresentation, THREE.ColorRepresentation] | undefined;
|
|
27
|
-
edgeColor3?: [THREE.ColorRepresentation, THREE.ColorRepresentation] | undefined;
|
|
28
|
-
});
|
|
29
|
-
set width(value: number);
|
|
30
|
-
set edgeColor1(value: [THREE.ColorRepresentation, THREE.ColorRepresentation]);
|
|
31
|
-
set edgeColor2(value: [THREE.ColorRepresentation, THREE.ColorRepresentation]);
|
|
32
|
-
set edgeColor3(value: [THREE.ColorRepresentation, THREE.ColorRepresentation]);
|
|
33
|
-
set selectionLayer(value: number);
|
|
34
|
-
update(renderer: THREE.WebGLRenderer, inputBuffer: THREE.WebGLRenderTarget, deltaTime: number): void;
|
|
35
|
-
setSize(width: number, height: number): void;
|
|
36
|
-
initialize(renderer: THREE.WebGLRenderer, alpha: boolean, frameBufferType?: number): void;
|
|
37
|
-
}
|
|
1
|
+
import * as THREE from 'three';
|
|
2
|
+
import { Effect, ClearPass, ShaderPass, Selection } from 'postprocessing';
|
|
3
|
+
import { IDPass } from './IDPass';
|
|
4
|
+
import { WidenPass } from './WidenPass';
|
|
5
|
+
import { AAPass } from './AAPass';
|
|
6
|
+
export declare class OutlineEffect extends Effect {
|
|
7
|
+
scene: THREE.Scene;
|
|
8
|
+
camera: THREE.Camera;
|
|
9
|
+
idRT: THREE.WebGLRenderTarget;
|
|
10
|
+
outlineRT: THREE.WebGLRenderTarget;
|
|
11
|
+
aaRT: THREE.WebGLRenderTarget;
|
|
12
|
+
clearPass: ClearPass;
|
|
13
|
+
idPass: IDPass;
|
|
14
|
+
outlinePass: ShaderPass;
|
|
15
|
+
widenPass: WidenPass;
|
|
16
|
+
aaPass: AAPass;
|
|
17
|
+
selections1: Selection[];
|
|
18
|
+
selections2: Selection[];
|
|
19
|
+
selections3: Selection[];
|
|
20
|
+
time: number;
|
|
21
|
+
isColorSwitchNeeded: (selection: Selection, color: THREE.Color, colorS: THREE.Color) => boolean;
|
|
22
|
+
processSelection: (renderer: THREE.WebGLRenderer, selection: Selection, color: THREE.Color, colorS: THREE.Color, id: number) => void;
|
|
23
|
+
constructor(scene: THREE.Scene, camera: THREE.Camera, { width, edgeColor1, edgeColor2, edgeColor3, }?: {
|
|
24
|
+
width?: number | undefined;
|
|
25
|
+
edgeColor1?: [THREE.ColorRepresentation, THREE.ColorRepresentation] | undefined;
|
|
26
|
+
edgeColor2?: [THREE.ColorRepresentation, THREE.ColorRepresentation] | undefined;
|
|
27
|
+
edgeColor3?: [THREE.ColorRepresentation, THREE.ColorRepresentation] | undefined;
|
|
28
|
+
});
|
|
29
|
+
set width(value: number);
|
|
30
|
+
set edgeColor1(value: [THREE.ColorRepresentation, THREE.ColorRepresentation]);
|
|
31
|
+
set edgeColor2(value: [THREE.ColorRepresentation, THREE.ColorRepresentation]);
|
|
32
|
+
set edgeColor3(value: [THREE.ColorRepresentation, THREE.ColorRepresentation]);
|
|
33
|
+
set selectionLayer(value: number);
|
|
34
|
+
update(renderer: THREE.WebGLRenderer, inputBuffer: THREE.WebGLRenderTarget, deltaTime: number): void;
|
|
35
|
+
setSize(width: number, height: number): void;
|
|
36
|
+
initialize(renderer: THREE.WebGLRenderer, alpha: boolean, frameBufferType?: number): void;
|
|
37
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as THREE from 'three';
|
|
2
|
-
export declare class OutlineMaterial extends THREE.ShaderMaterial {
|
|
3
|
-
constructor(texelSize?: THREE.Vector2);
|
|
4
|
-
set inputBuffer(value: THREE.Texture);
|
|
5
|
-
set idColor(value: THREE.Color);
|
|
6
|
-
set isColorSwitchNeeded(value: boolean);
|
|
7
|
-
setTexelSize(x: number, y: number): void;
|
|
8
|
-
setSize(width: number, height: number): void;
|
|
9
|
-
}
|
|
1
|
+
import * as THREE from 'three';
|
|
2
|
+
export declare class OutlineMaterial extends THREE.ShaderMaterial {
|
|
3
|
+
constructor(texelSize?: THREE.Vector2);
|
|
4
|
+
set inputBuffer(value: THREE.Texture);
|
|
5
|
+
set idColor(value: THREE.Color);
|
|
6
|
+
set isColorSwitchNeeded(value: boolean);
|
|
7
|
+
setTexelSize(x: number, y: number): void;
|
|
8
|
+
setSize(width: number, height: number): void;
|
|
9
|
+
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import * as THREE from 'three';
|
|
2
|
-
import { Pass, CopyMaterial } from 'postprocessing';
|
|
3
|
-
export declare class WidenPass extends Pass {
|
|
4
|
-
material: THREE.RawShaderMaterial;
|
|
5
|
-
copyMaterial: CopyMaterial;
|
|
6
|
-
renderTargetA: THREE.WebGLRenderTarget;
|
|
7
|
-
renderTargetB: THREE.WebGLRenderTarget;
|
|
8
|
-
passes: number;
|
|
9
|
-
pxPass: boolean;
|
|
10
|
-
constructor({ width }: {
|
|
11
|
-
width: number;
|
|
12
|
-
});
|
|
13
|
-
set width(value: number);
|
|
14
|
-
setSize(width: number, height: number): void;
|
|
15
|
-
render(renderer: THREE.WebGLRenderer, inputBuffer: THREE.WebGLRenderTarget, outputBuffer: THREE.WebGLRenderTarget): void;
|
|
16
|
-
initialize(renderer: THREE.WebGLRenderer, alpha: boolean, frameBufferType?: number): void;
|
|
17
|
-
}
|
|
1
|
+
import * as THREE from 'three';
|
|
2
|
+
import { Pass, CopyMaterial } from 'postprocessing';
|
|
3
|
+
export declare class WidenPass extends Pass {
|
|
4
|
+
material: THREE.RawShaderMaterial;
|
|
5
|
+
copyMaterial: CopyMaterial;
|
|
6
|
+
renderTargetA: THREE.WebGLRenderTarget;
|
|
7
|
+
renderTargetB: THREE.WebGLRenderTarget;
|
|
8
|
+
passes: number;
|
|
9
|
+
pxPass: boolean;
|
|
10
|
+
constructor({ width }: {
|
|
11
|
+
width: number;
|
|
12
|
+
});
|
|
13
|
+
set width(value: number);
|
|
14
|
+
setSize(width: number, height: number): void;
|
|
15
|
+
render(renderer: THREE.WebGLRenderer, inputBuffer: THREE.WebGLRenderTarget, outputBuffer: THREE.WebGLRenderTarget): void;
|
|
16
|
+
initialize(renderer: THREE.WebGLRenderer, alpha: boolean, frameBufferType?: number): void;
|
|
17
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { DrawingID } from '@buerli.io/core';
|
|
3
|
-
/**
|
|
4
|
-
* Contains combined visible plugin geometry bounding box
|
|
5
|
-
*/
|
|
6
|
-
export declare const PluginGeometryBounds: React.FC<{
|
|
7
|
-
drawingId: DrawingID;
|
|
8
|
-
}>;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { DrawingID } from '@buerli.io/core';
|
|
3
|
+
/**
|
|
4
|
+
* Contains combined visible plugin geometry bounding box
|
|
5
|
+
*/
|
|
6
|
+
export declare const PluginGeometryBounds: React.FC<{
|
|
7
|
+
drawingId: DrawingID;
|
|
8
|
+
}>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { CustomCSys } from './CSysDisplay';
|
|
3
|
-
export declare const SelectableMate: React.FC<CustomCSys>;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { CustomCSys } from './CSysDisplay';
|
|
3
|
+
export declare const SelectableMate: React.FC<CustomCSys>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { DrawingID, ObjectID } from '@buerli.io/core';
|
|
3
|
-
import { FlipType, ReorientedType } from '@buerli.io/classcad';
|
|
4
|
-
export declare const SelectedMateObj: React.FC<{
|
|
5
|
-
drawingId: DrawingID;
|
|
6
|
-
csysId: ObjectID;
|
|
7
|
-
|
|
8
|
-
flip: FlipType;
|
|
9
|
-
|
|
10
|
-
color?: THREE.ColorRepresentation;
|
|
11
|
-
opacity?: number;
|
|
12
|
-
}>;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { DrawingID, ObjectID } from '@buerli.io/core';
|
|
3
|
+
import { FlipType, ReorientedType } from '@buerli.io/classcad';
|
|
4
|
+
export declare const SelectedMateObj: React.FC<{
|
|
5
|
+
drawingId: DrawingID;
|
|
6
|
+
csysId: ObjectID;
|
|
7
|
+
path: ObjectID[];
|
|
8
|
+
flip: FlipType;
|
|
9
|
+
reorient: ReorientedType;
|
|
10
|
+
color?: THREE.ColorRepresentation;
|
|
11
|
+
opacity?: number;
|
|
12
|
+
}>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { DrawingID, ObjectID } from '@buerli.io/core';
|
|
3
|
-
export declare const WorkAxisObj: React.FC<{
|
|
4
|
-
drawingId: DrawingID;
|
|
5
|
-
objectId: ObjectID;
|
|
6
|
-
color?: THREE.ColorRepresentation;
|
|
7
|
-
opacity?: number;
|
|
8
|
-
userData?: any;
|
|
9
|
-
handlers?: any;
|
|
10
|
-
}>;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { DrawingID, ObjectID } from '@buerli.io/core';
|
|
3
|
+
export declare const WorkAxisObj: React.FC<{
|
|
4
|
+
drawingId: DrawingID;
|
|
5
|
+
objectId: ObjectID;
|
|
6
|
+
color?: THREE.ColorRepresentation;
|
|
7
|
+
opacity?: number;
|
|
8
|
+
userData?: any;
|
|
9
|
+
handlers?: any;
|
|
10
|
+
}>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import * as THREE from 'three';
|
|
3
|
-
import { DrawingID, ObjectID } from '@buerli.io/core';
|
|
4
|
-
export declare const WorkCSysObj: React.FC<{
|
|
5
|
-
drawingId: DrawingID;
|
|
6
|
-
objectId: ObjectID;
|
|
7
|
-
color?: THREE.ColorRepresentation;
|
|
8
|
-
opacity?: number;
|
|
9
|
-
userData?: any;
|
|
10
|
-
handlers?: any;
|
|
11
|
-
}>;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import * as THREE from 'three';
|
|
3
|
+
import { DrawingID, ObjectID } from '@buerli.io/core';
|
|
4
|
+
export declare const WorkCSysObj: React.FC<{
|
|
5
|
+
drawingId: DrawingID;
|
|
6
|
+
objectId: ObjectID;
|
|
7
|
+
color?: THREE.ColorRepresentation;
|
|
8
|
+
opacity?: number;
|
|
9
|
+
userData?: any;
|
|
10
|
+
handlers?: any;
|
|
11
|
+
}>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import * as THREE from 'three';
|
|
3
|
-
import { DrawingID, ObjectID } from '@buerli.io/core';
|
|
4
|
-
export declare const WorkCoordSystemObj: React.FC<{
|
|
5
|
-
drawingId: DrawingID;
|
|
6
|
-
objectId: ObjectID;
|
|
7
|
-
color?: THREE.ColorRepresentation;
|
|
8
|
-
opacity?: number;
|
|
9
|
-
userData?: any;
|
|
10
|
-
handlers?: any;
|
|
11
|
-
}>;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import * as THREE from 'three';
|
|
3
|
+
import { DrawingID, ObjectID } from '@buerli.io/core';
|
|
4
|
+
export declare const WorkCoordSystemObj: React.FC<{
|
|
5
|
+
drawingId: DrawingID;
|
|
6
|
+
objectId: ObjectID;
|
|
7
|
+
color?: THREE.ColorRepresentation;
|
|
8
|
+
opacity?: number;
|
|
9
|
+
userData?: any;
|
|
10
|
+
handlers?: any;
|
|
11
|
+
}>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import * as THREE from 'three';
|
|
3
|
-
import { DrawingID, ObjectID } from '@buerli.io/core';
|
|
4
|
-
export declare const WorkPlaneObj: React.FC<{
|
|
5
|
-
drawingId: DrawingID;
|
|
6
|
-
objectId: ObjectID;
|
|
7
|
-
color?: THREE.ColorRepresentation;
|
|
8
|
-
opacity?: number;
|
|
9
|
-
userData?: any;
|
|
10
|
-
handlers?: any;
|
|
11
|
-
}>;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import * as THREE from 'three';
|
|
3
|
+
import { DrawingID, ObjectID } from '@buerli.io/core';
|
|
4
|
+
export declare const WorkPlaneObj: React.FC<{
|
|
5
|
+
drawingId: DrawingID;
|
|
6
|
+
objectId: ObjectID;
|
|
7
|
+
color?: THREE.ColorRepresentation;
|
|
8
|
+
opacity?: number;
|
|
9
|
+
userData?: any;
|
|
10
|
+
handlers?: any;
|
|
11
|
+
}>;
|