markuno_lib 1.2.98 → 1.2.100
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/bin/markuno.js +1 -1
- package/package.json +1 -1
- package/types/markcad.d.ts +93 -44
- package/types/markuno.d.ts +3 -2
package/types/markcad.d.ts
CHANGED
|
@@ -20,6 +20,8 @@ export class Linea2 {
|
|
|
20
20
|
get normale(): Punto2;
|
|
21
21
|
perpendicolare(e?: any, t?: number): Linea2;
|
|
22
22
|
perpendicolaret(e: any, t?: number): Linea2;
|
|
23
|
+
rotatedonp1(e: any): Linea2;
|
|
24
|
+
rotatedonp2(e: any): Linea2;
|
|
23
25
|
ruotata(e?: number, t?: number, i?: boolean): Linea2;
|
|
24
26
|
puntosudirezione(e: any, t: any): Punto2;
|
|
25
27
|
parallela(e: any, t: any): Linea2;
|
|
@@ -85,6 +87,9 @@ export class Punto2 {
|
|
|
85
87
|
get len(): number;
|
|
86
88
|
get angle(): number;
|
|
87
89
|
dir(): Punto2;
|
|
90
|
+
puntosucerchio(e?: number, t?: number): Punto2;
|
|
91
|
+
tangentesucerchio(e?: number, t?: number, i?: number): Linea2;
|
|
92
|
+
angolo3p(e: any, t: any): number;
|
|
88
93
|
distanza(e: any): number;
|
|
89
94
|
}
|
|
90
95
|
declare const $e: any;
|
|
@@ -195,6 +200,8 @@ declare var Ve: Readonly<{
|
|
|
195
200
|
};
|
|
196
201
|
fromstr: (t: any) => any;
|
|
197
202
|
move: (t?: number, i?: number) => any;
|
|
203
|
+
infocircle: typeof infocircle;
|
|
204
|
+
intersectcircle: typeof intersectcircle;
|
|
198
205
|
pt: any[];
|
|
199
206
|
readonly npt: number;
|
|
200
207
|
readonly vec: any[];
|
|
@@ -205,7 +212,7 @@ declare var Ve: Readonly<{
|
|
|
205
212
|
readonly orient: 0 | 1 | -1;
|
|
206
213
|
corners: (t?: number) => any[];
|
|
207
214
|
clone: () => any;
|
|
208
|
-
dims
|
|
215
|
+
dims(): {
|
|
209
216
|
p1: any;
|
|
210
217
|
p2: any;
|
|
211
218
|
isrect: boolean;
|
|
@@ -278,7 +285,7 @@ declare var Ve: Readonly<{
|
|
|
278
285
|
truncatebefore: (t: any) => any;
|
|
279
286
|
truncateafter: (t: any) => any;
|
|
280
287
|
removeduplicate(t?: number): any;
|
|
281
|
-
to3d(t: any, i?: number, n?: number, r?: number, o?: boolean, s?: any,
|
|
288
|
+
to3d(t: any, i?: number, n?: number, r?: number, o?: boolean, s?: any, a?: boolean): ({
|
|
282
289
|
x: any;
|
|
283
290
|
y: number;
|
|
284
291
|
z: number;
|
|
@@ -324,6 +331,8 @@ declare var Ve: Readonly<{
|
|
|
324
331
|
};
|
|
325
332
|
fromstr: (t: any) => any;
|
|
326
333
|
move: (t?: number, i?: number) => any;
|
|
334
|
+
infocircle: typeof infocircle;
|
|
335
|
+
intersectcircle: typeof intersectcircle;
|
|
327
336
|
pt: any[];
|
|
328
337
|
readonly npt: number;
|
|
329
338
|
readonly vec: any[];
|
|
@@ -334,7 +343,7 @@ declare var Ve: Readonly<{
|
|
|
334
343
|
readonly orient: 0 | 1 | -1;
|
|
335
344
|
corners: (t?: number) => any[];
|
|
336
345
|
clone: () => any;
|
|
337
|
-
dims
|
|
346
|
+
dims(): {
|
|
338
347
|
p1: any;
|
|
339
348
|
p2: any;
|
|
340
349
|
isrect: boolean;
|
|
@@ -407,7 +416,7 @@ declare var Ve: Readonly<{
|
|
|
407
416
|
truncatebefore: (t: any) => any;
|
|
408
417
|
truncateafter: (t: any) => any;
|
|
409
418
|
removeduplicate(t?: number): any;
|
|
410
|
-
to3d(t: any, i?: number, n?: number, r?: number, o?: boolean, s?: any,
|
|
419
|
+
to3d(t: any, i?: number, n?: number, r?: number, o?: boolean, s?: any, a?: boolean): ({
|
|
411
420
|
x: any;
|
|
412
421
|
y: number;
|
|
413
422
|
z: number;
|
|
@@ -488,8 +497,8 @@ export class Vis2d {
|
|
|
488
497
|
pop(): void;
|
|
489
498
|
randomcolor(e?: string): string;
|
|
490
499
|
addgr(e: any): void;
|
|
491
|
-
addquota(e: any, t: any, i: any, n: any, r?: number, o?: string, s?: number,
|
|
492
|
-
addqpunto(e: any, t: any, i: any, n: any, r?: number, o?: string, s?: number,
|
|
500
|
+
addquota(e: any, t: any, i: any, n: any, r?: number, o?: string, s?: number, a?: number): void;
|
|
501
|
+
addqpunto(e: any, t: any, i: any, n: any, r?: number, o?: string, s?: number, a?: number): void;
|
|
493
502
|
addpoint(e: any, t?: number, i?: string, n?: number): this;
|
|
494
503
|
addline(e: any, t?: number, i?: any, n?: number): this;
|
|
495
504
|
addrect(e: any, t?: number, i?: any, n?: number): this;
|
|
@@ -532,6 +541,8 @@ export class Vobject {
|
|
|
532
541
|
};
|
|
533
542
|
fromstr: (t: any) => any;
|
|
534
543
|
move: (t?: number, i?: number) => any;
|
|
544
|
+
infocircle: typeof infocircle;
|
|
545
|
+
intersectcircle: typeof intersectcircle;
|
|
535
546
|
pt: any[];
|
|
536
547
|
readonly npt: number;
|
|
537
548
|
readonly vec: any[];
|
|
@@ -542,7 +553,7 @@ export class Vobject {
|
|
|
542
553
|
readonly orient: 0 | 1 | -1;
|
|
543
554
|
corners: (t?: number) => any[];
|
|
544
555
|
clone: () => any;
|
|
545
|
-
dims
|
|
556
|
+
dims(): {
|
|
546
557
|
p1: any;
|
|
547
558
|
p2: any;
|
|
548
559
|
isrect: boolean;
|
|
@@ -615,7 +626,7 @@ export class Vobject {
|
|
|
615
626
|
truncatebefore: (t: any) => any;
|
|
616
627
|
truncateafter: (t: any) => any;
|
|
617
628
|
removeduplicate(t?: number): any;
|
|
618
|
-
to3d(t: any, i?: number, n?: number, r?: number, o?: boolean, s?: any,
|
|
629
|
+
to3d(t: any, i?: number, n?: number, r?: number, o?: boolean, s?: any, a?: boolean): ({
|
|
619
630
|
x: any;
|
|
620
631
|
y: number;
|
|
621
632
|
z: number;
|
|
@@ -669,6 +680,8 @@ export class Vobject {
|
|
|
669
680
|
};
|
|
670
681
|
fromstr: (t: any) => any;
|
|
671
682
|
move: (t?: number, i?: number) => any;
|
|
683
|
+
infocircle: typeof infocircle;
|
|
684
|
+
intersectcircle: typeof intersectcircle;
|
|
672
685
|
pt: any[];
|
|
673
686
|
readonly npt: number;
|
|
674
687
|
readonly vec: any[];
|
|
@@ -679,7 +692,7 @@ export class Vobject {
|
|
|
679
692
|
readonly orient: 0 | 1 | -1;
|
|
680
693
|
corners: (t?: number) => any[];
|
|
681
694
|
clone: () => any;
|
|
682
|
-
dims
|
|
695
|
+
dims(): {
|
|
683
696
|
p1: any;
|
|
684
697
|
p2: any;
|
|
685
698
|
isrect: boolean;
|
|
@@ -752,7 +765,7 @@ export class Vobject {
|
|
|
752
765
|
truncatebefore: (t: any) => any;
|
|
753
766
|
truncateafter: (t: any) => any;
|
|
754
767
|
removeduplicate(t?: number): any;
|
|
755
|
-
to3d(t: any, i?: number, n?: number, r?: number, o?: boolean, s?: any,
|
|
768
|
+
to3d(t: any, i?: number, n?: number, r?: number, o?: boolean, s?: any, a?: boolean): ({
|
|
756
769
|
x: any;
|
|
757
770
|
y: number;
|
|
758
771
|
z: number;
|
|
@@ -804,7 +817,7 @@ export class Vscene {
|
|
|
804
817
|
clines: any;
|
|
805
818
|
};
|
|
806
819
|
}
|
|
807
|
-
export function addmovpivot(t: any, i: any, n: any, r?: {}, o?: number, s?: number,
|
|
820
|
+
export function addmovpivot(t: any, i: any, n: any, r?: {}, o?: number, s?: number, a?: number): any;
|
|
808
821
|
export function angle2vec(e: any, t: any): number;
|
|
809
822
|
export function angle3point(e: any, t: any, i: any): number;
|
|
810
823
|
declare namespace Xe {
|
|
@@ -863,6 +876,8 @@ export function elaborapercorso(e: any, t: any, i: any, n: any, r?: number): {
|
|
|
863
876
|
};
|
|
864
877
|
fromstr: (t: any) => any;
|
|
865
878
|
move: (t?: number, i?: number) => any;
|
|
879
|
+
infocircle: typeof infocircle;
|
|
880
|
+
intersectcircle: typeof intersectcircle;
|
|
866
881
|
pt: any[];
|
|
867
882
|
readonly npt: number;
|
|
868
883
|
readonly vec: any[];
|
|
@@ -873,7 +888,7 @@ export function elaborapercorso(e: any, t: any, i: any, n: any, r?: number): {
|
|
|
873
888
|
readonly orient: 0 | 1 | -1;
|
|
874
889
|
corners: (t?: number) => any[];
|
|
875
890
|
clone: () => any;
|
|
876
|
-
dims
|
|
891
|
+
dims(): {
|
|
877
892
|
p1: any;
|
|
878
893
|
p2: any;
|
|
879
894
|
isrect: boolean;
|
|
@@ -946,7 +961,7 @@ export function elaborapercorso(e: any, t: any, i: any, n: any, r?: number): {
|
|
|
946
961
|
truncatebefore: (t: any) => any;
|
|
947
962
|
truncateafter: (t: any) => any;
|
|
948
963
|
removeduplicate(t?: number): any;
|
|
949
|
-
to3d(t: any, i?: number, n?: number, r?: number, o?: boolean, s?: any,
|
|
964
|
+
to3d(t: any, i?: number, n?: number, r?: number, o?: boolean, s?: any, a?: boolean): ({
|
|
950
965
|
x: any;
|
|
951
966
|
y: number;
|
|
952
967
|
z: number;
|
|
@@ -973,8 +988,8 @@ export function elaborapercorso(e: any, t: any, i: any, n: any, r?: number): {
|
|
|
973
988
|
draws: any[];
|
|
974
989
|
};
|
|
975
990
|
export function errorescript(e: any, t: any): Promise<any>;
|
|
976
|
-
export function estruso(t: any, i: any, n: any, r: any, o: any, s: any,
|
|
977
|
-
export function estrusopat(t: any, i: any, n: any, r: any, o: any, s: any,
|
|
991
|
+
export function estruso(t: any, i: any, n: any, r: any, o: any, s: any, a: any): any;
|
|
992
|
+
export function estrusopat(t: any, i: any, n: any, r: any, o: any, s: any, a: any): any;
|
|
978
993
|
export function evalcustomfunction(e: any, t: any, i: any, n: any): Promise<any>;
|
|
979
994
|
export function evidenziaColli(t: any, i: any, n: any): Promise<void>;
|
|
980
995
|
export function extractTextures(e: any, t: any): Promise<any[]>;
|
|
@@ -997,7 +1012,7 @@ export function getbordi(e: any, t: any): {
|
|
|
997
1012
|
bb: any;
|
|
998
1013
|
};
|
|
999
1014
|
export function getbox(t: any, i: any, n: any, r: any, o: any, s: any): any;
|
|
1000
|
-
export function getcilindro(t: any, i: any, n: any, r: any, o: any, s: any,
|
|
1015
|
+
export function getcilindro(t: any, i: any, n: any, r: any, o: any, s: any, a: any): any;
|
|
1001
1016
|
export function getcyl(t: any, i: any, n: any, r: any, o: any): any;
|
|
1002
1017
|
export function getdumpmacro(e: any): string;
|
|
1003
1018
|
export function getemitter(t: any): any;
|
|
@@ -1019,12 +1034,12 @@ export function getmovimento(e: any, t?: any[]): {
|
|
|
1019
1034
|
reset: (e: any) => void;
|
|
1020
1035
|
};
|
|
1021
1036
|
export function getnodebyid(e: any, t: any): any;
|
|
1022
|
-
export function getpannello(t: any, i: any, n: any, r: any, o: any, s: any,
|
|
1037
|
+
export function getpannello(t: any, i: any, n: any, r: any, o: any, s: any, a: any, A: any): any;
|
|
1023
1038
|
export function getpannello2(e: any, t: any, i: any, n: any, r: any, o: any, s?: number): Promise<any>;
|
|
1024
1039
|
export function getpoint(t: any, i: any, n?: any, r?: number): any;
|
|
1025
1040
|
export function getptsoffset(e: any, t: any, i: any): any[];
|
|
1026
1041
|
export function getpunto(t: any, i: any, n: any, r: any, o: string, s: any): Promise<any>;
|
|
1027
|
-
export function getquota(t: any, i: any, n: any, r: any, o: any, s: any,
|
|
1042
|
+
export function getquota(t: any, i: any, n: any, r: any, o: any, s: any, a?: {}): any;
|
|
1028
1043
|
export function getreceiver(t: any, i: any): any;
|
|
1029
1044
|
export function getriferimento(t: any, i?: number, n?: number, r?: number, o?: string): any;
|
|
1030
1045
|
export function getshape(): {
|
|
@@ -1049,6 +1064,8 @@ export function getshape(): {
|
|
|
1049
1064
|
};
|
|
1050
1065
|
fromstr: (t: any) => any;
|
|
1051
1066
|
move: (t?: number, i?: number) => any;
|
|
1067
|
+
infocircle: typeof infocircle;
|
|
1068
|
+
intersectcircle: typeof intersectcircle;
|
|
1052
1069
|
pt: any[];
|
|
1053
1070
|
readonly npt: number;
|
|
1054
1071
|
readonly vec: any[];
|
|
@@ -1059,7 +1076,7 @@ export function getshape(): {
|
|
|
1059
1076
|
readonly orient: 0 | 1 | -1;
|
|
1060
1077
|
corners: (t?: number) => any[];
|
|
1061
1078
|
clone: () => any;
|
|
1062
|
-
dims
|
|
1079
|
+
dims(): {
|
|
1063
1080
|
p1: any;
|
|
1064
1081
|
p2: any;
|
|
1065
1082
|
isrect: boolean;
|
|
@@ -1132,7 +1149,7 @@ export function getshape(): {
|
|
|
1132
1149
|
truncatebefore: (t: any) => any;
|
|
1133
1150
|
truncateafter: (t: any) => any;
|
|
1134
1151
|
removeduplicate(t?: number): any;
|
|
1135
|
-
to3d(t: any, i?: number, n?: number, r?: number, o?: boolean, s?: any,
|
|
1152
|
+
to3d(t: any, i?: number, n?: number, r?: number, o?: boolean, s?: any, a?: boolean): ({
|
|
1136
1153
|
x: any;
|
|
1137
1154
|
y: number;
|
|
1138
1155
|
z: number;
|
|
@@ -1171,8 +1188,18 @@ export function getsubrules(e: any): ({
|
|
|
1171
1188
|
})[];
|
|
1172
1189
|
export function gettarghetta(t: any, i: any, n?: number, r?: {}): any;
|
|
1173
1190
|
export function getthorus(t: any, i: any, n: number, r: any, o: any): any;
|
|
1174
|
-
export function groupfromgeometry(t: any, i: any, n: any, r: any, o: any, s: any,
|
|
1191
|
+
export function groupfromgeometry(t: any, i: any, n: any, r: any, o: any, s: any, a: any): any;
|
|
1175
1192
|
export function hash(e: any): string;
|
|
1193
|
+
export function infocircle(e: any, t: any, i: any, n: any, r: any, o: any): {
|
|
1194
|
+
cx: number;
|
|
1195
|
+
cy: number;
|
|
1196
|
+
r: number;
|
|
1197
|
+
p1: any;
|
|
1198
|
+
p2: any;
|
|
1199
|
+
p3: any;
|
|
1200
|
+
ang1: number;
|
|
1201
|
+
ang2: number;
|
|
1202
|
+
};
|
|
1176
1203
|
export function infoestrudi(e: any, t: any, i: any, n: any, r: any): {
|
|
1177
1204
|
aini: any;
|
|
1178
1205
|
aini2: any;
|
|
@@ -1192,6 +1219,7 @@ export function infoestrudi(e: any, t: any, i: any, n: any, r: any): {
|
|
|
1192
1219
|
lmin: number;
|
|
1193
1220
|
lmed: number;
|
|
1194
1221
|
};
|
|
1222
|
+
export function intersectcircle(e: any, t: any, i: any, n: any, r: any): number[];
|
|
1195
1223
|
export function isfn(e: any): boolean;
|
|
1196
1224
|
export function ismacro(e: any): any;
|
|
1197
1225
|
export function joinlinestoshapes(e: any): {
|
|
@@ -1216,6 +1244,8 @@ export function joinlinestoshapes(e: any): {
|
|
|
1216
1244
|
};
|
|
1217
1245
|
fromstr: (t: any) => any;
|
|
1218
1246
|
move: (t?: number, i?: number) => any;
|
|
1247
|
+
infocircle: typeof infocircle;
|
|
1248
|
+
intersectcircle: typeof intersectcircle;
|
|
1219
1249
|
pt: any[];
|
|
1220
1250
|
readonly npt: number;
|
|
1221
1251
|
readonly vec: any[];
|
|
@@ -1226,7 +1256,7 @@ export function joinlinestoshapes(e: any): {
|
|
|
1226
1256
|
readonly orient: 0 | 1 | -1;
|
|
1227
1257
|
corners: (t?: number) => any[];
|
|
1228
1258
|
clone: () => any;
|
|
1229
|
-
dims
|
|
1259
|
+
dims(): {
|
|
1230
1260
|
p1: any;
|
|
1231
1261
|
p2: any;
|
|
1232
1262
|
isrect: boolean;
|
|
@@ -1299,7 +1329,7 @@ export function joinlinestoshapes(e: any): {
|
|
|
1299
1329
|
truncatebefore: (t: any) => any;
|
|
1300
1330
|
truncateafter: (t: any) => any;
|
|
1301
1331
|
removeduplicate(t?: number): any;
|
|
1302
|
-
to3d(t: any, i?: number, n?: number, r?: number, o?: boolean, s?: any,
|
|
1332
|
+
to3d(t: any, i?: number, n?: number, r?: number, o?: boolean, s?: any, a?: boolean): ({
|
|
1303
1333
|
x: any;
|
|
1304
1334
|
y: number;
|
|
1305
1335
|
z: number;
|
|
@@ -1324,11 +1354,11 @@ export function joinlinestoshapes(e: any): {
|
|
|
1324
1354
|
export function mapvertices(e: any, t: any): number[][];
|
|
1325
1355
|
declare let et: any;
|
|
1326
1356
|
declare let tt: any;
|
|
1327
|
-
declare const
|
|
1357
|
+
declare const At: any;
|
|
1328
1358
|
declare const st: any;
|
|
1329
1359
|
declare const nt: any;
|
|
1330
1360
|
declare const rt: any;
|
|
1331
|
-
declare const
|
|
1361
|
+
declare const at: any;
|
|
1332
1362
|
declare const ot: any;
|
|
1333
1363
|
declare const it: any;
|
|
1334
1364
|
export function newgcad(t: any, i: any, n: any, r?: boolean): {
|
|
@@ -1412,6 +1442,7 @@ export function raccordabezier(e: any, t: any, i: any, n: any, r?: number): {
|
|
|
1412
1442
|
export function randombasemat(): any;
|
|
1413
1443
|
export function revolve(t: any, i: any, n: any, r: any, o: any): any;
|
|
1414
1444
|
export function ripristinaMaterialiOriginali(): void;
|
|
1445
|
+
export function round(e: any, t?: number): number;
|
|
1415
1446
|
export function runScript(t: any, i: any, n: any, r: any, o: any): Promise<{
|
|
1416
1447
|
res: any;
|
|
1417
1448
|
LOGS: any[];
|
|
@@ -1446,6 +1477,8 @@ export function shapeclip(): {
|
|
|
1446
1477
|
};
|
|
1447
1478
|
fromstr: (t: any) => any;
|
|
1448
1479
|
move: (t?: number, i?: number) => any;
|
|
1480
|
+
infocircle: typeof infocircle;
|
|
1481
|
+
intersectcircle: typeof intersectcircle;
|
|
1449
1482
|
pt: any[];
|
|
1450
1483
|
readonly npt: number;
|
|
1451
1484
|
readonly vec: any[];
|
|
@@ -1456,7 +1489,7 @@ export function shapeclip(): {
|
|
|
1456
1489
|
readonly orient: 0 | 1 | -1;
|
|
1457
1490
|
corners: (t?: number) => any[];
|
|
1458
1491
|
clone: () => any;
|
|
1459
|
-
dims
|
|
1492
|
+
dims(): {
|
|
1460
1493
|
p1: any;
|
|
1461
1494
|
p2: any;
|
|
1462
1495
|
isrect: boolean;
|
|
@@ -1529,7 +1562,7 @@ export function shapeclip(): {
|
|
|
1529
1562
|
truncatebefore: (t: any) => any;
|
|
1530
1563
|
truncateafter: (t: any) => any;
|
|
1531
1564
|
removeduplicate(t?: number): any;
|
|
1532
|
-
to3d(t: any, i?: number, n?: number, r?: number, o?: boolean, s?: any,
|
|
1565
|
+
to3d(t: any, i?: number, n?: number, r?: number, o?: boolean, s?: any, a?: boolean): ({
|
|
1533
1566
|
x: any;
|
|
1534
1567
|
y: number;
|
|
1535
1568
|
z: number;
|
|
@@ -1573,6 +1606,8 @@ export function shapeclip(): {
|
|
|
1573
1606
|
};
|
|
1574
1607
|
fromstr: (t: any) => any;
|
|
1575
1608
|
move: (t?: number, i?: number) => any;
|
|
1609
|
+
infocircle: typeof infocircle;
|
|
1610
|
+
intersectcircle: typeof intersectcircle;
|
|
1576
1611
|
pt: any[];
|
|
1577
1612
|
readonly npt: number;
|
|
1578
1613
|
readonly vec: any[];
|
|
@@ -1583,7 +1618,7 @@ export function shapeclip(): {
|
|
|
1583
1618
|
readonly orient: 0 | 1 | -1;
|
|
1584
1619
|
corners: (t?: number) => any[];
|
|
1585
1620
|
clone: () => any;
|
|
1586
|
-
dims
|
|
1621
|
+
dims(): {
|
|
1587
1622
|
p1: any;
|
|
1588
1623
|
p2: any;
|
|
1589
1624
|
isrect: boolean;
|
|
@@ -1656,7 +1691,7 @@ export function shapeclip(): {
|
|
|
1656
1691
|
truncatebefore: (t: any) => any;
|
|
1657
1692
|
truncateafter: (t: any) => any;
|
|
1658
1693
|
removeduplicate(t?: number): any;
|
|
1659
|
-
to3d(t: any, i?: number, n?: number, r?: number, o?: boolean, s?: any,
|
|
1694
|
+
to3d(t: any, i?: number, n?: number, r?: number, o?: boolean, s?: any, a?: boolean): ({
|
|
1660
1695
|
x: any;
|
|
1661
1696
|
y: number;
|
|
1662
1697
|
z: number;
|
|
@@ -1700,6 +1735,8 @@ export function shapeclip(): {
|
|
|
1700
1735
|
};
|
|
1701
1736
|
fromstr: (t: any) => any;
|
|
1702
1737
|
move: (t?: number, i?: number) => any;
|
|
1738
|
+
infocircle: typeof infocircle;
|
|
1739
|
+
intersectcircle: typeof intersectcircle;
|
|
1703
1740
|
pt: any[];
|
|
1704
1741
|
readonly npt: number;
|
|
1705
1742
|
readonly vec: any[];
|
|
@@ -1710,7 +1747,7 @@ export function shapeclip(): {
|
|
|
1710
1747
|
readonly orient: 0 | 1 | -1;
|
|
1711
1748
|
corners: (t?: number) => any[];
|
|
1712
1749
|
clone: () => any;
|
|
1713
|
-
dims
|
|
1750
|
+
dims(): {
|
|
1714
1751
|
p1: any;
|
|
1715
1752
|
p2: any;
|
|
1716
1753
|
isrect: boolean;
|
|
@@ -1783,7 +1820,7 @@ export function shapeclip(): {
|
|
|
1783
1820
|
truncatebefore: (t: any) => any;
|
|
1784
1821
|
truncateafter: (t: any) => any;
|
|
1785
1822
|
removeduplicate(t?: number): any;
|
|
1786
|
-
to3d(t: any, i?: number, n?: number, r?: number, o?: boolean, s?: any,
|
|
1823
|
+
to3d(t: any, i?: number, n?: number, r?: number, o?: boolean, s?: any, a?: boolean): ({
|
|
1787
1824
|
x: any;
|
|
1788
1825
|
y: number;
|
|
1789
1826
|
z: number;
|
|
@@ -1827,6 +1864,8 @@ export function shapeclip(): {
|
|
|
1827
1864
|
};
|
|
1828
1865
|
fromstr: (t: any) => any;
|
|
1829
1866
|
move: (t?: number, i?: number) => any;
|
|
1867
|
+
infocircle: typeof infocircle;
|
|
1868
|
+
intersectcircle: typeof intersectcircle;
|
|
1830
1869
|
pt: any[];
|
|
1831
1870
|
readonly npt: number;
|
|
1832
1871
|
readonly vec: any[];
|
|
@@ -1837,7 +1876,7 @@ export function shapeclip(): {
|
|
|
1837
1876
|
readonly orient: 0 | 1 | -1;
|
|
1838
1877
|
corners: (t?: number) => any[];
|
|
1839
1878
|
clone: () => any;
|
|
1840
|
-
dims
|
|
1879
|
+
dims(): {
|
|
1841
1880
|
p1: any;
|
|
1842
1881
|
p2: any;
|
|
1843
1882
|
isrect: boolean;
|
|
@@ -1910,7 +1949,7 @@ export function shapeclip(): {
|
|
|
1910
1949
|
truncatebefore: (t: any) => any;
|
|
1911
1950
|
truncateafter: (t: any) => any;
|
|
1912
1951
|
removeduplicate(t?: number): any;
|
|
1913
|
-
to3d(t: any, i?: number, n?: number, r?: number, o?: boolean, s?: any,
|
|
1952
|
+
to3d(t: any, i?: number, n?: number, r?: number, o?: boolean, s?: any, a?: boolean): ({
|
|
1914
1953
|
x: any;
|
|
1915
1954
|
y: number;
|
|
1916
1955
|
z: number;
|
|
@@ -1954,6 +1993,8 @@ export function shapeclip(): {
|
|
|
1954
1993
|
};
|
|
1955
1994
|
fromstr: (t: any) => any;
|
|
1956
1995
|
move: (t?: number, i?: number) => any;
|
|
1996
|
+
infocircle: typeof infocircle;
|
|
1997
|
+
intersectcircle: typeof intersectcircle;
|
|
1957
1998
|
pt: any[];
|
|
1958
1999
|
readonly npt: number;
|
|
1959
2000
|
readonly vec: any[];
|
|
@@ -1964,7 +2005,7 @@ export function shapeclip(): {
|
|
|
1964
2005
|
readonly orient: 0 | 1 | -1;
|
|
1965
2006
|
corners: (t?: number) => any[];
|
|
1966
2007
|
clone: () => any;
|
|
1967
|
-
dims
|
|
2008
|
+
dims(): {
|
|
1968
2009
|
p1: any;
|
|
1969
2010
|
p2: any;
|
|
1970
2011
|
isrect: boolean;
|
|
@@ -2037,7 +2078,7 @@ export function shapeclip(): {
|
|
|
2037
2078
|
truncatebefore: (t: any) => any;
|
|
2038
2079
|
truncateafter: (t: any) => any;
|
|
2039
2080
|
removeduplicate(t?: number): any;
|
|
2040
|
-
to3d(t: any, i?: number, n?: number, r?: number, o?: boolean, s?: any,
|
|
2081
|
+
to3d(t: any, i?: number, n?: number, r?: number, o?: boolean, s?: any, a?: boolean): ({
|
|
2041
2082
|
x: any;
|
|
2042
2083
|
y: number;
|
|
2043
2084
|
z: number;
|
|
@@ -2081,6 +2122,8 @@ export function shapeclip(): {
|
|
|
2081
2122
|
};
|
|
2082
2123
|
fromstr: (t: any) => any;
|
|
2083
2124
|
move: (t?: number, i?: number) => any;
|
|
2125
|
+
infocircle: typeof infocircle;
|
|
2126
|
+
intersectcircle: typeof intersectcircle;
|
|
2084
2127
|
pt: any[];
|
|
2085
2128
|
readonly npt: number;
|
|
2086
2129
|
readonly vec: any[];
|
|
@@ -2091,7 +2134,7 @@ export function shapeclip(): {
|
|
|
2091
2134
|
readonly orient: 0 | 1 | -1;
|
|
2092
2135
|
corners: (t?: number) => any[];
|
|
2093
2136
|
clone: () => any;
|
|
2094
|
-
dims
|
|
2137
|
+
dims(): {
|
|
2095
2138
|
p1: any;
|
|
2096
2139
|
p2: any;
|
|
2097
2140
|
isrect: boolean;
|
|
@@ -2164,7 +2207,7 @@ export function shapeclip(): {
|
|
|
2164
2207
|
truncatebefore: (t: any) => any;
|
|
2165
2208
|
truncateafter: (t: any) => any;
|
|
2166
2209
|
removeduplicate(t?: number): any;
|
|
2167
|
-
to3d(t: any, i?: number, n?: number, r?: number, o?: boolean, s?: any,
|
|
2210
|
+
to3d(t: any, i?: number, n?: number, r?: number, o?: boolean, s?: any, a?: boolean): ({
|
|
2168
2211
|
x: any;
|
|
2169
2212
|
y: number;
|
|
2170
2213
|
z: number;
|
|
@@ -2211,6 +2254,8 @@ export function shapeclip(): {
|
|
|
2211
2254
|
};
|
|
2212
2255
|
fromstr: (t: any) => any;
|
|
2213
2256
|
move: (t?: number, i?: number) => any;
|
|
2257
|
+
infocircle: typeof infocircle;
|
|
2258
|
+
intersectcircle: typeof intersectcircle;
|
|
2214
2259
|
pt: any[];
|
|
2215
2260
|
readonly npt: number;
|
|
2216
2261
|
readonly vec: any[];
|
|
@@ -2221,7 +2266,7 @@ export function shapeclip(): {
|
|
|
2221
2266
|
readonly orient: 0 | 1 | -1;
|
|
2222
2267
|
corners: (t?: number) => any[];
|
|
2223
2268
|
clone: () => any;
|
|
2224
|
-
dims
|
|
2269
|
+
dims(): {
|
|
2225
2270
|
p1: any;
|
|
2226
2271
|
p2: any;
|
|
2227
2272
|
isrect: boolean;
|
|
@@ -2294,7 +2339,7 @@ export function shapeclip(): {
|
|
|
2294
2339
|
truncatebefore: (t: any) => any;
|
|
2295
2340
|
truncateafter: (t: any) => any;
|
|
2296
2341
|
removeduplicate(t?: number): any;
|
|
2297
|
-
to3d(t: any, i?: number, n?: number, r?: number, o?: boolean, s?: any,
|
|
2342
|
+
to3d(t: any, i?: number, n?: number, r?: number, o?: boolean, s?: any, a?: boolean): ({
|
|
2298
2343
|
x: any;
|
|
2299
2344
|
y: number;
|
|
2300
2345
|
z: number;
|
|
@@ -2373,6 +2418,8 @@ declare function creaprofiloesterno(e: any, t: any): {
|
|
|
2373
2418
|
};
|
|
2374
2419
|
fromstr: (t: any) => any;
|
|
2375
2420
|
move: (t?: number, i?: number) => any;
|
|
2421
|
+
infocircle: typeof infocircle;
|
|
2422
|
+
intersectcircle: typeof intersectcircle;
|
|
2376
2423
|
pt: any[];
|
|
2377
2424
|
readonly npt: number;
|
|
2378
2425
|
readonly vec: any[];
|
|
@@ -2383,7 +2430,7 @@ declare function creaprofiloesterno(e: any, t: any): {
|
|
|
2383
2430
|
readonly orient: 0 | 1 | -1;
|
|
2384
2431
|
corners: (t?: number) => any[];
|
|
2385
2432
|
clone: () => any;
|
|
2386
|
-
dims
|
|
2433
|
+
dims(): {
|
|
2387
2434
|
p1: any;
|
|
2388
2435
|
p2: any;
|
|
2389
2436
|
isrect: boolean;
|
|
@@ -2456,7 +2503,7 @@ declare function creaprofiloesterno(e: any, t: any): {
|
|
|
2456
2503
|
truncatebefore: (t: any) => any;
|
|
2457
2504
|
truncateafter: (t: any) => any;
|
|
2458
2505
|
removeduplicate(t?: number): any;
|
|
2459
|
-
to3d(t: any, i?: number, n?: number, r?: number, o?: boolean, s?: any,
|
|
2506
|
+
to3d(t: any, i?: number, n?: number, r?: number, o?: boolean, s?: any, a?: boolean): ({
|
|
2460
2507
|
x: any;
|
|
2461
2508
|
y: number;
|
|
2462
2509
|
z: number;
|
|
@@ -2502,6 +2549,8 @@ declare function creaprofiloesterno(e: any, t: any): {
|
|
|
2502
2549
|
};
|
|
2503
2550
|
fromstr: (t: any) => any;
|
|
2504
2551
|
move: (t?: number, i?: number) => any;
|
|
2552
|
+
infocircle: typeof infocircle;
|
|
2553
|
+
intersectcircle: typeof intersectcircle;
|
|
2505
2554
|
pt: any[];
|
|
2506
2555
|
readonly npt: number;
|
|
2507
2556
|
readonly vec: any[];
|
|
@@ -2512,7 +2561,7 @@ declare function creaprofiloesterno(e: any, t: any): {
|
|
|
2512
2561
|
readonly orient: 0 | 1 | -1;
|
|
2513
2562
|
corners: (t?: number) => any[];
|
|
2514
2563
|
clone: () => any;
|
|
2515
|
-
dims
|
|
2564
|
+
dims(): {
|
|
2516
2565
|
p1: any;
|
|
2517
2566
|
p2: any;
|
|
2518
2567
|
isrect: boolean;
|
|
@@ -2585,7 +2634,7 @@ declare function creaprofiloesterno(e: any, t: any): {
|
|
|
2585
2634
|
truncatebefore: (t: any) => any;
|
|
2586
2635
|
truncateafter: (t: any) => any;
|
|
2587
2636
|
removeduplicate(t?: number): any;
|
|
2588
|
-
to3d(t: any, i?: number, n?: number, r?: number, o?: boolean, s?: any,
|
|
2637
|
+
to3d(t: any, i?: number, n?: number, r?: number, o?: boolean, s?: any, a?: boolean): ({
|
|
2589
2638
|
x: any;
|
|
2590
2639
|
y: number;
|
|
2591
2640
|
z: number;
|
|
@@ -2680,4 +2729,4 @@ declare class GLTFLoader {
|
|
|
2680
2729
|
parse(e: any, t: any, i: any, n: any): any;
|
|
2681
2730
|
parseAsync(e: any, t: any): Promise<any>;
|
|
2682
2731
|
}
|
|
2683
|
-
export { Ue as PIF, $e as SIDE, Ve as SP, Xe as blocked, et as materialline1, tt as materialline2,
|
|
2732
|
+
export { Ue as PIF, $e as SIDE, Ve as SP, Xe as blocked, et as materialline1, tt as materialline2, At as mblack, st as mblue, nt as mgray1, rt as mgray2, at as mgreen, ot as mred, it as mwhite, lt as scaleunit };
|
package/types/markuno.d.ts
CHANGED
|
@@ -356,6 +356,7 @@ export function pushpars(t: any, e: any, a: any, s: any): Promise<{
|
|
|
356
356
|
o: any;
|
|
357
357
|
}[]>;
|
|
358
358
|
export function quote(t: any): any;
|
|
359
|
+
export function round(t: any, e?: number): number;
|
|
359
360
|
export function seedarray(t: any, e: any): any;
|
|
360
361
|
export function seeder(t: any, e?: string): number;
|
|
361
362
|
export function setOggetto(t: any, e: any): void;
|
|
@@ -378,7 +379,7 @@ declare const y: {
|
|
|
378
379
|
export function tk(): number;
|
|
379
380
|
export function toCadPars(t: any): {};
|
|
380
381
|
export function toJson(t: any): string;
|
|
381
|
-
|
|
382
|
+
declare function tonum$1(t: any, e?: number): number;
|
|
382
383
|
export function xdt(): number;
|
|
383
384
|
declare class Pickers {
|
|
384
385
|
clear(): void;
|
|
@@ -390,4 +391,4 @@ declare class Pickers {
|
|
|
390
391
|
setkey(t: any): void;
|
|
391
392
|
add(t: any): string;
|
|
392
393
|
}
|
|
393
|
-
export { n as errori, muInit as jsTest, x as mustr, k as tipicolonna, w as tipifree, y as tipiheader };
|
|
394
|
+
export { n as errori, muInit as jsTest, x as mustr, k as tipicolonna, w as tipifree, y as tipiheader, tonum$1 as tonum };
|