@mlightcad/cad-simple-viewer 1.4.11 → 1.4.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +10751 -8434
- package/dist/index.umd.cjs +78 -77
- package/dist/libredwg-parser-worker.js +6603 -12203
- package/lib/app/AcApAnnotation.d.ts.map +1 -1
- package/lib/app/AcApAnnotation.js +3 -3
- package/lib/app/AcApAnnotation.js.map +1 -1
- package/lib/app/AcApDocManager.d.ts +1 -0
- package/lib/app/AcApDocManager.d.ts.map +1 -1
- package/lib/app/AcApDocManager.js +7 -1
- package/lib/app/AcApDocManager.js.map +1 -1
- package/lib/app/AcApDocument.d.ts +6 -0
- package/lib/app/AcApDocument.d.ts.map +1 -1
- package/lib/app/AcApDocument.js +12 -0
- package/lib/app/AcApDocument.js.map +1 -1
- package/lib/app/AcApProgress.d.ts.map +1 -1
- package/lib/app/AcApProgress.js +3 -3
- package/lib/app/AcApProgress.js.map +1 -1
- package/lib/app/AcApSettingManager.d.ts.map +1 -1
- package/lib/app/AcApSettingManager.js +3 -1
- package/lib/app/AcApSettingManager.js.map +1 -1
- package/lib/app/AcDbOpenDatabaseOptions.d.ts.map +1 -1
- package/lib/command/AcApArcCmd.d.ts +140 -0
- package/lib/command/AcApArcCmd.d.ts.map +1 -0
- package/lib/command/AcApArcCmd.js +1009 -0
- package/lib/command/AcApArcCmd.js.map +1 -0
- package/lib/command/AcApCircleCmd.d.ts.map +1 -1
- package/lib/command/AcApCircleCmd.js +10 -4
- package/lib/command/AcApCircleCmd.js.map +1 -1
- package/lib/command/AcApClearMeasurementsCmd.d.ts +1 -1
- package/lib/command/AcApClearMeasurementsCmd.d.ts.map +1 -1
- package/lib/command/AcApClearMeasurementsCmd.js +2 -4
- package/lib/command/AcApClearMeasurementsCmd.js.map +1 -1
- package/lib/command/AcApConvertToDxfCmd.d.ts +9 -0
- package/lib/command/AcApConvertToDxfCmd.d.ts.map +1 -0
- package/lib/command/AcApConvertToDxfCmd.js +75 -0
- package/lib/command/AcApConvertToDxfCmd.js.map +1 -0
- package/lib/command/AcApDimLinearCmd.d.ts.map +1 -1
- package/lib/command/AcApDimLinearCmd.js +14 -5
- package/lib/command/AcApDimLinearCmd.js.map +1 -1
- package/lib/command/AcApDxfConvertor.d.ts +12 -0
- package/lib/command/AcApDxfConvertor.d.ts.map +1 -0
- package/lib/command/AcApDxfConvertor.js +37 -0
- package/lib/command/AcApDxfConvertor.js.map +1 -0
- package/lib/command/AcApEraseCmd.d.ts.map +1 -1
- package/lib/command/AcApEraseCmd.js +10 -6
- package/lib/command/AcApEraseCmd.js.map +1 -1
- package/lib/command/AcApLineCmd.d.ts.map +1 -1
- package/lib/command/AcApLineCmd.js +10 -4
- package/lib/command/AcApLineCmd.js.map +1 -1
- package/lib/command/AcApMTextCmd.d.ts.map +1 -1
- package/lib/command/AcApMTextCmd.js +6 -3
- package/lib/command/AcApMTextCmd.js.map +1 -1
- package/lib/command/AcApMeasureAngleCmd.d.ts.map +1 -1
- package/lib/command/AcApMeasureAngleCmd.js +134 -123
- package/lib/command/AcApMeasureAngleCmd.js.map +1 -1
- package/lib/command/AcApMeasureArcCmd.d.ts.map +1 -1
- package/lib/command/AcApMeasureArcCmd.js +165 -147
- package/lib/command/AcApMeasureArcCmd.js.map +1 -1
- package/lib/command/AcApMeasureAreaCmd.d.ts.map +1 -1
- package/lib/command/AcApMeasureAreaCmd.js +183 -175
- package/lib/command/AcApMeasureAreaCmd.js.map +1 -1
- package/lib/command/AcApMeasureDistanceCmd.d.ts.map +1 -1
- package/lib/command/AcApMeasureDistanceCmd.js +51 -39
- package/lib/command/AcApMeasureDistanceCmd.js.map +1 -1
- package/lib/command/AcApPolylineCmd.d.ts +71 -0
- package/lib/command/AcApPolylineCmd.d.ts.map +1 -0
- package/lib/command/AcApPolylineCmd.js +569 -0
- package/lib/command/AcApPolylineCmd.js.map +1 -0
- package/lib/command/AcApRectCmd.d.ts.map +1 -1
- package/lib/command/AcApRectCmd.js +10 -4
- package/lib/command/AcApRectCmd.js.map +1 -1
- package/lib/command/AcApRevCloudCmd.d.ts.map +1 -1
- package/lib/command/AcApRevCloudCmd.js +10 -4
- package/lib/command/AcApRevCloudCmd.js.map +1 -1
- package/lib/command/AcApSketchCmd.d.ts.map +1 -1
- package/lib/command/AcApSketchCmd.js +11 -7
- package/lib/command/AcApSketchCmd.js.map +1 -1
- package/lib/command/AcApSplineCmd.d.ts +20 -0
- package/lib/command/AcApSplineCmd.d.ts.map +1 -0
- package/lib/command/AcApSplineCmd.js +213 -0
- package/lib/command/AcApSplineCmd.js.map +1 -0
- package/lib/command/AcApSysVarCmd.d.ts.map +1 -1
- package/lib/command/AcApSysVarCmd.js +6 -3
- package/lib/command/AcApSysVarCmd.js.map +1 -1
- package/lib/command/AcApZoomToBoxCmd.d.ts.map +1 -1
- package/lib/command/AcApZoomToBoxCmd.js +6 -4
- package/lib/command/AcApZoomToBoxCmd.js.map +1 -1
- package/lib/command/index.d.ts +5 -0
- package/lib/command/index.d.ts.map +1 -1
- package/lib/command/index.js +5 -0
- package/lib/command/index.js.map +1 -1
- package/lib/editor/command/AcEdCommandIterator.d.ts.map +1 -1
- package/lib/editor/command/AcEdCommandIterator.js.map +1 -1
- package/lib/editor/global/AcEdUiTheme.d.ts +4 -0
- package/lib/editor/global/AcEdUiTheme.d.ts.map +1 -0
- package/lib/editor/global/AcEdUiTheme.js +44 -0
- package/lib/editor/global/AcEdUiTheme.js.map +1 -0
- package/lib/editor/global/index.d.ts +1 -0
- package/lib/editor/global/index.d.ts.map +1 -1
- package/lib/editor/global/index.js +1 -0
- package/lib/editor/global/index.js.map +1 -1
- package/lib/editor/input/AcEdCursorManager.d.ts +10 -0
- package/lib/editor/input/AcEdCursorManager.d.ts.map +1 -1
- package/lib/editor/input/AcEdCursorManager.js +24 -4
- package/lib/editor/input/AcEdCursorManager.js.map +1 -1
- package/lib/editor/input/AcEdInputModifiers.d.ts +39 -0
- package/lib/editor/input/AcEdInputModifiers.d.ts.map +1 -0
- package/lib/editor/input/AcEdInputModifiers.js +2 -0
- package/lib/editor/input/AcEdInputModifiers.js.map +1 -0
- package/lib/editor/input/AcEdInputToggles.d.ts +24 -0
- package/lib/editor/input/AcEdInputToggles.d.ts.map +1 -0
- package/lib/editor/input/AcEdInputToggles.js +2 -0
- package/lib/editor/input/AcEdInputToggles.js.map +1 -0
- package/lib/editor/input/AcEdPromptStateMachine.d.ts +110 -0
- package/lib/editor/input/AcEdPromptStateMachine.d.ts.map +1 -0
- package/lib/editor/input/AcEdPromptStateMachine.js +147 -0
- package/lib/editor/input/AcEdPromptStateMachine.js.map +1 -0
- package/lib/editor/input/AcEditor.d.ts +58 -9
- package/lib/editor/input/AcEditor.d.ts.map +1 -1
- package/lib/editor/input/AcEditor.js +96 -1
- package/lib/editor/input/AcEditor.js.map +1 -1
- package/lib/editor/input/index.d.ts +3 -0
- package/lib/editor/input/index.d.ts.map +1 -1
- package/lib/editor/input/index.js +3 -0
- package/lib/editor/input/index.js.map +1 -1
- package/lib/editor/input/marker/AcEdMarker.d.ts.map +1 -1
- package/lib/editor/input/marker/AcEdMarker.js +3 -3
- package/lib/editor/input/marker/AcEdMarker.js.map +1 -1
- package/lib/editor/input/prompt/AcEdKeywordCollection.d.ts.map +1 -1
- package/lib/editor/input/prompt/AcEdKeywordCollection.js +11 -4
- package/lib/editor/input/prompt/AcEdKeywordCollection.js.map +1 -1
- package/lib/editor/input/prompt/AcEdPromptAngleOptions.d.ts +1 -1
- package/lib/editor/input/prompt/AcEdPromptAngleOptions.d.ts.map +1 -1
- package/lib/editor/input/prompt/AcEdPromptAngleOptions.js +2 -2
- package/lib/editor/input/prompt/AcEdPromptAngleOptions.js.map +1 -1
- package/lib/editor/input/prompt/AcEdPromptBoxResult.d.ts +12 -0
- package/lib/editor/input/prompt/AcEdPromptBoxResult.d.ts.map +1 -0
- package/lib/editor/input/prompt/AcEdPromptBoxResult.js +30 -0
- package/lib/editor/input/prompt/AcEdPromptBoxResult.js.map +1 -0
- package/lib/editor/input/prompt/AcEdPromptDoubleResult.d.ts +9 -0
- package/lib/editor/input/prompt/AcEdPromptDoubleResult.d.ts.map +1 -0
- package/lib/editor/input/prompt/AcEdPromptDoubleResult.js +28 -0
- package/lib/editor/input/prompt/AcEdPromptDoubleResult.js.map +1 -0
- package/lib/editor/input/prompt/AcEdPromptEntityOptions.d.ts +1 -1
- package/lib/editor/input/prompt/AcEdPromptEntityOptions.d.ts.map +1 -1
- package/lib/editor/input/prompt/AcEdPromptEntityOptions.js +2 -2
- package/lib/editor/input/prompt/AcEdPromptEntityOptions.js.map +1 -1
- package/lib/editor/input/prompt/AcEdPromptEntityResult.d.ts +14 -0
- package/lib/editor/input/prompt/AcEdPromptEntityResult.d.ts.map +1 -0
- package/lib/editor/input/prompt/AcEdPromptEntityResult.js +31 -0
- package/lib/editor/input/prompt/AcEdPromptEntityResult.js.map +1 -0
- package/lib/editor/input/prompt/AcEdPromptIntegerResult.d.ts +9 -0
- package/lib/editor/input/prompt/AcEdPromptIntegerResult.d.ts.map +1 -0
- package/lib/editor/input/prompt/AcEdPromptIntegerResult.js +28 -0
- package/lib/editor/input/prompt/AcEdPromptIntegerResult.js.map +1 -0
- package/lib/editor/input/prompt/AcEdPromptKeywordOptions.d.ts +1 -1
- package/lib/editor/input/prompt/AcEdPromptKeywordOptions.d.ts.map +1 -1
- package/lib/editor/input/prompt/AcEdPromptKeywordOptions.js +2 -2
- package/lib/editor/input/prompt/AcEdPromptKeywordOptions.js.map +1 -1
- package/lib/editor/input/prompt/AcEdPromptNumericalOptions.d.ts +1 -1
- package/lib/editor/input/prompt/AcEdPromptNumericalOptions.d.ts.map +1 -1
- package/lib/editor/input/prompt/AcEdPromptNumericalOptions.js +2 -2
- package/lib/editor/input/prompt/AcEdPromptNumericalOptions.js.map +1 -1
- package/lib/editor/input/prompt/AcEdPromptOptions.d.ts +3 -2
- package/lib/editor/input/prompt/AcEdPromptOptions.d.ts.map +1 -1
- package/lib/editor/input/prompt/AcEdPromptOptions.js +15 -4
- package/lib/editor/input/prompt/AcEdPromptOptions.js.map +1 -1
- package/lib/editor/input/prompt/AcEdPromptPointOptions.d.ts +1 -1
- package/lib/editor/input/prompt/AcEdPromptPointOptions.d.ts.map +1 -1
- package/lib/editor/input/prompt/AcEdPromptPointOptions.js +2 -2
- package/lib/editor/input/prompt/AcEdPromptPointOptions.js.map +1 -1
- package/lib/editor/input/prompt/AcEdPromptPointResult.d.ts +3 -3
- package/lib/editor/input/prompt/AcEdPromptSelectionOptions.d.ts +1 -1
- package/lib/editor/input/prompt/AcEdPromptSelectionOptions.d.ts.map +1 -1
- package/lib/editor/input/prompt/AcEdPromptSelectionOptions.js +2 -2
- package/lib/editor/input/prompt/AcEdPromptSelectionOptions.js.map +1 -1
- package/lib/editor/input/prompt/AcEdPromptSelectionResult.d.ts +12 -0
- package/lib/editor/input/prompt/AcEdPromptSelectionResult.d.ts.map +1 -0
- package/lib/editor/input/prompt/AcEdPromptSelectionResult.js +30 -0
- package/lib/editor/input/prompt/AcEdPromptSelectionResult.js.map +1 -0
- package/lib/editor/input/prompt/AcEdPromptStringOptions.d.ts +1 -1
- package/lib/editor/input/prompt/AcEdPromptStringOptions.d.ts.map +1 -1
- package/lib/editor/input/prompt/AcEdPromptStringOptions.js +2 -2
- package/lib/editor/input/prompt/AcEdPromptStringOptions.js.map +1 -1
- package/lib/editor/input/prompt/index.d.ts +9 -0
- package/lib/editor/input/prompt/index.d.ts.map +1 -1
- package/lib/editor/input/prompt/index.js +9 -0
- package/lib/editor/input/prompt/index.js.map +1 -1
- package/lib/editor/input/session/AcEdKeywordSession.d.ts +2 -1
- package/lib/editor/input/session/AcEdKeywordSession.d.ts.map +1 -1
- package/lib/editor/input/session/AcEdKeywordSession.js +7 -1
- package/lib/editor/input/session/AcEdKeywordSession.js.map +1 -1
- package/lib/editor/input/ui/AcEdCommandLine.d.ts +4 -1
- package/lib/editor/input/ui/AcEdCommandLine.d.ts.map +1 -1
- package/lib/editor/input/ui/AcEdCommandLine.js +34 -5
- package/lib/editor/input/ui/AcEdCommandLine.js.map +1 -1
- package/lib/editor/input/ui/AcEdFloatingInput.d.ts +23 -1
- package/lib/editor/input/ui/AcEdFloatingInput.d.ts.map +1 -1
- package/lib/editor/input/ui/AcEdFloatingInput.js +140 -26
- package/lib/editor/input/ui/AcEdFloatingInput.js.map +1 -1
- package/lib/editor/input/ui/AcEdFloatingInputBox.d.ts +2 -0
- package/lib/editor/input/ui/AcEdFloatingInputBox.d.ts.map +1 -1
- package/lib/editor/input/ui/AcEdFloatingInputBox.js +4 -0
- package/lib/editor/input/ui/AcEdFloatingInputBox.js.map +1 -1
- package/lib/editor/input/ui/AcEdFloatingInputBoxes.d.ts +7 -0
- package/lib/editor/input/ui/AcEdFloatingInputBoxes.d.ts.map +1 -1
- package/lib/editor/input/ui/AcEdFloatingInputBoxes.js +14 -6
- package/lib/editor/input/ui/AcEdFloatingInputBoxes.js.map +1 -1
- package/lib/editor/input/ui/AcEdFloatingInputTypes.d.ts +5 -0
- package/lib/editor/input/ui/AcEdFloatingInputTypes.d.ts.map +1 -1
- package/lib/editor/input/ui/AcEdFloatingMessage.d.ts +12 -0
- package/lib/editor/input/ui/AcEdFloatingMessage.d.ts.map +1 -1
- package/lib/editor/input/ui/AcEdFloatingMessage.js +61 -2
- package/lib/editor/input/ui/AcEdFloatingMessage.js.map +1 -1
- package/lib/editor/input/ui/AcEdInputManager.d.ts +47 -13
- package/lib/editor/input/ui/AcEdInputManager.d.ts.map +1 -1
- package/lib/editor/input/ui/AcEdInputManager.js +847 -383
- package/lib/editor/input/ui/AcEdInputManager.js.map +1 -1
- package/lib/editor/input/ui/AcEdRubberBand.js +1 -1
- package/lib/editor/input/ui/AcEdRubberBand.js.map +1 -1
- package/lib/editor/view/AcEdBaseView.d.ts +66 -0
- package/lib/editor/view/AcEdBaseView.d.ts.map +1 -1
- package/lib/editor/view/AcEdBaseView.js +170 -0
- package/lib/editor/view/AcEdBaseView.js.map +1 -1
- package/lib/editor/view/AcEdSpatialQueryResult.d.ts.map +1 -1
- package/lib/i18n/en/command.d.ts +15 -0
- package/lib/i18n/en/command.d.ts.map +1 -1
- package/lib/i18n/en/command.js +15 -0
- package/lib/i18n/en/command.js.map +1 -1
- package/lib/i18n/en/jig.d.ts +110 -0
- package/lib/i18n/en/jig.d.ts.map +1 -1
- package/lib/i18n/en/jig.js +110 -0
- package/lib/i18n/en/jig.js.map +1 -1
- package/lib/i18n/zh/command.d.ts +15 -0
- package/lib/i18n/zh/command.d.ts.map +1 -1
- package/lib/i18n/zh/command.js +15 -0
- package/lib/i18n/zh/command.js.map +1 -1
- package/lib/i18n/zh/jig.d.ts +110 -0
- package/lib/i18n/zh/jig.d.ts.map +1 -1
- package/lib/i18n/zh/jig.js +110 -0
- package/lib/i18n/zh/jig.js.map +1 -1
- package/lib/util/AcApMeasurementElementGenerator.d.ts +36 -0
- package/lib/util/AcApMeasurementElementGenerator.d.ts.map +1 -0
- package/lib/util/AcApMeasurementElementGenerator.js +92 -0
- package/lib/util/AcApMeasurementElementGenerator.js.map +1 -0
- package/lib/util/index.d.ts +1 -1
- package/lib/util/index.d.ts.map +1 -1
- package/lib/util/index.js +1 -1
- package/lib/util/index.js.map +1 -1
- package/lib/view/AcTrLayoutView.d.ts +6 -0
- package/lib/view/AcTrLayoutView.d.ts.map +1 -1
- package/lib/view/AcTrLayoutView.js +20 -0
- package/lib/view/AcTrLayoutView.js.map +1 -1
- package/lib/view/AcTrView2d.d.ts.map +1 -1
- package/lib/view/AcTrView2d.js +86 -46
- package/lib/view/AcTrView2d.js.map +1 -1
- package/package.json +10 -10
- package/lib/util/AcApMeasurementUtils.d.ts +0 -12
- package/lib/util/AcApMeasurementUtils.d.ts.map +0 -1
- package/lib/util/AcApMeasurementUtils.js +0 -36
- package/lib/util/AcApMeasurementUtils.js.map +0 -1
package/lib/i18n/en/jig.d.ts
CHANGED
|
@@ -1,4 +1,57 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
+
arc: {
|
|
3
|
+
startPointOrCenter: string;
|
|
4
|
+
secondPointOrOptions: string;
|
|
5
|
+
startPoint: string;
|
|
6
|
+
centerPoint: string;
|
|
7
|
+
endPoint: string;
|
|
8
|
+
endPointOrOptions: string;
|
|
9
|
+
centerPointOrOptions: string;
|
|
10
|
+
includedAngle: string;
|
|
11
|
+
chordLength: string;
|
|
12
|
+
tangentDirection: string;
|
|
13
|
+
radius: string;
|
|
14
|
+
keywords: {
|
|
15
|
+
center: {
|
|
16
|
+
display: string;
|
|
17
|
+
local: string;
|
|
18
|
+
global: string;
|
|
19
|
+
};
|
|
20
|
+
end: {
|
|
21
|
+
display: string;
|
|
22
|
+
local: string;
|
|
23
|
+
global: string;
|
|
24
|
+
};
|
|
25
|
+
angle: {
|
|
26
|
+
display: string;
|
|
27
|
+
local: string;
|
|
28
|
+
global: string;
|
|
29
|
+
};
|
|
30
|
+
chordLength: {
|
|
31
|
+
display: string;
|
|
32
|
+
local: string;
|
|
33
|
+
global: string;
|
|
34
|
+
};
|
|
35
|
+
direction: {
|
|
36
|
+
display: string;
|
|
37
|
+
local: string;
|
|
38
|
+
global: string;
|
|
39
|
+
};
|
|
40
|
+
radius: {
|
|
41
|
+
display: string;
|
|
42
|
+
local: string;
|
|
43
|
+
global: string;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
invalid: {
|
|
47
|
+
threePoint: string;
|
|
48
|
+
center: string;
|
|
49
|
+
angle: string;
|
|
50
|
+
chordLength: string;
|
|
51
|
+
direction: string;
|
|
52
|
+
radius: string;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
2
55
|
circle: {
|
|
3
56
|
center: string;
|
|
4
57
|
radius: string;
|
|
@@ -41,6 +94,63 @@ declare const _default: {
|
|
|
41
94
|
firstPoint: string;
|
|
42
95
|
nextPoint: string;
|
|
43
96
|
};
|
|
97
|
+
polyline: {
|
|
98
|
+
firstPoint: string;
|
|
99
|
+
nextPoint: string;
|
|
100
|
+
nextPointWithOptions: string;
|
|
101
|
+
nextPointWithArcOptions: string;
|
|
102
|
+
keywords: {
|
|
103
|
+
arc: {
|
|
104
|
+
display: string;
|
|
105
|
+
local: string;
|
|
106
|
+
global: string;
|
|
107
|
+
};
|
|
108
|
+
undo: {
|
|
109
|
+
display: string;
|
|
110
|
+
local: string;
|
|
111
|
+
global: string;
|
|
112
|
+
};
|
|
113
|
+
close: {
|
|
114
|
+
display: string;
|
|
115
|
+
local: string;
|
|
116
|
+
global: string;
|
|
117
|
+
};
|
|
118
|
+
line: {
|
|
119
|
+
display: string;
|
|
120
|
+
local: string;
|
|
121
|
+
global: string;
|
|
122
|
+
};
|
|
123
|
+
angle: {
|
|
124
|
+
display: string;
|
|
125
|
+
local: string;
|
|
126
|
+
global: string;
|
|
127
|
+
};
|
|
128
|
+
center: {
|
|
129
|
+
display: string;
|
|
130
|
+
local: string;
|
|
131
|
+
global: string;
|
|
132
|
+
};
|
|
133
|
+
secondPoint: {
|
|
134
|
+
display: string;
|
|
135
|
+
local: string;
|
|
136
|
+
global: string;
|
|
137
|
+
};
|
|
138
|
+
radius: {
|
|
139
|
+
display: string;
|
|
140
|
+
local: string;
|
|
141
|
+
global: string;
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
arcAngle: string;
|
|
145
|
+
arcCenter: string;
|
|
146
|
+
arcSecondPoint: string;
|
|
147
|
+
arcEndPoint: string;
|
|
148
|
+
arcRadius: string;
|
|
149
|
+
};
|
|
150
|
+
spline: {
|
|
151
|
+
firstPoint: string;
|
|
152
|
+
nextPoint: string;
|
|
153
|
+
};
|
|
44
154
|
sysvar: {
|
|
45
155
|
prompt: string;
|
|
46
156
|
};
|
package/lib/i18n/en/jig.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jig.d.ts","sourceRoot":"","sources":["../../../src/i18n/en/jig.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"jig.d.ts","sourceRoot":"","sources":["../../../src/i18n/en/jig.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAmKC"}
|
package/lib/i18n/en/jig.js
CHANGED
|
@@ -1,4 +1,57 @@
|
|
|
1
1
|
export default {
|
|
2
|
+
arc: {
|
|
3
|
+
startPointOrCenter: 'Specify start point of arc or [Center]:',
|
|
4
|
+
secondPointOrOptions: 'Specify second point of arc or [Center/End]:',
|
|
5
|
+
startPoint: 'Specify start point of arc:',
|
|
6
|
+
centerPoint: 'Specify center point of arc:',
|
|
7
|
+
endPoint: 'Specify end point of arc:',
|
|
8
|
+
endPointOrOptions: 'Specify end point of arc or [Angle/chord Length]:',
|
|
9
|
+
centerPointOrOptions: 'Specify center point of arc or [Angle/Direction/Radius]:',
|
|
10
|
+
includedAngle: 'Specify included angle:',
|
|
11
|
+
chordLength: 'Specify chord length:',
|
|
12
|
+
tangentDirection: 'Specify tangent direction for start point of arc:',
|
|
13
|
+
radius: 'Specify radius of arc:',
|
|
14
|
+
keywords: {
|
|
15
|
+
center: {
|
|
16
|
+
display: 'Center(C)',
|
|
17
|
+
local: 'Center',
|
|
18
|
+
global: 'Center'
|
|
19
|
+
},
|
|
20
|
+
end: {
|
|
21
|
+
display: 'End(E)',
|
|
22
|
+
local: 'End',
|
|
23
|
+
global: 'End'
|
|
24
|
+
},
|
|
25
|
+
angle: {
|
|
26
|
+
display: 'Angle(A)',
|
|
27
|
+
local: 'Angle',
|
|
28
|
+
global: 'Angle'
|
|
29
|
+
},
|
|
30
|
+
chordLength: {
|
|
31
|
+
display: 'chord Length(L)',
|
|
32
|
+
local: 'Chord Length',
|
|
33
|
+
global: 'ChordLength'
|
|
34
|
+
},
|
|
35
|
+
direction: {
|
|
36
|
+
display: 'Direction(D)',
|
|
37
|
+
local: 'Direction',
|
|
38
|
+
global: 'Direction'
|
|
39
|
+
},
|
|
40
|
+
radius: {
|
|
41
|
+
display: 'Radius(R)',
|
|
42
|
+
local: 'Radius',
|
|
43
|
+
global: 'Radius'
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
invalid: {
|
|
47
|
+
threePoint: 'Invalid 3-point arc: points are collinear or cannot define an arc.',
|
|
48
|
+
center: 'Invalid center input: start and end points must lie on the same circle.',
|
|
49
|
+
angle: 'Invalid angle input: included angle must be greater than 0 and less than 360 degrees.',
|
|
50
|
+
chordLength: 'Invalid chord length: value is out of range for the current radius.',
|
|
51
|
+
direction: 'Invalid direction: cannot construct an arc from this tangent direction.',
|
|
52
|
+
radius: 'Invalid radius: the specified radius cannot connect start and end points.'
|
|
53
|
+
}
|
|
54
|
+
},
|
|
2
55
|
circle: {
|
|
3
56
|
center: 'Specify the center of circle:',
|
|
4
57
|
radius: 'Specify the radius of circle:'
|
|
@@ -41,6 +94,63 @@ export default {
|
|
|
41
94
|
firstPoint: 'Specify the first point:',
|
|
42
95
|
nextPoint: 'Specify the end point:'
|
|
43
96
|
},
|
|
97
|
+
polyline: {
|
|
98
|
+
firstPoint: 'Specify the first point:',
|
|
99
|
+
nextPoint: 'Specify the next point (or press Enter to finish):',
|
|
100
|
+
nextPointWithOptions: 'Specify next point or',
|
|
101
|
+
nextPointWithArcOptions: 'Specify next point or',
|
|
102
|
+
keywords: {
|
|
103
|
+
arc: {
|
|
104
|
+
display: 'Arc(A)',
|
|
105
|
+
local: 'Arc',
|
|
106
|
+
global: 'Arc'
|
|
107
|
+
},
|
|
108
|
+
undo: {
|
|
109
|
+
display: 'Undo(U)',
|
|
110
|
+
local: 'Undo',
|
|
111
|
+
global: 'Undo'
|
|
112
|
+
},
|
|
113
|
+
close: {
|
|
114
|
+
display: 'Close(C)',
|
|
115
|
+
local: 'Close',
|
|
116
|
+
global: 'Close'
|
|
117
|
+
},
|
|
118
|
+
line: {
|
|
119
|
+
display: 'Line(L)',
|
|
120
|
+
local: 'Line',
|
|
121
|
+
global: 'Line'
|
|
122
|
+
},
|
|
123
|
+
angle: {
|
|
124
|
+
display: 'Angle(A)',
|
|
125
|
+
local: 'Angle',
|
|
126
|
+
global: 'Angle'
|
|
127
|
+
},
|
|
128
|
+
center: {
|
|
129
|
+
display: 'Center(C)',
|
|
130
|
+
local: 'Center',
|
|
131
|
+
global: 'Center'
|
|
132
|
+
},
|
|
133
|
+
secondPoint: {
|
|
134
|
+
display: 'Second point(P)',
|
|
135
|
+
local: 'Second point',
|
|
136
|
+
global: 'SecondPoint'
|
|
137
|
+
},
|
|
138
|
+
radius: {
|
|
139
|
+
display: 'Radius(R)',
|
|
140
|
+
local: 'Radius',
|
|
141
|
+
global: 'Radius'
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
arcAngle: 'Specify arc angle:',
|
|
145
|
+
arcCenter: 'Specify center point:',
|
|
146
|
+
arcSecondPoint: 'Specify second point on arc:',
|
|
147
|
+
arcEndPoint: 'Specify arc end point:',
|
|
148
|
+
arcRadius: 'Specify arc radius:'
|
|
149
|
+
},
|
|
150
|
+
spline: {
|
|
151
|
+
firstPoint: 'Specify the first point:',
|
|
152
|
+
nextPoint: 'Specify the next point (or press Enter to finish):'
|
|
153
|
+
},
|
|
44
154
|
sysvar: {
|
|
45
155
|
prompt: 'Please input new value:'
|
|
46
156
|
}
|
package/lib/i18n/en/jig.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jig.js","sourceRoot":"","sources":["../../../src/i18n/en/jig.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,MAAM,EAAE;QACN,MAAM,EAAE,+BAA+B;QACvC,MAAM,EAAE,+BAA+B;KACxC;IACD,eAAe,EAAE;QACf,UAAU,EAAE,sBAAsB;QAClC,WAAW,EAAE,uBAAuB;KACrC;IACD,WAAW,EAAE;QACX,UAAU,EAAE,sBAAsB;QAClC,SAAS,EAAE,g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AC9C,WAAW,EAAE,wBAAwB;QACrC,SAAS,EAAE,qBAAqB;KACjC;IACD,MAAM,EAAE;QACN,UAAU,EAAE,0BAA0B;QACtC,SAAS,EAAE,oDAAoD;KAChE;IACD,MAAM,EAAE;QACN,MAAM,EAAE,yBAAyB;KAClC;CACF,CAAA"}
|
package/lib/i18n/zh/command.d.ts
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
ACAD: {
|
|
3
|
+
arc: {
|
|
4
|
+
description: string;
|
|
5
|
+
};
|
|
3
6
|
cecolor: {
|
|
4
7
|
description: string;
|
|
5
8
|
};
|
|
@@ -18,6 +21,9 @@ declare const _default: {
|
|
|
18
21
|
colortheme: {
|
|
19
22
|
description: string;
|
|
20
23
|
};
|
|
24
|
+
cdxf: {
|
|
25
|
+
description: string;
|
|
26
|
+
};
|
|
21
27
|
csvg: {
|
|
22
28
|
description: string;
|
|
23
29
|
};
|
|
@@ -31,6 +37,15 @@ declare const _default: {
|
|
|
31
37
|
line: {
|
|
32
38
|
description: string;
|
|
33
39
|
};
|
|
40
|
+
lwdisplay: {
|
|
41
|
+
description: string;
|
|
42
|
+
};
|
|
43
|
+
pline: {
|
|
44
|
+
description: string;
|
|
45
|
+
};
|
|
46
|
+
spline: {
|
|
47
|
+
description: string;
|
|
48
|
+
};
|
|
34
49
|
mtext: {
|
|
35
50
|
description: string;
|
|
36
51
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../src/i18n/zh/command.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../src/i18n/zh/command.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBA4FC"}
|
package/lib/i18n/zh/command.js
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
ACAD: {
|
|
3
|
+
arc: {
|
|
4
|
+
description: '创建圆弧'
|
|
5
|
+
},
|
|
3
6
|
cecolor: {
|
|
4
7
|
description: '设置新创建对象的当前默认颜色'
|
|
5
8
|
},
|
|
@@ -18,6 +21,9 @@ export default {
|
|
|
18
21
|
colortheme: {
|
|
19
22
|
description: '控制用户界面的颜色主题(深色或浅色)'
|
|
20
23
|
},
|
|
24
|
+
cdxf: {
|
|
25
|
+
description: '导出当前图纸为DXF格式'
|
|
26
|
+
},
|
|
21
27
|
csvg: {
|
|
22
28
|
description: '转换当前图纸为SVG格式'
|
|
23
29
|
},
|
|
@@ -31,6 +37,15 @@ export default {
|
|
|
31
37
|
line: {
|
|
32
38
|
description: '在指定点之间绘制直线段'
|
|
33
39
|
},
|
|
40
|
+
lwdisplay: {
|
|
41
|
+
description: '用于控制是否在图纸中显示线宽效果'
|
|
42
|
+
},
|
|
43
|
+
pline: {
|
|
44
|
+
description: '通过指定多个点创建多段线'
|
|
45
|
+
},
|
|
46
|
+
spline: {
|
|
47
|
+
description: '通过指定控制点创建平滑的样条曲线'
|
|
48
|
+
},
|
|
34
49
|
mtext: {
|
|
35
50
|
description: '创建一条多行文本(MTEXT)'
|
|
36
51
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command.js","sourceRoot":"","sources":["../../../src/i18n/zh/command.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,IAAI,EAAE;QACJ,OAAO,EAAE;YACP,WAAW,EAAE,gBAAgB;SAC9B;QACD,SAAS,EAAE;YACT,WAAW,EAAE,gBAAgB;SAC9B;QACD,SAAS,EAAE;YACT,WAAW,EAAE,cAAc;SAC5B;QACD,MAAM,EAAE;YACN,WAAW,EAAE,qBAAqB;SACnC;QACD,MAAM,EAAE;YACN,WAAW,EAAE,YAAY;SAC1B;QACD,UAAU,EAAE;YACV,WAAW,EAAE,oBAAoB;SAClC;QACD,IAAI,EAAE;YACJ,WAAW,EAAE,cAAc;SAC5B;QACD,SAAS,EAAE;YACT,WAAW,EAAE,UAAU;SACxB;QACD,KAAK,EAAE;YACL,WAAW,EAAE,YAAY;YACzB,MAAM,EAAE,MAAM;SACf;QACD,IAAI,EAAE;YACJ,WAAW,EAAE,aAAa;SAC3B;QACD,KAAK,EAAE;YACL,WAAW,EAAE,iBAAiB;SAC/B;QACD,GAAG,EAAE;YACH,WAAW,EAAE,YAAY;SAC1B;QACD,IAAI,EAAE;YACJ,WAAW,EAAE,MAAM;SACpB;QACD,GAAG,EAAE;YACH,WAAW,EAAE,MAAM;SACpB;QACD,OAAO,EAAE;YACP,WAAW,EAAE,oBAAoB;SAClC;QACD,IAAI,EAAE;YACJ,WAAW,EAAE,OAAO;SACrB;QACD,SAAS,EAAE;YACT,WAAW,EAAE,eAAe;SAC7B;QACD,KAAK,EAAE;YACL,WAAW,EAAE,MAAM;SACpB;QACD,QAAQ,EAAE;YACR,WAAW,EAAE,cAAc;SAC5B;QACD,MAAM,EAAE;YACN,WAAW,EAAE,MAAM;SACpB;QACD,MAAM,EAAE;YACN,WAAW,EAAE,mBAAmB;SACjC;QACD,YAAY,EAAE;YACZ,WAAW,EAAE,yBAAyB;SACvC;QACD,IAAI,EAAE;YACJ,WAAW,EAAE,WAAW;SACzB;QACD,KAAK,EAAE;YACL,WAAW,EAAE,eAAe;SAC7B;KACF;IACD,IAAI,EAAE,EAAE;CACT,CAAA"}
|
|
1
|
+
{"version":3,"file":"command.js","sourceRoot":"","sources":["../../../src/i18n/zh/command.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,IAAI,EAAE;QACJ,GAAG,EAAE;YACH,WAAW,EAAE,MAAM;SACpB;QACD,OAAO,EAAE;YACP,WAAW,EAAE,gBAAgB;SAC9B;QACD,SAAS,EAAE;YACT,WAAW,EAAE,gBAAgB;SAC9B;QACD,SAAS,EAAE;YACT,WAAW,EAAE,cAAc;SAC5B;QACD,MAAM,EAAE;YAC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/lib/i18n/zh/jig.d.ts
CHANGED
|
@@ -1,4 +1,57 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
+
arc: {
|
|
3
|
+
startPointOrCenter: string;
|
|
4
|
+
secondPointOrOptions: string;
|
|
5
|
+
startPoint: string;
|
|
6
|
+
centerPoint: string;
|
|
7
|
+
endPoint: string;
|
|
8
|
+
endPointOrOptions: string;
|
|
9
|
+
centerPointOrOptions: string;
|
|
10
|
+
includedAngle: string;
|
|
11
|
+
chordLength: string;
|
|
12
|
+
tangentDirection: string;
|
|
13
|
+
radius: string;
|
|
14
|
+
keywords: {
|
|
15
|
+
center: {
|
|
16
|
+
display: string;
|
|
17
|
+
local: string;
|
|
18
|
+
global: string;
|
|
19
|
+
};
|
|
20
|
+
end: {
|
|
21
|
+
display: string;
|
|
22
|
+
local: string;
|
|
23
|
+
global: string;
|
|
24
|
+
};
|
|
25
|
+
angle: {
|
|
26
|
+
display: string;
|
|
27
|
+
local: string;
|
|
28
|
+
global: string;
|
|
29
|
+
};
|
|
30
|
+
chordLength: {
|
|
31
|
+
display: string;
|
|
32
|
+
local: string;
|
|
33
|
+
global: string;
|
|
34
|
+
};
|
|
35
|
+
direction: {
|
|
36
|
+
display: string;
|
|
37
|
+
local: string;
|
|
38
|
+
global: string;
|
|
39
|
+
};
|
|
40
|
+
radius: {
|
|
41
|
+
display: string;
|
|
42
|
+
local: string;
|
|
43
|
+
global: string;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
invalid: {
|
|
47
|
+
threePoint: string;
|
|
48
|
+
center: string;
|
|
49
|
+
angle: string;
|
|
50
|
+
chordLength: string;
|
|
51
|
+
direction: string;
|
|
52
|
+
radius: string;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
2
55
|
circle: {
|
|
3
56
|
center: string;
|
|
4
57
|
radius: string;
|
|
@@ -41,6 +94,63 @@ declare const _default: {
|
|
|
41
94
|
firstPoint: string;
|
|
42
95
|
nextPoint: string;
|
|
43
96
|
};
|
|
97
|
+
polyline: {
|
|
98
|
+
firstPoint: string;
|
|
99
|
+
nextPoint: string;
|
|
100
|
+
nextPointWithOptions: string;
|
|
101
|
+
nextPointWithArcOptions: string;
|
|
102
|
+
keywords: {
|
|
103
|
+
arc: {
|
|
104
|
+
display: string;
|
|
105
|
+
local: string;
|
|
106
|
+
global: string;
|
|
107
|
+
};
|
|
108
|
+
undo: {
|
|
109
|
+
display: string;
|
|
110
|
+
local: string;
|
|
111
|
+
global: string;
|
|
112
|
+
};
|
|
113
|
+
close: {
|
|
114
|
+
display: string;
|
|
115
|
+
local: string;
|
|
116
|
+
global: string;
|
|
117
|
+
};
|
|
118
|
+
line: {
|
|
119
|
+
display: string;
|
|
120
|
+
local: string;
|
|
121
|
+
global: string;
|
|
122
|
+
};
|
|
123
|
+
angle: {
|
|
124
|
+
display: string;
|
|
125
|
+
local: string;
|
|
126
|
+
global: string;
|
|
127
|
+
};
|
|
128
|
+
center: {
|
|
129
|
+
display: string;
|
|
130
|
+
local: string;
|
|
131
|
+
global: string;
|
|
132
|
+
};
|
|
133
|
+
secondPoint: {
|
|
134
|
+
display: string;
|
|
135
|
+
local: string;
|
|
136
|
+
global: string;
|
|
137
|
+
};
|
|
138
|
+
radius: {
|
|
139
|
+
display: string;
|
|
140
|
+
local: string;
|
|
141
|
+
global: string;
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
arcAngle: string;
|
|
145
|
+
arcCenter: string;
|
|
146
|
+
arcSecondPoint: string;
|
|
147
|
+
arcEndPoint: string;
|
|
148
|
+
arcRadius: string;
|
|
149
|
+
};
|
|
150
|
+
spline: {
|
|
151
|
+
firstPoint: string;
|
|
152
|
+
nextPoint: string;
|
|
153
|
+
};
|
|
44
154
|
sysvar: {
|
|
45
155
|
prompt: string;
|
|
46
156
|
};
|
package/lib/i18n/zh/jig.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jig.d.ts","sourceRoot":"","sources":["../../../src/i18n/zh/jig.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"jig.d.ts","sourceRoot":"","sources":["../../../src/i18n/zh/jig.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBA4JC"}
|
package/lib/i18n/zh/jig.js
CHANGED
|
@@ -1,4 +1,57 @@
|
|
|
1
1
|
export default {
|
|
2
|
+
arc: {
|
|
3
|
+
startPointOrCenter: '指定圆弧的起点或 [圆心(C)]:',
|
|
4
|
+
secondPointOrOptions: '指定圆弧上的第二点或 [圆心(C)/端点(E)]:',
|
|
5
|
+
startPoint: '指定圆弧的起点:',
|
|
6
|
+
centerPoint: '指定圆弧的圆心:',
|
|
7
|
+
endPoint: '指定圆弧的端点:',
|
|
8
|
+
endPointOrOptions: '指定圆弧的端点或 [角度(A)/弦长(L)]:',
|
|
9
|
+
centerPointOrOptions: '指定圆弧的圆心或 [角度(A)/方向(D)/半径(R)]:',
|
|
10
|
+
includedAngle: '指定圆弧的夹角:',
|
|
11
|
+
chordLength: '指定圆弧的弦长:',
|
|
12
|
+
tangentDirection: '指定圆弧起点的切线方向:',
|
|
13
|
+
radius: '指定圆弧的半径:',
|
|
14
|
+
keywords: {
|
|
15
|
+
center: {
|
|
16
|
+
display: '圆心(C)',
|
|
17
|
+
local: '圆心',
|
|
18
|
+
global: 'Center'
|
|
19
|
+
},
|
|
20
|
+
end: {
|
|
21
|
+
display: '端点(E)',
|
|
22
|
+
local: '端点',
|
|
23
|
+
global: 'End'
|
|
24
|
+
},
|
|
25
|
+
angle: {
|
|
26
|
+
display: '角度(A)',
|
|
27
|
+
local: '角度',
|
|
28
|
+
global: 'Angle'
|
|
29
|
+
},
|
|
30
|
+
chordLength: {
|
|
31
|
+
display: '弦长(L)',
|
|
32
|
+
local: '弦长',
|
|
33
|
+
global: 'ChordLength'
|
|
34
|
+
},
|
|
35
|
+
direction: {
|
|
36
|
+
display: '方向(D)',
|
|
37
|
+
local: '方向',
|
|
38
|
+
global: 'Direction'
|
|
39
|
+
},
|
|
40
|
+
radius: {
|
|
41
|
+
display: '半径(R)',
|
|
42
|
+
local: '半径',
|
|
43
|
+
global: 'Radius'
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
invalid: {
|
|
47
|
+
threePoint: '三点圆弧无效:三点共线或无法确定圆弧。',
|
|
48
|
+
center: '圆心输入无效:起点与终点必须在同一圆上。',
|
|
49
|
+
angle: '角度输入无效:夹角必须大于 0 且小于 360 度。',
|
|
50
|
+
chordLength: '弦长输入无效:该值超出当前半径可用范围。',
|
|
51
|
+
direction: '方向输入无效:无法根据该切线方向构造圆弧。',
|
|
52
|
+
radius: '半径输入无效:指定半径无法连接起点与终点。'
|
|
53
|
+
}
|
|
54
|
+
},
|
|
2
55
|
circle: {
|
|
3
56
|
center: '指定圆的圆心:',
|
|
4
57
|
radius: '指定圆的半径:'
|
|
@@ -41,6 +94,63 @@ export default {
|
|
|
41
94
|
firstPoint: '指定第一个点:',
|
|
42
95
|
nextPoint: '指定结束点:'
|
|
43
96
|
},
|
|
97
|
+
polyline: {
|
|
98
|
+
firstPoint: '指定第一个点:',
|
|
99
|
+
nextPoint: '指定下一个点(或按 Enter 完成):',
|
|
100
|
+
nextPointWithOptions: '请指定下一个点或',
|
|
101
|
+
nextPointWithArcOptions: '请指定下一个点或',
|
|
102
|
+
keywords: {
|
|
103
|
+
arc: {
|
|
104
|
+
display: '圆弧(A)',
|
|
105
|
+
local: '圆弧',
|
|
106
|
+
global: 'Arc'
|
|
107
|
+
},
|
|
108
|
+
undo: {
|
|
109
|
+
display: '放弃(U)',
|
|
110
|
+
local: '放弃',
|
|
111
|
+
global: 'Undo'
|
|
112
|
+
},
|
|
113
|
+
close: {
|
|
114
|
+
display: '闭合(C)',
|
|
115
|
+
local: '闭合',
|
|
116
|
+
global: 'Close'
|
|
117
|
+
},
|
|
118
|
+
line: {
|
|
119
|
+
display: '直线(L)',
|
|
120
|
+
local: '直线',
|
|
121
|
+
global: 'Line'
|
|
122
|
+
},
|
|
123
|
+
angle: {
|
|
124
|
+
display: '角度(A)',
|
|
125
|
+
local: '角度',
|
|
126
|
+
global: 'Angle'
|
|
127
|
+
},
|
|
128
|
+
center: {
|
|
129
|
+
display: '圆心(C)',
|
|
130
|
+
local: '圆心',
|
|
131
|
+
global: 'Center'
|
|
132
|
+
},
|
|
133
|
+
secondPoint: {
|
|
134
|
+
display: '第二点(P)',
|
|
135
|
+
local: '第二点',
|
|
136
|
+
global: 'SecondPoint'
|
|
137
|
+
},
|
|
138
|
+
radius: {
|
|
139
|
+
display: '半径(R)',
|
|
140
|
+
local: '半径',
|
|
141
|
+
global: 'Radius'
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
arcAngle: '指定弧角度:',
|
|
145
|
+
arcCenter: '指定圆心:',
|
|
146
|
+
arcSecondPoint: '指定弧上的第二点:',
|
|
147
|
+
arcEndPoint: '指定弧的终点:',
|
|
148
|
+
arcRadius: '指定弧半径:'
|
|
149
|
+
},
|
|
150
|
+
spline: {
|
|
151
|
+
firstPoint: '指定第一个点:',
|
|
152
|
+
nextPoint: '指定下一个点(或按 Enter 完成):'
|
|
153
|
+
},
|
|
44
154
|
sysvar: {
|
|
45
155
|
prompt: '请输入新的值:'
|
|
46
156
|
}
|
package/lib/i18n/zh/jig.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jig.js","sourceRoot":"","sources":["../../../src/i18n/zh/jig.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,MAAM,EAAE;QACN,MAAM,EAAE,SAAS;QACjB,MAAM,EAAE,SAAS;KAClB;IACD,eAAe,EAAE;QACf,UAAU,EAAE,SAAS;QACrB,WAAW,EAAE,SAAS;KACvB;IACD,WA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S;QACrB,SAAS,EAAE,sBAAsB;KAClC;IACD,MAAM,EAAE;QACN,MAAM,EAAE,SAAS;KAClB;CACF,CAAA"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { AcCmColor, AcDbDatabase } from '@mlightcad/data-model';
|
|
2
|
+
/** Returns the current measurement overlay color from the MEASUREMENTCOLOR system variable. */
|
|
3
|
+
export declare function measurementColor(db: AcDbDatabase): AcCmColor;
|
|
4
|
+
/** Converts an AcCmColor to a CSS rgba() string. */
|
|
5
|
+
export declare function colorToCssAlpha(c: AcCmColor, alpha: number): string;
|
|
6
|
+
/** Returns the CSS color string for a measurement color, with fallback. */
|
|
7
|
+
export declare function cssColor(c: AcCmColor): string;
|
|
8
|
+
/** Creates a small dot element for persistent overlays (CSS2DRenderer). */
|
|
9
|
+
export declare function makeDot(c: AcCmColor): HTMLDivElement;
|
|
10
|
+
/** Creates a badge element for persistent overlays (CSS2DRenderer). */
|
|
11
|
+
export declare function makeBadge(c: AcCmColor, text?: string): HTMLDivElement;
|
|
12
|
+
/**
|
|
13
|
+
* Creates a short-lived badge for live preview during jig interaction.
|
|
14
|
+
* Appended to document.body with position:fixed and high z-index.
|
|
15
|
+
* Caller is responsible for calling `.remove()` when done.
|
|
16
|
+
*/
|
|
17
|
+
export declare function makeLiveBadge(c: AcCmColor): HTMLDivElement;
|
|
18
|
+
/**
|
|
19
|
+
* Creates a short-lived dot for live preview during jig interaction.
|
|
20
|
+
* Appended to document.body with position:fixed and high z-index.
|
|
21
|
+
* Caller is responsible for calling `.remove()` when done.
|
|
22
|
+
*/
|
|
23
|
+
export declare function makeLiveDot(c: AcCmColor): HTMLDivElement;
|
|
24
|
+
/**
|
|
25
|
+
* Creates a square snap indicator for entity snapping during jig interaction.
|
|
26
|
+
* Appended to document.body with position:fixed and high z-index.
|
|
27
|
+
* Caller is responsible for calling `.remove()` when done.
|
|
28
|
+
*/
|
|
29
|
+
export declare function makeSnapIndicator(c: AcCmColor): HTMLDivElement;
|
|
30
|
+
/**
|
|
31
|
+
* Creates a canvas overlay for drawing measurement graphics (arcs, fills, etc.).
|
|
32
|
+
* Appended to the given container with position:absolute.
|
|
33
|
+
* Caller is responsible for calling `.remove()` when done.
|
|
34
|
+
*/
|
|
35
|
+
export declare function makeOverlayCanvas(container: HTMLElement): HTMLCanvasElement;
|
|
36
|
+
//# sourceMappingURL=AcApMeasurementElementGenerator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcApMeasurementElementGenerator.d.ts","sourceRoot":"","sources":["../../src/util/AcApMeasurementElementGenerator.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,YAAY,EAGb,MAAM,uBAAuB,CAAA;AAE9B,+FAA+F;AAC/F,wBAAgB,gBAAgB,CAAC,EAAE,EAAE,YAAY,GAAG,SAAS,CAK5D;AAED,oDAAoD;AACpD,wBAAgB,eAAe,CAAC,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAEnE;AAED,2EAA2E;AAC3E,wBAAgB,QAAQ,CAAC,CAAC,EAAE,SAAS,GAAG,MAAM,CAE7C;AAED,2EAA2E;AAC3E,wBAAgB,OAAO,CAAC,CAAC,EAAE,SAAS,GAAG,cAAc,CAOpD;AAED,uEAAuE;AACvE,wBAAgB,SAAS,CAAC,CAAC,EAAE,SAAS,EAAE,IAAI,SAAK,GAAG,cAAc,CAUjE;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,CAAC,EAAE,SAAS,GAAG,cAAc,CAU1D;AAED;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,CAAC,EAAE,SAAS,GAAG,cAAc,CAQxD;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,SAAS,GAAG,cAAc,CAQ9D;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,SAAS,EAAE,WAAW,GAAG,iBAAiB,CAK3E"}
|