@classcad/react-cad 0.0.0-stage → 3.0.0-beta.20261119090857
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/CHANGELOG.md +55 -0
- package/README.md +98 -2
- package/build/components/UI/CAD/Constraints.d.ts +30 -0
- package/build/components/UI/CAD/Drawing.d.ts +83 -0
- package/build/components/UI/CAD/ListPlaceholder.d.ts +3 -0
- package/build/components/UI/CAD/Messages/Message.d.ts +8 -0
- package/build/components/UI/CAD/Messages/Messages.d.ts +43 -0
- package/build/components/UI/CAD/Messages/index.d.ts +1 -0
- package/build/components/UI/CAD/Messages/msgStore.d.ts +18 -0
- package/build/components/UI/CAD/ModelTree/AssemblyNode.d.ts +5 -0
- package/build/components/UI/CAD/ModelTree/FeatureList/Feature.d.ts +8 -0
- package/build/components/UI/CAD/ModelTree/FeatureList/FeatureList.d.ts +6 -0
- package/build/components/UI/CAD/ModelTree/FeatureList/index.d.ts +1 -0
- package/build/components/UI/CAD/ModelTree/FeatureList/utils.d.ts +26 -0
- package/build/components/UI/CAD/ModelTree/ModelTree.d.ts +56 -0
- package/build/components/UI/CAD/ModelTree/ModelTreeHeader.d.ts +15 -0
- package/build/components/UI/CAD/ModelTree/index.d.ts +1 -0
- package/build/components/UI/CAD/ModelTree/primitives.d.ts +6 -0
- package/build/components/UI/CAD/ModelTree/useContextMenuItems.d.ts +4 -0
- package/build/components/UI/CAD/PluginBounds.d.ts +8 -0
- package/build/components/UI/CAD/PluginTooltip.d.ts +5 -0
- package/build/components/UI/CAD/PluginsWindows.d.ts +99 -0
- package/build/components/UI/CAD/ReadOnlyContext.d.ts +10 -0
- package/build/components/UI/CAD/SideBar.d.ts +40 -0
- package/build/components/UI/CAD/Solids/Solids.d.ts +23 -0
- package/build/components/UI/CAD/Solids/index.d.ts +1 -0
- package/build/components/UI/CAD/Solids/useContextMenuItems.d.ts +4 -0
- package/build/components/UI/CAD/Solids/useVisibleSolids.d.ts +30 -0
- package/build/components/UI/CAD/StageHud.d.ts +9 -0
- package/build/components/UI/CAD/StatusBar.d.ts +11 -0
- package/build/components/UI/CAD/ThemeToggle.d.ts +25 -0
- package/build/components/UI/CAD/ToolBar/AssemblyModeCmds.d.ts +3 -0
- package/build/components/UI/CAD/ToolBar/PartModeCmds.d.ts +3 -0
- package/build/components/UI/CAD/ToolBar/ToolBar.d.ts +24 -0
- package/build/components/UI/CAD/ToolBar/index.d.ts +1 -0
- package/build/components/UI/CAD/ToolBar/useCommands.d.ts +12 -0
- package/build/components/UI/CAD/ViewOptionsBar/ViewOptionButtons.d.ts +30 -0
- package/build/components/UI/CAD/ViewOptionsBar/useOptionCommands.d.ts +65 -0
- package/build/components/UI/CAD/ViewPlugButtons.d.ts +43 -0
- package/build/components/UI/CAD/ant-design-draggable-modal/DraggableModal.d.ts +18 -0
- package/build/components/UI/CAD/ant-design-draggable-modal/DraggableModalContext.d.ts +9 -0
- package/build/components/UI/CAD/ant-design-draggable-modal/DraggableModalInner.d.ts +27 -0
- package/build/components/UI/CAD/ant-design-draggable-modal/DraggableModalProvider.d.ts +4 -0
- package/build/components/UI/CAD/ant-design-draggable-modal/OverlayScrollbar.d.ts +6 -0
- package/build/components/UI/CAD/ant-design-draggable-modal/ResizeHandle.d.ts +2 -0
- package/build/components/UI/CAD/ant-design-draggable-modal/clamp.d.ts +1 -0
- package/build/components/UI/CAD/ant-design-draggable-modal/draggableModalReducer.d.ts +123 -0
- package/build/components/UI/CAD/ant-design-draggable-modal/getWindowSize.d.ts +4 -0
- package/build/components/UI/CAD/ant-design-draggable-modal/index.d.ts +3 -0
- package/build/components/UI/CAD/ant-design-draggable-modal/useDrag.d.ts +5 -0
- package/build/components/UI/CAD/ant-design-draggable-modal/usePrevious.d.ts +1 -0
- package/build/components/UI/CAD/ant-design-draggable-modal/useResize.d.ts +7 -0
- package/build/components/UI/CAD/common/BlankDiv.d.ts +3 -0
- package/build/components/UI/CAD/common/Collapse.d.ts +13 -0
- package/build/components/UI/CAD/common/ContextMenu.d.ts +115 -0
- package/build/components/UI/CAD/common/Divider.d.ts +4 -0
- package/build/components/UI/CAD/common/EntityName.d.ts +14 -0
- package/build/components/UI/CAD/common/Img.d.ts +6 -0
- package/build/components/UI/CAD/common/LoadingScreen/LoadingScreen.d.ts +8 -0
- package/build/components/UI/CAD/common/LoadingScreen/Spinner.d.ts +3 -0
- package/build/components/UI/CAD/common/LoadingScreen/index.d.ts +1 -0
- package/build/components/UI/CAD/common/Menu.d.ts +81 -0
- package/build/components/UI/CAD/common/MultiSelect.d.ts +12 -0
- package/build/components/UI/CAD/common/NameEdit.d.ts +7 -0
- package/build/components/UI/CAD/common/SectionHeader.d.ts +9 -0
- package/build/components/UI/CAD/common/primitives.d.ts +36 -0
- package/build/components/UI/CAD/common/reveal.d.ts +12 -0
- package/build/components/UI/CAD/hooks/index.d.ts +13 -0
- package/build/components/UI/CAD/hooks/useContextMenuInteraction.d.ts +7 -0
- package/build/components/UI/CAD/hooks/useContextMenuItems.d.ts +4 -0
- package/build/components/UI/CAD/hooks/useCurrentInstance.d.ts +2 -0
- package/build/components/UI/CAD/hooks/useCurrentProduct.d.ts +2 -0
- package/build/components/UI/CAD/hooks/useEditMode.d.ts +40 -0
- package/build/components/UI/CAD/hooks/useFeatureCount.d.ts +6 -0
- package/build/components/UI/CAD/hooks/useGlobalMateInfo.d.ts +6 -0
- package/build/components/UI/CAD/hooks/useHasPending.d.ts +27 -0
- package/build/components/UI/CAD/hooks/useIsDisabled.d.ts +2 -0
- package/build/components/UI/CAD/hooks/useIsLoading.d.ts +25 -0
- package/build/components/UI/CAD/hooks/useIsSketchActive.d.ts +26 -0
- package/build/components/UI/CAD/hooks/useObjectDetails.d.ts +12 -0
- package/build/components/UI/CAD/hooks/useOperationSequence.d.ts +29 -0
- package/build/components/UI/CAD/hooks/useRollbackBar.d.ts +8 -0
- package/build/components/UI/CAD/hooks/useRoot.d.ts +2 -0
- package/build/components/UI/CAD/index.d.ts +27 -0
- package/build/components/UI/CAD/plugins/ProductManagement/ProdTable.d.ts +10 -0
- package/build/components/UI/CAD/plugins/ProductManagement/Root.d.ts +11 -0
- package/build/components/UI/CAD/plugins/ProductManagement/View.d.ts +11 -0
- package/build/components/UI/CAD/plugins/ProductManagement/index.d.ts +34 -0
- package/build/components/UI/CAD/plugins/ProductManagement/types.d.ts +4 -0
- package/build/components/UI/CAD/plugins/ProductManagement/useContextMenuItems.d.ts +4 -0
- package/build/components/UI/CAD/plugins/SessionManagement/Root.d.ts +11 -0
- package/build/components/UI/CAD/plugins/SessionManagement/index.d.ts +36 -0
- package/build/components/UI/CAD/plugins/SessionManagement/types.d.ts +3 -0
- package/build/components/UI/CAD/store/CADActions.d.ts +29 -0
- package/build/components/UI/CAD/store/CADStore.d.ts +68 -0
- package/build/components/UI/CAD/store/instances.d.ts +7 -0
- package/build/components/UI/Readfile.d.ts +39 -0
- package/build/components/UI/ThemeVars.d.ts +6 -0
- package/build/components/UI/editors/BooleanEditor/BooleanEditor.d.ts +8 -0
- package/build/components/UI/editors/BooleanEditor/index.d.ts +2 -0
- package/build/components/UI/editors/BooleanEditor/useBoolParam.d.ts +3 -0
- package/build/components/UI/editors/CSysEditor/CSysEditor.d.ts +11 -0
- package/build/components/UI/editors/CSysEditor/index.d.ts +2 -0
- package/build/components/UI/editors/CSysEditor/useCSysParam.d.ts +9 -0
- package/build/components/UI/editors/ColorEditor/ColorEditor.d.ts +12 -0
- package/build/components/UI/editors/ColorEditor/index.d.ts +2 -0
- package/build/components/UI/editors/ColorEditor/useColorParam.d.ts +9 -0
- package/build/components/UI/editors/ExpressionEditor/ExpressionEditor.d.ts +20 -0
- package/build/components/UI/editors/ExpressionEditor/index.d.ts +2 -0
- package/build/components/UI/editors/ExpressionEditor/useExpressionsParam.d.ts +5 -0
- package/build/components/UI/editors/NumberEditor/Inputs.d.ts +18 -0
- package/build/components/UI/editors/NumberEditor/Mentions.d.ts +10 -0
- package/build/components/UI/editors/NumberEditor/NumOrExpr.d.ts +12 -0
- package/build/components/UI/editors/NumberEditor/NumberEditor.d.ts +12 -0
- package/build/components/UI/editors/NumberEditor/index.d.ts +2 -0
- package/build/components/UI/editors/NumberEditor/useNumParam.d.ts +5 -0
- package/build/components/UI/editors/PointEditor/PointEditor.d.ts +10 -0
- package/build/components/UI/editors/PointEditor/index.d.ts +2 -0
- package/build/components/UI/editors/PointEditor/usePointParam.d.ts +5 -0
- package/build/components/UI/editors/RefsEditors/ChainFinder.d.ts +12 -0
- package/build/components/UI/editors/RefsEditors/MateEditor.d.ts +13 -0
- package/build/components/UI/editors/RefsEditors/MateOrientationEditor.d.ts +9 -0
- package/build/components/UI/editors/RefsEditors/RefEditor.d.ts +24 -0
- package/build/components/UI/editors/RefsEditors/RefsEditor.d.ts +16 -0
- package/build/components/UI/editors/RefsEditors/index.d.ts +8 -0
- package/build/components/UI/editors/RefsEditors/pickers.d.ts +4 -0
- package/build/components/UI/editors/RefsEditors/useIdParam.d.ts +3 -0
- package/build/components/UI/editors/RefsEditors/useMateParam.d.ts +19 -0
- package/build/components/UI/editors/RefsEditors/useModes.d.ts +11 -0
- package/build/components/UI/editors/RefsEditors/useRefsParam.d.ts +3 -0
- package/build/components/UI/editors/RefsEditors/useSelectedItems.d.ts +18 -0
- package/build/components/UI/editors/ToleranceEditor/ToleranceEditor.d.ts +7 -0
- package/build/components/UI/editors/ToleranceEditor/index.d.ts +2 -0
- package/build/components/UI/editors/ToleranceEditor/useToleranceParam.d.ts +3 -0
- package/build/components/UI/editors/TypeEditor/TypeEditor.d.ts +10 -0
- package/build/components/UI/editors/TypeEditor/index.d.ts +2 -0
- package/build/components/UI/editors/TypeEditor/useTypeParam.d.ts +3 -0
- package/build/components/UI/editors/TypeWrapper.d.ts +6 -0
- package/build/components/UI/editors/Wrapper.d.ts +16 -0
- package/build/components/UI/editors/useParam.d.ts +20 -0
- package/build/components/UI/editors/useValidation.d.ts +4 -0
- package/build/components/graphics/Badge.d.ts +70 -0
- package/build/components/graphics/CSysDisplay.d.ts +108 -0
- package/build/components/graphics/CompositeCurveObj.d.ts +33 -0
- package/build/components/graphics/GeometryOverrides/GeometryOverridesManager.d.ts +41 -0
- package/build/components/graphics/GeometryOverrides/GeometryOverridesStore.d.ts +28 -0
- package/build/components/graphics/GeometryOverrides/index.d.ts +2 -0
- package/build/components/graphics/GeometryOverrides/useOverrideGeometryColor.d.ts +36 -0
- package/build/components/graphics/HUD.d.ts +44 -0
- package/build/components/graphics/HoveredConstraintDisplay.d.ts +24 -0
- package/build/components/graphics/InfinityPlane.d.ts +4 -0
- package/build/components/graphics/Outlines/AAPass.d.ts +8 -0
- package/build/components/graphics/Outlines/IDPass.d.ts +12 -0
- package/build/components/graphics/Outlines/Outline.d.ts +62 -0
- package/build/components/graphics/Outlines/OutlineEffect.d.ts +48 -0
- package/build/components/graphics/Outlines/OutlineMaterial.d.ts +9 -0
- package/build/components/graphics/Outlines/WidenPass.d.ts +17 -0
- package/build/components/graphics/PluginGeometryBounds.d.ts +40 -0
- package/build/components/graphics/SelectableMate.d.ts +3 -0
- package/build/components/graphics/SelectedMateObj.d.ts +54 -0
- package/build/components/graphics/StageLook.d.ts +51 -0
- package/build/components/graphics/WorkAxisObj.d.ts +33 -0
- package/build/components/graphics/WorkCSysObj.d.ts +33 -0
- package/build/components/graphics/WorkCoordSystemObj.d.ts +32 -0
- package/build/components/graphics/WorkPlaneObj.d.ts +33 -0
- package/build/components/graphics/WorkPointObj.d.ts +57 -0
- package/build/components/graphics/graphics.d.ts +61 -0
- package/build/components/graphics/utils/MatePathTransform.d.ts +10 -0
- package/build/components/graphics/utils/useCsysMatrix.d.ts +4 -0
- package/build/components/utils/CompValidation/ErrorBoundary.d.ts +28 -0
- package/build/components/utils/CompValidation/validators/CSysDisplayValidator.d.ts +12 -0
- package/build/components/utils/CompValidation/validators/DrawingValidator.d.ts +12 -0
- package/build/components/utils/CompValidation/validators/ExpressionsValidator.d.ts +12 -0
- package/build/components/utils/CompValidation/validators/FPluginValidator.d.ts +16 -0
- package/build/components/utils/CompValidation/validators/FeatureListValidator.d.ts +12 -0
- package/build/components/utils/CompValidation/validators/ProductManagementValidator.d.ts +14 -0
- package/build/components/utils/CompValidation/verifiers.d.ts +32 -0
- package/build/components/utils/FtVisibilityController.d.ts +26 -0
- package/build/elements/index.d.ts +162 -0
- package/build/icons/axes.d.ts +73 -0
- package/build/icons/draw.d.ts +75 -0
- package/build/icons/features.d.ts +71 -0
- package/build/icons/glyphs.d.ts +10 -0
- package/build/icons/index.d.ts +152 -0
- package/build/icons/legacy.d.ts +159 -0
- package/build/icons/mates.d.ts +26 -0
- package/build/icons/params.d.ts +77 -0
- package/build/icons/refs.d.ts +61 -0
- package/build/icons/sheets.d.ts +302 -0
- package/build/icons/sketch.d.ts +102 -0
- package/build/icons/types.d.ts +74 -0
- package/build/icons/ui.d.ts +114 -0
- package/build/icons.cjs.js +1751 -0
- package/build/icons.js +1742 -0
- package/build/index.cjs.js +44948 -0
- package/build/index.d.ts +115 -0
- package/build/index.js +44800 -0
- package/build/plugins/AppearanceEditor/Root.d.ts +12 -0
- package/build/plugins/AppearanceEditor/index.d.ts +42 -0
- package/build/plugins/Boolean/Root.d.ts +11 -0
- package/build/plugins/Boolean/index.d.ts +39 -0
- package/build/plugins/BoundingBoxInfo/Root.d.ts +12 -0
- package/build/plugins/BoundingBoxInfo/View.d.ts +11 -0
- package/build/plugins/BoundingBoxInfo/index.d.ts +35 -0
- package/build/plugins/Box/Root.d.ts +11 -0
- package/build/plugins/Box/index.d.ts +34 -0
- package/build/plugins/Chamfer/Root.d.ts +11 -0
- package/build/plugins/Chamfer/index.d.ts +35 -0
- package/build/plugins/CircularPattern/Root.d.ts +11 -0
- package/build/plugins/CircularPattern/index.d.ts +35 -0
- package/build/plugins/CompositeCurve/Root.d.ts +11 -0
- package/build/plugins/CompositeCurve/View.d.ts +11 -0
- package/build/plugins/CompositeCurve/index.d.ts +36 -0
- package/build/plugins/Cone/Root.d.ts +11 -0
- package/build/plugins/Cone/index.d.ts +36 -0
- package/build/plugins/Cylinder/Root.d.ts +11 -0
- package/build/plugins/Cylinder/index.d.ts +35 -0
- package/build/plugins/Dimensions/DimContext.d.ts +10 -0
- package/build/plugins/Dimensions/Root.d.ts +11 -0
- package/build/plugins/Dimensions/View.d.ts +11 -0
- package/build/plugins/Dimensions/graphics/DimGraphics.d.ts +7 -0
- package/build/plugins/Dimensions/graphics/DimensionSet.d.ts +8 -0
- package/build/plugins/Dimensions/graphics/primitives.d.ts +34 -0
- package/build/plugins/Dimensions/index.d.ts +34 -0
- package/build/plugins/Dimensions/utils.d.ts +5 -0
- package/build/plugins/EntityDeletion/Root.d.ts +11 -0
- package/build/plugins/EntityDeletion/index.d.ts +34 -0
- package/build/plugins/Expressions/Root.d.ts +11 -0
- package/build/plugins/Expressions/index.d.ts +34 -0
- package/build/plugins/Expressions/useContextMenuItems.d.ts +4 -0
- package/build/plugins/Extrusion/Root.d.ts +11 -0
- package/build/plugins/Extrusion/View.d.ts +11 -0
- package/build/plugins/Extrusion/index.d.ts +50 -0
- package/build/plugins/Fillet/Root.d.ts +11 -0
- package/build/plugins/Fillet/index.d.ts +35 -0
- package/build/plugins/HLConstraints/CircularPattern/Root.d.ts +11 -0
- package/build/plugins/HLConstraints/CircularPattern/View.d.ts +11 -0
- package/build/plugins/HLConstraints/CircularPattern/index.d.ts +38 -0
- package/build/plugins/HLConstraints/Cylindrical/Root.d.ts +11 -0
- package/build/plugins/HLConstraints/Cylindrical/View.d.ts +11 -0
- package/build/plugins/HLConstraints/Cylindrical/index.d.ts +37 -0
- package/build/plugins/HLConstraints/Fastened/Root.d.ts +11 -0
- package/build/plugins/HLConstraints/Fastened/View.d.ts +11 -0
- package/build/plugins/HLConstraints/Fastened/index.d.ts +37 -0
- package/build/plugins/HLConstraints/FastenedOrigin/Root.d.ts +11 -0
- package/build/plugins/HLConstraints/FastenedOrigin/View.d.ts +11 -0
- package/build/plugins/HLConstraints/FastenedOrigin/index.d.ts +37 -0
- package/build/plugins/HLConstraints/Gear/Root.d.ts +11 -0
- package/build/plugins/HLConstraints/Gear/View.d.ts +11 -0
- package/build/plugins/HLConstraints/Gear/index.d.ts +36 -0
- package/build/plugins/HLConstraints/Group/Root.d.ts +11 -0
- package/build/plugins/HLConstraints/Group/index.d.ts +34 -0
- package/build/plugins/HLConstraints/LinearPattern/Root.d.ts +11 -0
- package/build/plugins/HLConstraints/LinearPattern/View.d.ts +11 -0
- package/build/plugins/HLConstraints/LinearPattern/index.d.ts +38 -0
- package/build/plugins/HLConstraints/Parallel/Root.d.ts +11 -0
- package/build/plugins/HLConstraints/Parallel/View.d.ts +11 -0
- package/build/plugins/HLConstraints/Parallel/index.d.ts +37 -0
- package/build/plugins/HLConstraints/Planar/Root.d.ts +11 -0
- package/build/plugins/HLConstraints/Planar/View.d.ts +11 -0
- package/build/plugins/HLConstraints/Planar/index.d.ts +37 -0
- package/build/plugins/HLConstraints/Revolute/Root.d.ts +11 -0
- package/build/plugins/HLConstraints/Revolute/View.d.ts +11 -0
- package/build/plugins/HLConstraints/Revolute/index.d.ts +37 -0
- package/build/plugins/HLConstraints/Slider/Root.d.ts +11 -0
- package/build/plugins/HLConstraints/Slider/View.d.ts +11 -0
- package/build/plugins/HLConstraints/Slider/index.d.ts +37 -0
- package/build/plugins/HLConstraints/Spherical/Root.d.ts +11 -0
- package/build/plugins/HLConstraints/Spherical/View.d.ts +11 -0
- package/build/plugins/HLConstraints/Spherical/index.d.ts +36 -0
- package/build/plugins/HLConstraints/components/CSysDisplayWrapper.d.ts +7 -0
- package/build/plugins/HLConstraints/components/HLConstrIcon.d.ts +7 -0
- package/build/plugins/HLConstraints/components/LimitedValue.d.ts +12 -0
- package/build/plugins/HLConstraints/components/Limits.d.ts +25 -0
- package/build/plugins/HLConstraints/components/LimitsCollapse.d.ts +12 -0
- package/build/plugins/HLConstraints/validators.d.ts +2 -0
- package/build/plugins/Import/Root.d.ts +11 -0
- package/build/plugins/Import/index.d.ts +35 -0
- package/build/plugins/LinearPattern/Root.d.ts +11 -0
- package/build/plugins/LinearPattern/index.d.ts +36 -0
- package/build/plugins/Measure/Digits.d.ts +7 -0
- package/build/plugins/Measure/Root.d.ts +11 -0
- package/build/plugins/Measure/View.d.ts +15 -0
- package/build/plugins/Measure/config.d.ts +1 -0
- package/build/plugins/Measure/graphics/MeasureGraphics.d.ts +24 -0
- package/build/plugins/Measure/index.d.ts +39 -0
- package/build/plugins/Measure/utils.d.ts +2 -0
- package/build/plugins/Mirror/Root.d.ts +11 -0
- package/build/plugins/Mirror/index.d.ts +34 -0
- package/build/plugins/Revolve/Root.d.ts +11 -0
- package/build/plugins/Revolve/index.d.ts +37 -0
- package/build/plugins/Rotate/Root.d.ts +11 -0
- package/build/plugins/Rotate/index.d.ts +35 -0
- package/build/plugins/Sketch/Root/Constraints/Constraints.d.ts +2 -0
- package/build/plugins/Sketch/Root/Constraints/constraintsHelpers.d.ts +22 -0
- package/build/plugins/Sketch/Root/Constraints/index.d.ts +2 -0
- package/build/plugins/Sketch/Root/Constraints/utils.d.ts +6 -0
- package/build/plugins/Sketch/Root/CopyPatterns.d.ts +2 -0
- package/build/plugins/Sketch/Root/Details.d.ts +2 -0
- package/build/plugins/Sketch/Root/Handlers.d.ts +2 -0
- package/build/plugins/Sketch/Root/PlaneSelection.d.ts +7 -0
- package/build/plugins/Sketch/Root/Position.d.ts +2 -0
- package/build/plugins/Sketch/Root/Regions.d.ts +2 -0
- package/build/plugins/Sketch/Root/Root.d.ts +11 -0
- package/build/plugins/Sketch/Root/RootContext.d.ts +7 -0
- package/build/plugins/Sketch/Root/SketchGroup.d.ts +15 -0
- package/build/plugins/Sketch/Root/index.d.ts +1 -0
- package/build/plugins/Sketch/Root/useContextMenuItems.d.ts +4 -0
- package/build/plugins/Sketch/Root/useLayoutSize.d.ts +11 -0
- package/build/plugins/Sketch/View/View.d.ts +11 -0
- package/build/plugins/Sketch/View/ViewContext.d.ts +8 -0
- package/build/plugins/Sketch/View/graphics/Constraints.d.ts +5 -0
- package/build/plugins/Sketch/View/graphics/IconGroups.d.ts +7 -0
- package/build/plugins/Sketch/View/graphics/Merged/Arc.d.ts +20 -0
- package/build/plugins/Sketch/View/graphics/Merged/ArcGeometry.d.ts +2 -0
- package/build/plugins/Sketch/View/graphics/Merged/ArcMaterial.d.ts +2 -0
- package/build/plugins/Sketch/View/graphics/Merged/Bezier.d.ts +19 -0
- package/build/plugins/Sketch/View/graphics/Merged/BezierGeometry.d.ts +12 -0
- package/build/plugins/Sketch/View/graphics/Merged/BezierMaterial.d.ts +2 -0
- package/build/plugins/Sketch/View/graphics/Merged/Circle.d.ts +9 -0
- package/build/plugins/Sketch/View/graphics/Merged/Line.d.ts +15 -0
- package/build/plugins/Sketch/View/graphics/Merged/LineGeometry.d.ts +2 -0
- package/build/plugins/Sketch/View/graphics/Merged/LineMaterial.d.ts +2 -0
- package/build/plugins/Sketch/View/graphics/Merged/MergedWrapper.d.ts +16 -0
- package/build/plugins/Sketch/View/graphics/Merged/Point.d.ts +8 -0
- package/build/plugins/Sketch/View/graphics/Merged/Spline.d.ts +17 -0
- package/build/plugins/Sketch/View/graphics/Merged/SplineGeometry.d.ts +11 -0
- package/build/plugins/Sketch/View/graphics/Merged/SplineMaterial.d.ts +2 -0
- package/build/plugins/Sketch/View/graphics/MousePosition.d.ts +2 -0
- package/build/plugins/Sketch/View/graphics/Regions.d.ts +5 -0
- package/build/plugins/Sketch/View/graphics/TmpAngularDimension.d.ts +8 -0
- package/build/plugins/Sketch/View/graphics/graphics.d.ts +5 -0
- package/build/plugins/Sketch/View/graphics/hooks.d.ts +49 -0
- package/build/plugins/Sketch/View/graphics/primitives.d.ts +34 -0
- package/build/plugins/Sketch/View/graphics/scale.d.ts +6 -0
- package/build/plugins/Sketch/View/graphics/tmpGraphics.d.ts +3 -0
- package/build/plugins/Sketch/View/graphics/transform.d.ts +4 -0
- package/build/plugins/Sketch/View/handlers/CreateAngle.d.ts +3 -0
- package/build/plugins/Sketch/View/handlers/CreateConstraint.d.ts +10 -0
- package/build/plugins/Sketch/View/handlers/Drag.d.ts +3 -0
- package/build/plugins/Sketch/View/handlers/DrawArc.d.ts +3 -0
- package/build/plugins/Sketch/View/handlers/DrawCircle.d.ts +3 -0
- package/build/plugins/Sketch/View/handlers/DrawLine.d.ts +3 -0
- package/build/plugins/Sketch/View/handlers/DrawNurbs.d.ts +3 -0
- package/build/plugins/Sketch/View/handlers/DrawPoint.d.ts +3 -0
- package/build/plugins/Sketch/View/handlers/DrawRectangle.d.ts +3 -0
- package/build/plugins/Sketch/View/handlers/Fillet.d.ts +3 -0
- package/build/plugins/Sketch/View/handlers/HandlersConstructors.d.ts +33 -0
- package/build/plugins/Sketch/View/handlers/Hover.d.ts +3 -0
- package/build/plugins/Sketch/View/handlers/SSelect.d.ts +3 -0
- package/build/plugins/Sketch/View/handlers/Split.d.ts +3 -0
- package/build/plugins/Sketch/View/handlers/Trim.d.ts +3 -0
- package/build/plugins/Sketch/View/handlers/Use.d.ts +3 -0
- package/build/plugins/Sketch/View/handlers/constraintCreation.d.ts +10 -0
- package/build/plugins/Sketch/View/handlers/filletHelpers.d.ts +24 -0
- package/build/plugins/Sketch/View/handlers/hoverHelpers.d.ts +3 -0
- package/build/plugins/Sketch/View/handlers/snapper.d.ts +11 -0
- package/build/plugins/Sketch/View/handlers/splitHelpers.d.ts +20 -0
- package/build/plugins/Sketch/View/index.d.ts +1 -0
- package/build/plugins/Sketch/constants.d.ts +5 -0
- package/build/plugins/Sketch/description.d.ts +7 -0
- package/build/plugins/Sketch/index.d.ts +35 -0
- package/build/plugins/Sketch/resources.d.ts +5 -0
- package/build/plugins/Sketch/types.d.ts +148 -0
- package/build/plugins/Sketch/utils/Interaction.d.ts +7 -0
- package/build/plugins/Sketch/utils/OverdefinedStateManager.d.ts +6 -0
- package/build/plugins/Sketch/utils/getSketchState.d.ts +3 -0
- package/build/plugins/Sketch/utils/useSketchRegions.d.ts +2 -0
- package/build/plugins/Sketch/utils/useSketchState.d.ts +3 -0
- package/build/plugins/Slice/Root.d.ts +11 -0
- package/build/plugins/Slice/index.d.ts +34 -0
- package/build/plugins/SliceBySheet/Root.d.ts +11 -0
- package/build/plugins/SliceBySheet/index.d.ts +35 -0
- package/build/plugins/Sphere/Root.d.ts +11 -0
- package/build/plugins/Sphere/index.d.ts +35 -0
- package/build/plugins/TransformByCsys/Root.d.ts +11 -0
- package/build/plugins/TransformByCsys/index.d.ts +35 -0
- package/build/plugins/Translate/Root.d.ts +11 -0
- package/build/plugins/Translate/index.d.ts +35 -0
- package/build/plugins/Twist/Root.d.ts +11 -0
- package/build/plugins/Twist/View.d.ts +11 -0
- package/build/plugins/Twist/index.d.ts +48 -0
- package/build/plugins/WorkAxis/Root.d.ts +11 -0
- package/build/plugins/WorkAxis/View.d.ts +11 -0
- package/build/plugins/WorkAxis/index.d.ts +37 -0
- package/build/plugins/WorkCSys/Root.d.ts +11 -0
- package/build/plugins/WorkCSys/View.d.ts +11 -0
- package/build/plugins/WorkCSys/index.d.ts +53 -0
- package/build/plugins/WorkCoordSystem/Root.d.ts +11 -0
- package/build/plugins/WorkCoordSystem/View.d.ts +11 -0
- package/build/plugins/WorkCoordSystem/index.d.ts +55 -0
- package/build/plugins/WorkPlane/Root.d.ts +11 -0
- package/build/plugins/WorkPlane/View.d.ts +11 -0
- package/build/plugins/WorkPlane/index.d.ts +38 -0
- package/build/plugins/WorkPlane/validators.d.ts +1 -0
- package/build/plugins/WorkPoint/Root.d.ts +11 -0
- package/build/plugins/WorkPoint/View.d.ts +11 -0
- package/build/plugins/WorkPoint/index.d.ts +38 -0
- package/build/plugins/components/PluginForm.d.ts +24 -0
- package/build/plugins/utils/useRefsReset.d.ts +2 -0
- package/build/session/identity.d.ts +46 -0
- package/build/session/sessionClient.d.ts +140 -0
- package/build/session/types.d.ts +52 -0
- package/build/session/viewpoints.d.ts +90 -0
- package/build/theme/AppStyle.d.ts +33 -0
- package/build/theme/fonts/mono.d.ts +29 -0
- package/build/theme/stage.d.ts +148 -0
- package/build/theme/styles/antdChoices.d.ts +1 -0
- package/build/theme/styles/antdControls.d.ts +1 -0
- package/build/theme/styles/antdSurfaces.d.ts +1 -0
- package/build/theme/styles/editors.d.ts +1 -0
- package/build/theme/styles/fields.d.ts +1 -0
- package/build/theme/styles/frame.d.ts +1 -0
- package/build/theme/styles/panes.d.ts +1 -0
- package/build/theme/styles/parts.d.ts +2 -0
- package/build/theme/styles/rest.d.ts +1 -0
- package/build/theme/styles/sketch.d.ts +1 -0
- package/build/theme/styles/toolbar.d.ts +1 -0
- package/build/theme/styles/tools.d.ts +1 -0
- package/build/theme/styles/windows.d.ts +1 -0
- package/build/theme/themeStore.d.ts +305 -0
- package/build/types/jsx-compat.d.ts +8 -0
- package/build/types.d.ts +16 -0
- package/build/utils/FileUtils.d.ts +20 -0
- package/build/utils/bezierMatrices.d.ts +3 -0
- package/build/utils/conversionUtils.d.ts +78 -0
- package/build/utils/cubicSplineInterpolation.d.ts +5 -0
- package/build/utils/defaultValues.d.ts +3 -0
- package/build/utils/drawing/index.d.ts +3 -0
- package/build/utils/drawing/useDrawingArr.d.ts +10 -0
- package/build/utils/drawing/useDrawingCCId.d.ts +10 -0
- package/build/utils/drawing/useDrawingStr.d.ts +10 -0
- package/build/utils/getHighlightedColor.d.ts +6 -0
- package/build/utils/getMatePath.d.ts +2 -0
- package/build/utils/getMateRefIds.d.ts +30 -0
- package/build/utils/helpers.d.ts +19 -0
- package/build/utils/mateUtils.d.ts +35 -0
- package/build/utils/nurbsUtils.d.ts +35 -0
- package/build/utils/selection/filters.d.ts +12 -0
- package/build/utils/selection/scopes/mateSelection.d.ts +49 -0
- package/build/utils/selection/scopes/treeObjInteraction.d.ts +74 -0
- package/build/utils/selection/useSelectorsOrder.d.ts +12 -0
- package/build/utils/sketchIntersectionUtils.d.ts +139 -0
- package/build/utils/sketchUtils.d.ts +235 -0
- package/build/utils/useAllObjects.d.ts +31 -0
- package/build/utils/useIsUncommited.d.ts +2 -0
- package/build/utils/useRetainVisibility.d.ts +2 -0
- package/build/utils/useScale.d.ts +5 -0
- package/build/utils/validation.d.ts +11 -0
- package/doc/api/advanced/session.md +646 -0
- package/doc/api/advanced/utilities.md +1306 -0
- package/doc/api/assembly-constraints.md +340 -0
- package/doc/api/feature-plugins.md +613 -0
- package/doc/api/graphics.md +848 -0
- package/doc/api/hooks.md +300 -0
- package/doc/api/icons.md +812 -0
- package/doc/api/index.md +87 -0
- package/doc/api/other.md +369 -0
- package/doc/api/panels.md +754 -0
- package/doc/api/theme.md +551 -0
- package/doc/api/tool-plugins.md +191 -0
- package/doc/api/ui-elements.md +310 -0
- package/doc/api/work-geometry.md +154 -0
- package/icons/package.json +8 -0
- package/package.json +108 -4
- package/tools/fonts/brotli.py +29 -0
- package/tools/fonts/build.py +76 -0
- package/tools/icons/preview.mjs +74 -0
- package/tsconfig.build.json +16 -0
- package/typedoc.json +18 -0
- package/vitest.config.mts +25 -0
package/doc/api/icons.md
ADDED
|
@@ -0,0 +1,812 @@
|
|
|
1
|
+
# Icons
|
|
2
|
+
|
|
3
|
+
The app's icons: small drawings in two tones of ink, by name. They are also in `@classcad/react-cad/icons`, with
|
|
4
|
+
nothing but React.
|
|
5
|
+
|
|
6
|
+
## Components
|
|
7
|
+
|
|
8
|
+
### Icon {#icon}
|
|
9
|
+
|
|
10
|
+
```ts
|
|
11
|
+
const Icon: React.FC<IconProps>;
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
Draws one of the app's icons: a sign on a 20 × 20 sheet, in two tones of the theme's ink.
|
|
15
|
+
|
|
16
|
+
It is an inline `<svg>` that the stylesheet ([AppStyle](theme.md#appstyle)) inks: its lines are the theme's ink, what a sign
|
|
17
|
+
is done to is grey, and an axis is in its own colour. It is given the drawing's `name`, or a `url` that is a
|
|
18
|
+
reference ([iconRef](#iconref)) or an image's url, which it shows as an `<img>`. A name that has no drawing shows a
|
|
19
|
+
dashed square. The drawings are [icons](#icons). Its props: [IconProps](#iconprops).
|
|
20
|
+
|
|
21
|
+
#### Example
|
|
22
|
+
|
|
23
|
+
```tsx
|
|
24
|
+
// on a page that only needs the icons: nothing but React
|
|
25
|
+
import { Icon, iconDataUrl, iconRef } from '@classcad/react-cad/icons'
|
|
26
|
+
|
|
27
|
+
const ToolButton = ({ onClick }: { onClick: () => void }) => (
|
|
28
|
+
<button className="rcad-tool" onClick={onClick} title="Extrude">
|
|
29
|
+
<Icon name="extrusion" size={20} />
|
|
30
|
+
</button>
|
|
31
|
+
)
|
|
32
|
+
// a reference goes where an image's url went before; an image's url still shows as an <img>
|
|
33
|
+
const Fillet = () => <Icon url={iconRef('fillet')} size={16} title="Fillet" />
|
|
34
|
+
const Logo = () => <Icon url="/logo.svg" size={24} title="Our app" />
|
|
35
|
+
// where no stylesheet reaches: the same drawing in colours of its own
|
|
36
|
+
const Favicon = () => <link rel="icon" href={iconDataUrl('part', { ink: '#e7000b' }, 32)} />
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## Objects
|
|
40
|
+
|
|
41
|
+
### icons {#icons}
|
|
42
|
+
|
|
43
|
+
```ts
|
|
44
|
+
const icons: {
|
|
45
|
+
angle: IconLayer[];
|
|
46
|
+
angleOX: (["sub", string] | ["", string])[];
|
|
47
|
+
anglePattern: IconLayer[];
|
|
48
|
+
angleZ: IconLayer[];
|
|
49
|
+
appearance: (["tone", string] | ["", string])[];
|
|
50
|
+
arc: (["fill", string] | ["sub", string])[];
|
|
51
|
+
arc3Points: (["", string] | ["point", string])[];
|
|
52
|
+
arcCenter: (["sub", string] | ["", string] | ["point", string])[];
|
|
53
|
+
arcTangent: (["sub", string] | ["", string] | ["point", string])[];
|
|
54
|
+
arrowRight: string;
|
|
55
|
+
assembly: (["sub", string] | ["tone", string] | ["", string])[];
|
|
56
|
+
axisX: IconLayer[];
|
|
57
|
+
axisY: IconLayer[];
|
|
58
|
+
axisZ: IconLayer[];
|
|
59
|
+
back: string;
|
|
60
|
+
barycenter: (["fill", string] | ["sub", string])[];
|
|
61
|
+
bbox: (["tone", string] | ["", string] | ["sub-dash", string])[];
|
|
62
|
+
bezier: (["sub", string] | ["", string] | ["point", string])[];
|
|
63
|
+
box: (["tone", string] | ["", string])[];
|
|
64
|
+
boxHeight: IconLayer[];
|
|
65
|
+
boxLength: IconLayer[];
|
|
66
|
+
boxWidth: IconLayer[];
|
|
67
|
+
capSheet: IconLayer[];
|
|
68
|
+
capSolid: (["tone", string] | ["", string])[];
|
|
69
|
+
caret: string;
|
|
70
|
+
chamfer: (["sub", string] | ["", string])[];
|
|
71
|
+
chamferAngle: IconLayer[];
|
|
72
|
+
chamferOffset1: (["sub", string] | ["", string])[];
|
|
73
|
+
chamferOffset2: (["sub", string] | ["", string])[];
|
|
74
|
+
check: string;
|
|
75
|
+
chevronDown: string;
|
|
76
|
+
chevronLeft: string;
|
|
77
|
+
chevronRight: string;
|
|
78
|
+
chevronUp: string;
|
|
79
|
+
circleCenter: (
|
|
80
|
+
| ["sub", string]
|
|
81
|
+
| ["tone", string]
|
|
82
|
+
| ["", string]
|
|
83
|
+
| ["point", string])[];
|
|
84
|
+
circularPattern: IconLayer[];
|
|
85
|
+
circularPatternConstraint: IconLayer[];
|
|
86
|
+
close: string;
|
|
87
|
+
coincident: (["sub", string] | ["", string] | ["point", string])[];
|
|
88
|
+
colinear: (["", string] | ["sub-dash", string])[];
|
|
89
|
+
compositeCurve: (["fill", string] | ["", string])[];
|
|
90
|
+
concentric: (["", string] | ["point", string])[];
|
|
91
|
+
cone: (["tone", string] | ["", string])[];
|
|
92
|
+
coneBase: IconLayer[];
|
|
93
|
+
coneHeight: (["sub", string] | ["", string])[];
|
|
94
|
+
coneTop: IconLayer[];
|
|
95
|
+
constructionLine: (["point", string] | ["dash", string])[];
|
|
96
|
+
copy: (["sub", string] | ["tone", string] | ["", string])[];
|
|
97
|
+
countAngular: IconLayer[];
|
|
98
|
+
countX: IconLayer[];
|
|
99
|
+
countY: IconLayer[];
|
|
100
|
+
csysFrom: (["sub", string] | ["", string])[];
|
|
101
|
+
csysTo: (["sub", string] | ["", string])[];
|
|
102
|
+
cylinder: (["tone", string] | ["", string])[];
|
|
103
|
+
cylinderHeight: (["sub", string] | ["", string])[];
|
|
104
|
+
cylindrical: (["sub", string] | ["", string])[];
|
|
105
|
+
diameter: (["sub", string] | ["", string])[];
|
|
106
|
+
dimHorizontal: IconLayer[];
|
|
107
|
+
dimLinear: (["sub", string] | ["", string] | ["sub-point", string])[];
|
|
108
|
+
dims: (["sub", string] | ["", string])[];
|
|
109
|
+
dimVertical: IconLayer[];
|
|
110
|
+
direction: (["sub", string] | ["", string])[];
|
|
111
|
+
direction3d: (["sub", string] | ["", string])[];
|
|
112
|
+
directionCurve: (["sub", string] | ["", string])[];
|
|
113
|
+
directionPlanes: (["sub", string] | ["", string])[];
|
|
114
|
+
directionPoints: (["sub-fill", string] | ["", string])[];
|
|
115
|
+
directionX: IconLayer[];
|
|
116
|
+
directionY: IconLayer[];
|
|
117
|
+
distanceX: IconLayer[];
|
|
118
|
+
distanceY: IconLayer[];
|
|
119
|
+
distanceZ: (["sub", string] | ["z", string])[];
|
|
120
|
+
download: string;
|
|
121
|
+
edges: (["fill", string] | ["sub", string] | ["", string])[];
|
|
122
|
+
edit: string;
|
|
123
|
+
enter: (["sub", string] | ["", string])[];
|
|
124
|
+
entityDeletion: (["sub", string] | ["", string])[];
|
|
125
|
+
equal: (["sub", string] | ["", string])[];
|
|
126
|
+
equalCurvature: (["sub", string] | ["", string])[];
|
|
127
|
+
equalRadius: (["sub", string] | ["", string])[];
|
|
128
|
+
error: string;
|
|
129
|
+
export: string;
|
|
130
|
+
expressions: string;
|
|
131
|
+
extrusion: (["tone", string] | ["", string])[];
|
|
132
|
+
eye: (["fill", string] | ["tone", string] | ["", string])[];
|
|
133
|
+
eyeOff: (["sub-fill", string] | ["sub", string] | ["", string])[];
|
|
134
|
+
face: IconLayer[];
|
|
135
|
+
fastened: (["fill", string] | ["sub", string])[];
|
|
136
|
+
fastenedOrigin: (["sub", string] | ["", string])[];
|
|
137
|
+
file: string;
|
|
138
|
+
fillet: (["sub", string] | ["", string])[];
|
|
139
|
+
filletRadius: (["fill", string] | ["sub", string] | ["", string])[];
|
|
140
|
+
fixed: (["", string] | ["point", string])[];
|
|
141
|
+
flipX: IconLayer[];
|
|
142
|
+
flipXInv: IconLayer[];
|
|
143
|
+
flipY: IconLayer[];
|
|
144
|
+
flipYInv: IconLayer[];
|
|
145
|
+
flipZ: IconLayer[];
|
|
146
|
+
flipZInv: IconLayer[];
|
|
147
|
+
gear: (["sub-fill", string] | ["sub", string] | ["", string])[];
|
|
148
|
+
gearFirst: IconLayer[];
|
|
149
|
+
gearRatio: IconLayer[];
|
|
150
|
+
gearSecond: IconLayer[];
|
|
151
|
+
grip: ["fill", string][];
|
|
152
|
+
group: (["sub-fill", string] | ["dash", string])[];
|
|
153
|
+
horizontal: (["sub", string] | ["", string])[];
|
|
154
|
+
import: string;
|
|
155
|
+
info: string;
|
|
156
|
+
innerCircle: (["fill", string] | ["sub", string])[];
|
|
157
|
+
instance: (["tone", string] | ["", string])[];
|
|
158
|
+
instances: (["tone", string] | ["", string])[];
|
|
159
|
+
instancesOpen: string;
|
|
160
|
+
intersection: (["fill", string] | ["sub", string] | ["", string])[];
|
|
161
|
+
intersectionPoint: (["fill", string] | ["sub", string])[];
|
|
162
|
+
intSpline: (["", string] | ["point", string])[];
|
|
163
|
+
limitDown: (["sub", string] | ["", string])[];
|
|
164
|
+
limitUp: (["sub", string] | ["", string])[];
|
|
165
|
+
line: (["", string] | ["point", string])[];
|
|
166
|
+
linearPattern: IconLayer[];
|
|
167
|
+
linearPatternConstraint: IconLayer[];
|
|
168
|
+
lineOnPlane: (["sub", string] | ["", string])[];
|
|
169
|
+
link: string;
|
|
170
|
+
look: (["sub", string] | ["tone", string] | ["", string])[];
|
|
171
|
+
loop: (["fill", string] | ["sub", string] | ["", string])[];
|
|
172
|
+
mate1: IconLayer[];
|
|
173
|
+
mate2: IconLayer[];
|
|
174
|
+
measure: (["tone", string] | ["", string])[];
|
|
175
|
+
menu: string;
|
|
176
|
+
merged: IconLayer[];
|
|
177
|
+
message: string;
|
|
178
|
+
midpoint: (
|
|
179
|
+
| ["sub", string]
|
|
180
|
+
| ["point", string]
|
|
181
|
+
| ["sub-point", string])[];
|
|
182
|
+
midpointLine: (["fill", string] | ["sub", string])[];
|
|
183
|
+
midpointPoints: (["sub-fill", string] | ["fill", string])[];
|
|
184
|
+
minus: string;
|
|
185
|
+
mirror: (
|
|
186
|
+
| ["sub", string]
|
|
187
|
+
| ["tone", string]
|
|
188
|
+
| ["", string]
|
|
189
|
+
| ["axis", string])[];
|
|
190
|
+
mirrorLine: (["sub-fill", string] | ["", string])[];
|
|
191
|
+
missing: ["sub-dash", string][];
|
|
192
|
+
more: ["fill", string][];
|
|
193
|
+
normal: (["sub", string] | ["", string])[];
|
|
194
|
+
notMerged: (["tone", string] | ["", string])[];
|
|
195
|
+
offsetX: IconLayer[];
|
|
196
|
+
offsetXMax: IconLayer[];
|
|
197
|
+
offsetXMin: IconLayer[];
|
|
198
|
+
offsetY: IconLayer[];
|
|
199
|
+
offsetYMax: IconLayer[];
|
|
200
|
+
offsetYMin: IconLayer[];
|
|
201
|
+
offsetZ: IconLayer[];
|
|
202
|
+
offsetZMax: IconLayer[];
|
|
203
|
+
offsetZMin: IconLayer[];
|
|
204
|
+
open: string;
|
|
205
|
+
origin: (["fill", string] | ["sub", string])[];
|
|
206
|
+
parallel: (["sub", string] | ["", string])[];
|
|
207
|
+
parallelLines: ["", string][];
|
|
208
|
+
part: (["tone", string] | ["", string])[];
|
|
209
|
+
pattern2dCircular: IconLayer[];
|
|
210
|
+
pattern2dLinear: IconLayer[];
|
|
211
|
+
pattern2dMirror: (["sub-fill", string] | ["fill", string] | ["axis", string])[];
|
|
212
|
+
perpendicular: (["sub", string] | ["", string])[];
|
|
213
|
+
pin: string;
|
|
214
|
+
planar: (["sub", string] | ["", string])[];
|
|
215
|
+
planeFront: IconLayer[];
|
|
216
|
+
planeOffset: IconLayer[];
|
|
217
|
+
planeRight: IconLayer[];
|
|
218
|
+
planeTop: IconLayer[];
|
|
219
|
+
plus: string;
|
|
220
|
+
point: (["sub", string] | ["point", string])[];
|
|
221
|
+
pointOnPlane: (["fill", string] | ["sub", string])[];
|
|
222
|
+
pointsOnPlane: (["fill", string] | ["sub", string])[];
|
|
223
|
+
position: (["fill", string] | ["sub", string])[];
|
|
224
|
+
products: string;
|
|
225
|
+
question: string;
|
|
226
|
+
radius: (["sub", string] | ["", string] | ["point", string])[];
|
|
227
|
+
rect2Points: (["tone", string] | ["", string] | ["point", string])[];
|
|
228
|
+
rectCenter: (["tone", string] | ["", string] | ["point", string])[];
|
|
229
|
+
redo: string;
|
|
230
|
+
region: (["sub", string] | ["tone", string] | ["", string])[];
|
|
231
|
+
rename: (["sub", string] | ["", string])[];
|
|
232
|
+
reorient0: IconLayer[];
|
|
233
|
+
reorient180: IconLayer[];
|
|
234
|
+
reorient270: IconLayer[];
|
|
235
|
+
reorient90: IconLayer[];
|
|
236
|
+
revolute: (["sub", string] | ["", string])[];
|
|
237
|
+
revolve: (["sub-fill", string] | ["tone", string] | ["", string])[];
|
|
238
|
+
revolveAxis: (["sub", string] | ["", string])[];
|
|
239
|
+
revolveEnd: IconLayer[];
|
|
240
|
+
revolveStart: IconLayer[];
|
|
241
|
+
rigidSet: (["", string] | ["point", string])[];
|
|
242
|
+
rotation: IconLayer[];
|
|
243
|
+
rotation3d: (["sub", string] | ["", string])[];
|
|
244
|
+
rotationAngle: (["sub", string] | ["", string])[];
|
|
245
|
+
rotationX: IconLayer[];
|
|
246
|
+
rotationY: IconLayer[];
|
|
247
|
+
rotationZ: IconLayer[];
|
|
248
|
+
rotationZMax: IconLayer[];
|
|
249
|
+
rotationZMin: IconLayer[];
|
|
250
|
+
search: string;
|
|
251
|
+
select: (["tone", string] | ["", string])[];
|
|
252
|
+
session: (["sub", string] | ["", string])[];
|
|
253
|
+
sheet: IconLayer[];
|
|
254
|
+
sheetBody: IconLayer[];
|
|
255
|
+
sidebar: (["fill", string] | ["", string])[];
|
|
256
|
+
sidebarOff: (["sub", string] | ["", string])[];
|
|
257
|
+
sketch: (["fill", string] | ["tone", string] | ["", string])[];
|
|
258
|
+
sketchAngle: (["sub", string] | ["", string] | ["point", string])[];
|
|
259
|
+
sketchCountAngular: IconLayer[];
|
|
260
|
+
sketchCountX: IconLayer[];
|
|
261
|
+
sketchCountY: IconLayer[];
|
|
262
|
+
sketchDiameter: (["sub", string] | ["", string])[];
|
|
263
|
+
sketchDirectionX: IconLayer[];
|
|
264
|
+
sketchDirectionY: IconLayer[];
|
|
265
|
+
sketchDistanceX: IconLayer[];
|
|
266
|
+
sketchDistanceY: IconLayer[];
|
|
267
|
+
sketchFillet: (["sub", string] | ["", string])[];
|
|
268
|
+
slice: (["sub", string] | ["tone", string] | ["", string])[];
|
|
269
|
+
sliceBySheet: (["sub", string] | ["tone", string] | ["", string])[];
|
|
270
|
+
slider: (["sub", string] | ["", string])[];
|
|
271
|
+
solid: (["tone", string] | ["", string])[];
|
|
272
|
+
solidLine: (["", string] | ["point", string])[];
|
|
273
|
+
sphere: (["tone", string] | ["", string])[];
|
|
274
|
+
spherical: (["sub", string] | ["tone", string] | ["", string])[];
|
|
275
|
+
sphericalMax: (["sub", string] | ["", string])[];
|
|
276
|
+
spline: (["sub", string] | ["", string] | ["point", string])[];
|
|
277
|
+
split: (["", string] | ["point", string])[];
|
|
278
|
+
subtraction: (["tone", string] | ["", string] | ["sub-dash", string])[];
|
|
279
|
+
success: string;
|
|
280
|
+
switchDirection1: string;
|
|
281
|
+
switchDirection2: string;
|
|
282
|
+
switchNormal1: (["sub", string] | ["", string])[];
|
|
283
|
+
switchNormal2: (["sub", string] | ["", string])[];
|
|
284
|
+
switchX1: IconLayer[];
|
|
285
|
+
switchX2: IconLayer[];
|
|
286
|
+
switchY1: IconLayer[];
|
|
287
|
+
switchY2: IconLayer[];
|
|
288
|
+
symmetric: (["", string] | ["axis", string] | ["point", string])[];
|
|
289
|
+
tangent: (["sub", string] | ["", string] | ["point", string])[];
|
|
290
|
+
theme: (["fill", string] | ["", string])[];
|
|
291
|
+
toSubassembly: (["sub", string] | ["", string])[];
|
|
292
|
+
transformByCsys: IconLayer[];
|
|
293
|
+
translation: IconLayer[];
|
|
294
|
+
translationDistance: (["sub", string] | ["", string])[];
|
|
295
|
+
trash: string;
|
|
296
|
+
trim: (["sub", string] | ["", string] | ["sub-dash", string])[];
|
|
297
|
+
twist: (["tone", string] | ["", string])[];
|
|
298
|
+
twistAngle: (["sub", string] | ["", string])[];
|
|
299
|
+
undo: string;
|
|
300
|
+
union: (["tone", string] | ["", string])[];
|
|
301
|
+
useGeometry: IconLayer[];
|
|
302
|
+
useReference: IconLayer[];
|
|
303
|
+
vertical: (["sub", string] | ["", string])[];
|
|
304
|
+
viewEdges: (["", string] | ["sub-dash", string])[];
|
|
305
|
+
viewFaces: (["tone", string] | ["", string])[];
|
|
306
|
+
viewNormal: (["sub", string] | ["tone", string] | ["", string])[];
|
|
307
|
+
viewPoints: (["fill", string] | ["sub", string])[];
|
|
308
|
+
viewWire: (["sub", string] | ["", string])[];
|
|
309
|
+
warning: string;
|
|
310
|
+
workAxis: (["fill", string] | ["", string])[];
|
|
311
|
+
workCSys: (["fill", string] | ["", string])[];
|
|
312
|
+
workPlane: IconLayer[];
|
|
313
|
+
workPoint: (["fill", string] | ["", string])[];
|
|
314
|
+
zoomFit: (["tone", string] | ["", string])[];
|
|
315
|
+
};
|
|
316
|
+
```
|
|
317
|
+
|
|
318
|
+
Every drawing the app has, by name: what [Icon](#icon) draws.
|
|
319
|
+
|
|
320
|
+
The sheets are the app's own signs (its bars, rows and menus), the features, the sketch's tools and constraints,
|
|
321
|
+
what a field sets (a length, a count, an angle, along an axis), what a field picks, the mates of an assembly, and a
|
|
322
|
+
few glyphs. `missing` is the dashed square that stands in for a name that has no drawing.
|
|
323
|
+
|
|
324
|
+
#### Type Declaration
|
|
325
|
+
|
|
326
|
+
| Name | Type | Description |
|
|
327
|
+
| :------ | :------ | :------ |
|
|
328
|
+
| <a id="property-angle"></a> `angle` | `IconLayer`[] | An angle between two lines. |
|
|
329
|
+
| <a id="property-angleox"></a> `angleOX` | (\[`"sub"`, `string`\] \| \[`""`, `string`\])[] | A line's angle against the X axis. |
|
|
330
|
+
| <a id="property-anglepattern"></a> `anglePattern` | `IconLayer`[] | The angle from one copy to the next, about the axis that was picked. |
|
|
331
|
+
| <a id="property-anglez"></a> `angleZ` | `IconLayer`[] | The angle from one copy to the next, about a mate's Z. |
|
|
332
|
+
| <a id="property-appearance"></a> `appearance` | (\[`"tone"`, `string`\] \| \[`""`, `string`\])[] | A drop: the appearance, a body's colour. |
|
|
333
|
+
| <a id="property-arc"></a> `arc` | (\[`"fill"`, `string`\] \| \[`"sub"`, `string`\])[] | The centre of an arc. |
|
|
334
|
+
| <a id="property-arc3points"></a> `arc3Points` | (\[`""`, `string`\] \| \[`"point"`, `string`\])[] | An arc through three points. |
|
|
335
|
+
| <a id="property-arccenter"></a> `arcCenter` | (\[`"sub"`, `string`\] \| \[`""`, `string`\] \| \[`"point"`, `string`\])[] | An arc by its centre and its ends. |
|
|
336
|
+
| <a id="property-arctangent"></a> `arcTangent` | (\[`"sub"`, `string`\] \| \[`""`, `string`\] \| \[`"point"`, `string`\])[] | An arc that leaves a line's end the way the line runs. |
|
|
337
|
+
| <a id="property-arrowright"></a> `arrowRight` | `string` | An arrow to the right. |
|
|
338
|
+
| <a id="property-assembly"></a> `assembly` | (\[`"sub"`, `string`\] \| \[`"tone"`, `string`\] \| \[`""`, `string`\])[] | Two bodies: an assembly. |
|
|
339
|
+
| <a id="property-axisx"></a> `axisX` | `IconLayer`[] | The part's X axis. |
|
|
340
|
+
| <a id="property-axisy"></a> `axisY` | `IconLayer`[] | The part's Y axis. |
|
|
341
|
+
| <a id="property-axisz"></a> `axisZ` | `IconLayer`[] | The part's Z axis. |
|
|
342
|
+
| <a id="property-back"></a> `back` | `string` | An arrow to the left: back. |
|
|
343
|
+
| <a id="property-barycenter"></a> `barycenter` | (\[`"fill"`, `string`\] \| \[`"sub"`, `string`\])[] | The middle of a body's face. |
|
|
344
|
+
| <a id="property-bbox"></a> `bbox` | (\[`"tone"`, `string`\] \| \[`""`, `string`\] \| \[`"sub-dash"`, `string`\])[] | A block in a dashed cube: the bounding box. |
|
|
345
|
+
| <a id="property-bezier"></a> `bezier` | (\[`"sub"`, `string`\] \| \[`""`, `string`\] \| \[`"point"`, `string`\])[] | - |
|
|
346
|
+
| <a id="property-box"></a> `box` | (\[`"tone"`, `string`\] \| \[`""`, `string`\])[] | Box. |
|
|
347
|
+
| <a id="property-boxheight"></a> `boxHeight` | `IconLayer`[] | A box's height: the edges along Z. |
|
|
348
|
+
| <a id="property-boxlength"></a> `boxLength` | `IconLayer`[] | A box's length: the edges along X. |
|
|
349
|
+
| <a id="property-boxwidth"></a> `boxWidth` | `IconLayer`[] | A box's width: the edges along Y. |
|
|
350
|
+
| <a id="property-capsheet"></a> `capSheet` | `IconLayer`[] | The walls alone: make a sheet. |
|
|
351
|
+
| <a id="property-capsolid"></a> `capSolid` | (\[`"tone"`, `string`\] \| \[`""`, `string`\])[] | A closed body: make a solid. |
|
|
352
|
+
| <a id="property-caret"></a> `caret` | `string` | A wide chevron down: opens a set, such as a tool button's. |
|
|
353
|
+
| <a id="property-chamfer"></a> `chamfer` | (\[`"sub"`, `string`\] \| \[`""`, `string`\])[] | Chamfer: an edge cut. |
|
|
354
|
+
| <a id="property-chamferangle"></a> `chamferAngle` | `IconLayer`[] | A chamfer's angle against the face. |
|
|
355
|
+
| <a id="property-chamferoffset1"></a> `chamferOffset1` | (\[`"sub"`, `string`\] \| \[`""`, `string`\])[] | A chamfer's measure along the one face. |
|
|
356
|
+
| <a id="property-chamferoffset2"></a> `chamferOffset2` | (\[`"sub"`, `string`\] \| \[`""`, `string`\])[] | A chamfer's measure along the other face. |
|
|
357
|
+
| <a id="property-check"></a> `check` | `string` | A tick: done, on. |
|
|
358
|
+
| <a id="property-chevrondown"></a> `chevronDown` | `string` | A chevron down. |
|
|
359
|
+
| <a id="property-chevronleft"></a> `chevronLeft` | `string` | A chevron to the left. |
|
|
360
|
+
| <a id="property-chevronright"></a> `chevronRight` | `string` | A chevron to the right: a row or a section that opens. |
|
|
361
|
+
| <a id="property-chevronup"></a> `chevronUp` | `string` | A chevron up. |
|
|
362
|
+
| <a id="property-circlecenter"></a> `circleCenter` | ( \| \[`"sub"`, `string`\] \| \[`"tone"`, `string`\] \| \[`""`, `string`\] \| \[`"point"`, `string`\])[] | A circle by its centre and a point on it. |
|
|
363
|
+
| <a id="property-circularpattern"></a> `circularPattern` | `IconLayer`[] | Circular pattern: a body repeated about an axis. |
|
|
364
|
+
| <a id="property-circularpatternconstraint"></a> `circularPatternConstraint` | `IconLayer`[] | An instance repeated about a point (the assembly's circular pattern). |
|
|
365
|
+
| <a id="property-close"></a> `close` | `string` | A cross: close. |
|
|
366
|
+
| <a id="property-coincident"></a> `coincident` | (\[`"sub"`, `string`\] \| \[`""`, `string`\] \| \[`"point"`, `string`\])[] | Coincident: two points held as one. |
|
|
367
|
+
| <a id="property-colinear"></a> `colinear` | (\[`""`, `string`\] \| \[`"sub-dash"`, `string`\])[] | Colinear: two lines held on one line. |
|
|
368
|
+
| <a id="property-compositecurve"></a> `compositeCurve` | (\[`"fill"`, `string`\] \| \[`""`, `string`\])[] | A curve through points: several curves taken as one. |
|
|
369
|
+
| <a id="property-concentric"></a> `concentric` | (\[`""`, `string`\] \| \[`"point"`, `string`\])[] | Concentric: circles held about one centre. |
|
|
370
|
+
| <a id="property-cone"></a> `cone` | (\[`"tone"`, `string`\] \| \[`""`, `string`\])[] | Cone. |
|
|
371
|
+
| <a id="property-conebase"></a> `coneBase` | `IconLayer`[] | The diameter of a cone's base. |
|
|
372
|
+
| <a id="property-coneheight"></a> `coneHeight` | (\[`"sub"`, `string`\] \| \[`""`, `string`\])[] | A cone's height. |
|
|
373
|
+
| <a id="property-conetop"></a> `coneTop` | `IconLayer`[] | The diameter of a cone's top. |
|
|
374
|
+
| <a id="property-constructionline"></a> `constructionLine` | (\[`"point"`, `string`\] \| \[`"dash"`, `string`\])[] | A construction line: dashed, not part of the profile. |
|
|
375
|
+
| <a id="property-copy"></a> `copy` | (\[`"sub"`, `string`\] \| \[`"tone"`, `string`\] \| \[`""`, `string`\])[] | Two sheets, one over the other: copy. |
|
|
376
|
+
| <a id="property-countangular"></a> `countAngular` | `IconLayer`[] | A pattern's count about its axis. |
|
|
377
|
+
| <a id="property-countx"></a> `countX` | `IconLayer`[] | A pattern's count along its first axis. |
|
|
378
|
+
| <a id="property-county"></a> `countY` | `IconLayer`[] | A pattern's count along its second axis. |
|
|
379
|
+
| <a id="property-csysfrom"></a> `csysFrom` | (\[`"sub"`, `string`\] \| \[`""`, `string`\])[] | The coordinate system to start from. |
|
|
380
|
+
| <a id="property-csysto"></a> `csysTo` | (\[`"sub"`, `string`\] \| \[`""`, `string`\])[] | The coordinate system to go to. |
|
|
381
|
+
| <a id="property-cylinder"></a> `cylinder` | (\[`"tone"`, `string`\] \| \[`""`, `string`\])[] | Cylinder. |
|
|
382
|
+
| <a id="property-cylinderheight"></a> `cylinderHeight` | (\[`"sub"`, `string`\] \| \[`""`, `string`\])[] | A cylinder's height. |
|
|
383
|
+
| <a id="property-cylindrical"></a> `cylindrical` | (\[`"sub"`, `string`\] \| \[`""`, `string`\])[] | Cylindrical: a turn about an axis, free to slide along it too. |
|
|
384
|
+
| <a id="property-diameter"></a> `diameter` | (\[`"sub"`, `string`\] \| \[`""`, `string`\])[] | A diameter: across a circle. |
|
|
385
|
+
| <a id="property-dimhorizontal"></a> `dimHorizontal` | `IconLayer`[] | A horizontal dimension. |
|
|
386
|
+
| <a id="property-dimlinear"></a> `dimLinear` | (\[`"sub"`, `string`\] \| \[`""`, `string`\] \| \[`"sub-point"`, `string`\])[] | A dimension along a line. |
|
|
387
|
+
| <a id="property-dims"></a> `dims` | (\[`"sub"`, `string`\] \| \[`""`, `string`\])[] | A span between two rules: the dimensions. |
|
|
388
|
+
| <a id="property-dimvertical"></a> `dimVertical` | `IconLayer`[] | A vertical dimension. |
|
|
389
|
+
| <a id="property-direction"></a> `direction` | (\[`"sub"`, `string`\] \| \[`""`, `string`\])[] | A direction along a line. |
|
|
390
|
+
| <a id="property-direction3d"></a> `direction3d` | (\[`"sub"`, `string`\] \| \[`""`, `string`\])[] | A direction given by its coordinates. |
|
|
391
|
+
| <a id="property-directioncurve"></a> `directionCurve` | (\[`"sub"`, `string`\] \| \[`""`, `string`\])[] | A direction the way a curve runs. |
|
|
392
|
+
| <a id="property-directionplanes"></a> `directionPlanes` | (\[`"sub"`, `string`\] \| \[`""`, `string`\])[] | A direction along where two planes meet. |
|
|
393
|
+
| <a id="property-directionpoints"></a> `directionPoints` | (\[`"sub-fill"`, `string`\] \| \[`""`, `string`\])[] | A direction from one point to another. |
|
|
394
|
+
| <a id="property-directionx"></a> `directionX` | `IconLayer`[] | The X axis picked as a direction. |
|
|
395
|
+
| <a id="property-directiony"></a> `directionY` | `IconLayer`[] | The Y axis picked as a direction. |
|
|
396
|
+
| <a id="property-distancex"></a> `distanceX` | `IconLayer`[] | A pattern's spacing along its first axis. |
|
|
397
|
+
| <a id="property-distancey"></a> `distanceY` | `IconLayer`[] | A pattern's spacing along its second axis. |
|
|
398
|
+
| <a id="property-distancez"></a> `distanceZ` | (\[`"sub"`, `string`\] \| \[`"z"`, `string`\])[] | A pattern's spacing up the axis it turns about. |
|
|
399
|
+
| <a id="property-download"></a> `download` | `string` | An arrow down into a tray: download. |
|
|
400
|
+
| <a id="property-edges"></a> `edges` | (\[`"fill"`, `string`\] \| \[`"sub"`, `string`\] \| \[`""`, `string`\])[] | An edge of a body, picked. |
|
|
401
|
+
| <a id="property-edit"></a> `edit` | `string` | A pen: edit. |
|
|
402
|
+
| <a id="property-enter"></a> `enter` | (\[`"sub"`, `string`\] \| \[`""`, `string`\])[] | An arrow into a frame: go into a product to work on it. |
|
|
403
|
+
| <a id="property-entitydeletion"></a> `entityDeletion` | (\[`"sub"`, `string`\] \| \[`""`, `string`\])[] | A cube, crossed out: a body or a face taken out of a part again. |
|
|
404
|
+
| <a id="property-equal"></a> `equal` | (\[`"sub"`, `string`\] \| \[`""`, `string`\])[] | Equal: two lines held as long, or two circles as large, as each other. |
|
|
405
|
+
| <a id="property-equalcurvature"></a> `equalCurvature` | (\[`"sub"`, `string`\] \| \[`""`, `string`\])[] | Equal curvature: two curves held as round as each other. |
|
|
406
|
+
| <a id="property-equalradius"></a> `equalRadius` | (\[`"sub"`, `string`\] \| \[`""`, `string`\])[] | Equal radius: two circles or arcs held as large as each other. |
|
|
407
|
+
| <a id="property-error"></a> `error` | `string` | A cross in a disc: an error. |
|
|
408
|
+
| <a id="property-export"></a> `export` | `string` | An arrow up out of a tray: export. |
|
|
409
|
+
| <a id="property-expressions"></a> `expressions` | `string` | An f and an x: the expressions. |
|
|
410
|
+
| <a id="property-extrusion"></a> `extrusion` | (\[`"tone"`, `string`\] \| \[`""`, `string`\])[] | Extrusion: a profile raised into a body. |
|
|
411
|
+
| <a id="property-eye"></a> `eye` | (\[`"fill"`, `string`\] \| \[`"tone"`, `string`\] \| \[`""`, `string`\])[] | An eye: shown. |
|
|
412
|
+
| <a id="property-eyeoff"></a> `eyeOff` | (\[`"sub-fill"`, `string`\] \| \[`"sub"`, `string`\] \| \[`""`, `string`\])[] | The eye struck through: hidden. |
|
|
413
|
+
| <a id="property-face"></a> `face` | `IconLayer`[] | A face of a body, picked. |
|
|
414
|
+
| <a id="property-fastened"></a> `fastened` | (\[`"fill"`, `string`\] \| \[`"sub"`, `string`\])[] | Fastened: two instances held to one another. |
|
|
415
|
+
| <a id="property-fastenedorigin"></a> `fastenedOrigin` | (\[`"sub"`, `string`\] \| \[`""`, `string`\])[] | Fastened origin: an instance held to the ground. |
|
|
416
|
+
| <a id="property-file"></a> `file` | `string` | A sheet with a folded corner: a file. |
|
|
417
|
+
| <a id="property-fillet"></a> `fillet` | (\[`"sub"`, `string`\] \| \[`""`, `string`\])[] | Fillet: an edge rounded. |
|
|
418
|
+
| <a id="property-filletradius"></a> `filletRadius` | (\[`"fill"`, `string`\] \| \[`"sub"`, `string`\] \| \[`""`, `string`\])[] | A fillet's radius: from the centre to the round. |
|
|
419
|
+
| <a id="property-fixed"></a> `fixed` | (\[`""`, `string`\] \| \[`"point"`, `string`\])[] | Fixed: a point held where it is. |
|
|
420
|
+
| <a id="property-flipx"></a> `flipX` | `IconLayer`[] | A mate whose main axis is X. |
|
|
421
|
+
| <a id="property-flipxinv"></a> `flipXInv` | `IconLayer`[] | A mate whose main axis is -X. |
|
|
422
|
+
| <a id="property-flipy"></a> `flipY` | `IconLayer`[] | A mate whose main axis is Y. |
|
|
423
|
+
| <a id="property-flipyinv"></a> `flipYInv` | `IconLayer`[] | A mate whose main axis is -Y. |
|
|
424
|
+
| <a id="property-flipz"></a> `flipZ` | `IconLayer`[] | A mate whose main axis is Z. |
|
|
425
|
+
| <a id="property-flipzinv"></a> `flipZInv` | `IconLayer`[] | A mate whose main axis is -Z. |
|
|
426
|
+
| <a id="property-gear"></a> `gear` | (\[`"sub-fill"`, `string`\] \| \[`"sub"`, `string`\] \| \[`""`, `string`\])[] | Gear: two turns, the one driving the other. |
|
|
427
|
+
| <a id="property-gearfirst"></a> `gearFirst` | `IconLayer`[] | A gear's first wheel. |
|
|
428
|
+
| <a id="property-gearratio"></a> `gearRatio` | `IconLayer`[] | How a gear's one wheel turns against the other: its ratio. |
|
|
429
|
+
| <a id="property-gearsecond"></a> `gearSecond` | `IconLayer`[] | A gear's second wheel. |
|
|
430
|
+
| <a id="property-grip"></a> `grip` | \[`"fill"`, `string`\][] | Six dots: what is dragged. |
|
|
431
|
+
| <a id="property-group"></a> `group` | (\[`"sub-fill"`, `string`\] \| \[`"dash"`, `string`\])[] | Group: several instances held as one. |
|
|
432
|
+
| <a id="property-horizontal"></a> `horizontal` | (\[`"sub"`, `string`\] \| \[`""`, `string`\])[] | Horizontal: a line held level. |
|
|
433
|
+
| <a id="property-import"></a> `import` | `string` | An arrow down into a tray: import. |
|
|
434
|
+
| <a id="property-info"></a> `info` | `string` | An i in a disc: a note. |
|
|
435
|
+
| <a id="property-innercircle"></a> `innerCircle` | (\[`"fill"`, `string`\] \| \[`"sub"`, `string`\])[] | The centre of the circle three lines hold. |
|
|
436
|
+
| <a id="property-instance"></a> `instance` | (\[`"tone"`, `string`\] \| \[`""`, `string`\])[] | A body, picked. |
|
|
437
|
+
| <a id="property-instances"></a> `instances` | (\[`"tone"`, `string`\] \| \[`""`, `string`\])[] | Several bodies, picked. |
|
|
438
|
+
| <a id="property-instancesopen"></a> `instancesOpen` | `string` | Several bodies that are taken away (the other bodies of a cut). |
|
|
439
|
+
| <a id="property-intersection"></a> `intersection` | (\[`"fill"`, `string`\] \| \[`"sub"`, `string`\] \| \[`""`, `string`\])[] | Intersection: what two bodies share. |
|
|
440
|
+
| <a id="property-intersectionpoint"></a> `intersectionPoint` | (\[`"fill"`, `string`\] \| \[`"sub"`, `string`\])[] | Where two lines cross. |
|
|
441
|
+
| <a id="property-intspline"></a> `intSpline` | (\[`""`, `string`\] \| \[`"point"`, `string`\])[] | - |
|
|
442
|
+
| <a id="property-limitdown"></a> `limitDown` | (\[`"sub"`, `string`\] \| \[`""`, `string`\])[] | How far an extrusion goes down from its sketch's plane. |
|
|
443
|
+
| <a id="property-limitup"></a> `limitUp` | (\[`"sub"`, `string`\] \| \[`""`, `string`\])[] | How far an extrusion goes up from its sketch's plane. |
|
|
444
|
+
| <a id="property-line"></a> `line` | (\[`""`, `string`\] \| \[`"point"`, `string`\])[] | A line between two points. |
|
|
445
|
+
| <a id="property-linearpattern"></a> `linearPattern` | `IconLayer`[] | Linear pattern: a body repeated along a line. |
|
|
446
|
+
| <a id="property-linearpatternconstraint"></a> `linearPatternConstraint` | `IconLayer`[] | An instance repeated along a line (the assembly's linear pattern). |
|
|
447
|
+
| <a id="property-lineonplane"></a> `lineOnPlane` | (\[`"sub"`, `string`\] \| \[`""`, `string`\])[] | A plane through a line. |
|
|
448
|
+
| <a id="property-link"></a> `link` | `string` | Two links of a chain: a link. |
|
|
449
|
+
| <a id="property-look"></a> `look` | (\[`"sub"`, `string`\] \| \[`"tone"`, `string`\] \| \[`""`, `string`\])[] | A lit ball: how the bodies are drawn. |
|
|
450
|
+
| <a id="property-loop"></a> `loop` | (\[`"fill"`, `string`\] \| \[`"sub"`, `string`\] \| \[`""`, `string`\])[] | A loop: the chain of edges around a face, picked. |
|
|
451
|
+
| <a id="property-mate1"></a> `mate1` | `IconLayer`[] | The mate on the first of two instances to be joined. |
|
|
452
|
+
| <a id="property-mate2"></a> `mate2` | `IconLayer`[] | The mate on the second of two instances to be joined. |
|
|
453
|
+
| <a id="property-measure"></a> `measure` | (\[`"tone"`, `string`\] \| \[`""`, `string`\])[] | A ruler: measure. |
|
|
454
|
+
| <a id="property-menu"></a> `menu` | `string` | Three bars: a menu. |
|
|
455
|
+
| <a id="property-merged"></a> `merged` | `IconLayer`[] | Two bodies made one: merge the solids. |
|
|
456
|
+
| <a id="property-message"></a> `message` | `string` | A speech bubble: messages. |
|
|
457
|
+
| <a id="property-midpoint"></a> `midpoint` | ( \| \[`"sub"`, `string`\] \| \[`"point"`, `string`\] \| \[`"sub-point"`, `string`\])[] | Midpoint: a point held in a line's middle. |
|
|
458
|
+
| <a id="property-midpointline"></a> `midpointLine` | (\[`"fill"`, `string`\] \| \[`"sub"`, `string`\])[] | The middle of a line. |
|
|
459
|
+
| <a id="property-midpointpoints"></a> `midpointPoints` | (\[`"sub-fill"`, `string`\] \| \[`"fill"`, `string`\])[] | The middle between two points. |
|
|
460
|
+
| <a id="property-minus"></a> `minus` | `string` | A minus: remove. |
|
|
461
|
+
| <a id="property-mirror"></a> `mirror` | ( \| \[`"sub"`, `string`\] \| \[`"tone"`, `string`\] \| \[`""`, `string`\] \| \[`"axis"`, `string`\])[] | Mirror: a body repeated in a mirror. |
|
|
462
|
+
| <a id="property-mirrorline"></a> `mirrorLine` | (\[`"sub-fill"`, `string`\] \| \[`""`, `string`\])[] | The line a sketch is mirrored in. |
|
|
463
|
+
| <a id="property-missing"></a> `missing` | \[`"sub-dash"`, `string`\][] | A dashed square: what stands in for a name that has no drawing. |
|
|
464
|
+
| <a id="property-more"></a> `more` | \[`"fill"`, `string`\][] | Three dots: more, a row's menu. |
|
|
465
|
+
| <a id="property-normal"></a> `normal` | (\[`"sub"`, `string`\] \| \[`""`, `string`\])[] | A direction that stands on a plane: its normal. |
|
|
466
|
+
| <a id="property-notmerged"></a> `notMerged` | (\[`"tone"`, `string`\] \| \[`""`, `string`\])[] | Two bodies left two: keep the solids apart. |
|
|
467
|
+
| <a id="property-offsetx"></a> `offsetX` | `IconLayer`[] | An offset along X. |
|
|
468
|
+
| <a id="property-offsetxmax"></a> `offsetXMax` | `IconLayer`[] | The upper limit of an offset along X. |
|
|
469
|
+
| <a id="property-offsetxmin"></a> `offsetXMin` | `IconLayer`[] | The lower limit of an offset along X. |
|
|
470
|
+
| <a id="property-offsety"></a> `offsetY` | `IconLayer`[] | An offset along Y. |
|
|
471
|
+
| <a id="property-offsetymax"></a> `offsetYMax` | `IconLayer`[] | The upper limit of an offset along Y. |
|
|
472
|
+
| <a id="property-offsetymin"></a> `offsetYMin` | `IconLayer`[] | The lower limit of an offset along Y. |
|
|
473
|
+
| <a id="property-offsetz"></a> `offsetZ` | `IconLayer`[] | An offset along Z. |
|
|
474
|
+
| <a id="property-offsetzmax"></a> `offsetZMax` | `IconLayer`[] | The upper limit of an offset along Z. |
|
|
475
|
+
| <a id="property-offsetzmin"></a> `offsetZMin` | `IconLayer`[] | The lower limit of an offset along Z. |
|
|
476
|
+
| <a id="property-open"></a> `open` | `string` | A folder: open. |
|
|
477
|
+
| <a id="property-origin"></a> `origin` | (\[`"fill"`, `string`\] \| \[`"sub"`, `string`\])[] | The part's origin. |
|
|
478
|
+
| <a id="property-parallel"></a> `parallel` | (\[`"sub"`, `string`\] \| \[`""`, `string`\])[] | Parallel: two faces kept parallel. |
|
|
479
|
+
| <a id="property-parallellines"></a> `parallelLines` | \[`""`, `string`\][] | Parallel: two lines held parallel. |
|
|
480
|
+
| <a id="property-part"></a> `part` | (\[`"tone"`, `string`\] \| \[`""`, `string`\])[] | A part. |
|
|
481
|
+
| <a id="property-pattern2dcircular"></a> `pattern2dCircular` | `IconLayer`[] | Shapes of a sketch repeated about a point. |
|
|
482
|
+
| <a id="property-pattern2dlinear"></a> `pattern2dLinear` | `IconLayer`[] | Shapes of a sketch repeated along a line. |
|
|
483
|
+
| <a id="property-pattern2dmirror"></a> `pattern2dMirror` | (\[`"sub-fill"`, `string`\] \| \[`"fill"`, `string`\] \| \[`"axis"`, `string`\])[] | Shapes of a sketch mirrored in a line. |
|
|
484
|
+
| <a id="property-perpendicular"></a> `perpendicular` | (\[`"sub"`, `string`\] \| \[`""`, `string`\])[] | Perpendicular: two lines held at a right angle. |
|
|
485
|
+
| <a id="property-pin"></a> `pin` | `string` | A pin: pin. |
|
|
486
|
+
| <a id="property-planar"></a> `planar` | (\[`"sub"`, `string`\] \| \[`""`, `string`\])[] | Planar: free to slide on a plane. |
|
|
487
|
+
| <a id="property-planefront"></a> `planeFront` | `IconLayer`[] | The part's front plane. |
|
|
488
|
+
| <a id="property-planeoffset"></a> `planeOffset` | `IconLayer`[] | A plane at an offset from another. |
|
|
489
|
+
| <a id="property-planeright"></a> `planeRight` | `IconLayer`[] | The part's right plane. |
|
|
490
|
+
| <a id="property-planetop"></a> `planeTop` | `IconLayer`[] | The part's top plane. |
|
|
491
|
+
| <a id="property-plus"></a> `plus` | `string` | A plus: add, create. |
|
|
492
|
+
| <a id="property-point"></a> `point` | (\[`"sub"`, `string`\] \| \[`"point"`, `string`\])[] | A point. |
|
|
493
|
+
| <a id="property-pointonplane"></a> `pointOnPlane` | (\[`"fill"`, `string`\] \| \[`"sub"`, `string`\])[] | A plane through a point. |
|
|
494
|
+
| <a id="property-pointsonplane"></a> `pointsOnPlane` | (\[`"fill"`, `string`\] \| \[`"sub"`, `string`\])[] | A plane through three points. |
|
|
495
|
+
| <a id="property-position"></a> `position` | (\[`"fill"`, `string`\] \| \[`"sub"`, `string`\])[] | A point given by its coordinates. |
|
|
496
|
+
| <a id="property-products"></a> `products` | `string` | Four tiles: the products a model is put together from. |
|
|
497
|
+
| <a id="property-question"></a> `question` | `string` | A question mark in a disc: help. |
|
|
498
|
+
| <a id="property-radius"></a> `radius` | (\[`"sub"`, `string`\] \| \[`""`, `string`\] \| \[`"point"`, `string`\])[] | A radius. |
|
|
499
|
+
| <a id="property-rect2points"></a> `rect2Points` | (\[`"tone"`, `string`\] \| \[`""`, `string`\] \| \[`"point"`, `string`\])[] | A rectangle by two corners. |
|
|
500
|
+
| <a id="property-rectcenter"></a> `rectCenter` | (\[`"tone"`, `string`\] \| \[`""`, `string`\] \| \[`"point"`, `string`\])[] | A rectangle by its centre and a corner. |
|
|
501
|
+
| <a id="property-redo"></a> `redo` | `string` | An arrow that turns on: redo. |
|
|
502
|
+
| <a id="property-region"></a> `region` | (\[`"sub"`, `string`\] \| \[`"tone"`, `string`\] \| \[`""`, `string`\])[] | A rectangle with a hole, filled: a region of a sketch. |
|
|
503
|
+
| <a id="property-rename"></a> `rename` | (\[`"sub"`, `string`\] \| \[`""`, `string`\])[] | A field with its caret: rename. |
|
|
504
|
+
| <a id="property-reorient0"></a> `reorient0` | `IconLayer`[] | A mate as it lies, not turned about its main axis. |
|
|
505
|
+
| <a id="property-reorient180"></a> `reorient180` | `IconLayer`[] | A mate turned 180° about its main axis. |
|
|
506
|
+
| <a id="property-reorient270"></a> `reorient270` | `IconLayer`[] | A mate turned 270° about its main axis. |
|
|
507
|
+
| <a id="property-reorient90"></a> `reorient90` | `IconLayer`[] | A mate turned 90° about its main axis. |
|
|
508
|
+
| <a id="property-revolute"></a> `revolute` | (\[`"sub"`, `string`\] \| \[`""`, `string`\])[] | Revolute: a turn about an axis. |
|
|
509
|
+
| <a id="property-revolve"></a> `revolve` | (\[`"sub-fill"`, `string`\] \| \[`"tone"`, `string`\] \| \[`""`, `string`\])[] | Revolve: a profile turned about an axis into a body. |
|
|
510
|
+
| <a id="property-revolveaxis"></a> `revolveAxis` | (\[`"sub"`, `string`\] \| \[`""`, `string`\])[] | The axis a revolve turns about. |
|
|
511
|
+
| <a id="property-revolveend"></a> `revolveEnd` | `IconLayer`[] | Where a revolve's turn ends. |
|
|
512
|
+
| <a id="property-revolvestart"></a> `revolveStart` | `IconLayer`[] | Where a revolve's turn starts. |
|
|
513
|
+
| <a id="property-rigidset"></a> `rigidSet` | (\[`""`, `string`\] \| \[`"point"`, `string`\])[] | Rigid set: several shapes held as one. |
|
|
514
|
+
| <a id="property-rotation"></a> `rotation` | `IconLayer`[] | Rotate: a body turned about an axis. |
|
|
515
|
+
| <a id="property-rotation3d"></a> `rotation3d` | (\[`"sub"`, `string`\] \| \[`""`, `string`\])[] | A turn in space. |
|
|
516
|
+
| <a id="property-rotationangle"></a> `rotationAngle` | (\[`"sub"`, `string`\] \| \[`""`, `string`\])[] | How far a body is turned. |
|
|
517
|
+
| <a id="property-rotationx"></a> `rotationX` | `IconLayer`[] | A turn about X. |
|
|
518
|
+
| <a id="property-rotationy"></a> `rotationY` | `IconLayer`[] | A turn about Y. |
|
|
519
|
+
| <a id="property-rotationz"></a> `rotationZ` | `IconLayer`[] | A turn about Z. |
|
|
520
|
+
| <a id="property-rotationzmax"></a> `rotationZMax` | `IconLayer`[] | The upper limit of a turn about Z. |
|
|
521
|
+
| <a id="property-rotationzmin"></a> `rotationZMin` | `IconLayer`[] | The lower limit of a turn about Z. |
|
|
522
|
+
| <a id="property-search"></a> `search` | `string` | A lens: search. |
|
|
523
|
+
| <a id="property-select"></a> `select` | (\[`"tone"`, `string`\] \| \[`""`, `string`\])[] | A pointer: select. |
|
|
524
|
+
| <a id="property-session"></a> `session` | (\[`"sub"`, `string`\] \| \[`""`, `string`\])[] | Three people, linked: a shared session. |
|
|
525
|
+
| <a id="property-sheet"></a> `sheet` | `IconLayer`[] | A sheet, as a row of the bodies' list. |
|
|
526
|
+
| <a id="property-sheetbody"></a> `sheetBody` | `IconLayer`[] | A sheet: a surface with no thickness, picked. |
|
|
527
|
+
| <a id="property-sidebar"></a> `sidebar` | (\[`"fill"`, `string`\] \| \[`""`, `string`\])[] | The app's frame with its sidebar there: hide the sidebar. |
|
|
528
|
+
| <a id="property-sidebaroff"></a> `sidebarOff` | (\[`"sub"`, `string`\] \| \[`""`, `string`\])[] | The frame with the sidebar put away: show the sidebar. |
|
|
529
|
+
| <a id="property-sketch"></a> `sketch` | (\[`"fill"`, `string`\] \| \[`"tone"`, `string`\] \| \[`""`, `string`\])[] | Sketch: a profile and its points. |
|
|
530
|
+
| <a id="property-sketchangle"></a> `sketchAngle` | (\[`"sub"`, `string`\] \| \[`""`, `string`\] \| \[`"point"`, `string`\])[] | A sketch pattern's angle. |
|
|
531
|
+
| <a id="property-sketchcountangular"></a> `sketchCountAngular` | `IconLayer`[] | A sketch pattern's count about its centre. |
|
|
532
|
+
| <a id="property-sketchcountx"></a> `sketchCountX` | `IconLayer`[] | A sketch pattern's count along its first direction. |
|
|
533
|
+
| <a id="property-sketchcounty"></a> `sketchCountY` | `IconLayer`[] | A sketch pattern's count along its second direction. |
|
|
534
|
+
| <a id="property-sketchdiameter"></a> `sketchDiameter` | (\[`"sub"`, `string`\] \| \[`""`, `string`\])[] | A diameter. |
|
|
535
|
+
| <a id="property-sketchdirectionx"></a> `sketchDirectionX` | `IconLayer`[] | A sketch pattern's first direction. |
|
|
536
|
+
| <a id="property-sketchdirectiony"></a> `sketchDirectionY` | `IconLayer`[] | A sketch pattern's second direction. |
|
|
537
|
+
| <a id="property-sketchdistancex"></a> `sketchDistanceX` | `IconLayer`[] | A sketch pattern's spacing along its first direction. |
|
|
538
|
+
| <a id="property-sketchdistancey"></a> `sketchDistanceY` | `IconLayer`[] | A sketch pattern's spacing along its second direction. |
|
|
539
|
+
| <a id="property-sketchfillet"></a> `sketchFillet` | (\[`"sub"`, `string`\] \| \[`""`, `string`\])[] | A sketch's corner rounded. |
|
|
540
|
+
| <a id="property-slice"></a> `slice` | (\[`"sub"`, `string`\] \| \[`"tone"`, `string`\] \| \[`""`, `string`\])[] | Slice: a body cut in two by a plane. |
|
|
541
|
+
| <a id="property-slicebysheet"></a> `sliceBySheet` | (\[`"sub"`, `string`\] \| \[`"tone"`, `string`\] \| \[`""`, `string`\])[] | Slice by sheet: a body cut in two by a sheet. |
|
|
542
|
+
| <a id="property-slider"></a> `slider` | (\[`"sub"`, `string`\] \| \[`""`, `string`\])[] | Slider: a block on its rail, free to slide one way. |
|
|
543
|
+
| <a id="property-solid"></a> `solid` | (\[`"tone"`, `string`\] \| \[`""`, `string`\])[] | A body. |
|
|
544
|
+
| <a id="property-solidline"></a> `solidLine` | (\[`""`, `string`\] \| \[`"point"`, `string`\])[] | A line of the profile. |
|
|
545
|
+
| <a id="property-sphere"></a> `sphere` | (\[`"tone"`, `string`\] \| \[`""`, `string`\])[] | Sphere. |
|
|
546
|
+
| <a id="property-spherical"></a> `spherical` | (\[`"sub"`, `string`\] \| \[`"tone"`, `string`\] \| \[`""`, `string`\])[] | Spherical: a ball in its cup, free to turn about a point. |
|
|
547
|
+
| <a id="property-sphericalmax"></a> `sphericalMax` | (\[`"sub"`, `string`\] \| \[`""`, `string`\])[] | A ball joint's largest swing to either side. |
|
|
548
|
+
| <a id="property-spline"></a> `spline` | (\[`"sub"`, `string`\] \| \[`""`, `string`\] \| \[`"point"`, `string`\])[] | - |
|
|
549
|
+
| <a id="property-split"></a> `split` | (\[`""`, `string`\] \| \[`"point"`, `string`\])[] | A line cut in two. |
|
|
550
|
+
| <a id="property-subtraction"></a> `subtraction` | (\[`"tone"`, `string`\] \| \[`""`, `string`\] \| \[`"sub-dash"`, `string`\])[] | Subtraction: the one body taken from the other. |
|
|
551
|
+
| <a id="property-success"></a> `success` | `string` | A tick in a disc: done. |
|
|
552
|
+
| <a id="property-switchdirection1"></a> `switchDirection1` | `string` | A direction switch, the one way. |
|
|
553
|
+
| <a id="property-switchdirection2"></a> `switchDirection2` | `string` | A direction switch, the other way. |
|
|
554
|
+
| <a id="property-switchnormal1"></a> `switchNormal1` | (\[`"sub"`, `string`\] \| \[`""`, `string`\])[] | A normal switch, the one way. |
|
|
555
|
+
| <a id="property-switchnormal2"></a> `switchNormal2` | (\[`"sub"`, `string`\] \| \[`""`, `string`\])[] | A normal switch, the other way. |
|
|
556
|
+
| <a id="property-switchx1"></a> `switchX1` | `IconLayer`[] | A switch of X, the one way. |
|
|
557
|
+
| <a id="property-switchx2"></a> `switchX2` | `IconLayer`[] | A switch of X, the other way. |
|
|
558
|
+
| <a id="property-switchy1"></a> `switchY1` | `IconLayer`[] | A switch of Y, the one way. |
|
|
559
|
+
| <a id="property-switchy2"></a> `switchY2` | `IconLayer`[] | A switch of Y, the other way. |
|
|
560
|
+
| <a id="property-symmetric"></a> `symmetric` | (\[`""`, `string`\] \| \[`"axis"`, `string`\] \| \[`"point"`, `string`\])[] | Symmetric: two points held either side of a line. |
|
|
561
|
+
| <a id="property-tangent"></a> `tangent` | (\[`"sub"`, `string`\] \| \[`""`, `string`\] \| \[`"point"`, `string`\])[] | Tangent: a curve that leaves another the way it runs. |
|
|
562
|
+
| <a id="property-theme"></a> `theme` | (\[`"fill"`, `string`\] \| \[`""`, `string`\])[] | A disc, half inked: the theme. |
|
|
563
|
+
| <a id="property-tosubassembly"></a> `toSubassembly` | (\[`"sub"`, `string`\] \| \[`""`, `string`\])[] | Three tiles and a plus: convert to a subassembly. |
|
|
564
|
+
| <a id="property-transformbycsys"></a> `transformByCsys` | `IconLayer`[] | Transform by coordinate systems: a body moved from one to another. |
|
|
565
|
+
| <a id="property-translation"></a> `translation` | `IconLayer`[] | Translate: a body moved along a line. |
|
|
566
|
+
| <a id="property-translationdistance"></a> `translationDistance` | (\[`"sub"`, `string`\] \| \[`""`, `string`\])[] | How far a body is moved. |
|
|
567
|
+
| <a id="property-trash"></a> `trash` | `string` | A bin: delete. |
|
|
568
|
+
| <a id="property-trim"></a> `trim` | (\[`"sub"`, `string`\] \| \[`""`, `string`\] \| \[`"sub-dash"`, `string`\])[] | A line cut back. |
|
|
569
|
+
| <a id="property-twist"></a> `twist` | (\[`"tone"`, `string`\] \| \[`""`, `string`\])[] | Twist: a profile raised with a twist. |
|
|
570
|
+
| <a id="property-twistangle"></a> `twistAngle` | (\[`"sub"`, `string`\] \| \[`""`, `string`\])[] | A twist's angle: the turn about the way it rises. |
|
|
571
|
+
| <a id="property-undo"></a> `undo` | `string` | An arrow that turns back: undo. |
|
|
572
|
+
| <a id="property-union"></a> `union` | (\[`"tone"`, `string`\] \| \[`""`, `string`\])[] | Union: two bodies joined into one. |
|
|
573
|
+
| <a id="property-usegeometry"></a> `useGeometry` | `IconLayer`[] | An edge of the body taken into the sketch as a line of its own. |
|
|
574
|
+
| <a id="property-usereference"></a> `useReference` | `IconLayer`[] | An edge of the body taken into the sketch as a reference only. |
|
|
575
|
+
| <a id="property-vertical"></a> `vertical` | (\[`"sub"`, `string`\] \| \[`""`, `string`\])[] | Vertical: a line held upright. |
|
|
576
|
+
| <a id="property-viewedges"></a> `viewEdges` | (\[`""`, `string`\] \| \[`"sub-dash"`, `string`\])[] | A cube's edges, the hidden ones dashed: show the edges. |
|
|
577
|
+
| <a id="property-viewfaces"></a> `viewFaces` | (\[`"tone"`, `string`\] \| \[`""`, `string`\])[] | A cube with its faces: show the faces. |
|
|
578
|
+
| <a id="property-viewnormal"></a> `viewNormal` | (\[`"sub"`, `string`\] \| \[`"tone"`, `string`\] \| \[`""`, `string`\])[] | An arrow that stands on a plane: look along a plane's normal. |
|
|
579
|
+
| <a id="property-viewpoints"></a> `viewPoints` | (\[`"fill"`, `string`\] \| \[`"sub"`, `string`\])[] | A cube's corners: show the points. |
|
|
580
|
+
| <a id="property-viewwire"></a> `viewWire` | (\[`"sub"`, `string`\] \| \[`""`, `string`\])[] | A cube's wires: show the faces as wires. |
|
|
581
|
+
| <a id="property-warning"></a> `warning` | `string` | An exclamation mark in a triangle: a warning. |
|
|
582
|
+
| <a id="property-workaxis"></a> `workAxis` | (\[`"fill"`, `string`\] \| \[`""`, `string`\])[] | Work axis. |
|
|
583
|
+
| <a id="property-workcsys"></a> `workCSys` | (\[`"fill"`, `string`\] \| \[`""`, `string`\])[] | Work coordinate system. |
|
|
584
|
+
| <a id="property-workplane"></a> `workPlane` | `IconLayer`[] | Work plane. |
|
|
585
|
+
| <a id="property-workpoint"></a> `workPoint` | (\[`"fill"`, `string`\] \| \[`""`, `string`\])[] | Work point. |
|
|
586
|
+
| <a id="property-zoomfit"></a> `zoomFit` | (\[`"tone"`, `string`\] \| \[`""`, `string`\])[] | Corners around a square: zoom to fit. |
|
|
587
|
+
|
|
588
|
+
#### Example
|
|
589
|
+
|
|
590
|
+
```tsx
|
|
591
|
+
import { Icon, icons } from '@classcad/react-cad'
|
|
592
|
+
import type { IconName } from '@classcad/react-cad'
|
|
593
|
+
|
|
594
|
+
// a sheet of every icon there is, each with its name
|
|
595
|
+
const Sheet = () => (
|
|
596
|
+
<div style={{ display: 'grid', gridTemplateColumns: 'repeat(8, 1fr)', gap: 12 }}>
|
|
597
|
+
{(Object.keys(icons) as IconName[]).map((name) => (
|
|
598
|
+
<figure key={name}>
|
|
599
|
+
<Icon name={name} size={32} title={name} />
|
|
600
|
+
<figcaption>{name}</figcaption>
|
|
601
|
+
</figure>
|
|
602
|
+
))}
|
|
603
|
+
</div>
|
|
604
|
+
)
|
|
605
|
+
```
|
|
606
|
+
|
|
607
|
+
## Functions
|
|
608
|
+
|
|
609
|
+
### iconDataUrl() {#icondataurl}
|
|
610
|
+
|
|
611
|
+
```ts
|
|
612
|
+
function iconDataUrl(
|
|
613
|
+
name,
|
|
614
|
+
inks,
|
|
615
|
+
size?,
|
|
616
|
+
seenAt?
|
|
617
|
+
): string;
|
|
618
|
+
```
|
|
619
|
+
|
|
620
|
+
An icon as a `data:` url of its svg ([iconSvg](#iconsvg)): for an `<img>`, a CSS background or a texture's loader.
|
|
621
|
+
|
|
622
|
+
#### Parameters
|
|
623
|
+
|
|
624
|
+
| Parameter | Type | Default value | Description |
|
|
625
|
+
| :------ | :------ | :------ | :------ |
|
|
626
|
+
| `name` | `string` | `undefined` | The drawing's name, or its reference ([iconRef](#iconref)). |
|
|
627
|
+
| `inks` | \{ `ink`: `string`; `mono?`: `boolean`; `x?`: `string`; `y?`: `string`; `z?`: `string`; \} | `undefined` | Its colours, such as `{ ink: '#0f1320' }`. |
|
|
628
|
+
| `inks.ink` | `string` | `undefined` | The ink: what the sign is about. What it is done to is the same, at 46 %. |
|
|
629
|
+
| `inks.mono?` | `boolean` | `undefined` | All in the ink: no grey, and the axes in it too (a point keeps its light centre). Default `false`. |
|
|
630
|
+
| `inks.x?` | `string` | `undefined` | The X axis' colour. Default: the ink. |
|
|
631
|
+
| `inks.y?` | `string` | `undefined` | The Y axis' colour. Default: the ink. |
|
|
632
|
+
| `inks.z?` | `string` | `undefined` | The Z axis' colour. Default: the ink. |
|
|
633
|
+
| `size?` | `number` | `20` | The svg's width and height in px. Default `20`. |
|
|
634
|
+
| `seenAt?` | `number` | `size` | The size in px it is seen at, which its lines are weighed for. Default: `size`. |
|
|
635
|
+
|
|
636
|
+
#### Returns
|
|
637
|
+
|
|
638
|
+
`string`
|
|
639
|
+
|
|
640
|
+
#### Example
|
|
641
|
+
|
|
642
|
+
```tsx
|
|
643
|
+
import { iconDataUrl, useRCadTheme } from '@classcad/react-cad'
|
|
644
|
+
|
|
645
|
+
// an icon as an <img>, in the theme's colours: the axes in their own
|
|
646
|
+
function AxisBadge() {
|
|
647
|
+
const colors = useRCadTheme()
|
|
648
|
+
const src = iconDataUrl('rotation3d', { ink: colors.ink, x: colors.axisX, y: colors.axisY, z: colors.axisZ }, 24)
|
|
649
|
+
return <img src={src} width={24} height={24} alt="Rotation" />
|
|
650
|
+
}
|
|
651
|
+
```
|
|
652
|
+
|
|
653
|
+
***
|
|
654
|
+
|
|
655
|
+
### iconRef() {#iconref}
|
|
656
|
+
|
|
657
|
+
```ts
|
|
658
|
+
function iconRef(name): string;
|
|
659
|
+
```
|
|
660
|
+
|
|
661
|
+
An icon's reference: a string (`'rcad:extrusion'`) that goes wherever an image's url went before.
|
|
662
|
+
|
|
663
|
+
It goes into a plugin description's `iconUrl` or a menu item's icon, say: [Icon](#icon) draws it from its `url`, and
|
|
664
|
+
shows anything else it is handed there as the image it is. [iconSvg](#iconsvg) and [iconDataUrl](#icondataurl) take it too.
|
|
665
|
+
|
|
666
|
+
#### Parameters
|
|
667
|
+
|
|
668
|
+
| Parameter | Type | Description |
|
|
669
|
+
| :------ | :------ | :------ |
|
|
670
|
+
| `name` | \| `"pointOnPlane"` \| `"normal"` \| `"origin"` \| `"radius"` \| `"position"` \| `"slice"` \| `"edges"` \| `"box"` \| `"message"` \| `"copy"` \| `"products"` \| `"error"` \| `"success"` \| `"info"` \| `"warning"` \| `"theme"` \| `"search"` \| `"split"` \| `"trim"` \| `"fixed"` \| `"link"` \| `"angle"` \| `"enter"` \| `"loop"` \| `"menu"` \| `"select"` \| `"line"` \| `"cylindrical"` \| `"sphere"` \| `"spherical"` \| `"group"` \| `"part"` \| `"rotation"` \| `"direction"` \| `"close"` \| `"flipY"` \| `"arc"` \| `"cone"` \| `"union"` \| `"instance"` \| `"mirror"` \| `"appearance"` \| `"caret"` \| `"solid"` \| `"region"` \| `"horizontal"` \| `"vertical"` \| `"open"` \| `"sheet"` \| `"edit"` \| `"mate1"` \| `"mate2"` \| `"instances"` \| `"undo"` \| `"redo"` \| `"face"` \| `"cylinder"` \| `"point"` \| `"twist"` \| `"offsetX"` \| `"offsetY"` \| `"intersection"` \| `"slider"` \| `"download"` \| `"file"` \| `"more"` \| `"sketch"` \| `"back"` \| `"chevronLeft"` \| `"chevronRight"` \| `"chevronDown"` \| `"chevronUp"` \| `"arrowRight"` \| `"check"` \| `"plus"` \| `"minus"` \| `"grip"` \| `"sidebar"` \| `"sidebarOff"` \| `"eye"` \| `"eyeOff"` \| `"trash"` \| `"rename"` \| `"pin"` \| `"export"` \| `"import"` \| `"question"` \| `"toSubassembly"` \| `"session"` \| `"viewFaces"` \| `"viewWire"` \| `"viewEdges"` \| `"viewPoints"` \| `"look"` \| `"dims"` \| `"measure"` \| `"bbox"` \| `"zoomFit"` \| `"viewNormal"` \| `"expressions"` \| `"extrusion"` \| `"revolve"` \| `"subtraction"` \| `"fillet"` \| `"chamfer"` \| `"sliceBySheet"` \| `"linearPattern"` \| `"circularPattern"` \| `"translation"` \| `"transformByCsys"` \| `"workPlane"` \| `"workAxis"` \| `"workPoint"` \| `"workCSys"` \| `"axisX"` \| `"axisY"` \| `"axisZ"` \| `"planeTop"` \| `"planeFront"` \| `"planeRight"` \| `"assembly"` \| `"entityDeletion"` \| `"compositeCurve"` \| `"boxLength"` \| `"boxWidth"` \| `"boxHeight"` \| `"limitUp"` \| `"limitDown"` \| `"capSolid"` \| `"capSheet"` \| `"twistAngle"` \| `"revolveAxis"` \| `"revolveStart"` \| `"revolveEnd"` \| `"cylinderHeight"` \| `"diameter"` \| `"coneHeight"` \| `"coneBase"` \| `"coneTop"` \| `"filletRadius"` \| `"chamferOffset1"` \| `"chamferOffset2"` \| `"chamferAngle"` \| `"distanceX"` \| `"distanceY"` \| `"distanceZ"` \| `"countX"` \| `"countY"` \| `"countAngular"` \| `"anglePattern"` \| `"angleZ"` \| `"translationDistance"` \| `"rotationAngle"` \| `"merged"` \| `"notMerged"` \| `"gearFirst"` \| `"gearSecond"` \| `"gearRatio"` \| `"sphericalMax"` \| `"offsetXMin"` \| `"offsetXMax"` \| `"offsetYMin"` \| `"offsetYMax"` \| `"offsetZ"` \| `"offsetZMin"` \| `"offsetZMax"` \| `"directionX"` \| `"directionY"` \| `"rotationX"` \| `"rotationY"` \| `"rotationZ"` \| `"rotationZMin"` \| `"rotationZMax"` \| `"rotation3d"` \| `"switchDirection1"` \| `"switchDirection2"` \| `"switchNormal1"` \| `"switchNormal2"` \| `"switchX1"` \| `"switchX2"` \| `"switchY1"` \| `"switchY2"` \| `"flipX"` \| `"flipXInv"` \| `"flipYInv"` \| `"flipZ"` \| `"flipZInv"` \| `"reorient0"` \| `"reorient90"` \| `"reorient180"` \| `"reorient270"` \| `"rect2Points"` \| `"rectCenter"` \| `"circleCenter"` \| `"arcTangent"` \| `"arcCenter"` \| `"arc3Points"` \| `"spline"` \| `"intSpline"` \| `"bezier"` \| `"sketchFillet"` \| `"useGeometry"` \| `"useReference"` \| `"solidLine"` \| `"constructionLine"` \| `"mirrorLine"` \| `"coincident"` \| `"tangent"` \| `"equalCurvature"` \| `"parallelLines"` \| `"perpendicular"` \| `"colinear"` \| `"concentric"` \| `"midpoint"` \| `"symmetric"` \| `"equal"` \| `"equalRadius"` \| `"rigidSet"` \| `"dimHorizontal"` \| `"dimVertical"` \| `"dimLinear"` \| `"sketchDiameter"` \| `"angleOX"` \| `"pattern2dLinear"` \| `"pattern2dCircular"` \| `"pattern2dMirror"` \| `"sketchDistanceX"` \| `"sketchDistanceY"` \| `"sketchDirectionX"` \| `"sketchDirectionY"` \| `"sketchCountX"` \| `"sketchCountY"` \| `"sketchCountAngular"` \| `"sketchAngle"` \| `"instancesOpen"` \| `"sheetBody"` \| `"csysFrom"` \| `"csysTo"` \| `"direction3d"` \| `"directionPoints"` \| `"directionPlanes"` \| `"directionCurve"` \| `"planeOffset"` \| `"pointsOnPlane"` \| `"lineOnPlane"` \| `"barycenter"` \| `"midpointPoints"` \| `"midpointLine"` \| `"innerCircle"` \| `"intersectionPoint"` \| `"fastenedOrigin"` \| `"fastened"` \| `"revolute"` \| `"planar"` \| `"parallel"` \| `"linearPatternConstraint"` \| `"circularPatternConstraint"` \| `"gear"` \| `"missing"` | The drawing's name. |
|
|
671
|
+
|
|
672
|
+
#### Returns
|
|
673
|
+
|
|
674
|
+
`string`
|
|
675
|
+
|
|
676
|
+
#### Example
|
|
677
|
+
|
|
678
|
+
```tsx
|
|
679
|
+
import { Icon, iconRef } from '@classcad/react-cad'
|
|
680
|
+
|
|
681
|
+
// what took an image's url takes the reference: it is drawn as the sign, in the theme's ink
|
|
682
|
+
const tools = [
|
|
683
|
+
{ name: 'Extrude', iconUrl: iconRef('extrusion') },
|
|
684
|
+
{ name: 'Logo', iconUrl: '/logo.svg' },
|
|
685
|
+
]
|
|
686
|
+
const Tools = () => (
|
|
687
|
+
<>{tools.map((tool) => <Icon key={tool.name} url={tool.iconUrl} size={20} title={tool.name} />)}</>
|
|
688
|
+
)
|
|
689
|
+
```
|
|
690
|
+
|
|
691
|
+
## Types
|
|
692
|
+
|
|
693
|
+
### IconName {#iconname}
|
|
694
|
+
|
|
695
|
+
```ts
|
|
696
|
+
type IconName = keyof typeof icons;
|
|
697
|
+
```
|
|
698
|
+
|
|
699
|
+
The name of one of the app's drawings: a key of [icons](#icons), such as `'extrusion'`.
|
|
700
|
+
|
|
701
|
+
***
|
|
702
|
+
|
|
703
|
+
### IconProps {#iconprops}
|
|
704
|
+
|
|
705
|
+
```ts
|
|
706
|
+
type IconProps = {
|
|
707
|
+
className?: string;
|
|
708
|
+
mono?: boolean;
|
|
709
|
+
name?: IconName;
|
|
710
|
+
size?: number;
|
|
711
|
+
style?: React.CSSProperties;
|
|
712
|
+
title?: string;
|
|
713
|
+
url?: string;
|
|
714
|
+
};
|
|
715
|
+
```
|
|
716
|
+
|
|
717
|
+
Props of [Icon](#icon).
|
|
718
|
+
|
|
719
|
+
#### Properties
|
|
720
|
+
|
|
721
|
+
| Property | Type | Description |
|
|
722
|
+
| :------ | :------ | :------ |
|
|
723
|
+
| <a id="property-classname"></a> `className?` | `string` | A class for the `<svg>`, besides `rcad-icon`. |
|
|
724
|
+
| <a id="property-mono"></a> `mono?` | `boolean` | All in the one ink: no grey, no axis colours (a point keeps its light centre). Default `false`. |
|
|
725
|
+
| <a id="property-name"></a> `name?` | [`IconName`](#iconname) | A drawing's name. |
|
|
726
|
+
| <a id="property-size"></a> `size?` | `number` | Its width and height in px. Its lines keep their weight on the screen at any size. Default `20`. |
|
|
727
|
+
| <a id="property-style"></a> `style?` | `React.CSSProperties` | Its style. |
|
|
728
|
+
| <a id="property-title"></a> `title?` | `string` | What it says to a screen reader (and an image's `alt`). Without it, the icon is hidden from one. |
|
|
729
|
+
| <a id="property-url"></a> `url?` | `string` | Or its reference (see [iconRef](#iconref)), or the url of an image, which is shown as an `<img>`. |
|
|
730
|
+
|
|
731
|
+
## Advanced
|
|
732
|
+
|
|
733
|
+
Most apps do not need these directly: types they meet through the exports above, and what is there for special cases or for building on buerli itself.
|
|
734
|
+
|
|
735
|
+
### IconDrawing {#icondrawing}
|
|
736
|
+
|
|
737
|
+
```ts
|
|
738
|
+
type IconDrawing = string | readonly IconLayer[];
|
|
739
|
+
```
|
|
740
|
+
|
|
741
|
+
An icon's drawing: its layers, back to front, each a pen and an SVG path on the 20 × 20 sheet (`[pen, d]`); or, for
|
|
742
|
+
a sign that is one path in ink, just that path.
|
|
743
|
+
|
|
744
|
+
The pens are `''` (ink: what the sign is about), `'sub'` (grey: what it is done to), `'dash'` and `'sub-dash'`,
|
|
745
|
+
`'axis'` (grey, chain-dashed), `'fill'` and `'sub-fill'` (filled), `'point'` and `'sub-point'` (a sketch's point: a
|
|
746
|
+
ring with a light centre, given as its circle), `'tone'` (a wash of ink: the face of what the
|
|
747
|
+
sign is about), and `'x'`, `'y'`, `'z'` (a line in an axis' own colour). In a path, a part in square brackets is
|
|
748
|
+
filled as well as drawn: an arrow's head, `M3 10H13[M17 10L13 8V12Z]`.
|
|
749
|
+
|
|
750
|
+
#### Example
|
|
751
|
+
|
|
752
|
+
```ts
|
|
753
|
+
import type { IconDrawing } from '@classcad/react-cad'
|
|
754
|
+
|
|
755
|
+
// a sign that is one path in ink, and one in layers: what is done to in grey, what it is about in ink
|
|
756
|
+
const plus: IconDrawing = 'M10 4v12M4 10h12'
|
|
757
|
+
const eyeOff: IconDrawing = [
|
|
758
|
+
['sub', 'M2 10C4 6.7 6.8 5 10 5s6 1.7 8 5c-2 3.3-4.8 5-8 5s-6-1.7-8-5Z'],
|
|
759
|
+
['', 'M4 16 16 4'],
|
|
760
|
+
]
|
|
761
|
+
```
|
|
762
|
+
|
|
763
|
+
***
|
|
764
|
+
|
|
765
|
+
### iconSvg() {#iconsvg}
|
|
766
|
+
|
|
767
|
+
```ts
|
|
768
|
+
function iconSvg(
|
|
769
|
+
name,
|
|
770
|
+
inks,
|
|
771
|
+
size?,
|
|
772
|
+
seenAt?
|
|
773
|
+
): string;
|
|
774
|
+
```
|
|
775
|
+
|
|
776
|
+
An icon as a standalone svg, its colours written into it: for where no stylesheet reaches.
|
|
777
|
+
|
|
778
|
+
That is a texture on the canvas, say, or an image's url ([iconDataUrl](#icondataurl)). Its lines are weighed for the size it
|
|
779
|
+
is seen at, which a texture drawn large, to stay sharp, and shown small says apart from its size.
|
|
780
|
+
|
|
781
|
+
#### Parameters
|
|
782
|
+
|
|
783
|
+
| Parameter | Type | Default value | Description |
|
|
784
|
+
| :------ | :------ | :------ | :------ |
|
|
785
|
+
| `name` | `string` | `undefined` | The drawing's name, or its reference ([iconRef](#iconref)). |
|
|
786
|
+
| `inks` | \{ `ink`: `string`; `mono?`: `boolean`; `x?`: `string`; `y?`: `string`; `z?`: `string`; \} | `undefined` | Its colours, such as `{ ink: '#0f1320' }`. |
|
|
787
|
+
| `inks.ink` | `string` | `undefined` | The ink: what the sign is about. What it is done to is the same, at 46 %. |
|
|
788
|
+
| `inks.mono?` | `boolean` | `undefined` | All in the ink: no grey, and the axes in it too (a point keeps its light centre). Default `false`. |
|
|
789
|
+
| `inks.x?` | `string` | `undefined` | The X axis' colour. Default: the ink. |
|
|
790
|
+
| `inks.y?` | `string` | `undefined` | The Y axis' colour. Default: the ink. |
|
|
791
|
+
| `inks.z?` | `string` | `undefined` | The Z axis' colour. Default: the ink. |
|
|
792
|
+
| `size?` | `number` | `20` | The svg's width and height in px. Default `20`. |
|
|
793
|
+
| `seenAt?` | `number` | `size` | The size in px it is seen at, which its lines are weighed for. Default: `size`. |
|
|
794
|
+
|
|
795
|
+
#### Returns
|
|
796
|
+
|
|
797
|
+
`string`
|
|
798
|
+
|
|
799
|
+
The svg's markup.
|
|
800
|
+
|
|
801
|
+
#### Example
|
|
802
|
+
|
|
803
|
+
```tsx
|
|
804
|
+
import * as THREE from 'three'
|
|
805
|
+
import { getStage, iconSvg } from '@classcad/react-cad'
|
|
806
|
+
|
|
807
|
+
// a sign as a texture on the stage: drawn at 96 px to stay sharp, its lines weighed for 16 px on screen
|
|
808
|
+
const stage = getStage()
|
|
809
|
+
const svg = iconSvg('workPlane', { ink: stage.datum }, 96, 16)
|
|
810
|
+
const texture = new THREE.TextureLoader().load('data:image/svg+xml;utf8,' + encodeURIComponent(svg))
|
|
811
|
+
const material = new THREE.SpriteMaterial({ map: texture, transparent: true })
|
|
812
|
+
```
|