@linkiez/dxf-renew 7.2.0 → 7.2.3
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/.yarn/install-state.gz +0 -0
- package/CHANGELOG.md +18 -0
- package/build.mjs +28 -0
- package/lib/Helper.d.ts +19 -0
- package/lib/Helper.d.ts.map +1 -0
- package/lib/applyTransforms.d.ts +12 -0
- package/lib/applyTransforms.d.ts.map +1 -0
- package/lib/cli.cjs +1 -2
- package/lib/cli.cjs.map +1 -1
- package/lib/cli.d.ts +3 -0
- package/lib/cli.d.ts.map +1 -0
- package/lib/config.d.ts +4 -0
- package/lib/config.d.ts.map +1 -0
- package/lib/constants.d.ts +3 -0
- package/lib/constants.d.ts.map +1 -0
- package/lib/denormalise.d.ts +3 -0
- package/lib/denormalise.d.ts.map +1 -0
- package/lib/dimensionToSVG.d.ts +18 -0
- package/lib/dimensionToSVG.d.ts.map +1 -0
- package/lib/entityToPolyline.d.ts +48 -0
- package/lib/entityToPolyline.d.ts.map +1 -0
- package/lib/getRGBForEntity.d.ts +5 -0
- package/lib/getRGBForEntity.d.ts.map +1 -0
- package/lib/groupEntitiesByLayer.d.ts +3 -0
- package/lib/groupEntitiesByLayer.d.ts.map +1 -0
- package/lib/handlers/blocks.d.ts +3 -0
- package/lib/handlers/blocks.d.ts.map +1 -0
- package/lib/handlers/entities.d.ts +4 -0
- package/lib/handlers/entities.d.ts.map +1 -0
- package/lib/handlers/entity/arc.d.ts +20 -0
- package/lib/handlers/entity/arc.d.ts.map +1 -0
- package/lib/handlers/entity/attdef.d.ts +11 -0
- package/lib/handlers/entity/attdef.d.ts.map +1 -0
- package/lib/handlers/entity/attrib.d.ts +9 -0
- package/lib/handlers/entity/attrib.d.ts.map +1 -0
- package/lib/handlers/entity/circle.d.ts +17 -0
- package/lib/handlers/entity/circle.d.ts.map +1 -0
- package/lib/handlers/entity/common.d.ts +3 -0
- package/lib/handlers/entity/common.d.ts.map +1 -0
- package/lib/handlers/entity/dgnUnderlay.d.ts +33 -0
- package/lib/handlers/entity/dgnUnderlay.d.ts.map +1 -0
- package/lib/handlers/entity/dimension.d.ts +35 -0
- package/lib/handlers/entity/dimension.d.ts.map +1 -0
- package/lib/handlers/entity/dwfUnderlay.d.ts +33 -0
- package/lib/handlers/entity/dwfUnderlay.d.ts.map +1 -0
- package/lib/handlers/entity/ellipse.d.ts +10 -0
- package/lib/handlers/entity/ellipse.d.ts.map +1 -0
- package/lib/handlers/entity/hatch.d.ts +9 -0
- package/lib/handlers/entity/hatch.d.ts.map +1 -0
- package/lib/handlers/entity/image.d.ts +26 -0
- package/lib/handlers/entity/image.d.ts.map +1 -0
- package/lib/handlers/entity/insert.d.ts +10 -0
- package/lib/handlers/entity/insert.d.ts.map +1 -0
- package/lib/handlers/entity/leader.d.ts +48 -0
- package/lib/handlers/entity/leader.d.ts.map +1 -0
- package/lib/handlers/entity/line.d.ts +16 -0
- package/lib/handlers/entity/line.d.ts.map +1 -0
- package/lib/handlers/entity/lwpolyline.d.ts +10 -0
- package/lib/handlers/entity/lwpolyline.d.ts.map +1 -0
- package/lib/handlers/entity/mleader.d.ts +15 -0
- package/lib/handlers/entity/mleader.d.ts.map +1 -0
- package/lib/handlers/entity/mline.d.ts +17 -0
- package/lib/handlers/entity/mline.d.ts.map +1 -0
- package/lib/handlers/entity/mtext.d.ts +62 -0
- package/lib/handlers/entity/mtext.d.ts.map +1 -0
- package/lib/handlers/entity/ole2Frame.d.ts +9 -0
- package/lib/handlers/entity/ole2Frame.d.ts.map +1 -0
- package/lib/handlers/entity/oleframe.d.ts +9 -0
- package/lib/handlers/entity/oleframe.d.ts.map +1 -0
- package/lib/handlers/entity/pdfUnderlay.d.ts +33 -0
- package/lib/handlers/entity/pdfUnderlay.d.ts.map +1 -0
- package/lib/handlers/entity/point.d.ts +17 -0
- package/lib/handlers/entity/point.d.ts.map +1 -0
- package/lib/handlers/entity/polyline.d.ts +21 -0
- package/lib/handlers/entity/polyline.d.ts.map +1 -0
- package/lib/handlers/entity/ray.d.ts +15 -0
- package/lib/handlers/entity/ray.d.ts.map +1 -0
- package/lib/handlers/entity/region.d.ts +14 -0
- package/lib/handlers/entity/region.d.ts.map +1 -0
- package/lib/handlers/entity/shape.d.ts +22 -0
- package/lib/handlers/entity/shape.d.ts.map +1 -0
- package/lib/handlers/entity/solid.d.ts +15 -0
- package/lib/handlers/entity/solid.d.ts.map +1 -0
- package/lib/handlers/entity/spline.d.ts +30 -0
- package/lib/handlers/entity/spline.d.ts.map +1 -0
- package/lib/handlers/entity/table.d.ts +16 -0
- package/lib/handlers/entity/table.d.ts.map +1 -0
- package/lib/handlers/entity/text.d.ts +31 -0
- package/lib/handlers/entity/text.d.ts.map +1 -0
- package/lib/handlers/entity/threeDFace.d.ts +14 -0
- package/lib/handlers/entity/threeDFace.d.ts.map +1 -0
- package/lib/handlers/entity/tolerance.d.ts +25 -0
- package/lib/handlers/entity/tolerance.d.ts.map +1 -0
- package/lib/handlers/entity/trace.d.ts +15 -0
- package/lib/handlers/entity/trace.d.ts.map +1 -0
- package/lib/handlers/entity/vertex.d.ts +10 -0
- package/lib/handlers/entity/vertex.d.ts.map +1 -0
- package/lib/handlers/entity/viewport.d.ts +9 -0
- package/lib/handlers/entity/viewport.d.ts.map +1 -0
- package/lib/handlers/entity/wipeout.d.ts +28 -0
- package/lib/handlers/entity/wipeout.d.ts.map +1 -0
- package/lib/handlers/entity/xline.d.ts +15 -0
- package/lib/handlers/entity/xline.d.ts.map +1 -0
- package/lib/handlers/header.d.ts +3 -0
- package/lib/handlers/header.d.ts.map +1 -0
- package/lib/handlers/objects.d.ts +3 -0
- package/lib/handlers/objects.d.ts.map +1 -0
- package/lib/handlers/tables.d.ts +13 -0
- package/lib/handlers/tables.d.ts.map +1 -0
- package/lib/index.d.ts +10 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/parseString.d.ts +3 -0
- package/lib/parseString.d.ts.map +1 -0
- package/lib/toJson.d.ts +3 -0
- package/lib/toJson.d.ts.map +1 -0
- package/lib/toPolylines.d.ts +4 -0
- package/lib/toPolylines.d.ts.map +1 -0
- package/lib/toSVG.d.ts +7 -0
- package/lib/toSVG.d.ts.map +1 -0
- package/lib/types/arc-entity.d.ts +8 -0
- package/lib/types/arc-entity.d.ts.map +1 -0
- package/lib/types/base-entity.d.ts +22 -0
- package/lib/types/base-entity.d.ts.map +1 -0
- package/lib/types/circle-entity.d.ts +6 -0
- package/lib/types/circle-entity.d.ts.map +1 -0
- package/lib/types/common.d.ts +30 -0
- package/lib/types/common.d.ts.map +1 -0
- package/lib/types/dimension-entity.d.ts +31 -0
- package/lib/types/dimension-entity.d.ts.map +1 -0
- package/lib/types/dxf.d.ts +55 -0
- package/lib/types/dxf.d.ts.map +1 -0
- package/lib/types/ellipse-entity.d.ts +11 -0
- package/lib/types/ellipse-entity.d.ts.map +1 -0
- package/lib/types/entity.d.ts +30 -0
- package/lib/types/entity.d.ts.map +1 -0
- package/lib/types/handler-internal.d.ts +44 -0
- package/lib/types/handler-internal.d.ts.map +1 -0
- package/lib/types/handler.d.ts +8 -0
- package/lib/types/handler.d.ts.map +1 -0
- package/lib/types/hatch-entity.d.ts +116 -0
- package/lib/types/hatch-entity.d.ts.map +1 -0
- package/lib/types/helper.d.ts +11 -0
- package/lib/types/helper.d.ts.map +1 -0
- package/lib/types/image-entity.d.ts +25 -0
- package/lib/types/image-entity.d.ts.map +1 -0
- package/lib/types/index.d.ts +43 -0
- package/lib/types/index.d.ts.map +1 -0
- package/lib/types/insert-entity.d.ts +16 -0
- package/lib/types/insert-entity.d.ts.map +1 -0
- package/lib/types/layer-groups.d.ts +6 -0
- package/lib/types/layer-groups.d.ts.map +1 -0
- package/lib/types/leader-entity.d.ts +28 -0
- package/lib/types/leader-entity.d.ts.map +1 -0
- package/lib/types/line-entity.d.ts +8 -0
- package/lib/types/line-entity.d.ts.map +1 -0
- package/lib/types/mleader-entity.d.ts +7 -0
- package/lib/types/mleader-entity.d.ts.map +1 -0
- package/lib/types/mline-entity.d.ts +10 -0
- package/lib/types/mline-entity.d.ts.map +1 -0
- package/lib/types/mtext-entity.d.ts +33 -0
- package/lib/types/mtext-entity.d.ts.map +1 -0
- package/lib/types/ole2frame-entity.d.ts +33 -0
- package/lib/types/ole2frame-entity.d.ts.map +1 -0
- package/lib/types/oleframe-entity.d.ts +33 -0
- package/lib/types/oleframe-entity.d.ts.map +1 -0
- package/lib/types/options.d.ts +57 -0
- package/lib/types/options.d.ts.map +1 -0
- package/lib/types/point-entity.d.ts +5 -0
- package/lib/types/point-entity.d.ts.map +1 -0
- package/lib/types/polyline-entity.d.ts +17 -0
- package/lib/types/polyline-entity.d.ts.map +1 -0
- package/lib/types/polylines.d.ts +18 -0
- package/lib/types/polylines.d.ts.map +1 -0
- package/lib/types/ray-entity.d.ts +10 -0
- package/lib/types/ray-entity.d.ts.map +1 -0
- package/lib/types/region-entity.d.ts +10 -0
- package/lib/types/region-entity.d.ts.map +1 -0
- package/lib/types/shape-entity.d.ts +17 -0
- package/lib/types/shape-entity.d.ts.map +1 -0
- package/lib/types/solid-entity.d.ts +7 -0
- package/lib/types/solid-entity.d.ts.map +1 -0
- package/lib/types/spline-entity.d.ts +10 -0
- package/lib/types/spline-entity.d.ts.map +1 -0
- package/lib/types/svg.d.ts +27 -0
- package/lib/types/svg.d.ts.map +1 -0
- package/lib/types/table-entity.d.ts +12 -0
- package/lib/types/table-entity.d.ts.map +1 -0
- package/lib/types/tables.d.ts +549 -0
- package/lib/types/tables.d.ts.map +1 -0
- package/lib/types/text-entity.d.ts +21 -0
- package/lib/types/text-entity.d.ts.map +1 -0
- package/lib/types/tolerance-entity.d.ts +14 -0
- package/lib/types/tolerance-entity.d.ts.map +1 -0
- package/lib/types/trace-entity.d.ts +10 -0
- package/lib/types/trace-entity.d.ts.map +1 -0
- package/lib/types/underlay-entity.d.ts +26 -0
- package/lib/types/underlay-entity.d.ts.map +1 -0
- package/lib/types/util-types.d.ts +22 -0
- package/lib/types/util-types.d.ts.map +1 -0
- package/lib/types/viewport-entity.d.ts +79 -0
- package/lib/types/viewport-entity.d.ts.map +1 -0
- package/lib/types/wipeout-entity.d.ts +18 -0
- package/lib/types/wipeout-entity.d.ts.map +1 -0
- package/lib/types/xline-entity.d.ts +10 -0
- package/lib/types/xline-entity.d.ts.map +1 -0
- package/lib/types.d.ts +2 -0
- package/lib/types.d.ts.map +1 -0
- package/lib/util/bSpline.d.ts +8 -0
- package/lib/util/bSpline.d.ts.map +1 -0
- package/lib/util/colors.d.ts +5 -0
- package/lib/util/colors.d.ts.map +1 -0
- package/lib/util/createArcForLWPolyline.d.ts +9 -0
- package/lib/util/createArcForLWPolyline.d.ts.map +1 -0
- package/lib/util/dxfColorToRGB.d.ts +22 -0
- package/lib/util/dxfColorToRGB.d.ts.map +1 -0
- package/lib/util/escapeXmlText.d.ts +2 -0
- package/lib/util/escapeXmlText.d.ts.map +1 -0
- package/lib/util/insertKnot.d.ts +9 -0
- package/lib/util/insertKnot.d.ts.map +1 -0
- package/lib/util/logger.d.ts +10 -0
- package/lib/util/logger.d.ts.map +1 -0
- package/lib/util/rgbToColorAttribute.d.ts +7 -0
- package/lib/util/rgbToColorAttribute.d.ts.map +1 -0
- package/lib/util/rotate.d.ts +9 -0
- package/lib/util/rotate.d.ts.map +1 -0
- package/lib/util/round10.d.ts +2 -0
- package/lib/util/round10.d.ts.map +1 -0
- package/lib/util/toPiecewiseBezier.d.ts +18 -0
- package/lib/util/toPiecewiseBezier.d.ts.map +1 -0
- package/lib/util/transformBoundingBoxAndElement.d.ts +9 -0
- package/lib/util/transformBoundingBoxAndElement.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { PositionalEntity } from './base-entity';
|
|
2
|
+
export interface InsertEntity extends PositionalEntity {
|
|
3
|
+
type: 'INSERT';
|
|
4
|
+
block: string;
|
|
5
|
+
scaleX?: number;
|
|
6
|
+
scaleY?: number;
|
|
7
|
+
scaleZ?: number;
|
|
8
|
+
rotation?: number;
|
|
9
|
+
columnCount?: number;
|
|
10
|
+
rowCount?: number;
|
|
11
|
+
columnSpacing?: number;
|
|
12
|
+
rowSpacing?: number;
|
|
13
|
+
extrusionX?: number;
|
|
14
|
+
extrusionY?: number;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=insert-entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"insert-entity.d.ts","sourceRoot":"","sources":["../../src/types/insert-entity.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAA;AAErD,MAAM,WAAW,YAAa,SAAQ,gBAAgB;IACpD,IAAI,EAAE,QAAQ,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;CAEpB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"layer-groups.d.ts","sourceRoot":"","sources":["../../src/types/layer-groups.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAEtC,gCAAgC;AAChC,MAAM,WAAW,WAAW;IAC1B,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CAC9B"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { BaseEntity } from './base-entity';
|
|
2
|
+
import type { Point3D } from './common';
|
|
3
|
+
export interface LeaderEntity extends BaseEntity {
|
|
4
|
+
type: 'LEADER';
|
|
5
|
+
/** Leader vertices, in drawing coordinates. */
|
|
6
|
+
vertices: Point3D[];
|
|
7
|
+
/** Dimension style name. */
|
|
8
|
+
dimensionStyleName?: string;
|
|
9
|
+
/** Arrowhead flag: 0 = Disabled; 1 = Enabled. */
|
|
10
|
+
arrowheadFlag?: number;
|
|
11
|
+
/** Leader path type: 0 = Straight line segments; 1 = Spline. */
|
|
12
|
+
pathType?: number;
|
|
13
|
+
/** Leader creation flag: 0 = text; 1 = tolerance; 2 = insert; 3 = none. */
|
|
14
|
+
creationFlag?: number;
|
|
15
|
+
hooklineDirectionFlag?: number;
|
|
16
|
+
hooklineFlag?: number;
|
|
17
|
+
textHeight?: number;
|
|
18
|
+
textWidth?: number;
|
|
19
|
+
/** Color to use if leader's DIMCLR D = BYBLOCK. */
|
|
20
|
+
color?: number;
|
|
21
|
+
/** Hard reference to associated annotation entity. */
|
|
22
|
+
annotationHandle?: string;
|
|
23
|
+
normal?: Point3D;
|
|
24
|
+
horizontalDirection?: Point3D;
|
|
25
|
+
blockOffset?: Point3D;
|
|
26
|
+
annotationOffset?: Point3D;
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=leader-entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"leader-entity.d.ts","sourceRoot":"","sources":["../../src/types/leader-entity.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC/C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAEvC,MAAM,WAAW,YAAa,SAAQ,UAAU;IAC9C,IAAI,EAAE,QAAQ,CAAA;IAEd,+CAA+C;IAC/C,QAAQ,EAAE,OAAO,EAAE,CAAA;IAEnB,4BAA4B;IAC5B,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAE3B,iDAAiD;IACjD,aAAa,CAAC,EAAE,MAAM,CAAA;IAEtB,gEAAgE;IAChE,QAAQ,CAAC,EAAE,MAAM,CAAA;IAEjB,2EAA2E;IAC3E,YAAY,CAAC,EAAE,MAAM,CAAA;IAErB,qBAAqB,CAAC,EAAE,MAAM,CAAA;IAC9B,YAAY,CAAC,EAAE,MAAM,CAAA;IAErB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB,mDAAmD;IACnD,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd,sDAAsD;IACtD,gBAAgB,CAAC,EAAE,MAAM,CAAA;IAEzB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,gBAAgB,CAAC,EAAE,OAAO,CAAA;CAC3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"line-entity.d.ts","sourceRoot":"","sources":["../../src/types/line-entity.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC/C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAEvC,MAAM,WAAW,UAAW,SAAQ,UAAU;IAC5C,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,OAAO,CAAA;IACd,GAAG,EAAE,OAAO,CAAA;CACb"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mleader-entity.d.ts","sourceRoot":"","sources":["../../src/types/mleader-entity.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAE/C,MAAM,WAAW,aAAc,SAAQ,UAAU;IAC/C,IAAI,EAAE,SAAS,CAAA;IAEf,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;CACd"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { BaseEntity } from './base-entity';
|
|
2
|
+
import type { Point3D } from './common';
|
|
3
|
+
export interface MLineEntity extends BaseEntity {
|
|
4
|
+
type: 'MLINE';
|
|
5
|
+
startPoint?: Point3D;
|
|
6
|
+
endPoint?: Point3D;
|
|
7
|
+
vertexCount?: number;
|
|
8
|
+
styleName?: string;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=mline-entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mline-entity.d.ts","sourceRoot":"","sources":["../../src/types/mline-entity.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC/C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAEvC,MAAM,WAAW,WAAY,SAAQ,UAAU;IAC7C,IAAI,EAAE,OAAO,CAAA;IAEb,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { BaseEntity } from './base-entity';
|
|
2
|
+
export interface MTextEntity extends BaseEntity {
|
|
3
|
+
type: 'MTEXT';
|
|
4
|
+
string: string;
|
|
5
|
+
x?: number;
|
|
6
|
+
y?: number;
|
|
7
|
+
z?: number;
|
|
8
|
+
nominalTextHeight?: number;
|
|
9
|
+
textHeight?: number;
|
|
10
|
+
refRectangleWidth?: number;
|
|
11
|
+
attachmentPoint?: number;
|
|
12
|
+
drawingDirection?: number;
|
|
13
|
+
styleName?: string;
|
|
14
|
+
xAxisX?: number;
|
|
15
|
+
xAxisY?: number;
|
|
16
|
+
xAxisZ?: number;
|
|
17
|
+
horizontalWidth?: number;
|
|
18
|
+
verticalHeight?: number;
|
|
19
|
+
lineSpacingStyle?: number;
|
|
20
|
+
lineSpacingFactor?: number;
|
|
21
|
+
backgroundFill?: number;
|
|
22
|
+
fillBoxStyle?: number;
|
|
23
|
+
bgFillColor?: number;
|
|
24
|
+
bgFillTransparency?: number;
|
|
25
|
+
columnType?: number;
|
|
26
|
+
columnCount?: number;
|
|
27
|
+
columnFlowReversed?: boolean;
|
|
28
|
+
columnAutoheight?: boolean;
|
|
29
|
+
columnWidth?: number;
|
|
30
|
+
columnGutter?: number;
|
|
31
|
+
columnHeights?: number;
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=mtext-entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mtext-entity.d.ts","sourceRoot":"","sources":["../../src/types/mtext-entity.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAE/C,MAAM,WAAW,WAAY,SAAQ,UAAU;IAC7C,IAAI,EAAE,OAAO,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { BaseEntity } from './base-entity';
|
|
2
|
+
/**
|
|
3
|
+
* OLE2Frame entity
|
|
4
|
+
* Represents an embedded OLE2 object frame
|
|
5
|
+
*/
|
|
6
|
+
export interface Ole2FrameEntity extends BaseEntity {
|
|
7
|
+
type: 'OLE2FRAME';
|
|
8
|
+
/** OLE version number */
|
|
9
|
+
version?: string | number;
|
|
10
|
+
/** End of object name/description */
|
|
11
|
+
name?: string | number;
|
|
12
|
+
/** Upper-left corner X coordinate (WCS) */
|
|
13
|
+
upperLeftX?: string | number;
|
|
14
|
+
/** Upper-left corner Y coordinate (WCS) */
|
|
15
|
+
upperLeftY?: string | number;
|
|
16
|
+
/** Upper-left corner Z coordinate (WCS) */
|
|
17
|
+
upperLeftZ?: string | number;
|
|
18
|
+
/** Lower-right corner X coordinate (WCS) */
|
|
19
|
+
lowerRightX?: string | number;
|
|
20
|
+
/** Lower-right corner Y coordinate (WCS) */
|
|
21
|
+
lowerRightY?: string | number;
|
|
22
|
+
/** Lower-right corner Z coordinate (WCS) */
|
|
23
|
+
lowerRightZ?: string | number;
|
|
24
|
+
/** Object type (1=Link, 2=Embedded, 3=Static) */
|
|
25
|
+
objectType?: string | number;
|
|
26
|
+
/** Tile mode descriptor (0=Model space, 1=Paper space) */
|
|
27
|
+
tile?: string | number;
|
|
28
|
+
/** Length of binary data */
|
|
29
|
+
length?: string | number;
|
|
30
|
+
/** Binary data (concatenated from multiple 310 codes) */
|
|
31
|
+
data: string;
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=ole2frame-entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ole2frame-entity.d.ts","sourceRoot":"","sources":["../../src/types/ole2frame-entity.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAE/C;;;GAGG;AACH,MAAM,WAAW,eAAgB,SAAQ,UAAU;IACjD,IAAI,EAAE,WAAW,CAAA;IACjB,yBAAyB;IACzB,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACzB,qCAAqC;IACrC,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACtB,2CAA2C;IAC3C,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC5B,2CAA2C;IAC3C,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC5B,2CAA2C;IAC3C,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC5B,4CAA4C;IAC5C,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC7B,4CAA4C;IAC5C,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC7B,4CAA4C;IAC5C,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC7B,iDAAiD;IACjD,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC5B,0DAA0D;IAC1D,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACtB,4BAA4B;IAC5B,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACxB,yDAAyD;IACzD,IAAI,EAAE,MAAM,CAAA;CACb"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { BaseEntity } from './base-entity';
|
|
2
|
+
/**
|
|
3
|
+
* OLEFRAME entity
|
|
4
|
+
* Legacy OLE object frame entity.
|
|
5
|
+
*/
|
|
6
|
+
export interface OleFrameEntity extends BaseEntity {
|
|
7
|
+
type: 'OLEFRAME';
|
|
8
|
+
/** OLE version number */
|
|
9
|
+
version?: string | number;
|
|
10
|
+
/** End of object name/description */
|
|
11
|
+
name?: string | number;
|
|
12
|
+
/** Upper-left corner X coordinate (WCS) */
|
|
13
|
+
upperLeftX?: string | number;
|
|
14
|
+
/** Upper-left corner Y coordinate (WCS) */
|
|
15
|
+
upperLeftY?: string | number;
|
|
16
|
+
/** Upper-left corner Z coordinate (WCS) */
|
|
17
|
+
upperLeftZ?: string | number;
|
|
18
|
+
/** Lower-right corner X coordinate (WCS) */
|
|
19
|
+
lowerRightX?: string | number;
|
|
20
|
+
/** Lower-right corner Y coordinate (WCS) */
|
|
21
|
+
lowerRightY?: string | number;
|
|
22
|
+
/** Lower-right corner Z coordinate (WCS) */
|
|
23
|
+
lowerRightZ?: string | number;
|
|
24
|
+
/** Object type (1=Link, 2=Embedded, 3=Static) */
|
|
25
|
+
objectType?: string | number;
|
|
26
|
+
/** Tile mode descriptor (0=Model space, 1=Paper space) */
|
|
27
|
+
tile?: string | number;
|
|
28
|
+
/** Length of binary data */
|
|
29
|
+
length?: string | number;
|
|
30
|
+
/** Binary data (concatenated from multiple 310 codes) */
|
|
31
|
+
data: string;
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=oleframe-entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"oleframe-entity.d.ts","sourceRoot":"","sources":["../../src/types/oleframe-entity.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAE/C;;;GAGG;AACH,MAAM,WAAW,cAAe,SAAQ,UAAU;IAChD,IAAI,EAAE,UAAU,CAAA;IAEhB,yBAAyB;IACzB,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACzB,qCAAqC;IACrC,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAEtB,2CAA2C;IAC3C,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC5B,2CAA2C;IAC3C,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC5B,2CAA2C;IAC3C,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAE5B,4CAA4C;IAC5C,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC7B,4CAA4C;IAC5C,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC7B,4CAA4C;IAC5C,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAE7B,iDAAiD;IACjD,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC5B,0DAA0D;IAC1D,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAEtB,4BAA4B;IAC5B,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACxB,yDAAyD;IACzD,IAAI,EAAE,MAAM,CAAA;CACb"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
export interface ToPolylinesOptions {
|
|
2
|
+
interpolationsPerSplineSegment?: number;
|
|
3
|
+
}
|
|
4
|
+
export interface ToJsonOptions {
|
|
5
|
+
/** Pretty-print JSON output (defaults to false). */
|
|
6
|
+
pretty?: boolean;
|
|
7
|
+
/** Indentation spaces when pretty-printing (defaults to 2). */
|
|
8
|
+
space?: number;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Viewport percentage controls for DIMENSION autoScale.
|
|
12
|
+
*
|
|
13
|
+
* Each value is a percentage (0..100) of the viewport minimum dimension.
|
|
14
|
+
*/
|
|
15
|
+
export interface DimensionAutoScaleViewportPercentages {
|
|
16
|
+
/** Arrowhead marker size (markerWidth/markerHeight) */
|
|
17
|
+
arrowSize?: number;
|
|
18
|
+
/** Text height (`font-size`) */
|
|
19
|
+
textHeight?: number;
|
|
20
|
+
/** Extension line offset from the measured points */
|
|
21
|
+
extLineOffset?: number;
|
|
22
|
+
/** Extension line overshoot beyond the dimension line */
|
|
23
|
+
extLineExtension?: number;
|
|
24
|
+
}
|
|
25
|
+
export interface ToSVGOptions {
|
|
26
|
+
width?: number;
|
|
27
|
+
height?: number;
|
|
28
|
+
dimension?: {
|
|
29
|
+
/**
|
|
30
|
+
* Automatically scale DIMENSION arrow size, extension endpoints, and
|
|
31
|
+
* text height estimates based on the SVG viewport size.
|
|
32
|
+
*/
|
|
33
|
+
autoScale?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Viewport reference size used by DIMENSION autoScale.
|
|
36
|
+
* Scale factor is: min(viewBoxWidth, viewBoxHeight) / autoScaleViewportReference.
|
|
37
|
+
* Default: 40.
|
|
38
|
+
*/
|
|
39
|
+
autoScaleViewportReference?: number;
|
|
40
|
+
/**
|
|
41
|
+
* Per-element viewport-percentage overrides for DIMENSION autoScale.
|
|
42
|
+
*
|
|
43
|
+
* When provided (and `autoScale` is enabled), these values set the final
|
|
44
|
+
* sizes directly as a percentage of the viewport minimum dimension:
|
|
45
|
+
* `size = min(viewBoxWidth, viewBoxHeight) * (percent / 100)`.
|
|
46
|
+
*
|
|
47
|
+
* Percent values are expected in the `0..100` range.
|
|
48
|
+
*/
|
|
49
|
+
autoScaleViewportPercentages?: DimensionAutoScaleViewportPercentages;
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
export interface Config {
|
|
53
|
+
verbose?: boolean;
|
|
54
|
+
interpolationsPerSplineSegment: number;
|
|
55
|
+
layers: string[];
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=options.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../src/types/options.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,kBAAkB;IACjC,8BAA8B,CAAC,EAAE,MAAM,CAAA;CACxC;AAED,MAAM,WAAW,aAAa;IAC5B,oDAAoD;IACpD,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,+DAA+D;IAC/D,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED;;;;GAIG;AACH,MAAM,WAAW,qCAAqC;IACpD,uDAAuD;IACvD,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,gCAAgC;IAChC,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,qDAAqD;IACrD,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,yDAAyD;IACzD,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAC1B;AAED,MAAM,WAAW,YAAY;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,SAAS,CAAC,EAAE;QACV;;;WAGG;QACH,SAAS,CAAC,EAAE,OAAO,CAAA;QAEnB;;;;WAIG;QACH,0BAA0B,CAAC,EAAE,MAAM,CAAA;QAEnC;;;;;;;;WAQG;QACH,4BAA4B,CAAC,EAAE,qCAAqC,CAAA;KACrE,CAAA;CACF;AAED,MAAM,WAAW,MAAM;IACrB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,8BAA8B,EAAE,MAAM,CAAA;IACtC,MAAM,EAAE,MAAM,EAAE,CAAA;CACjB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"point-entity.d.ts","sourceRoot":"","sources":["../../src/types/point-entity.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAA;AAErD,MAAM,WAAW,WAAY,SAAQ,gBAAgB;IACnD,IAAI,EAAE,OAAO,CAAA;CACd"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { BaseEntity } from './base-entity';
|
|
2
|
+
import type { Point2D } from './common';
|
|
3
|
+
/** Vertex extends Point2D with optional z and additional properties */
|
|
4
|
+
export interface Vertex extends Partial<Point2D> {
|
|
5
|
+
z?: number;
|
|
6
|
+
bulge?: number;
|
|
7
|
+
faces?: number[];
|
|
8
|
+
}
|
|
9
|
+
export interface PolylineEntity extends BaseEntity {
|
|
10
|
+
type: 'POLYLINE' | 'LWPOLYLINE';
|
|
11
|
+
vertices: Vertex[];
|
|
12
|
+
closed?: boolean;
|
|
13
|
+
polygonMesh?: boolean;
|
|
14
|
+
polyfaceMesh?: boolean;
|
|
15
|
+
thickness?: number;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=polyline-entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"polyline-entity.d.ts","sourceRoot":"","sources":["../../src/types/polyline-entity.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC/C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAEvC,uEAAuE;AACvE,MAAM,WAAW,MAAO,SAAQ,OAAO,CAAC,OAAO,CAAC;IAC9C,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,EAAE,CAAA;CACjB;AAED,MAAM,WAAW,cAAe,SAAQ,UAAU;IAChD,IAAI,EAAE,UAAU,GAAG,YAAY,CAAA;IAC/B,QAAQ,EAAE,MAAM,EAAE,CAAA;IAClB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { Box2 } from 'vecks';
|
|
2
|
+
import type { ColorRGB, PointTuple } from './common';
|
|
3
|
+
/** Polyline with color information */
|
|
4
|
+
export interface Polyline {
|
|
5
|
+
vertices: PointTuple[];
|
|
6
|
+
rgb?: ColorRGB;
|
|
7
|
+
color?: number;
|
|
8
|
+
}
|
|
9
|
+
/** Result of toPolylines conversion */
|
|
10
|
+
export interface PolylineResult {
|
|
11
|
+
bbox: Box2;
|
|
12
|
+
polylines: Polyline[];
|
|
13
|
+
}
|
|
14
|
+
/** Options for entityToPolyline conversion */
|
|
15
|
+
export interface EntityToPolylineOptions {
|
|
16
|
+
interpolationsPerSplineSegment?: number;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=polylines.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"polylines.d.ts","sourceRoot":"","sources":["../../src/types/polylines.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,OAAO,CAAA;AACjC,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;AAEpD,sCAAsC;AACtC,MAAM,WAAW,QAAQ;IACvB,QAAQ,EAAE,UAAU,EAAE,CAAA;IACtB,GAAG,CAAC,EAAE,QAAQ,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,uCAAuC;AACvC,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,IAAI,CAAA;IACV,SAAS,EAAE,QAAQ,EAAE,CAAA;CACtB;AAED,8CAA8C;AAC9C,MAAM,WAAW,uBAAuB;IACtC,8BAA8B,CAAC,EAAE,MAAM,CAAA;CACxC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { BaseEntity } from './base-entity';
|
|
2
|
+
import type { Point3D } from './common';
|
|
3
|
+
export interface RayEntity extends BaseEntity {
|
|
4
|
+
type: 'RAY';
|
|
5
|
+
/** Starting point for the ray. */
|
|
6
|
+
start: Point3D;
|
|
7
|
+
/** Unit direction vector. */
|
|
8
|
+
direction: Point3D;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=ray-entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ray-entity.d.ts","sourceRoot":"","sources":["../../src/types/ray-entity.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC/C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAEvC,MAAM,WAAW,SAAU,SAAQ,UAAU;IAC3C,IAAI,EAAE,KAAK,CAAA;IACX,kCAAkC;IAClC,KAAK,EAAE,OAAO,CAAA;IACd,6BAA6B;IAC7B,SAAS,EAAE,OAAO,CAAA;CACnB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { BaseEntity } from './base-entity';
|
|
2
|
+
export interface RegionEntity extends BaseEntity {
|
|
3
|
+
type: 'REGION';
|
|
4
|
+
/**
|
|
5
|
+
* ACIS data payload (text form). This project currently parses and stores it,
|
|
6
|
+
* but does not attempt to interpret it.
|
|
7
|
+
*/
|
|
8
|
+
acisData?: string[];
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=region-entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"region-entity.d.ts","sourceRoot":"","sources":["../../src/types/region-entity.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAE/C,MAAM,WAAW,YAAa,SAAQ,UAAU;IAC9C,IAAI,EAAE,QAAQ,CAAA;IAEd;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;CACpB"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { BaseEntity } from './base-entity';
|
|
2
|
+
import type { Point3D } from './common';
|
|
3
|
+
export interface ShapeEntity extends BaseEntity {
|
|
4
|
+
type: 'SHAPE';
|
|
5
|
+
insertionPoint: Point3D;
|
|
6
|
+
/** Shape name (from a loaded SHX shape file). */
|
|
7
|
+
name: string;
|
|
8
|
+
/** Size in drawing units. */
|
|
9
|
+
size: number;
|
|
10
|
+
rotation?: number;
|
|
11
|
+
relativeXScale?: number;
|
|
12
|
+
oblique?: number;
|
|
13
|
+
thickness?: number;
|
|
14
|
+
extrusionX?: number;
|
|
15
|
+
extrusionY?: number;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=shape-entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shape-entity.d.ts","sourceRoot":"","sources":["../../src/types/shape-entity.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC/C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAEvC,MAAM,WAAW,WAAY,SAAQ,UAAU;IAC7C,IAAI,EAAE,OAAO,CAAA;IACb,cAAc,EAAE,OAAO,CAAA;IACvB,iDAAiD;IACjD,IAAI,EAAE,MAAM,CAAA;IACZ,6BAA6B;IAC7B,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"solid-entity.d.ts","sourceRoot":"","sources":["../../src/types/solid-entity.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC/C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAEvC,MAAM,WAAW,WAAY,SAAQ,UAAU;IAC7C,IAAI,EAAE,OAAO,GAAG,QAAQ,CAAA;IACxB,MAAM,EAAE,OAAO,EAAE,CAAA;CAClB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { BaseEntity } from './base-entity';
|
|
2
|
+
import type { Point3D } from './common';
|
|
3
|
+
export interface SplineEntity extends BaseEntity {
|
|
4
|
+
type: 'SPLINE';
|
|
5
|
+
controlPoints: Point3D[];
|
|
6
|
+
knots: number[];
|
|
7
|
+
degree: number;
|
|
8
|
+
weights?: number[];
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=spline-entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spline-entity.d.ts","sourceRoot":"","sources":["../../src/types/spline-entity.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC/C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAEvC,MAAM,WAAW,YAAa,SAAQ,UAAU;IAC9C,IAAI,EAAE,QAAQ,CAAA;IACd,aAAa,EAAE,OAAO,EAAE,CAAA;IACxB,KAAK,EAAE,MAAM,EAAE,CAAA;IACf,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,EAAE,CAAA;CACnB"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { Box2 } from 'vecks';
|
|
2
|
+
/** Bounding box with SVG element */
|
|
3
|
+
export interface BoundsAndElement {
|
|
4
|
+
bbox: Box2;
|
|
5
|
+
element: string;
|
|
6
|
+
x?: number;
|
|
7
|
+
y?: number;
|
|
8
|
+
x2?: number;
|
|
9
|
+
y2?: number;
|
|
10
|
+
}
|
|
11
|
+
/** Ellipse parameters for SVG */
|
|
12
|
+
export interface EllipseParams {
|
|
13
|
+
cx: number;
|
|
14
|
+
cy: number;
|
|
15
|
+
rx: number;
|
|
16
|
+
ry: number;
|
|
17
|
+
rotation: number;
|
|
18
|
+
}
|
|
19
|
+
/** Layer information */
|
|
20
|
+
export interface Layer {
|
|
21
|
+
name: string;
|
|
22
|
+
colorNumber?: number;
|
|
23
|
+
color?: number;
|
|
24
|
+
frozen?: boolean;
|
|
25
|
+
[key: string]: unknown;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=svg.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"svg.d.ts","sourceRoot":"","sources":["../../src/types/svg.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,OAAO,CAAA;AAEjC,oCAAoC;AACpC,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,IAAI,CAAA;IACV,OAAO,EAAE,MAAM,CAAA;IACf,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,EAAE,CAAC,EAAE,MAAM,CAAA;CACZ;AAED,iCAAiC;AACjC,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAA;IACV,EAAE,EAAE,MAAM,CAAA;IACV,EAAE,EAAE,MAAM,CAAA;IACV,EAAE,EAAE,MAAM,CAAA;IACV,QAAQ,EAAE,MAAM,CAAA;CACjB;AAED,wBAAwB;AACxB,MAAM,WAAW,KAAK;IACpB,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CACvB"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { BaseEntity } from './base-entity';
|
|
2
|
+
export interface TableEntity extends BaseEntity {
|
|
3
|
+
type: 'TABLE';
|
|
4
|
+
rows?: number;
|
|
5
|
+
columns?: number;
|
|
6
|
+
/**
|
|
7
|
+
* Minimal extracted cell text (from group code 1).
|
|
8
|
+
* This is intentionally lossy; full TABLE semantics are not implemented.
|
|
9
|
+
*/
|
|
10
|
+
cellText?: string[];
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=table-entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table-entity.d.ts","sourceRoot":"","sources":["../../src/types/table-entity.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAE/C,MAAM,WAAW,WAAY,SAAQ,UAAU;IAC7C,IAAI,EAAE,OAAO,CAAA;IAEb,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,MAAM,CAAA;IAEhB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;CACpB"}
|