markuno_lib 1.2.139 → 1.2.140
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/bin/markcad.js +1 -1
- package/package.json +1 -1
- package/types/markcad.d.ts +113 -0
package/package.json
CHANGED
package/types/markcad.d.ts
CHANGED
|
@@ -841,6 +841,10 @@ declare namespace mt {
|
|
|
841
841
|
let fetch: any;
|
|
842
842
|
let XMLHttpRequest: any;
|
|
843
843
|
}
|
|
844
|
+
export function cad2dutils(e?: {}): {
|
|
845
|
+
dozoomall: (e?: {}) => void;
|
|
846
|
+
doresize: (e?: {}) => void;
|
|
847
|
+
};
|
|
844
848
|
export function calcolatasks(t: any): {
|
|
845
849
|
tipo: any;
|
|
846
850
|
ori: any;
|
|
@@ -1537,6 +1541,115 @@ export function normal2(e: any, t: any): {
|
|
|
1537
1541
|
nx: number;
|
|
1538
1542
|
ny: number;
|
|
1539
1543
|
};
|
|
1544
|
+
export function oggetti2d(e?: {}): {
|
|
1545
|
+
setZ(e: any): void;
|
|
1546
|
+
readonly linesglobal: any[];
|
|
1547
|
+
clearlines(): void;
|
|
1548
|
+
addline: (e: any, n?: number, i?: number, r?: number, s?: number) => {
|
|
1549
|
+
id: any;
|
|
1550
|
+
a: number;
|
|
1551
|
+
b: number;
|
|
1552
|
+
c: number;
|
|
1553
|
+
dir: any;
|
|
1554
|
+
p: any;
|
|
1555
|
+
p2: any;
|
|
1556
|
+
};
|
|
1557
|
+
addlinev: (e: any, t: any, n: any) => {
|
|
1558
|
+
id: any;
|
|
1559
|
+
a: number;
|
|
1560
|
+
b: number;
|
|
1561
|
+
c: number;
|
|
1562
|
+
dir: any;
|
|
1563
|
+
p: any;
|
|
1564
|
+
p2: any;
|
|
1565
|
+
};
|
|
1566
|
+
addlineo: (e: any, t: any, n: any) => {
|
|
1567
|
+
id: any;
|
|
1568
|
+
a: number;
|
|
1569
|
+
b: number;
|
|
1570
|
+
c: number;
|
|
1571
|
+
dir: any;
|
|
1572
|
+
p: any;
|
|
1573
|
+
p2: any;
|
|
1574
|
+
};
|
|
1575
|
+
picker: any;
|
|
1576
|
+
clearchildren: (e: any) => void;
|
|
1577
|
+
pickerel: {
|
|
1578
|
+
face: any;
|
|
1579
|
+
border: any;
|
|
1580
|
+
l: any;
|
|
1581
|
+
r: any;
|
|
1582
|
+
b: any;
|
|
1583
|
+
t: any;
|
|
1584
|
+
rotline: any;
|
|
1585
|
+
rot: any;
|
|
1586
|
+
rotg: any;
|
|
1587
|
+
rotcircle: any;
|
|
1588
|
+
};
|
|
1589
|
+
hitter: any;
|
|
1590
|
+
drawLinerif: ({ p: e, dir: t, mat: r }: {
|
|
1591
|
+
p: any;
|
|
1592
|
+
dir: any;
|
|
1593
|
+
mat?: any;
|
|
1594
|
+
}, s?: number, o?: number) => any;
|
|
1595
|
+
getfacelinegeom: (e: any, n: any) => {
|
|
1596
|
+
borderGeo: any;
|
|
1597
|
+
faceGeo: any;
|
|
1598
|
+
};
|
|
1599
|
+
pickerresetcolor: () => void;
|
|
1600
|
+
redrawgroup: (e: any, r: any, s: any, o: any, a: any, A: any, l: any) => Promise<void>;
|
|
1601
|
+
linerifMat: any;
|
|
1602
|
+
linerifMat2: any;
|
|
1603
|
+
collegapicker: (e: any, n?: boolean) => any;
|
|
1604
|
+
linerifMatE: any;
|
|
1605
|
+
getlayers: (e: any, t: any) => any[];
|
|
1606
|
+
dopickbox: (e: any, t: any) => any;
|
|
1607
|
+
createBox: ({ x: e, y: n, w: i, h: r, ox: o, oy: a, minx: A, maxx: l, stepx: c, listx: p, miny: h, maxy: u, stepy: d, listy: g, extra: f, rot: m, snappts: y, snapptsadd: b, snaplines: I, snaplinesadd: x, color: C, layer: B, id: E, name: w }: {
|
|
1608
|
+
x: any;
|
|
1609
|
+
y: any;
|
|
1610
|
+
w: any;
|
|
1611
|
+
h: any;
|
|
1612
|
+
ox: any;
|
|
1613
|
+
oy: any;
|
|
1614
|
+
minx: any;
|
|
1615
|
+
maxx: any;
|
|
1616
|
+
stepx: any;
|
|
1617
|
+
listx: any;
|
|
1618
|
+
miny: any;
|
|
1619
|
+
maxy: any;
|
|
1620
|
+
stepy: any;
|
|
1621
|
+
listy: any;
|
|
1622
|
+
extra: any;
|
|
1623
|
+
rot?: number;
|
|
1624
|
+
snappts: any;
|
|
1625
|
+
snapptsadd?: boolean;
|
|
1626
|
+
snaplines: any;
|
|
1627
|
+
snaplinesadd?: boolean;
|
|
1628
|
+
color?: number;
|
|
1629
|
+
layer?: string;
|
|
1630
|
+
id: any;
|
|
1631
|
+
name?: string;
|
|
1632
|
+
}) => Promise<any>;
|
|
1633
|
+
getface: (e?: {}) => Promise<any>;
|
|
1634
|
+
lineMat: any;
|
|
1635
|
+
lineMatE: any;
|
|
1636
|
+
lineMatH: any;
|
|
1637
|
+
getptrif: (e: any) => any[];
|
|
1638
|
+
rotatenode: (e: any, n: any, i: any, r?: boolean) => void;
|
|
1639
|
+
getallptrif: (e: any, n?: number) => any[];
|
|
1640
|
+
getlinerif: (e: any) => {
|
|
1641
|
+
a: number;
|
|
1642
|
+
b: number;
|
|
1643
|
+
c: number;
|
|
1644
|
+
dir: any;
|
|
1645
|
+
p: any;
|
|
1646
|
+
}[];
|
|
1647
|
+
getalllinerif: (e: any, t?: number, n?: number) => any[];
|
|
1648
|
+
hitMat: any;
|
|
1649
|
+
hitMatE: any;
|
|
1650
|
+
faceMat: any;
|
|
1651
|
+
faceMatE: any;
|
|
1652
|
+
};
|
|
1540
1653
|
export function pickvariant(e: any, t: any, n: any, i: any, r: any, s: any, o?: {}): any;
|
|
1541
1654
|
export function posiziona(t: any, n?: {}): any;
|
|
1542
1655
|
export function processagruppo(e: any, t: any, n: any): Promise<void>;
|