@mlightcad/data-model 1.1.2 → 1.1.4
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/data-model.js +5501 -1021
- package/dist/data-model.umd.cjs +2 -2
- package/lib/base/AcDbHostApplicationServices.d.ts +72 -6
- package/lib/base/AcDbHostApplicationServices.d.ts.map +1 -1
- package/lib/base/AcDbHostApplicationServices.js +71 -7
- package/lib/base/AcDbHostApplicationServices.js.map +1 -1
- package/lib/base/AcDbObject.d.ts +160 -25
- package/lib/base/AcDbObject.d.ts.map +1 -1
- package/lib/base/AcDbObject.js +149 -25
- package/lib/base/AcDbObject.js.map +1 -1
- package/lib/converter/AcDbBatchProcessing.d.ts +112 -10
- package/lib/converter/AcDbBatchProcessing.d.ts.map +1 -1
- package/lib/converter/AcDbBatchProcessing.js +110 -11
- package/lib/converter/AcDbBatchProcessing.js.map +1 -1
- package/lib/converter/AcDbDxfConverter.d.ts +224 -6
- package/lib/converter/AcDbDxfConverter.d.ts.map +1 -1
- package/lib/converter/AcDbDxfConverter.js +224 -6
- package/lib/converter/AcDbDxfConverter.js.map +1 -1
- package/lib/converter/AcDbDxfParseWorker.d.ts +16 -0
- package/lib/converter/AcDbDxfParseWorker.d.ts.map +1 -1
- package/lib/converter/AcDbDxfParseWorker.js +16 -0
- package/lib/converter/AcDbDxfParseWorker.js.map +1 -1
- package/lib/converter/AcDbEntitiyConverter.d.ts +118 -3
- package/lib/converter/AcDbEntitiyConverter.d.ts.map +1 -1
- package/lib/converter/AcDbEntitiyConverter.js +118 -3
- package/lib/converter/AcDbEntitiyConverter.js.map +1 -1
- package/lib/converter/AcDbObjectConverter.d.ts +52 -0
- package/lib/converter/AcDbObjectConverter.d.ts.map +1 -1
- package/lib/converter/AcDbObjectConverter.js +52 -0
- package/lib/converter/AcDbObjectConverter.js.map +1 -1
- package/lib/database/AcDbBlockTable.d.ts +35 -3
- package/lib/database/AcDbBlockTable.d.ts.map +1 -1
- package/lib/database/AcDbBlockTable.js +35 -3
- package/lib/database/AcDbBlockTable.js.map +1 -1
- package/lib/database/AcDbBlockTableRecord.d.ts +98 -15
- package/lib/database/AcDbBlockTableRecord.d.ts.map +1 -1
- package/lib/database/AcDbBlockTableRecord.js +96 -15
- package/lib/database/AcDbBlockTableRecord.js.map +1 -1
- package/lib/database/AcDbDatabase.d.ts +312 -36
- package/lib/database/AcDbDatabase.d.ts.map +1 -1
- package/lib/database/AcDbDatabase.js +237 -46
- package/lib/database/AcDbDatabase.js.map +1 -1
- package/lib/database/AcDbDatabaseConverter.d.ts +79 -14
- package/lib/database/AcDbDatabaseConverter.d.ts.map +1 -1
- package/lib/database/AcDbDatabaseConverter.js +46 -13
- package/lib/database/AcDbDatabaseConverter.js.map +1 -1
- package/lib/database/AcDbDatabaseConverterManager.d.ts +97 -15
- package/lib/database/AcDbDatabaseConverterManager.d.ts.map +1 -1
- package/lib/database/AcDbDatabaseConverterManager.js +90 -15
- package/lib/database/AcDbDatabaseConverterManager.js.map +1 -1
- package/lib/database/AcDbDimStyleTable.d.ts +22 -2
- package/lib/database/AcDbDimStyleTable.d.ts.map +1 -1
- package/lib/database/AcDbDimStyleTable.js +22 -2
- package/lib/database/AcDbDimStyleTable.js.map +1 -1
- package/lib/database/AcDbDimStyleTableRecord.d.ts +115 -0
- package/lib/database/AcDbDimStyleTableRecord.d.ts.map +1 -1
- package/lib/database/AcDbDimStyleTableRecord.js +44 -0
- package/lib/database/AcDbDimStyleTableRecord.js.map +1 -1
- package/lib/database/AcDbLayerTable.d.ts +39 -2
- package/lib/database/AcDbLayerTable.d.ts.map +1 -1
- package/lib/database/AcDbLayerTable.js +39 -2
- package/lib/database/AcDbLayerTable.js.map +1 -1
- package/lib/database/AcDbLayerTableRecord.d.ts +198 -18
- package/lib/database/AcDbLayerTableRecord.d.ts.map +1 -1
- package/lib/database/AcDbLayerTableRecord.js +182 -19
- package/lib/database/AcDbLayerTableRecord.js.map +1 -1
- package/lib/database/AcDbLinetypeTable.d.ts +21 -2
- package/lib/database/AcDbLinetypeTable.d.ts.map +1 -1
- package/lib/database/AcDbLinetypeTable.js +21 -2
- package/lib/database/AcDbLinetypeTable.js.map +1 -1
- package/lib/database/AcDbLinetypeTableRecord.d.ts +46 -14
- package/lib/database/AcDbLinetypeTableRecord.d.ts.map +1 -1
- package/lib/database/AcDbLinetypeTableRecord.js +46 -14
- package/lib/database/AcDbLinetypeTableRecord.js.map +1 -1
- package/lib/database/AcDbSymbolTable.d.ts +134 -29
- package/lib/database/AcDbSymbolTable.d.ts.map +1 -1
- package/lib/database/AcDbSymbolTable.js +133 -37
- package/lib/database/AcDbSymbolTable.js.map +1 -1
- package/lib/database/AcDbSymbolTableRecord.d.ts +47 -2
- package/lib/database/AcDbSymbolTableRecord.d.ts.map +1 -1
- package/lib/database/AcDbSymbolTableRecord.js +40 -2
- package/lib/database/AcDbSymbolTableRecord.js.map +1 -1
- package/lib/database/AcDbTextStyleTable.d.ts +36 -2
- package/lib/database/AcDbTextStyleTable.d.ts.map +1 -1
- package/lib/database/AcDbTextStyleTable.js +36 -2
- package/lib/database/AcDbTextStyleTable.js.map +1 -1
- package/lib/database/AcDbTextStyleTableRecord.d.ts +129 -17
- package/lib/database/AcDbTextStyleTableRecord.d.ts.map +1 -1
- package/lib/database/AcDbTextStyleTableRecord.js +127 -17
- package/lib/database/AcDbTextStyleTableRecord.js.map +1 -1
- package/lib/database/AcDbViewportTable.d.ts +22 -2
- package/lib/database/AcDbViewportTable.d.ts.map +1 -1
- package/lib/database/AcDbViewportTable.js +22 -2
- package/lib/database/AcDbViewportTable.js.map +1 -1
- package/lib/database/AcDbViewportTableRecord.d.ts +74 -9
- package/lib/database/AcDbViewportTableRecord.d.ts.map +1 -1
- package/lib/database/AcDbViewportTableRecord.js +65 -9
- package/lib/database/AcDbViewportTableRecord.js.map +1 -1
- package/lib/entity/AcDbArc.d.ts +202 -17
- package/lib/entity/AcDbArc.d.ts.map +1 -1
- package/lib/entity/AcDbArc.js +201 -17
- package/lib/entity/AcDbArc.js.map +1 -1
- package/lib/entity/AcDbBlockReference.d.ts +147 -13
- package/lib/entity/AcDbBlockReference.d.ts.map +1 -1
- package/lib/entity/AcDbBlockReference.js +142 -13
- package/lib/entity/AcDbBlockReference.js.map +1 -1
- package/lib/entity/AcDbCircle.d.ts +145 -12
- package/lib/entity/AcDbCircle.d.ts.map +1 -1
- package/lib/entity/AcDbCircle.js +144 -12
- package/lib/entity/AcDbCircle.js.map +1 -1
- package/lib/entity/AcDbCurve.d.ts +33 -2
- package/lib/entity/AcDbCurve.d.ts.map +1 -1
- package/lib/entity/AcDbCurve.js +17 -0
- package/lib/entity/AcDbCurve.js.map +1 -1
- package/lib/entity/AcDbEllipse.d.ts +168 -16
- package/lib/entity/AcDbEllipse.d.ts.map +1 -1
- package/lib/entity/AcDbEllipse.js +167 -16
- package/lib/entity/AcDbEllipse.js.map +1 -1
- package/lib/entity/AcDbEntity.d.ts +299 -35
- package/lib/entity/AcDbEntity.d.ts.map +1 -1
- package/lib/entity/AcDbEntity.js +275 -27
- package/lib/entity/AcDbEntity.js.map +1 -1
- package/lib/entity/AcDbHatch.d.ts +60 -4
- package/lib/entity/AcDbHatch.d.ts.map +1 -1
- package/lib/entity/AcDbHatch.js +52 -4
- package/lib/entity/AcDbHatch.js.map +1 -1
- package/lib/entity/AcDbLeader.d.ts +157 -10
- package/lib/entity/AcDbLeader.d.ts.map +1 -1
- package/lib/entity/AcDbLeader.js +149 -10
- package/lib/entity/AcDbLeader.js.map +1 -1
- package/lib/entity/AcDbLine.d.ts +154 -13
- package/lib/entity/AcDbLine.d.ts.map +1 -1
- package/lib/entity/AcDbLine.js +153 -13
- package/lib/entity/AcDbLine.js.map +1 -1
- package/lib/entity/AcDbMText.d.ts +127 -11
- package/lib/entity/AcDbMText.d.ts.map +1 -1
- package/lib/entity/AcDbMText.js +112 -11
- package/lib/entity/AcDbMText.js.map +1 -1
- package/lib/entity/AcDbPoint.d.ts +86 -7
- package/lib/entity/AcDbPoint.d.ts.map +1 -1
- package/lib/entity/AcDbPoint.js +85 -7
- package/lib/entity/AcDbPoint.js.map +1 -1
- package/lib/entity/AcDbPolyline.d.ts +172 -25
- package/lib/entity/AcDbPolyline.d.ts.map +1 -1
- package/lib/entity/AcDbPolyline.js +170 -25
- package/lib/entity/AcDbPolyline.js.map +1 -1
- package/lib/entity/AcDbRasterImage.d.ts +75 -31
- package/lib/entity/AcDbRasterImage.d.ts.map +1 -1
- package/lib/entity/AcDbRasterImage.js +60 -31
- package/lib/entity/AcDbRasterImage.js.map +1 -1
- package/lib/entity/AcDbRay.d.ts +115 -9
- package/lib/entity/AcDbRay.d.ts.map +1 -1
- package/lib/entity/AcDbRay.js +113 -9
- package/lib/entity/AcDbRay.js.map +1 -1
- package/lib/entity/AcDbSpline.d.ts +106 -14
- package/lib/entity/AcDbSpline.d.ts.map +1 -1
- package/lib/entity/AcDbSpline.js +67 -4
- package/lib/entity/AcDbSpline.js.map +1 -1
- package/lib/entity/AcDbTable.d.ts +161 -44
- package/lib/entity/AcDbTable.d.ts.map +1 -1
- package/lib/entity/AcDbTable.js +135 -44
- package/lib/entity/AcDbTable.js.map +1 -1
- package/lib/entity/AcDbText.d.ts +298 -25
- package/lib/entity/AcDbText.d.ts.map +1 -1
- package/lib/entity/AcDbText.js +288 -25
- package/lib/entity/AcDbText.js.map +1 -1
- package/lib/entity/AcDbTrace.d.ts +150 -23
- package/lib/entity/AcDbTrace.d.ts.map +1 -1
- package/lib/entity/AcDbTrace.js +147 -23
- package/lib/entity/AcDbTrace.js.map +1 -1
- package/lib/entity/AcDbViewport.d.ts +122 -9
- package/lib/entity/AcDbViewport.d.ts.map +1 -1
- package/lib/entity/AcDbViewport.js +122 -9
- package/lib/entity/AcDbViewport.js.map +1 -1
- package/lib/entity/AcDbWipeout.d.ts +29 -1
- package/lib/entity/AcDbWipeout.d.ts.map +1 -1
- package/lib/entity/AcDbWipeout.js +29 -1
- package/lib/entity/AcDbWipeout.js.map +1 -1
- package/lib/entity/AcDbXline.d.ts +116 -9
- package/lib/entity/AcDbXline.d.ts.map +1 -1
- package/lib/entity/AcDbXline.js +114 -9
- package/lib/entity/AcDbXline.js.map +1 -1
- package/lib/entity/dimension/AcDb3PointAngularDimension.d.ts +56 -12
- package/lib/entity/dimension/AcDb3PointAngularDimension.d.ts.map +1 -1
- package/lib/entity/dimension/AcDb3PointAngularDimension.js +56 -12
- package/lib/entity/dimension/AcDb3PointAngularDimension.js.map +1 -1
- package/lib/entity/dimension/AcDbAlignedDimension.d.ts +158 -17
- package/lib/entity/dimension/AcDbAlignedDimension.d.ts.map +1 -1
- package/lib/entity/dimension/AcDbAlignedDimension.js +153 -17
- package/lib/entity/dimension/AcDbAlignedDimension.js.map +1 -1
- package/lib/entity/dimension/AcDbArcDimension.d.ts +58 -12
- package/lib/entity/dimension/AcDbArcDimension.d.ts.map +1 -1
- package/lib/entity/dimension/AcDbArcDimension.js +58 -12
- package/lib/entity/dimension/AcDbArcDimension.js.map +1 -1
- package/lib/entity/dimension/AcDbDiametricDimension.d.ts +99 -25
- package/lib/entity/dimension/AcDbDiametricDimension.d.ts.map +1 -1
- package/lib/entity/dimension/AcDbDiametricDimension.js +99 -25
- package/lib/entity/dimension/AcDbDiametricDimension.js.map +1 -1
- package/lib/entity/dimension/AcDbDimension.d.ts +108 -14
- package/lib/entity/dimension/AcDbDimension.d.ts.map +1 -1
- package/lib/entity/dimension/AcDbDimension.js +99 -14
- package/lib/entity/dimension/AcDbDimension.js.map +1 -1
- package/lib/entity/dimension/AcDbOrdinateDimension.d.ts +48 -16
- package/lib/entity/dimension/AcDbOrdinateDimension.d.ts.map +1 -1
- package/lib/entity/dimension/AcDbOrdinateDimension.js +48 -16
- package/lib/entity/dimension/AcDbOrdinateDimension.js.map +1 -1
- package/lib/entity/dimension/AcDbRadialDimension.d.ts +167 -24
- package/lib/entity/dimension/AcDbRadialDimension.d.ts.map +1 -1
- package/lib/entity/dimension/AcDbRadialDimension.js +162 -24
- package/lib/entity/dimension/AcDbRadialDimension.js.map +1 -1
- package/lib/misc/AcDbAngleUnits.d.ts +12 -0
- package/lib/misc/AcDbAngleUnits.d.ts.map +1 -1
- package/lib/misc/AcDbAngleUnits.js +12 -0
- package/lib/misc/AcDbAngleUnits.js.map +1 -1
- package/lib/misc/AcDbConstants.d.ts +20 -0
- package/lib/misc/AcDbConstants.d.ts.map +1 -1
- package/lib/misc/AcDbConstants.js +20 -0
- package/lib/misc/AcDbConstants.js.map +1 -1
- package/lib/misc/AcDbDimArrowType.d.ts +24 -21
- package/lib/misc/AcDbDimArrowType.d.ts.map +1 -1
- package/lib/misc/AcDbDimArrowType.js +24 -21
- package/lib/misc/AcDbDimArrowType.js.map +1 -1
- package/lib/misc/AcDbObjectIterator.d.ts +42 -3
- package/lib/misc/AcDbObjectIterator.d.ts.map +1 -1
- package/lib/misc/AcDbObjectIterator.js +42 -3
- package/lib/misc/AcDbObjectIterator.js.map +1 -1
- package/lib/misc/AcDbOsnapMode.d.ts +18 -10
- package/lib/misc/AcDbOsnapMode.d.ts.map +1 -1
- package/lib/misc/AcDbOsnapMode.js +18 -10
- package/lib/misc/AcDbOsnapMode.js.map +1 -1
- package/lib/misc/AcDbRenderingCache.d.ts +107 -29
- package/lib/misc/AcDbRenderingCache.d.ts.map +1 -1
- package/lib/misc/AcDbRenderingCache.js +105 -29
- package/lib/misc/AcDbRenderingCache.js.map +1 -1
- package/lib/misc/AcDbUnitsValue.d.ts +58 -8
- package/lib/misc/AcDbUnitsValue.d.ts.map +1 -1
- package/lib/misc/AcDbUnitsValue.js +58 -8
- package/lib/misc/AcDbUnitsValue.js.map +1 -1
- package/lib/object/AcDbDictionary.d.ts +128 -30
- package/lib/object/AcDbDictionary.d.ts.map +1 -1
- package/lib/object/AcDbDictionary.js +126 -30
- package/lib/object/AcDbDictionary.js.map +1 -1
- package/lib/object/AcDbRasterImageDef.d.ts +38 -9
- package/lib/object/AcDbRasterImageDef.d.ts.map +1 -1
- package/lib/object/AcDbRasterImageDef.js +37 -9
- package/lib/object/AcDbRasterImageDef.js.map +1 -1
- package/lib/object/layout/AcDbLayout.d.ts +152 -13
- package/lib/object/layout/AcDbLayout.d.ts.map +1 -1
- package/lib/object/layout/AcDbLayout.js +146 -13
- package/lib/object/layout/AcDbLayout.js.map +1 -1
- package/lib/object/layout/AcDbLayoutDictionary.d.ts +35 -7
- package/lib/object/layout/AcDbLayoutDictionary.d.ts.map +1 -1
- package/lib/object/layout/AcDbLayoutDictionary.js +35 -7
- package/lib/object/layout/AcDbLayoutDictionary.js.map +1 -1
- package/lib/object/layout/AcDbLayoutManager.d.ts +103 -31
- package/lib/object/layout/AcDbLayoutManager.d.ts.map +1 -1
- package/lib/object/layout/AcDbLayoutManager.js +98 -31
- package/lib/object/layout/AcDbLayoutManager.js.map +1 -1
- package/package.json +4 -4
|
@@ -16,26 +16,71 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
16
16
|
import { AcGeBox3d, AcGePoint3d } from '@mlightcad/geometry-engine';
|
|
17
17
|
import { AcDbDimension } from './AcDbDimension';
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
19
|
+
* Represents a radial dimension entity in AutoCAD.
|
|
20
|
+
*
|
|
21
|
+
* A radial dimension measures the radius of a curve (typically a circle or arc).
|
|
22
|
+
* This dimension type requires a center point and a point on the curve being dimensioned
|
|
23
|
+
* in order to draw the dimension line from the center point through the point on the curve.
|
|
24
|
+
*
|
|
25
|
+
* The dimension utilizes a "leader length" value to determine how far the dimension line
|
|
26
|
+
* extends out past the curve before doing a horizontal dogleg (if necessary) to the annotation text.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* ```typescript
|
|
30
|
+
* // Create a radial dimension
|
|
31
|
+
* const radialDim = new AcDbRadialDimension(
|
|
32
|
+
* new AcGePoint3d(0, 0, 0), // Center point
|
|
33
|
+
* new AcGePoint3d(5, 0, 0), // Point on curve
|
|
34
|
+
* 2.0, // Leader length
|
|
35
|
+
* "5.0", // Dimension text
|
|
36
|
+
* "Standard" // Dimension style
|
|
37
|
+
* );
|
|
38
|
+
*
|
|
39
|
+
* // Access dimension properties
|
|
40
|
+
* console.log(`Center: ${radialDim.center}`);
|
|
41
|
+
* console.log(`Chord point: ${radialDim.chordPoint}`);
|
|
42
|
+
* console.log(`Leader length: ${radialDim.leaderLength}`);
|
|
43
|
+
* ```
|
|
24
44
|
*/
|
|
25
45
|
var AcDbRadialDimension = /** @class */ (function (_super) {
|
|
26
46
|
__extends(AcDbRadialDimension, _super);
|
|
27
47
|
/**
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
48
|
+
* Creates a new radial dimension entity.
|
|
49
|
+
*
|
|
50
|
+
* This constructor initializes a radial dimension using the specified center point,
|
|
51
|
+
* chord point, and leader length. The dimension line behavior depends on whether
|
|
52
|
+
* the text is inside or outside the curve being dimensioned.
|
|
53
|
+
*
|
|
54
|
+
* - If the text is inside the curve, the dimension line is drawn from the center
|
|
55
|
+
* to the chordPoint, with a break for the annotation text.
|
|
56
|
+
* - If the text is outside the curve, the dimension line is drawn from the center,
|
|
57
|
+
* through the chordPoint and out the leaderLength distance past the chordPoint
|
|
58
|
+
* where it does a short horizontal dogleg (if appropriate) to the annotation text.
|
|
59
|
+
*
|
|
60
|
+
* @param center - Center point (in WCS coordinates) of curve being dimensioned
|
|
61
|
+
* @param chordPoint - Point (in WCS coordinates) on the curve being dimensioned
|
|
62
|
+
* @param leaderLength - Leader length distance
|
|
63
|
+
* @param dimText - Text string to use as the dimension annotation (optional)
|
|
64
|
+
* @param dimStyle - String name of dimension style table record to use (optional)
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* ```typescript
|
|
68
|
+
* // Create a radial dimension with default text and style
|
|
69
|
+
* const radialDim = new AcDbRadialDimension(
|
|
70
|
+
* new AcGePoint3d(0, 0, 0),
|
|
71
|
+
* new AcGePoint3d(5, 0, 0),
|
|
72
|
+
* 2.0
|
|
73
|
+
* );
|
|
74
|
+
*
|
|
75
|
+
* // Create a radial dimension with custom text and style
|
|
76
|
+
* const radialDim2 = new AcDbRadialDimension(
|
|
77
|
+
* new AcGePoint3d(10, 10, 0),
|
|
78
|
+
* new AcGePoint3d(15, 10, 0),
|
|
79
|
+
* 3.0,
|
|
80
|
+
* "5.0",
|
|
81
|
+
* "Architectural"
|
|
82
|
+
* );
|
|
83
|
+
* ```
|
|
39
84
|
*/
|
|
40
85
|
function AcDbRadialDimension(center, chordPoint, leaderLength, dimText, dimStyle) {
|
|
41
86
|
if (dimText === void 0) { dimText = null; }
|
|
@@ -53,12 +98,31 @@ var AcDbRadialDimension = /** @class */ (function (_super) {
|
|
|
53
98
|
}
|
|
54
99
|
Object.defineProperty(AcDbRadialDimension.prototype, "center", {
|
|
55
100
|
/**
|
|
56
|
-
*
|
|
57
|
-
*
|
|
101
|
+
* Gets the center point of the curve being dimensioned.
|
|
102
|
+
*
|
|
103
|
+
* This point is the primary definition point for this dimension type.
|
|
104
|
+
*
|
|
105
|
+
* @returns The center point in WCS coordinates
|
|
106
|
+
*
|
|
107
|
+
* @example
|
|
108
|
+
* ```typescript
|
|
109
|
+
* const center = radialDim.center;
|
|
110
|
+
* console.log(`Center point: ${center.x}, ${center.y}, ${center.z}`);
|
|
111
|
+
* ```
|
|
58
112
|
*/
|
|
59
113
|
get: function () {
|
|
60
114
|
return this._center;
|
|
61
115
|
},
|
|
116
|
+
/**
|
|
117
|
+
* Sets the center point of the curve being dimensioned.
|
|
118
|
+
*
|
|
119
|
+
* @param value - The new center point
|
|
120
|
+
*
|
|
121
|
+
* @example
|
|
122
|
+
* ```typescript
|
|
123
|
+
* radialDim.center = new AcGePoint3d(0, 0, 0);
|
|
124
|
+
* ```
|
|
125
|
+
*/
|
|
62
126
|
set: function (value) {
|
|
63
127
|
this._center.copy(value);
|
|
64
128
|
},
|
|
@@ -67,11 +131,29 @@ var AcDbRadialDimension = /** @class */ (function (_super) {
|
|
|
67
131
|
});
|
|
68
132
|
Object.defineProperty(AcDbRadialDimension.prototype, "chordPoint", {
|
|
69
133
|
/**
|
|
70
|
-
*
|
|
134
|
+
* Gets the point where the dimension line intersects the curve being dimensioned.
|
|
135
|
+
*
|
|
136
|
+
* @returns The chord point in WCS coordinates
|
|
137
|
+
*
|
|
138
|
+
* @example
|
|
139
|
+
* ```typescript
|
|
140
|
+
* const chordPoint = radialDim.chordPoint;
|
|
141
|
+
* console.log(`Chord point: ${chordPoint.x}, ${chordPoint.y}, ${chordPoint.z}`);
|
|
142
|
+
* ```
|
|
71
143
|
*/
|
|
72
144
|
get: function () {
|
|
73
145
|
return this._chordPoint;
|
|
74
146
|
},
|
|
147
|
+
/**
|
|
148
|
+
* Sets the point where the dimension line intersects the curve being dimensioned.
|
|
149
|
+
*
|
|
150
|
+
* @param value - The new chord point
|
|
151
|
+
*
|
|
152
|
+
* @example
|
|
153
|
+
* ```typescript
|
|
154
|
+
* radialDim.chordPoint = new AcGePoint3d(5, 0, 0);
|
|
155
|
+
* ```
|
|
156
|
+
*/
|
|
75
157
|
set: function (value) {
|
|
76
158
|
this._chordPoint.copy(value);
|
|
77
159
|
},
|
|
@@ -80,11 +162,29 @@ var AcDbRadialDimension = /** @class */ (function (_super) {
|
|
|
80
162
|
});
|
|
81
163
|
Object.defineProperty(AcDbRadialDimension.prototype, "extArcStartAngle", {
|
|
82
164
|
/**
|
|
83
|
-
*
|
|
165
|
+
* Gets the extension arc start angle.
|
|
166
|
+
*
|
|
167
|
+
* @returns The extension arc start angle in radians
|
|
168
|
+
*
|
|
169
|
+
* @example
|
|
170
|
+
* ```typescript
|
|
171
|
+
* const startAngle = radialDim.extArcStartAngle;
|
|
172
|
+
* console.log(`Extension arc start angle: ${startAngle} radians`);
|
|
173
|
+
* ```
|
|
84
174
|
*/
|
|
85
175
|
get: function () {
|
|
86
176
|
return this._extArcStartAngle;
|
|
87
177
|
},
|
|
178
|
+
/**
|
|
179
|
+
* Sets the extension arc start angle.
|
|
180
|
+
*
|
|
181
|
+
* @param value - The new extension arc start angle in radians
|
|
182
|
+
*
|
|
183
|
+
* @example
|
|
184
|
+
* ```typescript
|
|
185
|
+
* radialDim.extArcStartAngle = 0;
|
|
186
|
+
* ```
|
|
187
|
+
*/
|
|
88
188
|
set: function (value) {
|
|
89
189
|
this._extArcStartAngle = value;
|
|
90
190
|
},
|
|
@@ -93,11 +193,29 @@ var AcDbRadialDimension = /** @class */ (function (_super) {
|
|
|
93
193
|
});
|
|
94
194
|
Object.defineProperty(AcDbRadialDimension.prototype, "extArcEndAngle", {
|
|
95
195
|
/**
|
|
96
|
-
*
|
|
196
|
+
* Gets the extension arc end angle.
|
|
197
|
+
*
|
|
198
|
+
* @returns The extension arc end angle in radians
|
|
199
|
+
*
|
|
200
|
+
* @example
|
|
201
|
+
* ```typescript
|
|
202
|
+
* const endAngle = radialDim.extArcEndAngle;
|
|
203
|
+
* console.log(`Extension arc end angle: ${endAngle} radians`);
|
|
204
|
+
* ```
|
|
97
205
|
*/
|
|
98
206
|
get: function () {
|
|
99
207
|
return this._extArcEndAngle;
|
|
100
208
|
},
|
|
209
|
+
/**
|
|
210
|
+
* Sets the extension arc end angle.
|
|
211
|
+
*
|
|
212
|
+
* @param value - The new extension arc end angle in radians
|
|
213
|
+
*
|
|
214
|
+
* @example
|
|
215
|
+
* ```typescript
|
|
216
|
+
* radialDim.extArcEndAngle = Math.PI / 2;
|
|
217
|
+
* ```
|
|
218
|
+
*/
|
|
101
219
|
set: function (value) {
|
|
102
220
|
this._extArcEndAngle = value;
|
|
103
221
|
},
|
|
@@ -106,9 +224,19 @@ var AcDbRadialDimension = /** @class */ (function (_super) {
|
|
|
106
224
|
});
|
|
107
225
|
Object.defineProperty(AcDbRadialDimension.prototype, "leaderLength", {
|
|
108
226
|
/**
|
|
109
|
-
*
|
|
110
|
-
*
|
|
111
|
-
*
|
|
227
|
+
* Gets the leader length.
|
|
228
|
+
*
|
|
229
|
+
* The leader length is the distance from the chordPoint dimension definition point
|
|
230
|
+
* out to where the dimension does a horizontal dogleg to the annotation text
|
|
231
|
+
* (or stops if no dogleg is needed).
|
|
232
|
+
*
|
|
233
|
+
* @returns The leader length value
|
|
234
|
+
*
|
|
235
|
+
* @example
|
|
236
|
+
* ```typescript
|
|
237
|
+
* const leaderLength = radialDim.leaderLength;
|
|
238
|
+
* console.log(`Leader length: ${leaderLength}`);
|
|
239
|
+
* ```
|
|
112
240
|
*/
|
|
113
241
|
get: function () {
|
|
114
242
|
return this._leaderLength;
|
|
@@ -117,6 +245,16 @@ var AcDbRadialDimension = /** @class */ (function (_super) {
|
|
|
117
245
|
configurable: true
|
|
118
246
|
});
|
|
119
247
|
Object.defineProperty(AcDbRadialDimension.prototype, "leaderLenght", {
|
|
248
|
+
/**
|
|
249
|
+
* Sets the leader length.
|
|
250
|
+
*
|
|
251
|
+
* @param value - The new leader length value
|
|
252
|
+
*
|
|
253
|
+
* @example
|
|
254
|
+
* ```typescript
|
|
255
|
+
* radialDim.leaderLength = 3.0;
|
|
256
|
+
* ```
|
|
257
|
+
*/
|
|
120
258
|
set: function (value) {
|
|
121
259
|
this._leaderLength = value;
|
|
122
260
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AcDbRadialDimension.js","sourceRoot":"","sources":["../../../src/entity/dimension/AcDbRadialDimension.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,OAAO,EACL,SAAS,EACT,WAAW,EAEZ,MAAM,4BAA4B,CAAA;AAInC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAE/C
|
|
1
|
+
{"version":3,"file":"AcDbRadialDimension.js","sourceRoot":"","sources":["../../../src/entity/dimension/AcDbRadialDimension.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,OAAO,EACL,SAAS,EACT,WAAW,EAEZ,MAAM,4BAA4B,CAAA;AAInC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAE/C;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH;IAAyC,uCAAa;IAYpD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAqCG;IACH,6BACE,MAAuB,EACvB,UAA2B,EAC3B,YAAoB,EACpB,OAA6B,EAC7B,QAA8B;QAD9B,wBAAA,EAAA,cAA6B;QAC7B,yBAAA,EAAA,eAA8B;QAE9B,YAAA,MAAK,WAAE,SAAA;QACP,KAAI,CAAC,OAAO,GAAG,IAAI,WAAW,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QAC7C,KAAI,CAAC,WAAW,GAAG,IAAI,WAAW,EAAE,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;QACrD,KAAI,CAAC,aAAa,GAAG,YAAY,CAAA;QACjC,KAAI,CAAC,iBAAiB,GAAG,CAAC,CAAA;QAC1B,KAAI,CAAC,eAAe,GAAG,CAAC,CAAA;QAExB,KAAI,CAAC,aAAa,GAAG,OAAO,CAAA;QAC5B,6FAA6F;QAC7F,KAAI,CAAC,kBAAkB,GAAG,QAAQ,CAAA;;IACpC,CAAC;IAeD,sBAAI,uCAAM;QAbV;;;;;;;;;;;;WAYG;aACH;YACE,OAAO,IAAI,CAAC,OAAO,CAAA;QACrB,CAAC;QAED;;;;;;;;;WASG;aACH,UAAW,KAAkB;YAC3B,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;QAC1B,CAAC;;;OAdA;IA2BD,sBAAI,2CAAU;QAXd;;;;;;;;;;WAUG;aACH;YACE,OAAO,IAAI,CAAC,WAAW,CAAA;QACzB,CAAC;QAED;;;;;;;;;WASG;aACH,UAAe,KAAkB;YAC/B,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;QAC9B,CAAC;;;OAdA;IA2BD,sBAAI,iDAAgB;QAXpB;;;;;;;;;;WAUG;aACH;YACE,OAAO,IAAI,CAAC,iBAAiB,CAAA;QAC/B,CAAC;QAED;;;;;;;;;WASG;aACH,UAAqB,KAAa;YAChC,IAAI,CAAC,iBAAiB,GAAG,KAAK,CAAA;QAChC,CAAC;;;OAdA;IA2BD,sBAAI,+CAAc;QAXlB;;;;;;;;;;WAUG;aACH;YACE,OAAO,IAAI,CAAC,eAAe,CAAA;QAC7B,CAAC;QAED;;;;;;;;;WASG;aACH,UAAmB,KAAa;YAC9B,IAAI,CAAC,eAAe,GAAG,KAAK,CAAA;QAC9B,CAAC;;;OAdA;IA+BD,sBAAI,6CAAY;QAfhB;;;;;;;;;;;;;;WAcG;aACH;YACE,OAAO,IAAI,CAAC,aAAa,CAAA;QAC3B,CAAC;;;OAAA;IAYD,sBAAI,6CAAY;QAVhB;;;;;;;;;WASG;aACH,UAAiB,KAAa;YAC5B,IAAI,CAAC,aAAa,GAAG,KAAK,CAAA;QAC5B,CAAC;;;OAAA;IAKD,sBAAI,iDAAgB;QAHpB;;WAEG;aACH;YACE,kBAAkB;YAClB,OAAO,IAAI,SAAS,EAAE,CAAA;QACxB,CAAC;;;OAAA;IAED;;OAEG;IACO,+CAAiB,GAA3B,UAA4B,KAAe;QACzC,OAAO;YACL,WAAW,EAAE,IAAI,CAAC,gBAAgB;SACnC,CAAA;IACH,CAAC;IACH,0BAAC;AAAD,CAAC,AA5OD,CAAyC,aAAa,GA4OrD"}
|
|
@@ -1,8 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Enumeration of angle units used in AutoCAD drawings.
|
|
3
|
+
*
|
|
4
|
+
* This enum defines the various units that can be used to represent
|
|
5
|
+
* angles in AutoCAD drawings, including degrees, radians, gradians,
|
|
6
|
+
* and surveyor's units.
|
|
7
|
+
*/
|
|
1
8
|
export declare enum AcDbAngleUnits {
|
|
9
|
+
/** Decimal degrees (e.g., 45.5°) */
|
|
2
10
|
DecimalDegrees = 0,
|
|
11
|
+
/** Degrees, minutes, and seconds (e.g., 45°30'15") */
|
|
3
12
|
DegreesMinutesSeconds = 1,
|
|
13
|
+
/** Gradians (e.g., 50 grad) */
|
|
4
14
|
Gradians = 2,
|
|
15
|
+
/** Radians (e.g., 0.785 rad) */
|
|
5
16
|
Radians = 3,
|
|
17
|
+
/** Surveyor's units (e.g., N45d30'15"E) */
|
|
6
18
|
SurveyorsUnits = 4
|
|
7
19
|
}
|
|
8
20
|
//# sourceMappingURL=AcDbAngleUnits.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AcDbAngleUnits.d.ts","sourceRoot":"","sources":["../../src/misc/AcDbAngleUnits.ts"],"names":[],"mappings":"AAAA,oBAAY,cAAc;IACxB,cAAc,IAAI;IAClB,qBAAqB,IAAI;IACzB,QAAQ,IAAI;IACZ,OAAO,IAAI;IACX,cAAc,IAAI;CACnB"}
|
|
1
|
+
{"version":3,"file":"AcDbAngleUnits.d.ts","sourceRoot":"","sources":["../../src/misc/AcDbAngleUnits.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,oBAAY,cAAc;IACxB,oCAAoC;IACpC,cAAc,IAAI;IAClB,sDAAsD;IACtD,qBAAqB,IAAI;IACzB,+BAA+B;IAC/B,QAAQ,IAAI;IACZ,gCAAgC;IAChC,OAAO,IAAI;IACX,2CAA2C;IAC3C,cAAc,IAAI;CACnB"}
|
|
@@ -1,9 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Enumeration of angle units used in AutoCAD drawings.
|
|
3
|
+
*
|
|
4
|
+
* This enum defines the various units that can be used to represent
|
|
5
|
+
* angles in AutoCAD drawings, including degrees, radians, gradians,
|
|
6
|
+
* and surveyor's units.
|
|
7
|
+
*/
|
|
1
8
|
export var AcDbAngleUnits;
|
|
2
9
|
(function (AcDbAngleUnits) {
|
|
10
|
+
/** Decimal degrees (e.g., 45.5°) */
|
|
3
11
|
AcDbAngleUnits[AcDbAngleUnits["DecimalDegrees"] = 0] = "DecimalDegrees";
|
|
12
|
+
/** Degrees, minutes, and seconds (e.g., 45°30'15") */
|
|
4
13
|
AcDbAngleUnits[AcDbAngleUnits["DegreesMinutesSeconds"] = 1] = "DegreesMinutesSeconds";
|
|
14
|
+
/** Gradians (e.g., 50 grad) */
|
|
5
15
|
AcDbAngleUnits[AcDbAngleUnits["Gradians"] = 2] = "Gradians";
|
|
16
|
+
/** Radians (e.g., 0.785 rad) */
|
|
6
17
|
AcDbAngleUnits[AcDbAngleUnits["Radians"] = 3] = "Radians";
|
|
18
|
+
/** Surveyor's units (e.g., N45d30'15"E) */
|
|
7
19
|
AcDbAngleUnits[AcDbAngleUnits["SurveyorsUnits"] = 4] = "SurveyorsUnits";
|
|
8
20
|
})(AcDbAngleUnits || (AcDbAngleUnits = {}));
|
|
9
21
|
//# sourceMappingURL=AcDbAngleUnits.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AcDbAngleUnits.js","sourceRoot":"","sources":["../../src/misc/AcDbAngleUnits.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,
|
|
1
|
+
{"version":3,"file":"AcDbAngleUnits.js","sourceRoot":"","sources":["../../src/misc/AcDbAngleUnits.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,CAAN,IAAY,cAWX;AAXD,WAAY,cAAc;IACxB,oCAAoC;IACpC,uEAAkB,CAAA;IAClB,sDAAsD;IACtD,qFAAyB,CAAA;IACzB,+BAA+B;IAC/B,2DAAY,CAAA;IACZ,gCAAgC;IAChC,yDAAW,CAAA;IACX,2CAA2C;IAC3C,uEAAkB,CAAA;AACpB,CAAC,EAXW,cAAc,KAAd,cAAc,QAWzB"}
|
|
@@ -1,4 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Default line type used when no specific line type is specified.
|
|
3
|
+
*
|
|
4
|
+
* This constant represents the "Continuous" line type, which is the
|
|
5
|
+
* standard solid line type used in AutoCAD drawings.
|
|
6
|
+
*/
|
|
1
7
|
export declare const DEFAULT_LINE_TYPE = "Continuous";
|
|
8
|
+
/**
|
|
9
|
+
* Special line type value that indicates the entity should use
|
|
10
|
+
* the line type of its layer.
|
|
11
|
+
*
|
|
12
|
+
* When an entity has this line type, it will inherit the line type
|
|
13
|
+
* from the layer it belongs to.
|
|
14
|
+
*/
|
|
2
15
|
export declare const ByLayer = "ByLayer";
|
|
16
|
+
/**
|
|
17
|
+
* Special line type value that indicates the entity should use
|
|
18
|
+
* the line type of its block.
|
|
19
|
+
*
|
|
20
|
+
* When an entity has this line type, it will inherit the line type
|
|
21
|
+
* from the block it belongs to.
|
|
22
|
+
*/
|
|
3
23
|
export declare const ByBlock = "ByBlock";
|
|
4
24
|
//# sourceMappingURL=AcDbConstants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AcDbConstants.d.ts","sourceRoot":"","sources":["../../src/misc/AcDbConstants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,eAAe,CAAA;
|
|
1
|
+
{"version":3,"file":"AcDbConstants.d.ts","sourceRoot":"","sources":["../../src/misc/AcDbConstants.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,iBAAiB,eAAe,CAAA;AAE7C;;;;;;GAMG;AACH,eAAO,MAAM,OAAO,YAAY,CAAA;AAEhC;;;;;;GAMG;AACH,eAAO,MAAM,OAAO,YAAY,CAAA"}
|
|
@@ -1,4 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Default line type used when no specific line type is specified.
|
|
3
|
+
*
|
|
4
|
+
* This constant represents the "Continuous" line type, which is the
|
|
5
|
+
* standard solid line type used in AutoCAD drawings.
|
|
6
|
+
*/
|
|
1
7
|
export var DEFAULT_LINE_TYPE = 'Continuous';
|
|
8
|
+
/**
|
|
9
|
+
* Special line type value that indicates the entity should use
|
|
10
|
+
* the line type of its layer.
|
|
11
|
+
*
|
|
12
|
+
* When an entity has this line type, it will inherit the line type
|
|
13
|
+
* from the layer it belongs to.
|
|
14
|
+
*/
|
|
2
15
|
export var ByLayer = 'ByLayer';
|
|
16
|
+
/**
|
|
17
|
+
* Special line type value that indicates the entity should use
|
|
18
|
+
* the line type of its block.
|
|
19
|
+
*
|
|
20
|
+
* When an entity has this line type, it will inherit the line type
|
|
21
|
+
* from the block it belongs to.
|
|
22
|
+
*/
|
|
3
23
|
export var ByBlock = 'ByBlock';
|
|
4
24
|
//# sourceMappingURL=AcDbConstants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AcDbConstants.js","sourceRoot":"","sources":["../../src/misc/AcDbConstants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,IAAM,iBAAiB,GAAG,YAAY,CAAA;
|
|
1
|
+
{"version":3,"file":"AcDbConstants.js","sourceRoot":"","sources":["../../src/misc/AcDbConstants.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,CAAC,IAAM,iBAAiB,GAAG,YAAY,CAAA;AAE7C;;;;;;GAMG;AACH,MAAM,CAAC,IAAM,OAAO,GAAG,SAAS,CAAA;AAEhC;;;;;;GAMG;AACH,MAAM,CAAC,IAAM,OAAO,GAAG,SAAS,CAAA"}
|
|
@@ -1,85 +1,88 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Enumeration of arrowhead types used in dimension lines.
|
|
3
|
+
*
|
|
4
|
+
* This enum defines the various arrowhead styles that can be displayed
|
|
5
|
+
* at the ends of dimension lines in AutoCAD drawings.
|
|
3
6
|
*/
|
|
4
7
|
export declare enum AcDbDimArrowType {
|
|
5
8
|
/**
|
|
6
|
-
* Closed filled
|
|
9
|
+
* Closed filled arrowhead - solid triangular arrow
|
|
7
10
|
*/
|
|
8
11
|
ClosedFilled = "",
|
|
9
12
|
/**
|
|
10
|
-
* Dot
|
|
13
|
+
* Dot arrowhead - small filled circle
|
|
11
14
|
*/
|
|
12
15
|
Dot = "_DOT",
|
|
13
16
|
/**
|
|
14
|
-
*
|
|
17
|
+
* Small dot arrowhead - smaller filled circle
|
|
15
18
|
*/
|
|
16
19
|
DotSmall = "_DOTSMALL",
|
|
17
20
|
/**
|
|
18
|
-
*
|
|
21
|
+
* Blank dot arrowhead - unfilled circle
|
|
19
22
|
*/
|
|
20
23
|
DotBlank = "_DOTBLANK",
|
|
21
24
|
/**
|
|
22
|
-
* Origin indicator
|
|
25
|
+
* Origin indicator arrowhead - cross mark
|
|
23
26
|
*/
|
|
24
27
|
Origin = "_ORIGIN",
|
|
25
28
|
/**
|
|
26
|
-
* Origin indicator 2
|
|
29
|
+
* Origin indicator 2 arrowhead - alternative cross mark
|
|
27
30
|
*/
|
|
28
31
|
Origin2 = "_ORIGIN2",
|
|
29
32
|
/**
|
|
30
|
-
* Open
|
|
33
|
+
* Open arrowhead - unfilled triangular arrow
|
|
31
34
|
*/
|
|
32
35
|
Open = "_OPEN",
|
|
33
36
|
/**
|
|
34
|
-
* Right angle
|
|
37
|
+
* Right angle arrowhead - 90-degree open arrow
|
|
35
38
|
*/
|
|
36
39
|
Open90 = "_OPEN90",
|
|
37
40
|
/**
|
|
38
|
-
* Open 30
|
|
41
|
+
* Open 30 arrowhead - 30-degree open arrow
|
|
39
42
|
*/
|
|
40
43
|
Open30 = "_OPEN30",
|
|
41
44
|
/**
|
|
42
|
-
* Closed
|
|
45
|
+
* Closed arrowhead - filled triangular arrow
|
|
43
46
|
*/
|
|
44
47
|
Closed = "_CLOSED",
|
|
45
48
|
/**
|
|
46
|
-
*
|
|
49
|
+
* Small arrowhead - smaller triangular arrow
|
|
47
50
|
*/
|
|
48
51
|
Small = "_SMALL",
|
|
49
52
|
/**
|
|
50
|
-
* None
|
|
53
|
+
* None - no arrowhead displayed
|
|
51
54
|
*/
|
|
52
55
|
None = "_NONE",
|
|
53
56
|
/**
|
|
54
|
-
* Oblique
|
|
57
|
+
* Oblique arrowhead - slanted arrow
|
|
55
58
|
*/
|
|
56
59
|
Oblique = "_OBLIQUE",
|
|
57
60
|
/**
|
|
58
|
-
* Box filled
|
|
61
|
+
* Box filled arrowhead - filled square
|
|
59
62
|
*/
|
|
60
63
|
BoxFilled = "_BOXFILLED",
|
|
61
64
|
/**
|
|
62
|
-
* Box blank
|
|
65
|
+
* Box blank arrowhead - unfilled square
|
|
63
66
|
*/
|
|
64
67
|
Box = "_BOXBLANK",
|
|
65
68
|
/**
|
|
66
|
-
* Closed blank
|
|
69
|
+
* Closed blank arrowhead - unfilled triangular arrow
|
|
67
70
|
*/
|
|
68
71
|
ClosedBlank = "_CLOSEDBLANK",
|
|
69
72
|
/**
|
|
70
|
-
* Datum triangle
|
|
73
|
+
* Datum triangle blank - unfilled datum triangle
|
|
71
74
|
*/
|
|
72
75
|
DatumBlank = "_DATUMBLANK",
|
|
73
76
|
/**
|
|
74
|
-
* Datum triangle filled
|
|
77
|
+
* Datum triangle filled - filled datum triangle
|
|
75
78
|
*/
|
|
76
79
|
DatumFilled = "_DATUMFILLED",
|
|
77
80
|
/**
|
|
78
|
-
* Integral
|
|
81
|
+
* Integral arrowhead - integral symbol
|
|
79
82
|
*/
|
|
80
83
|
Integral = "_INTEGRAL",
|
|
81
84
|
/**
|
|
82
|
-
* Architectural tick
|
|
85
|
+
* Architectural tick - architectural tick mark
|
|
83
86
|
*/
|
|
84
87
|
ArchTick = "_ARCHTICK"
|
|
85
88
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AcDbDimArrowType.d.ts","sourceRoot":"","sources":["../../src/misc/AcDbDimArrowType.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"AcDbDimArrowType.d.ts","sourceRoot":"","sources":["../../src/misc/AcDbDimArrowType.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,oBAAY,gBAAgB;IAC1B;;OAEG;IACH,YAAY,KAAK;IACjB;;OAEG;IACH,GAAG,SAAS;IACZ;;OAEG;IACH,QAAQ,cAAc;IACtB;;OAEG;IACH,QAAQ,cAAc;IACtB;;OAEG;IACH,MAAM,YAAY;IAClB;;OAEG;IACH,OAAO,aAAa;IACpB;;OAEG;IACH,IAAI,UAAU;IACd;;OAEG;IACH,MAAM,YAAY;IAClB;;OAEG;IACH,MAAM,YAAY;IAClB;;OAEG;IACH,MAAM,YAAY;IAClB;;OAEG;IACH,KAAK,WAAW;IAChB;;OAEG;IACH,IAAI,UAAU;IACd;;OAEG;IACH,OAAO,aAAa;IACpB;;OAEG;IACH,SAAS,eAAe;IACxB;;OAEG;IACH,GAAG,cAAc;IACjB;;OAEG;IACH,WAAW,iBAAiB;IAC5B;;OAEG;IACH,UAAU,gBAAgB;IAC1B;;OAEG;IACH,WAAW,iBAAiB;IAC5B;;OAEG;IACH,QAAQ,cAAc;IACtB;;OAEG;IACH,QAAQ,cAAc;CACvB"}
|
|
@@ -1,86 +1,89 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Enumeration of arrowhead types used in dimension lines.
|
|
3
|
+
*
|
|
4
|
+
* This enum defines the various arrowhead styles that can be displayed
|
|
5
|
+
* at the ends of dimension lines in AutoCAD drawings.
|
|
3
6
|
*/
|
|
4
7
|
export var AcDbDimArrowType;
|
|
5
8
|
(function (AcDbDimArrowType) {
|
|
6
9
|
/**
|
|
7
|
-
* Closed filled
|
|
10
|
+
* Closed filled arrowhead - solid triangular arrow
|
|
8
11
|
*/
|
|
9
12
|
AcDbDimArrowType["ClosedFilled"] = "";
|
|
10
13
|
/**
|
|
11
|
-
* Dot
|
|
14
|
+
* Dot arrowhead - small filled circle
|
|
12
15
|
*/
|
|
13
16
|
AcDbDimArrowType["Dot"] = "_DOT";
|
|
14
17
|
/**
|
|
15
|
-
*
|
|
18
|
+
* Small dot arrowhead - smaller filled circle
|
|
16
19
|
*/
|
|
17
20
|
AcDbDimArrowType["DotSmall"] = "_DOTSMALL";
|
|
18
21
|
/**
|
|
19
|
-
*
|
|
22
|
+
* Blank dot arrowhead - unfilled circle
|
|
20
23
|
*/
|
|
21
24
|
AcDbDimArrowType["DotBlank"] = "_DOTBLANK";
|
|
22
25
|
/**
|
|
23
|
-
* Origin indicator
|
|
26
|
+
* Origin indicator arrowhead - cross mark
|
|
24
27
|
*/
|
|
25
28
|
AcDbDimArrowType["Origin"] = "_ORIGIN";
|
|
26
29
|
/**
|
|
27
|
-
* Origin indicator 2
|
|
30
|
+
* Origin indicator 2 arrowhead - alternative cross mark
|
|
28
31
|
*/
|
|
29
32
|
AcDbDimArrowType["Origin2"] = "_ORIGIN2";
|
|
30
33
|
/**
|
|
31
|
-
* Open
|
|
34
|
+
* Open arrowhead - unfilled triangular arrow
|
|
32
35
|
*/
|
|
33
36
|
AcDbDimArrowType["Open"] = "_OPEN";
|
|
34
37
|
/**
|
|
35
|
-
* Right angle
|
|
38
|
+
* Right angle arrowhead - 90-degree open arrow
|
|
36
39
|
*/
|
|
37
40
|
AcDbDimArrowType["Open90"] = "_OPEN90";
|
|
38
41
|
/**
|
|
39
|
-
* Open 30
|
|
42
|
+
* Open 30 arrowhead - 30-degree open arrow
|
|
40
43
|
*/
|
|
41
44
|
AcDbDimArrowType["Open30"] = "_OPEN30";
|
|
42
45
|
/**
|
|
43
|
-
* Closed
|
|
46
|
+
* Closed arrowhead - filled triangular arrow
|
|
44
47
|
*/
|
|
45
48
|
AcDbDimArrowType["Closed"] = "_CLOSED";
|
|
46
49
|
/**
|
|
47
|
-
*
|
|
50
|
+
* Small arrowhead - smaller triangular arrow
|
|
48
51
|
*/
|
|
49
52
|
AcDbDimArrowType["Small"] = "_SMALL";
|
|
50
53
|
/**
|
|
51
|
-
* None
|
|
54
|
+
* None - no arrowhead displayed
|
|
52
55
|
*/
|
|
53
56
|
AcDbDimArrowType["None"] = "_NONE";
|
|
54
57
|
/**
|
|
55
|
-
* Oblique
|
|
58
|
+
* Oblique arrowhead - slanted arrow
|
|
56
59
|
*/
|
|
57
60
|
AcDbDimArrowType["Oblique"] = "_OBLIQUE";
|
|
58
61
|
/**
|
|
59
|
-
* Box filled
|
|
62
|
+
* Box filled arrowhead - filled square
|
|
60
63
|
*/
|
|
61
64
|
AcDbDimArrowType["BoxFilled"] = "_BOXFILLED";
|
|
62
65
|
/**
|
|
63
|
-
* Box blank
|
|
66
|
+
* Box blank arrowhead - unfilled square
|
|
64
67
|
*/
|
|
65
68
|
AcDbDimArrowType["Box"] = "_BOXBLANK";
|
|
66
69
|
/**
|
|
67
|
-
* Closed blank
|
|
70
|
+
* Closed blank arrowhead - unfilled triangular arrow
|
|
68
71
|
*/
|
|
69
72
|
AcDbDimArrowType["ClosedBlank"] = "_CLOSEDBLANK";
|
|
70
73
|
/**
|
|
71
|
-
* Datum triangle
|
|
74
|
+
* Datum triangle blank - unfilled datum triangle
|
|
72
75
|
*/
|
|
73
76
|
AcDbDimArrowType["DatumBlank"] = "_DATUMBLANK";
|
|
74
77
|
/**
|
|
75
|
-
* Datum triangle filled
|
|
78
|
+
* Datum triangle filled - filled datum triangle
|
|
76
79
|
*/
|
|
77
80
|
AcDbDimArrowType["DatumFilled"] = "_DATUMFILLED";
|
|
78
81
|
/**
|
|
79
|
-
* Integral
|
|
82
|
+
* Integral arrowhead - integral symbol
|
|
80
83
|
*/
|
|
81
84
|
AcDbDimArrowType["Integral"] = "_INTEGRAL";
|
|
82
85
|
/**
|
|
83
|
-
* Architectural tick
|
|
86
|
+
* Architectural tick - architectural tick mark
|
|
84
87
|
*/
|
|
85
88
|
AcDbDimArrowType["ArchTick"] = "_ARCHTICK";
|
|
86
89
|
})(AcDbDimArrowType || (AcDbDimArrowType = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AcDbDimArrowType.js","sourceRoot":"","sources":["../../src/misc/AcDbDimArrowType.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"AcDbDimArrowType.js","sourceRoot":"","sources":["../../src/misc/AcDbDimArrowType.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,CAAN,IAAY,gBAiFX;AAjFD,WAAY,gBAAgB;IAC1B;;OAEG;IACH,qCAAiB,CAAA;IACjB;;OAEG;IACH,gCAAY,CAAA;IACZ;;OAEG;IACH,0CAAsB,CAAA;IACtB;;OAEG;IACH,0CAAsB,CAAA;IACtB;;OAEG;IACH,sCAAkB,CAAA;IAClB;;OAEG;IACH,wCAAoB,CAAA;IACpB;;OAEG;IACH,kCAAc,CAAA;IACd;;OAEG;IACH,sCAAkB,CAAA;IAClB;;OAEG;IACH,sCAAkB,CAAA;IAClB;;OAEG;IACH,sCAAkB,CAAA;IAClB;;OAEG;IACH,oCAAgB,CAAA;IAChB;;OAEG;IACH,kCAAc,CAAA;IACd;;OAEG;IACH,wCAAoB,CAAA;IACpB;;OAEG;IACH,4CAAwB,CAAA;IACxB;;OAEG;IACH,qCAAiB,CAAA;IACjB;;OAEG;IACH,gDAA4B,CAAA;IAC5B;;OAEG;IACH,8CAA0B,CAAA;IAC1B;;OAEG;IACH,gDAA4B,CAAA;IAC5B;;OAEG;IACH,0CAAsB,CAAA;IACtB;;OAEG;IACH,0CAAsB,CAAA;AACxB,CAAC,EAjFW,gBAAgB,KAAhB,gBAAgB,QAiF3B"}
|