desi77 0.1.20 → 0.1.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -36,10 +36,12 @@ declare const pcarDef: tPageDef;
36
36
 
37
37
  declare const capsuleDef: tPageDef;
38
38
 
39
+ declare const tunnelDef: tPageDef;
40
+
39
41
  declare const squareDef: tPageDef;
40
42
 
41
43
  declare const triangleDef: tPageDef;
42
44
 
43
45
  declare const cylinderDef: tPageDef;
44
46
 
45
- export { capsuleDef, cylinderDef, door1arcDef, doubleBoneDef, factoryDef, heliostatDef, houseDef, pcarDef, plugTorqueDef, rccarDef, singleBoneDef, springIntDef, springOneDef, springSideDef, springTorqueADef, springTorqueBDef, springTorqueCDef, springWormDef, squareDef, stoneTowerDef, triangleDef };
47
+ export { capsuleDef, cylinderDef, door1arcDef, doubleBoneDef, factoryDef, heliostatDef, houseDef, pcarDef, plugTorqueDef, rccarDef, singleBoneDef, springIntDef, springOneDef, springSideDef, springTorqueADef, springTorqueBDef, springTorqueCDef, springWormDef, squareDef, stoneTowerDef, triangleDef, tunnelDef };
package/dist/index.js CHANGED
@@ -1195,22 +1195,22 @@ var pDef4 = {
1195
1195
  pDropdown2("officeOrientation", ["xdw", "xup", "xal", "ydw", "yup", "yal"]),
1196
1196
  pNumber4("ith", "mm", 400, 100, 2e3, 10),
1197
1197
  pNumber4("eth", "mm", 400, 100, 2e3, 10),
1198
- pNumber4("bw", "mm", 1500, 200, 1e4, 10),
1198
+ pNumber4("bw", "mm", 800, 200, 1e4, 10),
1199
1199
  pSectionSeparator4("heights and roof"),
1200
- pNumber4("oh1", "mm", 2800, 2e3, 5e3, 10),
1200
+ pNumber4("oh1", "mm", 3e3, 2e3, 5e3, 10),
1201
1201
  pNumber4("oh2", "mm", 4e3, 2e3, 1e4, 10),
1202
1202
  pNumber4("rtn", "triangle", 6, 1, 1e3, 1),
1203
1203
  pNumber4("ran", "degree", 49, 20, 90, 0.1),
1204
1204
  pNumber4("ram", "degree", 90, 80, 160, 0.1),
1205
1205
  pNumber4("rth", "mm", 200, 10, 1e3, 10),
1206
1206
  pSectionSeparator4("lateral windows"),
1207
- pNumber4("swx1", "mm", 1e3, 10, 5e3, 10),
1207
+ pNumber4("swx1", "mm", 600, 10, 5e3, 10),
1208
1208
  pNumber4("swx2", "mm", 1e3, 10, 5e3, 10),
1209
1209
  pNumber4("swh1", "mm", 1e3, 10, 5e3, 10),
1210
1210
  pNumber4("swh2", "mm", 1e3, 10, 5e3, 10),
1211
1211
  pNumber4("swh3", "mm", 200, 10, 5e3, 10),
1212
1212
  pSectionSeparator4("front windows"),
1213
- pNumber4("fwx1", "mm", 1e3, 10, 5e3, 10),
1213
+ pNumber4("fwx1", "mm", 600, 10, 5e3, 10),
1214
1214
  pNumber4("fwx2", "mm", 1e3, 10, 5e3, 10),
1215
1215
  pNumber4("fwh1", "mm", 1e3, 10, 5e3, 10),
1216
1216
  pNumber4("fwh2", "mm", 1e3, 10, 5e3, 10),
@@ -1219,20 +1219,12 @@ var pDef4 = {
1219
1219
  pNumber4("fdx2", "mm", 1e3, 10, 5e3, 10),
1220
1220
  pNumber4("fdh2", "mm", 2e3, 10, 5e3, 10),
1221
1221
  pNumber4("fdh3", "mm", 200, 10, 5e3, 10),
1222
- pSectionSeparator4("to be deleted"),
1223
- pNumber4("L1", "mm", 120, 1, 400, 1),
1224
- pNumber4("L2", "mm", 80, 1, 400, 1),
1225
- pNumber4("W1", "mm", 2, 0.1, 10, 0.1),
1226
- pNumber4("H1", "mm", 40, 1, 400, 1),
1227
- pNumber4("H2", "mm", 2, 0.1, 10, 0.1),
1228
- //pSectionSeparator(name)
1229
- pSectionSeparator4("hollow"),
1230
- //pCheckbox(name, init)
1231
- pCheckbox2("holes", true),
1232
- pNumber4("D1", "mm", 10, 1, 400, 1),
1233
- pNumber4("D2", "mm", 5, 1, 400, 1),
1234
- pSectionSeparator4("corners"),
1235
- pNumber4("Rc", "mm", 10, 0, 400, 1)
1222
+ pSectionSeparator4("Openings in 3D"),
1223
+ pCheckbox2("d3_roof", true),
1224
+ pCheckbox2("d3_wall", false),
1225
+ pCheckbox2("d3_ground", false),
1226
+ pCheckbox2("d3_officeCeiling", true),
1227
+ pCheckbox2("d3_bridge", true)
1236
1228
  ],
1237
1229
  paramSvg: {
1238
1230
  onx: "factory_top.svg",
@@ -1267,16 +1259,11 @@ var pDef4 = {
1267
1259
  fdx2: "factory_front_window.svg",
1268
1260
  fdh2: "factory_front_window.svg",
1269
1261
  fdh3: "factory_front_window.svg",
1270
- //
1271
- L1: "factory_top.svg",
1272
- L2: "factory_west.svg",
1273
- W1: "factory_side_window.svg",
1274
- H1: "factory_front_window.svg",
1275
- H2: "factory_top.svg",
1276
- holes: "factory_top.svg",
1277
- D1: "factory_top.svg",
1278
- D2: "factory_top.svg",
1279
- Rc: "factory_top.svg"
1262
+ d3_roof: "factory_top.svg",
1263
+ d3_wall: "factory_top.svg",
1264
+ d3_ground: "factory_top.svg",
1265
+ d3_officeCeiling: "factory_top.svg",
1266
+ d3_bridge: "factory_top.svg"
1280
1267
  },
1281
1268
  sim: {
1282
1269
  tMax: 180,
@@ -1289,9 +1276,46 @@ function pGeom4(t, param, suffix = "") {
1289
1276
  const rGeome = initGeom4(pDef4.partName + suffix);
1290
1277
  const figTop = figure4();
1291
1278
  const figWest = figure4();
1279
+ const figNorth = figure4();
1280
+ const figRoof = figure4();
1281
+ const figGround = figure4();
1282
+ const figWallEW = figure4();
1283
+ const figWallNS = figure4();
1284
+ const figOCeiling = figure4();
1285
+ const figOWallF = figure4();
1286
+ const figOWallB = figure4();
1287
+ const figOWallS = figure4();
1288
+ const figOWallTop = figure4();
1289
+ const figBridgeW = figure4();
1290
+ const figBridgeN = figure4();
1292
1291
  rGeome.logstr += `${rGeome.partName} simTime: ${t}
1293
1292
  `;
1294
1293
  try {
1294
+ let rotateOfficeWall2 = function(iOfficeOrientation, iFrontBack) {
1295
+ const rRotate = [pi2, 0, 0];
1296
+ let twoRot = iFrontBack;
1297
+ if (iOfficeOrientation > 2) {
1298
+ twoRot = !twoRot;
1299
+ }
1300
+ if (twoRot) {
1301
+ rRotate[2] = pi2;
1302
+ }
1303
+ return rRotate;
1304
+ }, translateOfficeWall2 = function(iOO, iPos, iTh, iFB) {
1305
+ const rTranslate = [0, 0, 0];
1306
+ let trans1 = iFB;
1307
+ if (iOO > 2) {
1308
+ trans1 = !trans1;
1309
+ }
1310
+ if (trans1) {
1311
+ rTranslate[0] = iPos;
1312
+ } else {
1313
+ rTranslate[1] = iPos + iTh;
1314
+ }
1315
+ return rTranslate;
1316
+ };
1317
+ var rotateOfficeWall = rotateOfficeWall2, translateOfficeWall = translateOfficeWall2;
1318
+ const pi2 = Math.PI / 2;
1295
1319
  const llix = param.onx * param.olx + (param.onx - 1) * param.iwx + 2 * param.ewx;
1296
1320
  const llex = llix + 2 * param.eth;
1297
1321
  const lliy = param.ony * param.oly + (param.ony - 1) * param.iwy + 2 * param.ewy;
@@ -1320,17 +1344,114 @@ function pGeom4(t, param, suffix = "") {
1320
1344
  const Rhxp = 100 * Rhx / roofTriLx;
1321
1345
  const Rhxsp = 100 * Rhxs / roofTriLx;
1322
1346
  const Rhyp = 100 * Rh / roofTriLx;
1347
+ let ofN = param.ony;
1348
+ let ofW = param.oly;
1349
+ let ofiw = param.iwy;
1350
+ let ofew = param.ewy;
1351
+ let osN = param.onx;
1352
+ let osW = param.olx;
1353
+ let osiw = param.iwx;
1354
+ let osew = param.ewx;
1355
+ if (param.officeOrientation > 2) {
1356
+ ofN = param.onx;
1357
+ ofW = param.olx;
1358
+ ofiw = param.iwx;
1359
+ ofew = param.ewx;
1360
+ osN = param.ony;
1361
+ osW = param.oly;
1362
+ osiw = param.iwy;
1363
+ osew = param.ewy;
1364
+ }
1365
+ if (param.officeOrientation > 5) {
1366
+ throw `err189: officeOrientation ${param.officeOrientation} is out of range`;
1367
+ }
1368
+ const ofWmin = 2 * param.ith + param.fwx1 + param.fwx2 + param.fdx1 + param.fdx2;
1369
+ const ofHmin1 = param.ith + param.fwh1 + param.fwh2 + param.fwh3;
1370
+ const ofHmin2 = param.ith + param.fdh1 + param.fdh2;
1371
+ const osWmin = 2 * param.ith + param.swx1 + param.swx2;
1372
+ const osHmin = param.ith + param.swh1 + param.swh2 + param.swh3;
1373
+ const Xidx = [...Array(param.onx).keys()];
1374
+ const owpN = Xidx.map((ii) => param.eth + param.ewx + ii * (param.olx + param.iwx));
1375
+ const owpS = Xidx.map(
1376
+ (ii) => param.eth + param.ewx + ii * (param.olx + param.iwx) + param.olx - param.ith
1377
+ );
1378
+ const Yidx = [...Array(param.ony).keys()];
1379
+ const owpW = Yidx.map((ii) => param.eth + param.ewy + ii * (param.oly + param.iwy));
1380
+ const owpE = Yidx.map(
1381
+ (ii) => param.eth + param.ewy + ii * (param.oly + param.iwy) + param.oly - param.ith
1382
+ );
1383
+ let powF = owpN;
1384
+ let powB = owpS;
1385
+ let powS1 = owpW;
1386
+ let powS2 = owpE;
1387
+ let powFBmin = owpN;
1388
+ if (param.officeOrientation == 1) {
1389
+ powF = owpS;
1390
+ powB = owpN;
1391
+ } else if (param.officeOrientation == 2) {
1392
+ powF = Xidx.map((ii) => ii % 2 === 0 ? owpS[ii] : owpN[ii]);
1393
+ powB = Xidx.map((ii) => ii % 2 === 0 ? owpN[ii] : owpS[ii]);
1394
+ } else if (param.officeOrientation == 3) {
1395
+ powF = owpW;
1396
+ powB = owpE;
1397
+ } else if (param.officeOrientation == 4) {
1398
+ powF = owpE;
1399
+ powB = owpW;
1400
+ } else if (param.officeOrientation == 5) {
1401
+ powF = Yidx.map((ii) => ii % 2 === 0 ? owpE[ii] : owpW[ii]);
1402
+ powB = Yidx.map((ii) => ii % 2 === 0 ? owpW[ii] : owpE[ii]);
1403
+ }
1404
+ if (param.officeOrientation > 2) {
1405
+ powS1 = owpN;
1406
+ powS2 = owpS;
1407
+ powFBmin = owpW;
1408
+ }
1409
+ const powS = [...powS1, ...powS2];
1410
+ const Xidx2 = [...Array(param.onx - 1).keys()];
1411
+ const Yidx2 = [...Array(param.ony - 1).keys()];
1412
+ const brxx = Xidx2.map(
1413
+ (ii) => param.eth + param.ewx + param.olx + ii * (param.olx + param.iwx)
1414
+ );
1415
+ const bryy = Yidx2.map(
1416
+ (ii) => param.eth + param.ewy + param.oly + ii * (param.oly + param.iwy)
1417
+ );
1418
+ const brdx = (param.olx - param.bw) / 2;
1419
+ const brdy = (param.oly - param.bw) / 2;
1420
+ const brxy = Yidx.map((ii) => param.eth + param.ewy + brdy + ii * (param.oly + param.iwy));
1421
+ const bryx = Xidx.map((ii) => param.eth + param.ewx + brdx + ii * (param.olx + param.iwx));
1422
+ const iwx2 = param.iwx / 2;
1423
+ const iwy2 = param.iwy / 2;
1424
+ const brxh = param.ith + iwx2;
1425
+ const bryh = param.ith + iwy2;
1323
1426
  if (olix < 0) {
1324
1427
  throw `err158: olix ${ffix4(olix)} is too small compare to ith ${param.ith}`;
1325
1428
  }
1326
1429
  if (oliy < 0) {
1327
1430
  throw `err161: oliy ${ffix4(oliy)} is too small compare to ith ${param.ith}`;
1328
1431
  }
1329
- if (param.olx < 2 * param.ith + param.swx1 + param.swx2) {
1330
- throw `err151: olx ${param.olx} is too small compare to swx1 ${param.swx1} and swx2 ${param.swx2}`;
1432
+ if (ofW < ofWmin) {
1433
+ throw `err201: ofW ${ofW} is too small compare to fwx1 ${param.fwx1}, fwx2 ${param.fwx2}, fdx1 ${param.fdx1}, fdx2 ${param.fdx2}`;
1434
+ }
1435
+ if (param.oh1 < ofHmin1) {
1436
+ throw `err204: oh1 ${param.oh1} is too small compare to fwh1 ${param.fwh1}, fwh2 ${param.fwh2}, fwh3 ${param.fwh3}`;
1437
+ }
1438
+ if (param.oh1 < ofHmin2) {
1439
+ throw `err207: oh1 ${param.oh1} is too small compare to fdh1 ${param.fdh1}, fdh2 ${param.fdh2}`;
1440
+ }
1441
+ if (osW < osWmin) {
1442
+ throw `err210: osW ${osW} is too small compare to swx1 ${param.swx1} and swx2 ${param.swx2}`;
1443
+ }
1444
+ if (param.oh1 < osHmin) {
1445
+ throw `err213: oh1 ${param.oh1} is too small compare to swh1 ${param.swh1}, swh2 ${param.swh2}, swh3 ${param.swh3}`;
1446
+ }
1447
+ if (param.fwx2 < 2 * param.fwh3) {
1448
+ throw `err213: fwh3 ${param.fwh3} is too large compare to fwx2 ${param.fwx2}`;
1449
+ }
1450
+ if (param.fdx2 < 2 * param.fdh3) {
1451
+ throw `err219: fdh3 ${param.fdh3} is too large compare to fdx2 ${param.fdx2}`;
1331
1452
  }
1332
- if (param.oly < 2 * param.ith + param.fwx1 + param.fwx2 + param.fdx1 + param.fdx2) {
1333
- throw `err154: oly ${param.oly} is too small compare to fwx1 ${param.fwx1}, fwx2 ${param.fwx2}, fdx1 ${param.fdx1}, fdx2 ${param.fdx2}`;
1453
+ if (param.swx2 < 2 * param.swh3) {
1454
+ throw `err222: swh3 ${param.swh3} is too large compare to swx2 ${param.swx2}`;
1334
1455
  }
1335
1456
  if (Math.min(param.olx, param.oly) < param.bw) {
1336
1457
  throw `err172: bw ${param.bw} is too large compare to olx ${param.olx} or oly ${param.oly}`;
@@ -1343,6 +1464,30 @@ function pGeom4(t, param, suffix = "") {
1343
1464
  `;
1344
1465
  rGeome.logstr += `roof north glass length ${ffix4(tr1lBC)} mm, Rhxp ${ffix4(Rhxp)} %, roof south opaque ${ffix4(tr1lCA)} mm, Rhxsp ${ffix4(Rhxsp)} %
1345
1466
  `;
1467
+ const ctrOfficeBack = [];
1468
+ const ctrOfficeFront = [];
1469
+ const ctrOfficeFrontW = [];
1470
+ for (let ii = 0; ii < ofN; ii++) {
1471
+ const ox = param.eth + ofew + ii * (ofW + ofiw);
1472
+ const dox = param.ith + param.fwx1 + param.fwx2 + param.fdx1;
1473
+ const dr = ofW - dox - param.fdx2;
1474
+ const ctrOB = ctrRectangle4(ox, 0, ofW, param.oh1);
1475
+ const ctrOF = contour4(ox, 0).addSegStrokeR(dox, 0).addSegStrokeR(0, param.fdh2).addPointR(param.fdx2 / 2, param.fdh3).addPointR(param.fdx2, 0).addSegArc2().addSegStrokeR(0, -param.fdh2).addSegStrokeR(dr, 0).addSegStrokeR(0, param.oh1).addSegStrokeR(-ofW, 0).closeSegStroke();
1476
+ const ctrOFW = contour4(ox + param.ith + param.fwx1, param.fwh1).addSegStrokeR(param.fwx2, 0).addSegStrokeR(0, param.fwh2).addPointR(-param.fwx2 / 2, param.fwh3).addPointR(-param.fwx2, 0).addSegArc2().closeSegStroke();
1477
+ ctrOfficeBack.push(ctrOB);
1478
+ ctrOfficeFront.push(ctrOF);
1479
+ ctrOfficeFrontW.push(ctrOFW);
1480
+ }
1481
+ const ctrOfficeSide = [];
1482
+ const ctrOfficeSideW = [];
1483
+ for (let ii = 0; ii < osN; ii++) {
1484
+ const ox = param.eth + osew + ii * (osW + osiw);
1485
+ const ctrOS = ctrRectangle4(ox, 0, osW, param.oh1);
1486
+ const ctrOSW = contour4(ox + param.ith + param.swx1, param.swh1).addSegStrokeR(param.swx2, 0).addSegStrokeR(0, param.swh2).addPointR(-param.swx2 / 2, param.swh3).addPointR(-param.swx2, 0).addSegArc2().closeSegStroke();
1487
+ ctrOfficeSide.push(ctrOS);
1488
+ ctrOfficeSideW.push(ctrOSW);
1489
+ }
1490
+ const ctrOfficeCeiling = [];
1346
1491
  const ctrFext = ctrRectangle4(0, 0, llex, lley);
1347
1492
  const ctrFint = ctrRectangle4(param.eth, param.eth, llix, lliy);
1348
1493
  figTop.addMainOI([ctrFext, ctrFint]);
@@ -1353,6 +1498,7 @@ function pGeom4(t, param, suffix = "") {
1353
1498
  const ctrOext = ctrRectangle4(pox, poy, param.olx, param.oly);
1354
1499
  const ctrOint = ctrRectangle4(pox + param.ith, poy + param.ith, olix, oliy);
1355
1500
  figTop.addMainOI([ctrOext, ctrOint]);
1501
+ ctrOfficeCeiling.push(ctrOext);
1356
1502
  }
1357
1503
  }
1358
1504
  for (let ii = 0; ii < param.onx - 1; ii++) {
@@ -1391,27 +1537,269 @@ function pGeom4(t, param, suffix = "") {
1391
1537
  }
1392
1538
  ctrRoof.closeSegStroke();
1393
1539
  figWest.addMainO(ctrRoof);
1540
+ const ctrWallEW = contour4(0, 0).addSegStrokeR(llex, 0).addSegStrokeR(0, fh);
1541
+ for (let ii = 0; ii < param.rtn; ii++) {
1542
+ ctrWallEW.addSegStrokeR(-Rhxs, Rh).addSegStrokeR(-Rhx, -Rh);
1543
+ }
1544
+ ctrWallEW.closeSegStroke();
1545
+ figWest.addMainO(ctrWallEW);
1546
+ figNorth.addMainO(ctrRectangle4(0, -param.eth, lley, param.eth));
1547
+ figNorth.addMainO(ctrRectangle4(0, 0, param.eth, fh));
1548
+ figNorth.addMainO(ctrRectangle4(lley - param.eth, 0, param.eth, fh));
1549
+ for (let ii = 0; ii < param.ony; ii++) {
1550
+ const poy = officeOy + ii * (param.oly + param.iwy);
1551
+ figNorth.addMainOI([
1552
+ ctrRectangle4(poy, 0, param.oly, param.oh1),
1553
+ ctrRectangle4(poy + param.ith, 0, oliy, param.oh1 - param.ith)
1554
+ ]);
1555
+ }
1556
+ figNorth.addMainOI([
1557
+ ctrRectangle4(0, fh, lley, Rh + param.rth),
1558
+ ctrRectangle4(0, fh, lley, param.rth),
1559
+ ctrRectangle4(0, fh + Rh, lley, param.rth)
1560
+ ]);
1561
+ const ctrWallNS = ctrRectangle4(0, 0, lley, fh);
1562
+ figNorth.addMainO(ctrWallNS);
1563
+ if (param.officeOrientation < 3) {
1564
+ for (let ii = 0; ii < ofN; ii++) {
1565
+ figNorth.addMainOI([ctrOfficeFront[ii], ctrOfficeFrontW[ii]]);
1566
+ figNorth.addMainO(ctrOfficeBack[ii]);
1567
+ }
1568
+ for (let ii = 0; ii < osN; ii++) {
1569
+ figWest.addMainOI([ctrOfficeSide[ii], ctrOfficeSideW[ii]]);
1570
+ }
1571
+ } else {
1572
+ for (let ii = 0; ii < ofN; ii++) {
1573
+ figWest.addMainOI([ctrOfficeFront[ii], ctrOfficeFrontW[ii]]);
1574
+ figWest.addMainO(ctrOfficeBack[ii]);
1575
+ }
1576
+ for (let ii = 0; ii < osN; ii++) {
1577
+ figNorth.addMainOI([ctrOfficeSide[ii], ctrOfficeSideW[ii]]);
1578
+ }
1579
+ }
1580
+ figRoof.mergeFigure(figWest, true);
1581
+ figRoof.addMainO(ctrRoof);
1582
+ figGround.mergeFigure(figTop, true);
1583
+ figGround.addMainO(ctrFext);
1584
+ figWallEW.mergeFigure(figWest, true);
1585
+ figWallEW.addMainO(ctrWallEW);
1586
+ figWallNS.mergeFigure(figNorth, true);
1587
+ figWallNS.addMainO(ctrWallNS);
1588
+ figOCeiling.mergeFigure(figTop, true);
1589
+ for (const iCtr of ctrOfficeCeiling) {
1590
+ figOCeiling.addMainO(iCtr);
1591
+ }
1592
+ if (param.officeOrientation < 3) {
1593
+ figOWallF.mergeFigure(figNorth, true);
1594
+ figOWallB.mergeFigure(figNorth, true);
1595
+ figOWallS.mergeFigure(figWest, true);
1596
+ } else {
1597
+ figOWallF.mergeFigure(figWest, true);
1598
+ figOWallB.mergeFigure(figWest, true);
1599
+ figOWallS.mergeFigure(figNorth, true);
1600
+ }
1601
+ for (let ii = 0; ii < ofN; ii++) {
1602
+ figOWallF.addMainOI([ctrOfficeFront[ii], ctrOfficeFrontW[ii]]);
1603
+ figOWallB.addMainO(ctrOfficeBack[ii]);
1604
+ }
1605
+ for (let ii = 0; ii < osN; ii++) {
1606
+ figOWallS.addMainOI([ctrOfficeSide[ii], ctrOfficeSideW[ii]]);
1607
+ }
1608
+ for (const iPosX of powF) {
1609
+ for (const iPosY of powS1) {
1610
+ figOWallTop.addMainO(ctrRectangle4(iPosX, iPosY, param.ith, ofW));
1611
+ }
1612
+ }
1613
+ for (const iPosX of powB) {
1614
+ for (const iPosY of powS1) {
1615
+ figOWallTop.addSecond(ctrRectangle4(iPosX, iPosY, param.ith, ofW));
1616
+ }
1617
+ }
1618
+ for (const iPosY of powS) {
1619
+ for (const iPosX of powFBmin) {
1620
+ figOWallTop.addSecond(ctrRectangle4(iPosX, iPosY, osW, param.ith));
1621
+ }
1622
+ }
1623
+ figBridgeW.mergeFigure(figWest, true);
1624
+ for (const ox of brxx) {
1625
+ const ctr = contour4(ox, param.oh1).addSegStrokeR(0, -brxh).addPointR(iwx2, iwx2).addPointR(2 * iwx2, 0).addSegArc2().addSegStrokeR(0, brxh).closeSegStroke();
1626
+ figBridgeW.addMainO(ctr);
1627
+ }
1628
+ for (const ox of bryx) {
1629
+ figBridgeW.addSecond(ctrRectangle4(ox, param.oh1 - bryh, param.bw, bryh));
1630
+ }
1631
+ figBridgeN.mergeFigure(figNorth, true);
1632
+ for (const ox of bryy) {
1633
+ const ctr = contour4(ox, param.oh1).addSegStrokeR(0, -bryh).addPointR(iwy2, iwy2).addPointR(2 * iwy2, 0).addSegArc2().addSegStrokeR(0, bryh).closeSegStroke();
1634
+ figBridgeN.addMainO(ctr);
1635
+ }
1636
+ for (const ox of brxy) {
1637
+ figBridgeN.addSecond(ctrRectangle4(ox, param.oh1 - brxh, param.bw, brxh));
1638
+ }
1394
1639
  rGeome.fig = {
1395
1640
  faceTop: figTop,
1396
- faceWest: figWest
1641
+ faceWest: figWest,
1642
+ faceNorth: figNorth,
1643
+ faceRoof: figRoof,
1644
+ faceGround: figGround,
1645
+ faceWallEW: figWallEW,
1646
+ faceWallNS: figWallNS,
1647
+ faceOCeiling: figOCeiling,
1648
+ faceOWallF: figOWallF,
1649
+ faceOWallB: figOWallB,
1650
+ faceOWallS: figOWallS,
1651
+ faceOWallTop: figOWallTop,
1652
+ faceBridgeW: figBridgeW,
1653
+ faceBridgeN: figBridgeN
1397
1654
  };
1398
1655
  const designName = rGeome.partName;
1656
+ const unionList = [];
1657
+ unionList.push(`subpax_${designName}_wallSouth`);
1658
+ unionList.push(`subpax_${designName}_wallEast`);
1659
+ if (param.d3_roof) {
1660
+ unionList.push(`subpax_${designName}_roof`);
1661
+ }
1662
+ if (param.d3_ground) {
1663
+ unionList.push(`subpax_${designName}_ground`);
1664
+ }
1665
+ if (param.d3_wall) {
1666
+ unionList.push(`subpax_${designName}_wallNorth`);
1667
+ unionList.push(`subpax_${designName}_wallWest`);
1668
+ }
1669
+ if (param.d3_officeCeiling) {
1670
+ unionList.push(`subpax_${designName}_officeCeiling`);
1671
+ }
1672
+ const volOWF = powF.map((iPos, idx) => {
1673
+ const rVol = {
1674
+ outName: `subpax_${designName}_OWF${idx}`,
1675
+ face: `${designName}_faceOWallF`,
1676
+ extrudeMethod: EExtrude4.eLinearOrtho,
1677
+ length: param.ith,
1678
+ rotate: rotateOfficeWall2(param.officeOrientation, true),
1679
+ translate: translateOfficeWall2(param.officeOrientation, iPos, param.ith, true)
1680
+ };
1681
+ return rVol;
1682
+ });
1683
+ unionList.push(...powF.map((iPos, idx) => `subpax_${designName}_OWF${idx}`));
1684
+ const volOWB = powB.map((iPos, idx) => {
1685
+ const rVol = {
1686
+ outName: `subpax_${designName}_OWB${idx}`,
1687
+ face: `${designName}_faceOWallB`,
1688
+ extrudeMethod: EExtrude4.eLinearOrtho,
1689
+ length: param.ith,
1690
+ rotate: rotateOfficeWall2(param.officeOrientation, true),
1691
+ translate: translateOfficeWall2(param.officeOrientation, iPos, param.ith, true)
1692
+ };
1693
+ return rVol;
1694
+ });
1695
+ unionList.push(...powB.map((iPos, idx) => `subpax_${designName}_OWB${idx}`));
1696
+ const volOWS = powS.map((iPos, idx) => {
1697
+ const rVol = {
1698
+ outName: `subpax_${designName}_OWS${idx}`,
1699
+ face: `${designName}_faceOWallS`,
1700
+ extrudeMethod: EExtrude4.eLinearOrtho,
1701
+ length: param.ith,
1702
+ rotate: rotateOfficeWall2(param.officeOrientation, false),
1703
+ translate: translateOfficeWall2(param.officeOrientation, iPos, param.ith, false)
1704
+ };
1705
+ return rVol;
1706
+ });
1707
+ unionList.push(...powS.map((iPos, idx) => `subpax_${designName}_OWS${idx}`));
1708
+ const volBW = brxy.map((iPos, idx) => {
1709
+ const rVol = {
1710
+ outName: `subpax_${designName}_BW${idx}`,
1711
+ face: `${designName}_faceBridgeW`,
1712
+ extrudeMethod: EExtrude4.eLinearOrtho,
1713
+ length: param.bw,
1714
+ rotate: [pi2, 0, 0],
1715
+ translate: [0, param.bw + iPos, 0]
1716
+ };
1717
+ return rVol;
1718
+ });
1719
+ const volBN = bryx.map((iPos, idx) => {
1720
+ const rVol = {
1721
+ outName: `subpax_${designName}_BN${idx}`,
1722
+ face: `${designName}_faceBridgeN`,
1723
+ extrudeMethod: EExtrude4.eLinearOrtho,
1724
+ length: param.bw,
1725
+ rotate: [pi2, 0, pi2],
1726
+ translate: [iPos, 0, 0]
1727
+ };
1728
+ return rVol;
1729
+ });
1730
+ if (param.d3_bridge) {
1731
+ unionList.push(...brxy.map((iPos, idx) => `subpax_${designName}_BW${idx}`));
1732
+ unionList.push(...bryx.map((iPos, idx) => `subpax_${designName}_BN${idx}`));
1733
+ }
1399
1734
  rGeome.vol = {
1400
1735
  extrudes: [
1401
1736
  {
1402
- outName: `subpax_${designName}_top`,
1403
- face: `${designName}_faceTop`,
1737
+ outName: `subpax_${designName}_ground`,
1738
+ face: `${designName}_faceGround`,
1404
1739
  extrudeMethod: EExtrude4.eLinearOrtho,
1405
- length: fh,
1740
+ length: param.eth,
1406
1741
  rotate: [0, 0, 0],
1742
+ translate: [0, 0, -param.eth]
1743
+ },
1744
+ {
1745
+ outName: `subpax_${designName}_roof`,
1746
+ face: `${designName}_faceRoof`,
1747
+ extrudeMethod: EExtrude4.eLinearOrtho,
1748
+ length: lley,
1749
+ rotate: [pi2, 0, 0],
1750
+ translate: [0, lley, 0]
1751
+ },
1752
+ {
1753
+ outName: `subpax_${designName}_wallNorth`,
1754
+ face: `${designName}_faceWallNS`,
1755
+ extrudeMethod: EExtrude4.eLinearOrtho,
1756
+ length: param.eth,
1757
+ rotate: [pi2, 0, pi2],
1407
1758
  translate: [0, 0, 0]
1408
- }
1759
+ },
1760
+ {
1761
+ outName: `subpax_${designName}_wallSouth`,
1762
+ face: `${designName}_faceWallNS`,
1763
+ extrudeMethod: EExtrude4.eLinearOrtho,
1764
+ length: param.eth,
1765
+ rotate: [pi2, 0, pi2],
1766
+ translate: [param.eth + llix, 0, 0]
1767
+ },
1768
+ {
1769
+ outName: `subpax_${designName}_wallWest`,
1770
+ face: `${designName}_faceWallEW`,
1771
+ extrudeMethod: EExtrude4.eLinearOrtho,
1772
+ length: param.eth,
1773
+ rotate: [pi2, 0, 0],
1774
+ translate: [0, param.eth, 0]
1775
+ },
1776
+ {
1777
+ outName: `subpax_${designName}_wallEast`,
1778
+ face: `${designName}_faceWallEW`,
1779
+ extrudeMethod: EExtrude4.eLinearOrtho,
1780
+ length: param.eth,
1781
+ rotate: [pi2, 0, 0],
1782
+ translate: [0, 2 * param.eth + lliy, 0]
1783
+ },
1784
+ {
1785
+ outName: `subpax_${designName}_officeCeiling`,
1786
+ face: `${designName}_faceOCeiling`,
1787
+ extrudeMethod: EExtrude4.eLinearOrtho,
1788
+ length: param.ith,
1789
+ rotate: [0, 0, 0],
1790
+ translate: [0, 0, param.oh1 - param.ith]
1791
+ },
1792
+ ...volOWF,
1793
+ ...volOWB,
1794
+ ...volOWS,
1795
+ ...volBW,
1796
+ ...volBN
1409
1797
  ],
1410
1798
  volumes: [
1411
1799
  {
1412
1800
  outName: `pax_${designName}`,
1413
1801
  boolMethod: EBVolume4.eUnion,
1414
- inList: [`subpax_${designName}_top`]
1802
+ inList: unionList
1415
1803
  }
1416
1804
  ]
1417
1805
  };
@@ -6422,11 +6810,14 @@ var capsuleDef = {
6422
6810
  pGeom: pGeom18
6423
6811
  };
6424
6812
 
6425
- // src/sysmix/square.ts
6813
+ // src/capsule/tunnel.ts
6426
6814
  import {
6815
+ point as point9,
6427
6816
  contour as contour19,
6428
6817
  contourCircle as contourCircle16,
6818
+ ctrRectangle as ctrRectangle9,
6429
6819
  figure as figure16,
6820
+ degToRad as degToRad9,
6430
6821
  ffix as ffix20,
6431
6822
  pNumber as pNumber19,
6432
6823
  pSectionSeparator as pSectionSeparator19,
@@ -6435,14 +6826,301 @@ import {
6435
6826
  initGeom as initGeom19
6436
6827
  } from "geometrix";
6437
6828
  var pDef19 = {
6829
+ partName: "tunnel",
6830
+ params: [
6831
+ //pNumber(name, unit, init, min, max, step)
6832
+ pNumber19("W1", "mm", 2e3, 500, 1e4, 10),
6833
+ pNumber19("H1", "mm", 4e3, 500, 1e4, 10),
6834
+ pNumber19("a1", "degree", 75, 45, 100, 1),
6835
+ pSectionSeparator19("Stone"),
6836
+ pNumber19("T1", "mm", 400, 100, 1e3, 1),
6837
+ pNumber19("T2", "mm", 200, 100, 1e3, 1),
6838
+ pNumber19("T3Max", "mm", 400, 100, 1e3, 1),
6839
+ pNumber19("E1", "mm", 5, 0, 50, 1)
6840
+ ],
6841
+ paramSvg: {
6842
+ W1: "tunnel_profile.svg",
6843
+ H1: "tunnel_profile.svg",
6844
+ a1: "tunnel_profile.svg",
6845
+ T1: "tunnel_profile.svg",
6846
+ T2: "tunnel_profile.svg",
6847
+ T3Max: "tunnel_profile.svg",
6848
+ E1: "tunnel_profile.svg"
6849
+ },
6850
+ sim: {
6851
+ tMax: 180,
6852
+ tStep: 0.5,
6853
+ tUpdate: 500
6854
+ // every 0.5 second
6855
+ }
6856
+ };
6857
+ function pGeom19(t, param, suffix = "") {
6858
+ const rGeome = initGeom19(pDef19.partName + suffix);
6859
+ const figProfile = figure16();
6860
+ const figSlice = figure16();
6861
+ const figStoneA = figure16();
6862
+ const figStoneB = figure16();
6863
+ rGeome.logstr += `${rGeome.partName} simTime: ${t}
6864
+ `;
6865
+ try {
6866
+ let calc2 = function(iW12, iH1) {
6867
+ const kA = iW12 * (1 + cos) / sin;
6868
+ const kB = sin ** 2 / (1 + cos);
6869
+ const H2 = (iH1 - kA) * kB;
6870
+ const R1 = (iW12 * sin + H2 * cos) / sin ** 2;
6871
+ const BC = R1 * cos;
6872
+ const AD = H2 / Math.tan(a1);
6873
+ return [H2, R1, BC, AD];
6874
+ }, ctrGroundStone2 = function(iX, iL, iRnL) {
6875
+ const x1 = iX + iRnL * e12;
6876
+ let x2 = x1 + iRnL * (iL - e1);
6877
+ let lastGround = false;
6878
+ if (Math.abs(x2) > x2Max) {
6879
+ x2 = iRnL * x2Max;
6880
+ lastGround = true;
6881
+ }
6882
+ const y1 = Math.min(0, -(iRnL * x1 - W12) * tan);
6883
+ const y2 = Math.min(0, -(iRnL * x2 - W12) * tan);
6884
+ const rCtr = contour19(x1, -T1);
6885
+ if (lastGround) {
6886
+ rCtr.addSegStrokeA(iRnL * W12e, -T1).addSegStrokeA(x2, y2);
6887
+ } else {
6888
+ rCtr.addSegStrokeA(x2, -T1).addSegStrokeA(x2, y2);
6889
+ }
6890
+ if (Math.abs(x1) < W12 && Math.abs(x2) > W12) {
6891
+ rCtr.addSegStrokeA(iRnL * W12, 0);
6892
+ }
6893
+ rCtr.addSegStrokeA(x1, y1).closeSegStroke();
6894
+ return rCtr;
6895
+ }, ctrSideStone2 = function(iD, iL, iRnL) {
6896
+ const aa1 = iRnL === 1 ? a1 : Math.PI - a1;
6897
+ const pt = point9(iRnL * W12, 0).translatePolar(aa1, iD + e12);
6898
+ const rCtr = contour19(pt.cx, pt.cy).addSegStrokeRP(aa1 - iRnL * pi2, T1).addSegStrokeRP(aa1, iL - e1).addSegStrokeRP(aa1 + iRnL * pi2, T1).closeSegStroke();
6899
+ return rCtr;
6900
+ }, ctrCeilingStone2 = function(iD, iL, iRnL) {
6901
+ const a2 = -pi2 + iRnL * (a1 + iD / R1e);
6902
+ const a3 = a2 + iRnL * iL / R1e;
6903
+ const pt1 = point9(0, ccy).translatePolar(a2, R1i).translatePolar(a2 + iRnL * pi2, e12);
6904
+ const pt2 = pt1.translatePolar(a2, T1);
6905
+ const pt4 = point9(0, ccy).translatePolar(a3, R1i).translatePolar(a3 - iRnL * pi2, e12);
6906
+ const pt3 = pt4.translatePolar(a3, T1);
6907
+ const rCtr = contour19(pt1.cx, pt1.cy).addSegStrokeA(pt2.cx, pt2.cy).addSegStrokeA(pt3.cx, pt3.cy).addSegStrokeA(pt4.cx, pt4.cy).closeSegStroke();
6908
+ return rCtr;
6909
+ };
6910
+ var calc = calc2, ctrGroundStone = ctrGroundStone2, ctrSideStone = ctrSideStone2, ctrCeilingStone = ctrCeilingStone2;
6911
+ const pi2 = Math.PI / 2;
6912
+ const W12 = param.W1 / 2;
6913
+ const a1 = degToRad9(param.a1);
6914
+ const sin = Math.sin(a1);
6915
+ const cos = Math.cos(a1);
6916
+ const tan = Math.tan(pi2 - a1);
6917
+ const [H2i, R1i, BCi, ADi] = calc2(W12, param.H1);
6918
+ const ccy = H2i + BCi;
6919
+ const H1ib = ccy + R1i;
6920
+ const fsox = param.T2 + param.E1;
6921
+ const W12e = W12 + param.T1 * Math.tan(a1 / 2);
6922
+ const H1e = param.H1 + 2 * param.T1;
6923
+ const [H2e, R1e, BCe, ADe] = calc2(W12e, H1e);
6924
+ const H1eb = H2e + BCe + R1e;
6925
+ const e1 = param.E1;
6926
+ const e12 = e1 / 2;
6927
+ const T1 = param.T1;
6928
+ const T3 = param.T3Max;
6929
+ const x2Max = W12e + (T1 - (W12e - W12) * tan) / (tan + Math.tan(a1));
6930
+ const ABgFirstDx = T1 / Math.tan(a1);
6931
+ const AgStart = W12e + ABgFirstDx;
6932
+ const AgN = Math.floor(AgStart / T3);
6933
+ const AgLast = AgStart - AgN * T3;
6934
+ const BgStart = W12e + ABgFirstDx - T3 / 2;
6935
+ const BgN = Math.floor(BgStart / T3);
6936
+ const BgLast = BgStart - BgN * T3;
6937
+ const ABsLength = H2i / sin;
6938
+ const AsLength = ABsLength - T3 / 2;
6939
+ const AsN = Math.floor(AsLength / T3);
6940
+ const AsLast = AsLength - AsN * T3;
6941
+ const BsN = Math.floor(ABsLength / T3);
6942
+ const BsLast = ABsLength - BsN * T3;
6943
+ const ABcLength = R1e * (Math.PI - a1);
6944
+ const AcN = Math.floor(ABcLength / T3);
6945
+ const AcLast = ABcLength - AcN * T3;
6946
+ const BcLength = ABcLength - T3 / 2;
6947
+ const BcN = Math.floor(BcLength / T3);
6948
+ const BcLast = BcLength - BcN * T3;
6949
+ const surf1 = R1i ** 2 * (Math.PI - a1);
6950
+ const surf2 = ccy * R1i * sin;
6951
+ const surf3 = W12 * H2i;
6952
+ const surfaceM2 = (surf1 + surf2 + surf3) * 10 ** -6;
6953
+ if (Math.abs(param.H1 - H1ib) > 0.1) {
6954
+ throw `err086: H1 ${ffix20(param.H1)} and H1ib ${ffix20(H1ib)} are not equal`;
6955
+ }
6956
+ if (Math.abs(H1e - H1eb) > 0.1) {
6957
+ throw `err102: H1e ${ffix20(H1e)} and H1eb ${ffix20(H1eb)} are not equal`;
6958
+ }
6959
+ if (Math.abs(H2e + BCe - param.T1 - ccy) > 0.1) {
6960
+ throw `err106: H2e ${ffix20(H2e)} and BCe ${ffix20(BCe)} not match the other circle center`;
6961
+ }
6962
+ rGeome.logstr += `Surface ${ffix20(surfaceM2)} m2
6963
+ `;
6964
+ rGeome.logstr += `dbg131: AsN ${ffix20(AsN)} stones
6965
+ `;
6966
+ const ctrProfileI = contour19(-W12, 0).addSegStrokeR(2 * W12, 0).addSegStrokeR(ADi, H2i).addPointR(-ADi - W12, BCi + R1i).addPointR(-2 * (ADi + W12), 0).addSegArc2().closeSegStroke();
6967
+ const ctrProfileE = contour19(-W12e, -param.T1).addSegStrokeR(2 * W12e, 0).addSegStrokeR(ADe, H2e).addPointR(-ADe - W12e, BCe + R1e).addPointR(-2 * (ADe + W12e), 0).addSegArc2().closeSegStroke();
6968
+ figProfile.addMainOI([ctrProfileE, ctrProfileI]);
6969
+ figProfile.addSecond(contourCircle16(0, ccy, R1i));
6970
+ figSlice.addMainOI([
6971
+ ctrRectangle9(0, -param.T1, param.T2, param.H1 + 2 * param.T1),
6972
+ ctrRectangle9(0, 0, param.T2, param.H1)
6973
+ ]);
6974
+ figSlice.addMainOI([
6975
+ ctrRectangle9(fsox, -param.T1, param.T2, param.H1 + 2 * param.T1),
6976
+ ctrRectangle9(fsox, 0, param.T2, param.H1)
6977
+ ]);
6978
+ for (let ii = 0; ii < AgN; ii++) {
6979
+ const ox = AgLast + ii * T3;
6980
+ figStoneA.addMainO(ctrGroundStone2(ox, T3, 1));
6981
+ figStoneA.addMainO(ctrGroundStone2(-ox, T3, -1));
6982
+ }
6983
+ if (AgLast > e12) {
6984
+ if (2 * AgLast < T3) {
6985
+ figStoneA.addMainO(ctrGroundStone2(-AgLast, 2 * AgLast, 1));
6986
+ } else {
6987
+ figStoneA.addMainO(ctrGroundStone2(0, AgLast, -1));
6988
+ figStoneA.addMainO(ctrGroundStone2(0, AgLast, 1));
6989
+ }
6990
+ }
6991
+ figStoneB.addMainO(ctrGroundStone2(BgLast + BgN * T3, T3 / 2, 1));
6992
+ figStoneB.addMainO(ctrGroundStone2(-BgLast - BgN * T3, T3 / 2, -1));
6993
+ for (let ii = 0; ii < BgN; ii++) {
6994
+ const ox = BgLast + ii * T3;
6995
+ figStoneB.addMainO(ctrGroundStone2(ox, T3, 1));
6996
+ figStoneB.addMainO(ctrGroundStone2(-ox, T3, -1));
6997
+ }
6998
+ if (BgLast > e12) {
6999
+ if (2 * BgLast < T3) {
7000
+ figStoneB.addMainO(ctrGroundStone2(-BgLast, 2 * BgLast, 1));
7001
+ } else {
7002
+ figStoneB.addMainO(ctrGroundStone2(0, BgLast, 1));
7003
+ figStoneB.addMainO(ctrGroundStone2(0, BgLast, -1));
7004
+ }
7005
+ }
7006
+ figStoneA.addMainO(ctrSideStone2(0, T3 / 2, 1));
7007
+ figStoneA.addMainO(ctrSideStone2(0, T3 / 2, -1));
7008
+ for (let ii = 0; ii < AsN; ii++) {
7009
+ figStoneA.addMainO(ctrSideStone2(T3 / 2 + ii * T3, T3, 1));
7010
+ figStoneA.addMainO(ctrSideStone2(T3 / 2 + ii * T3, T3, -1));
7011
+ }
7012
+ if (AsLast > e1) {
7013
+ figStoneA.addMainO(ctrSideStone2(T3 / 2 + AsN * T3, AsLast, 1));
7014
+ figStoneA.addMainO(ctrSideStone2(T3 / 2 + AsN * T3, AsLast, -1));
7015
+ }
7016
+ for (let ii = 0; ii < BsN; ii++) {
7017
+ figStoneB.addMainO(ctrSideStone2(ii * T3, T3, 1));
7018
+ figStoneB.addMainO(ctrSideStone2(ii * T3, T3, -1));
7019
+ }
7020
+ if (BsLast > e1) {
7021
+ figStoneB.addMainO(ctrSideStone2(BsN * T3, BsLast, 1));
7022
+ figStoneB.addMainO(ctrSideStone2(BsN * T3, BsLast, -1));
7023
+ }
7024
+ for (let ii = 0; ii < AcN; ii++) {
7025
+ figStoneA.addMainO(ctrCeilingStone2(ii * T3, T3, 1));
7026
+ figStoneA.addMainO(ctrCeilingStone2(ii * T3, T3, -1));
7027
+ }
7028
+ if (AcLast > e1) {
7029
+ if (AcLast < T3 / 2) {
7030
+ figStoneA.addMainO(ctrCeilingStone2(AcN * T3, 2 * AcLast, 1));
7031
+ } else {
7032
+ figStoneA.addMainO(ctrCeilingStone2(AcN * T3, AcLast, 1));
7033
+ figStoneA.addMainO(ctrCeilingStone2(AcN * T3, AcLast, -1));
7034
+ }
7035
+ }
7036
+ figStoneB.addMainO(ctrCeilingStone2(0, T3 / 2, 1));
7037
+ figStoneB.addMainO(ctrCeilingStone2(0, T3 / 2, -1));
7038
+ for (let ii = 0; ii < BcN; ii++) {
7039
+ figStoneB.addMainO(ctrCeilingStone2(T3 / 2 + ii * T3, T3, 1));
7040
+ figStoneB.addMainO(ctrCeilingStone2(T3 / 2 + ii * T3, T3, -1));
7041
+ }
7042
+ if (BcLast > e1) {
7043
+ if (BcLast < T3 / 2) {
7044
+ figStoneB.addMainO(ctrCeilingStone2(T3 / 2 + BcN * T3, 2 * BcLast, 1));
7045
+ } else {
7046
+ figStoneB.addMainO(ctrCeilingStone2(T3 / 2 + BcN * T3, BcLast, 1));
7047
+ figStoneB.addMainO(ctrCeilingStone2(T3 / 2 + BcN * T3, BcLast, -1));
7048
+ }
7049
+ }
7050
+ figStoneA.mergeFigure(figProfile, true);
7051
+ figStoneB.mergeFigure(figStoneA, true);
7052
+ rGeome.fig = {
7053
+ faceProfile: figProfile,
7054
+ faceSlice: figSlice,
7055
+ faceStoneA: figStoneA,
7056
+ faceStoneB: figStoneB
7057
+ };
7058
+ const designName = rGeome.partName;
7059
+ rGeome.vol = {
7060
+ extrudes: [
7061
+ {
7062
+ outName: `subpax_${designName}_A`,
7063
+ face: `${designName}_faceStoneA`,
7064
+ extrudeMethod: EExtrude15.eLinearOrtho,
7065
+ length: param.T2,
7066
+ rotate: [0, 0, 0],
7067
+ translate: [0, 0, 0]
7068
+ },
7069
+ {
7070
+ outName: `subpax_${designName}_B`,
7071
+ face: `${designName}_faceStoneB`,
7072
+ extrudeMethod: EExtrude15.eLinearOrtho,
7073
+ length: param.T2,
7074
+ rotate: [0, 0, 0],
7075
+ translate: [0, 0, fsox]
7076
+ }
7077
+ ],
7078
+ volumes: [
7079
+ {
7080
+ outName: `pax_${designName}`,
7081
+ boolMethod: EBVolume15.eUnion,
7082
+ inList: [`subpax_${designName}_A`, `subpax_${designName}_B`]
7083
+ }
7084
+ ]
7085
+ };
7086
+ rGeome.sub = {};
7087
+ rGeome.logstr += "tunnel drawn successfully!\n";
7088
+ rGeome.calcErr = false;
7089
+ } catch (emsg) {
7090
+ rGeome.logstr += emsg;
7091
+ console.log(emsg);
7092
+ }
7093
+ return rGeome;
7094
+ }
7095
+ var tunnelDef = {
7096
+ pTitle: "tunnel",
7097
+ pDescription: "tunnel for the train-capsule",
7098
+ pDef: pDef19,
7099
+ pGeom: pGeom19
7100
+ };
7101
+
7102
+ // src/sysmix/square.ts
7103
+ import {
7104
+ contour as contour20,
7105
+ contourCircle as contourCircle17,
7106
+ ctrRectangle as ctrRectangle10,
7107
+ figure as figure17,
7108
+ ffix as ffix21,
7109
+ pNumber as pNumber20,
7110
+ pSectionSeparator as pSectionSeparator20,
7111
+ EExtrude as EExtrude16,
7112
+ EBVolume as EBVolume16,
7113
+ initGeom as initGeom20
7114
+ } from "geometrix";
7115
+ var pDef20 = {
6438
7116
  partName: "square",
6439
7117
  params: [
6440
7118
  //pNumber(name, unit, init, min, max, step)
6441
- pNumber19("W1", "mm", 100, 5, 500, 1),
6442
- pNumber19("Di", "mm", 50, 2, 500, 1),
6443
- pSectionSeparator19("Details and thickness"),
6444
- pNumber19("R1", "mm", 0, 0, 50, 1),
6445
- pNumber19("T1", "mm", 30, 1, 500, 1)
7119
+ pNumber20("W1", "mm", 100, 5, 500, 1),
7120
+ pNumber20("Di", "mm", 50, 2, 500, 1),
7121
+ pSectionSeparator20("Details and thickness"),
7122
+ pNumber20("R1", "mm", 0, 0, 50, 1),
7123
+ pNumber20("T1", "mm", 30, 1, 500, 1)
6446
7124
  ],
6447
7125
  paramSvg: {
6448
7126
  W1: "square_top.svg",
@@ -6457,9 +7135,10 @@ var pDef19 = {
6457
7135
  // every 0.5 second
6458
7136
  }
6459
7137
  };
6460
- function pGeom19(t, param, suffix = "") {
6461
- const rGeome = initGeom19(pDef19.partName + suffix);
6462
- const figSquare = figure16();
7138
+ function pGeom20(t, param, suffix = "") {
7139
+ const rGeome = initGeom20(pDef20.partName + suffix);
7140
+ const figSquare = figure17();
7141
+ const figHeight = figure17();
6463
7142
  rGeome.logstr += `${rGeome.partName} simTime: ${t}
6464
7143
  `;
6465
7144
  try {
@@ -6470,13 +7149,16 @@ function pGeom19(t, param, suffix = "") {
6470
7149
  if (param.W1 < param.Di) {
6471
7150
  throw `err069: W1 ${param.W1} is too small compare to Di ${param.Di}`;
6472
7151
  }
6473
- rGeome.logstr += `Surface ${ffix20(surface)} mm2, volume ${ffix20(volume)} mm3
7152
+ rGeome.logstr += `Surface ${ffix21(surface)} mm2, volume ${ffix21(volume)} mm3
6474
7153
  `;
6475
- const ctrSquare = contour19(-W12, -W12).addCornerRounded(param.R1).addSegStrokeR(param.W1, 0).addCornerRounded(param.R1).addSegStrokeR(0, param.W1).addCornerRounded(param.R1).addSegStrokeR(-param.W1, 0).addCornerRounded(param.R1).closeSegStroke();
6476
- const ctrHole = contourCircle16(0, 0, Ri);
7154
+ const ctrSquare = contour20(-W12, -W12).addCornerRounded(param.R1).addSegStrokeR(param.W1, 0).addCornerRounded(param.R1).addSegStrokeR(0, param.W1).addCornerRounded(param.R1).addSegStrokeR(-param.W1, 0).addCornerRounded(param.R1).closeSegStroke();
7155
+ const ctrHole = contourCircle17(0, 0, Ri);
6477
7156
  figSquare.addMainOI([ctrSquare, ctrHole]);
7157
+ figHeight.addMainO(ctrRectangle10(-W12, 0, 2 * W12, param.T1));
7158
+ figHeight.addSecond(ctrRectangle10(-Ri, 0, 2 * Ri, param.T1));
6478
7159
  rGeome.fig = {
6479
- faceSquare: figSquare
7160
+ faceSquare: figSquare,
7161
+ faceHeight: figHeight
6480
7162
  };
6481
7163
  const designName = rGeome.partName;
6482
7164
  rGeome.vol = {
@@ -6484,7 +7166,7 @@ function pGeom19(t, param, suffix = "") {
6484
7166
  {
6485
7167
  outName: `subpax_${designName}_square`,
6486
7168
  face: `${designName}_faceSquare`,
6487
- extrudeMethod: EExtrude15.eLinearOrtho,
7169
+ extrudeMethod: EExtrude16.eLinearOrtho,
6488
7170
  length: param.T1,
6489
7171
  rotate: [0, 0, 0],
6490
7172
  translate: [0, 0, 0]
@@ -6493,7 +7175,7 @@ function pGeom19(t, param, suffix = "") {
6493
7175
  volumes: [
6494
7176
  {
6495
7177
  outName: `pax_${designName}`,
6496
- boolMethod: EBVolume15.eUnion,
7178
+ boolMethod: EBVolume16.eUnion,
6497
7179
  inList: [`subpax_${designName}_square`]
6498
7180
  }
6499
7181
  ]
@@ -6510,33 +7192,34 @@ function pGeom19(t, param, suffix = "") {
6510
7192
  var squareDef = {
6511
7193
  pTitle: "square",
6512
7194
  pDescription: "simple square shape for experimenting systemix",
6513
- pDef: pDef19,
6514
- pGeom: pGeom19
7195
+ pDef: pDef20,
7196
+ pGeom: pGeom20
6515
7197
  };
6516
7198
 
6517
7199
  // src/sysmix/triangle.ts
6518
7200
  import {
6519
- contour as contour20,
6520
- contourCircle as contourCircle17,
6521
- figure as figure17,
6522
- ffix as ffix21,
6523
- pNumber as pNumber20,
6524
- pSectionSeparator as pSectionSeparator20,
6525
- EExtrude as EExtrude16,
6526
- EBVolume as EBVolume16,
6527
- initGeom as initGeom20
7201
+ contour as contour21,
7202
+ contourCircle as contourCircle18,
7203
+ ctrRectangle as ctrRectangle11,
7204
+ figure as figure18,
7205
+ ffix as ffix22,
7206
+ pNumber as pNumber21,
7207
+ pSectionSeparator as pSectionSeparator21,
7208
+ EExtrude as EExtrude17,
7209
+ EBVolume as EBVolume17,
7210
+ initGeom as initGeom21
6528
7211
  } from "geometrix";
6529
- var pDef20 = {
7212
+ var pDef21 = {
6530
7213
  partName: "triangle",
6531
7214
  params: [
6532
7215
  //pNumber(name, unit, init, min, max, step)
6533
- pNumber20("W1", "mm", 100, 5, 500, 1),
6534
- pNumber20("T1", "mm", 20, 1, 500, 1),
6535
- pNumber20("E1", "mm", 10, 1, 500, 1),
6536
- pNumber20("N1", "triangles", 3, 1, 20, 1),
6537
- pSectionSeparator20("Details and hole"),
6538
- pNumber20("R1", "mm", 0, 0, 50, 1),
6539
- pNumber20("Di", "mm", 50, 2, 500, 1)
7216
+ pNumber21("W1", "mm", 100, 5, 500, 1),
7217
+ pNumber21("T1", "mm", 20, 1, 500, 1),
7218
+ pNumber21("E1", "mm", 10, 1, 500, 1),
7219
+ pNumber21("N1", "triangles", 3, 1, 20, 1),
7220
+ pSectionSeparator21("Details and hole"),
7221
+ pNumber21("R1", "mm", 0, 0, 50, 1),
7222
+ pNumber21("Di", "mm", 50, 2, 500, 1)
6540
7223
  ],
6541
7224
  paramSvg: {
6542
7225
  W1: "triangle_top.svg",
@@ -6553,9 +7236,10 @@ var pDef20 = {
6553
7236
  // every 0.5 second
6554
7237
  }
6555
7238
  };
6556
- function pGeom20(t, param, suffix = "") {
6557
- const rGeome = initGeom20(pDef20.partName + suffix);
6558
- const figTriangle = figure17();
7239
+ function pGeom21(t, param, suffix = "") {
7240
+ const rGeome = initGeom21(pDef21.partName + suffix);
7241
+ const figTriangle = figure18();
7242
+ const figHeight = figure18();
6559
7243
  rGeome.logstr += `${rGeome.partName} simTime: ${t}
6560
7244
  `;
6561
7245
  try {
@@ -6569,13 +7253,19 @@ function pGeom20(t, param, suffix = "") {
6569
7253
  if (W12h < Ri) {
6570
7254
  throw `err077: W1 ${param.W1} is too small compare to Di ${param.Di}`;
6571
7255
  }
6572
- rGeome.logstr += `Surface ${ffix21(surface)} mm2, volume ${ffix21(volume)} mm3
7256
+ rGeome.logstr += `Surface ${ffix22(surface)} mm2, volume ${ffix22(volume)} mm3
6573
7257
  `;
6574
- const ctrTriangle = contour20(-W12, -W12h).addCornerRounded(param.R1).addSegStrokeR(param.W1, 0).addCornerRounded(param.R1).addSegStrokeRP(2 * Math.PI / 3, param.W1).addCornerRounded(param.R1).closeSegStroke();
6575
- const ctrHole = contourCircle17(0, 0, Ri);
7258
+ const ctrTriangle = contour21(-W12, -W12h).addCornerRounded(param.R1).addSegStrokeR(param.W1, 0).addCornerRounded(param.R1).addSegStrokeRP(2 * Math.PI / 3, param.W1).addCornerRounded(param.R1).closeSegStroke();
7259
+ const ctrHole = contourCircle18(0, 0, Ri);
6576
7260
  figTriangle.addMainOI([ctrTriangle, ctrHole]);
7261
+ for (let ii = 0; ii < param.N1; ii++) {
7262
+ const Zpos = ii * Zoffset;
7263
+ figHeight.addMainO(ctrRectangle11(-W12h, Zpos, W1h, param.T1));
7264
+ figHeight.addSecond(ctrRectangle11(-Ri, Zpos, 2 * Ri, param.T1));
7265
+ }
6577
7266
  rGeome.fig = {
6578
- faceTriangle: figTriangle
7267
+ faceTriangle: figTriangle,
7268
+ faceHeight: figHeight
6579
7269
  };
6580
7270
  const designName = rGeome.partName;
6581
7271
  const Vidx = [...Array(param.N1).keys()];
@@ -6583,7 +7273,7 @@ function pGeom20(t, param, suffix = "") {
6583
7273
  extrudes: Vidx.map((ii) => ({
6584
7274
  outName: `subpax_${designName}_tri${ii}`,
6585
7275
  face: `${designName}_faceTriangle`,
6586
- extrudeMethod: EExtrude16.eLinearOrtho,
7276
+ extrudeMethod: EExtrude17.eLinearOrtho,
6587
7277
  length: param.T1,
6588
7278
  rotate: [0, 0, 0],
6589
7279
  translate: [0, 0, ii * Zoffset]
@@ -6591,7 +7281,7 @@ function pGeom20(t, param, suffix = "") {
6591
7281
  volumes: [
6592
7282
  {
6593
7283
  outName: `pax_${designName}`,
6594
- boolMethod: EBVolume16.eUnion,
7284
+ boolMethod: EBVolume17.eUnion,
6595
7285
  inList: Vidx.map((ii) => `subpax_${designName}_tri${ii}`)
6596
7286
  }
6597
7287
  ]
@@ -6608,29 +7298,30 @@ function pGeom20(t, param, suffix = "") {
6608
7298
  var triangleDef = {
6609
7299
  pTitle: "triangle",
6610
7300
  pDescription: "triangle sandwich shape for experimenting systemix",
6611
- pDef: pDef20,
6612
- pGeom: pGeom20
7301
+ pDef: pDef21,
7302
+ pGeom: pGeom21
6613
7303
  };
6614
7304
 
6615
7305
  // src/sysmix/cylinder.ts
6616
7306
  import {
6617
- contourCircle as contourCircle18,
6618
- figure as figure18,
6619
- ffix as ffix22,
6620
- pNumber as pNumber21,
6621
- pSectionSeparator as pSectionSeparator21,
6622
- EExtrude as EExtrude17,
6623
- EBVolume as EBVolume17,
6624
- initGeom as initGeom21
7307
+ contourCircle as contourCircle19,
7308
+ ctrRectangle as ctrRectangle12,
7309
+ figure as figure19,
7310
+ ffix as ffix23,
7311
+ pNumber as pNumber22,
7312
+ pSectionSeparator as pSectionSeparator22,
7313
+ EExtrude as EExtrude18,
7314
+ EBVolume as EBVolume18,
7315
+ initGeom as initGeom22
6625
7316
  } from "geometrix";
6626
- var pDef21 = {
7317
+ var pDef22 = {
6627
7318
  partName: "cylinder",
6628
7319
  params: [
6629
7320
  //pNumber(name, unit, init, min, max, step)
6630
- pNumber21("D1", "mm", 100, 5, 500, 1),
6631
- pNumber21("Di", "mm", 50, 2, 500, 1),
6632
- pSectionSeparator21("Thickness"),
6633
- pNumber21("T1", "mm", 30, 1, 500, 1)
7321
+ pNumber22("D1", "mm", 100, 5, 500, 1),
7322
+ pNumber22("Di", "mm", 50, 2, 500, 1),
7323
+ pSectionSeparator22("Thickness"),
7324
+ pNumber22("T1", "mm", 30, 1, 500, 1)
6634
7325
  ],
6635
7326
  paramSvg: {
6636
7327
  D1: "cylinder_top.svg",
@@ -6644,9 +7335,10 @@ var pDef21 = {
6644
7335
  // every 0.5 second
6645
7336
  }
6646
7337
  };
6647
- function pGeom21(t, param, suffix = "") {
6648
- const rGeome = initGeom21(pDef21.partName + suffix);
6649
- const figCylinder = figure18();
7338
+ function pGeom22(t, param, suffix = "") {
7339
+ const rGeome = initGeom22(pDef22.partName + suffix);
7340
+ const figCylinder = figure19();
7341
+ const figHeight = figure19();
6650
7342
  rGeome.logstr += `${rGeome.partName} simTime: ${t}
6651
7343
  `;
6652
7344
  try {
@@ -6657,13 +7349,16 @@ function pGeom21(t, param, suffix = "") {
6657
7349
  if (R1 < Ri) {
6658
7350
  throw `err071: D1 ${param.D1} is too small compare to Di ${param.Di}`;
6659
7351
  }
6660
- rGeome.logstr += `Surface ${ffix22(surface)} mm2, volume ${ffix22(volume)} mm3
7352
+ rGeome.logstr += `Surface ${ffix23(surface)} mm2, volume ${ffix23(volume)} mm3
6661
7353
  `;
6662
- const ctrCylinder = contourCircle18(0, 0, R1);
6663
- const ctrHole = contourCircle18(0, 0, Ri);
7354
+ const ctrCylinder = contourCircle19(0, 0, R1);
7355
+ const ctrHole = contourCircle19(0, 0, Ri);
6664
7356
  figCylinder.addMainOI([ctrCylinder, ctrHole]);
7357
+ figHeight.addMainO(ctrRectangle12(-R1, 0, 2 * R1, param.T1));
7358
+ figHeight.addSecond(ctrRectangle12(-Ri, 0, 2 * Ri, param.T1));
6665
7359
  rGeome.fig = {
6666
- faceCylinder: figCylinder
7360
+ faceCylinder: figCylinder,
7361
+ faceHeight: figHeight
6667
7362
  };
6668
7363
  const designName = rGeome.partName;
6669
7364
  rGeome.vol = {
@@ -6671,7 +7366,7 @@ function pGeom21(t, param, suffix = "") {
6671
7366
  {
6672
7367
  outName: `subpax_${designName}_cyl`,
6673
7368
  face: `${designName}_faceCylinder`,
6674
- extrudeMethod: EExtrude17.eLinearOrtho,
7369
+ extrudeMethod: EExtrude18.eLinearOrtho,
6675
7370
  length: param.T1,
6676
7371
  rotate: [0, 0, 0],
6677
7372
  translate: [0, 0, 0]
@@ -6680,7 +7375,7 @@ function pGeom21(t, param, suffix = "") {
6680
7375
  volumes: [
6681
7376
  {
6682
7377
  outName: `pax_${designName}`,
6683
- boolMethod: EBVolume17.eIdentity,
7378
+ boolMethod: EBVolume18.eIdentity,
6684
7379
  inList: [`subpax_${designName}_cyl`]
6685
7380
  }
6686
7381
  ]
@@ -6697,8 +7392,8 @@ function pGeom21(t, param, suffix = "") {
6697
7392
  var cylinderDef = {
6698
7393
  pTitle: "cylinder",
6699
7394
  pDescription: "simple cylinder shape for experimenting systemix",
6700
- pDef: pDef21,
6701
- pGeom: pGeom21
7395
+ pDef: pDef22,
7396
+ pGeom: pGeom22
6702
7397
  };
6703
7398
  export {
6704
7399
  capsuleDef,
@@ -6721,6 +7416,7 @@ export {
6721
7416
  springWormDef,
6722
7417
  squareDef,
6723
7418
  stoneTowerDef,
6724
- triangleDef
7419
+ triangleDef,
7420
+ tunnelDef
6725
7421
  };
6726
7422
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="600" height="3000" viewBox="0 0 158.75 793.75"><defs><path id="a" d="M0 0h207.685v66.255H0z"/></defs><text xml:space="preserve" style="font-size:16px;line-height:normal;font-family:&quot;Liberation Mono&quot;;-inkscape-font-specification:&quot;Liberation Mono&quot;;text-decoration-color:#000;white-space:pre;shape-inside:url(#a);fill:#000;stroke-width:1;-inkscape-stroke:none;stop-color:#000" transform="translate(3.175 4.045)scale(.26458)"><tspan x="0" y="14.236">src_castle.svg</tspan></text><path d="M45.848 56.973h55.793v27.981H45.848z" style="fill:none;stroke:#4d4d4d;stroke-width:.264583;stroke-linejoin:round"/><path d="M45.848 60.007h55.793V81.92H45.848z" style="fill:none;stroke:#ccc;stroke-width:.264583;stroke-linejoin:round"/><path d="M101.641 49.556h38.263V92.37h-38.263z" style="fill:none;stroke:#4d4d4d;stroke-width:.264583;stroke-linejoin:round"/><path d="M-107.119 27.475h64.052v18.373h-64.052z" style="fill:none;stroke:#4d4d4d;stroke-width:.264583;stroke-linejoin:round" transform="rotate(-90)"/><path d="M43.202 104.151h20.564v20.564H43.202z" style="fill:none;stroke:#4d4d4d;stroke-width:.264583;stroke-linejoin:round"/><circle cx="22.183" cy="36.489" r="10.282" style="fill:none;stroke:#ccc;stroke-width:.264583;stroke-linejoin:round"/><path d="M101.641 53.096h34.414V88.83h-34.414z" style="fill:none;stroke:#ccc;stroke-width:.264583;stroke-linejoin:round"/><circle cx="22.156" cy="36.353" r="13.148" style="fill:none;stroke:#4d4d4d;stroke-width:.264582;stroke-linejoin:round"/></svg>
@@ -0,0 +1,11 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="600" height="3000" viewBox="0 0 158.75 793.75"><defs><path id="B" d="M31.854 183.477h63.07v44.595h-63.07z"/><path id="A" d="M203.226 1911.851h189.529v50.647H203.226z"/><path id="y" d="M378.102 1721.685h44.914v30.579h-44.914z"/><path id="x" d="M51.603 1546.172h508.383v142.704H51.603z"/><path id="w" d="M36.95 1444.241h449.772v181.565H36.95z"/><path id="v" d="M33.765 1470.361h403.266v111.487H33.765z"/><path id="u" d="M41.41 1342.309h640.894v176.469H41.41z"/><path id="t" d="M107.665 1268.409h431.934v147.801H107.665z"/><path id="s" d="M333.825 1286.247h96.198v46.506h-96.198z"/><path id="r" d="M367.909 1117.423h35.995v32.809h-35.995z"/><path id="q" d="M241.131 1036.515h25.801v22.616h-25.801z"/><path id="p" d="M240.494 1011.032h47.143v27.076h-47.143z"/><path id="o" d="M288.912 1050.212h34.402v25.483h-34.402z"/><path id="n" d="M287.956 1015.81h28.031v19.749h-28.031z"/><path id="l" d="M363.768 945.095h38.861v25.483h-38.861z"/><path id="k" d="M126.777 1114.556h34.083v19.112h-34.083z"/><path id="j" d="M40.543 573.007h62.166v42.345H40.543z"/><path id="i" d="M486.516 642.381h87.393v55.859h-87.393z"/><path id="h" d="M500.931 359.931h45.048v37.84h-45.048z"/><path id="g" d="M53.607 566.701h42.795v36.489H53.607z"/><path id="f" d="M246.411 618.506h42.345v22.524h-42.345z"/><path id="e" d="M53.156 432.008h40.543v36.939H53.156z"/><path id="b" d="M43.321 25.483h225.523v62.433H43.321z"/><path id="m" d="M363.768 945.095h38.861v25.483h-38.861z"/><marker id="a" markerHeight="1" markerWidth="1" orient="auto-start-reverse" preserveAspectRatio="xMidYMid" refX="0" refY="0" style="overflow:visible" viewBox="0 0 1 1"><path d="M3-3 0 0l3 3" style="fill:none;stroke:context-stroke;stroke-width:1;stroke-linecap:butt" transform="rotate(180 .125 0)"/></marker><marker id="c" markerHeight="1" markerWidth="1" orient="auto-start-reverse" preserveAspectRatio="xMidYMid" refX="0" refY="0" style="overflow:visible" viewBox="0 0 1 1"><path d="M3-3 0 0l3 3" style="fill:none;stroke:context-stroke;stroke-width:1;stroke-linecap:butt" transform="rotate(180 .125 0)"/></marker><marker id="d" markerHeight="1" markerWidth="1" orient="auto-start-reverse" preserveAspectRatio="xMidYMid" refX="0" refY="0" style="overflow:visible" viewBox="0 0 1 1"><path d="M3-3 0 0l3 3" style="fill:none;stroke:context-stroke;stroke-width:1;stroke-linecap:butt" transform="rotate(180 .125 0)"/></marker><marker id="z" markerHeight="1" markerWidth="1" orient="auto-start-reverse" preserveAspectRatio="xMidYMid" refX="0" refY="0" style="overflow:visible" viewBox="0 0 1 1"><path d="M3-3 0 0l3 3" style="fill:none;stroke:context-stroke;stroke-width:1;stroke-linecap:butt" transform="rotate(180 .125 0)"/></marker></defs><path d="M11.799 42.477h127.43V167.21H11.799z" style="fill:#fff;stroke:#fff;stroke-width:.264583;stroke-linejoin:round"/><path d="m29.3 141.07-1.48-6.43" style="fill:none;stroke:#338000;stroke-width:.264582;stroke-linejoin:round;marker-start:url(#a);marker-end:url(#a)"/><path d="m31.472 133.848-5.101 1.158M38.92 135.643l-5.101 1.158" style="fill:none;stroke:#71c837;stroke-width:.264583;stroke-linejoin:round"/><text xml:space="preserve" style="font-size:16px;line-height:normal;font-family:&quot;Liberation Mono&quot;;-inkscape-font-specification:&quot;Liberation Mono&quot;;text-decoration-color:#000;white-space:pre;shape-inside:url(#b);display:inline;fill:#000;stroke-width:1;-inkscape-stroke:none;stop-color:#000" transform="translate(-2.697 -1.348)scale(.26458)"><tspan x="43.32" y="39.719">src_tunnel.svg</tspan></text><path d="M224.183 131.138h48.545l10.45-43.15M213.9 55.287l-43.15-10.45M224.183 131.138l-10.45-43.15M171.424 49.893l43.15-10.45" style="fill:#fff;stroke:#786721;stroke-width:.264583;stroke-linejoin:round"/><path d="m167.365 76.376 34.723 8.41" style="fill:none;stroke:#786721;stroke-width:.264583;stroke-linejoin:round"/><path d="M184.572 8.615V-36.24" style="fill:#fff;stroke:#786721;stroke-width:.264583;stroke-linejoin:round"/><ellipse cx="248.455" cy="78.757" rx="35.996" ry="34.2" style="fill:#fff;stroke:#786721;stroke-width:.264584;stroke-linejoin:round"/><path d="m35.531 99.43 10.45 43.15h48.545l10.451-43.15s.747-3.153.964-4.756c.2-1.482.372-2.981.31-4.475-.138-3.297-.56-6.622-1.504-9.783a30.2 30.2 0 0 0-3.405-7.459 37.6 37.6 0 0 0-6.533-7.766 33.5 33.5 0 0 0-7.514-5.117c-3.247-1.614-6.76-2.726-10.309-3.472a28.3 28.3 0 0 0-6.732-.603 47.8 47.8 0 0 0-11.55 1.808c-2.18.625-4.273 1.571-6.257 2.67-2.362 1.307-4.634 2.828-6.648 4.626-2.215 1.977-4.23 4.22-5.881 6.686-1.665 2.488-2.98 5.231-3.971 8.056-.765 2.18-1.178 4.479-1.49 6.767a24 24 0 0 0-.2 3.587c.027 1.818.19 3.636.458 5.435.19 1.28.816 3.795.816 3.795z" style="fill:none;stroke:#786721;stroke-width:.264583;stroke-linejoin:round"/><path d="m29.56 99.096 12.227 48.247h56.796l12.226-48.247s.874-3.525 1.128-5.316c.235-1.657.435-3.334.362-5.005-.16-3.685-.654-7.403-1.76-10.938a33 33 0 0 0-3.983-8.34 42.5 42.5 0 0 0-7.643-8.682 39.4 39.4 0 0 0-8.79-5.722c-3.8-1.805-7.91-3.048-12.062-3.882a34.6 34.6 0 0 0-7.876-.675c-4.557.144-9.13.821-13.512 2.022-2.55.699-5 1.757-7.322 2.985-2.763 1.462-5.421 3.163-7.778 5.173-2.59 2.21-4.95 4.717-6.88 7.475-1.948 2.783-3.487 5.85-4.646 9.008-.895 2.437-1.378 5.008-1.744 7.566a25.6 25.6 0 0 0-.233 4.01c.03 2.033.222 4.067.536 6.077.223 1.431.954 4.244.954 4.244z" style="fill:none;stroke:#786721;stroke-width:.264583;stroke-linejoin:round"/><path d="m94.526 142.58 4.846 1.096M92.066 142.58v4.763M84.307 142.58v4.763M76.7 142.58v4.763M70.254 142.58v4.763M63.036 142.58v4.763M55.469 142.58v4.763M47.949 142.58v4.763M45.983 142.584l-5.1 1.158M44.021 134.485l-5.101 1.158M41.831 125.442l-5.29 1.201M39.648 116.43l-5.385 1.222M37.55 107.764l-5.386 1.222M35.057 97.4l-5.605 1.272M96.204 135.654l5.051 1.142M97.92 128.567l5.127 1.159M105.8 95.548l5.547 1.255M103.958 103.637l5.547 1.254M101.599 113.379l5.288 1.196M99.752 121.005l5.207 1.177M106.045 87.243l6.096-.91M71.513 55.987l.363-5.46M81.308 57.71l2.217-5.138M89.855 61.49l3.397-4.734M97.707 68.12l4.477-4.16M102.414 74.793l5.482-3.091M104.747 80.416l6.189-1.207M34.344 92.255l-6.046.249M34.456 86.612l-6.314-.373M35.43 81.518l-6.29-1.288M37.53 76l-5.783-2.793M41.385 69.772l-5.02-3.78M46.857 64.202l-3.919-4.592M52.447 60.476l-3.096-4.933M60.362 57.364l-1.688-5.315M66.489 56.271l-1.076-5.39" style="fill:none;stroke:#b3b3b3;stroke-width:.264583;stroke-linejoin:round"/><path d="M94.526 142.58v17.382M45.983 142.584v17.382" style="fill:none;stroke:#71c837;stroke-width:.264583;stroke-linejoin:round"/><path d="m45.983 158.378 48.543-.004" style="fill:none;stroke:#338000;stroke-width:.264583;stroke-linejoin:round;marker-start:url(#a);marker-end:url(#a)"/><path d="M94.526 142.58h33.721M70.254 55.999h58.87" style="fill:none;stroke:#71c837;stroke-width:.264583;stroke-linejoin:round"/><path d="M128.247 142.58 128.243 56" style="fill:none;stroke:#338000;stroke-width:.264583;stroke-linejoin:round;marker-start:url(#c);marker-end:url(#c)"/><path d="M108.343 142.58s.835-3.045.596-4.56c-.275-1.737-.985-3.56-2.265-4.767-1.073-1.011-4.1-1.657-4.1-1.657" style="fill:none;stroke:#338000;stroke-width:.264583;stroke-linejoin:round;marker-end:url(#a)"/><path d="m34.263 117.652-9.246 2.156" style="fill:none;stroke:#338000;stroke-width:.264584;stroke-linejoin:round;marker-start:url(#a)"/><path d="m39.648 116.43 9.246-2.157" style="fill:none;stroke:#338000;stroke-width:.264584;stroke-linejoin:round;marker-start:url(#d)"/><text xml:space="preserve" style="font-size:16px;line-height:normal;font-family:&quot;Liberation Mono&quot;;-inkscape-font-specification:&quot;Liberation Mono&quot;;text-decoration-color:#000;white-space:pre;shape-inside:url(#e);display:inline;fill:#000;stroke-width:1;-inkscape-stroke:none;stop-color:#000" transform="translate(4.172 2.98)scale(.26458)"><tspan x="53.156" y="446.244">T1</tspan></text><text xml:space="preserve" style="font-size:16px;line-height:normal;font-family:&quot;Liberation Mono&quot;;-inkscape-font-specification:&quot;Liberation Mono&quot;;text-decoration-color:#000;white-space:pre;shape-inside:url(#f);display:inline;fill:#000;stroke-width:1;-inkscape-stroke:none;stop-color:#000" transform="translate(4.29 -5.483)scale(.26458)"><tspan x="246.412" y="632.742">W1</tspan></text><text xml:space="preserve" style="font-size:16px;line-height:normal;font-family:&quot;Liberation Mono&quot;;-inkscape-font-specification:&quot;Liberation Mono&quot;;text-decoration-color:#000;white-space:pre;shape-inside:url(#g);display:inline;fill:#000;stroke-width:1;-inkscape-stroke:none;stop-color:#000" transform="translate(94.874 -17.878)scale(.26458)"><tspan x="53.607" y="580.938">a1</tspan></text><text xml:space="preserve" style="font-size:16px;line-height:normal;font-family:&quot;Liberation Mono&quot;;-inkscape-font-specification:&quot;Liberation Mono&quot;;text-decoration-color:#000;white-space:pre;shape-inside:url(#h);display:inline;fill:#000;stroke-width:1;-inkscape-stroke:none;stop-color:#000" transform="translate(-3.337 3.099)scale(.26458)"><tspan x="500.932" y="374.168">H1</tspan></text><path d="m107.747 158.76 7.628-8.344" style="fill:#fff;stroke:#338000;stroke-width:.264583;stroke-linejoin:round;marker-end:url(#a)"/><text xml:space="preserve" style="font-size:16px;line-height:normal;font-family:&quot;Liberation Mono&quot;;-inkscape-font-specification:&quot;Liberation Mono&quot;;text-decoration-color:#000;white-space:pre;shape-inside:url(#i);display:inline;fill:#000;stroke-width:1;-inkscape-stroke:none;stop-color:#000" transform="translate(-15.733 -15.256)scale(.26458)"><tspan x="486.516" y="656.617">T2</tspan></text><path d="m33.275 140.198-5.101 1.158" style="fill:none;stroke:#71c837;stroke-width:.264583;stroke-linejoin:round"/><path d="m31.472 133.848 2.347 2.953-.544 3.397" style="fill:#fff;stroke:#71c837;stroke-width:.264583;stroke-linejoin:round"/><text xml:space="preserve" style="font-size:16px;line-height:normal;font-family:&quot;Liberation Mono&quot;;-inkscape-font-specification:&quot;Liberation Mono&quot;;text-decoration-color:#000;white-space:pre;shape-inside:url(#j);display:inline;fill:#000;stroke-width:1;-inkscape-stroke:none;stop-color:#000" transform="translate(11.68 -15.375)scale(.26458)"><tspan x="40.543" y="587.244">E1</tspan></text><path d="m56.95 281.297 10.451 43.151h48.545l10.45-43.151s.748-3.152.965-4.755c.2-1.482.372-2.982.31-4.476-.138-3.296-.56-6.621-1.505-9.782a30.2 30.2 0 0 0-3.405-7.459 37.6 37.6 0 0 0-6.532-7.766 33.5 33.5 0 0 0-7.514-5.118c-3.247-1.614-6.76-2.726-10.31-3.471a28.3 28.3 0 0 0-6.731-.604 47.8 47.8 0 0 0-11.55 1.808c-2.18.625-4.273 1.572-6.257 2.67-2.362 1.308-4.634 2.829-6.649 4.627-2.214 1.976-4.23 4.219-5.88 6.685-1.665 2.489-2.98 5.232-3.972 8.057-.764 2.18-1.177 4.478-1.49 6.767a24 24 0 0 0-.199 3.586c.026 1.818.19 3.637.458 5.435.19 1.28.816 3.796.816 3.796z" style="fill:none;stroke:#786721;stroke-width:.264583;stroke-linejoin:round"/><path d="m91.674 272.888 34.723 8.409" style="fill:none;stroke:#faa;stroke-width:.264583;stroke-linejoin:round"/><path d="M91.674 237.866v35.022" style="fill:#fff;stroke:#faa;stroke-width:.264583;stroke-linejoin:round"/><path d="M91.674 281.344v43.151M115.946 281.297v43.151" style="fill:#fff;stroke:#f0f;stroke-width:.264583;stroke-linejoin:round"/><path d="M91.674 281.344v-8.456" style="fill:#fff;stroke:teal;stroke-width:.264583;stroke-linejoin:round"/><path d="M91.612 276.773s1.602.35 2.275 0c.913-.475 1.77-2.528 1.77-2.528" style="fill:#fff;stroke:teal;stroke-width:.264583;stroke-linejoin:round;marker-end:url(#a)"/><path d="M91.674 281.344h34.711" style="fill:#fff;stroke:#ccc;stroke-width:.264583;stroke-linejoin:round"/><text xml:space="preserve" style="font-size:16px;line-height:normal;font-family:&quot;Liberation Mono&quot;;-inkscape-font-specification:&quot;Liberation Mono&quot;;text-decoration-color:#000;white-space:pre;shape-inside:url(#k);display:inline;fill:#000;stroke-width:1;-inkscape-stroke:none;stop-color:#000" transform="translate(60.85 -19.384)scale(.26458)"><tspan x="126.777" y="1128.793">a1</tspan></text><text xml:space="preserve" style="font-size:16px;line-height:normal;font-family:&quot;Liberation Mono&quot;;-inkscape-font-specification:&quot;Liberation Mono&quot;;text-decoration-color:#000;white-space:pre;shape-inside:url(#l);display:inline;fill:#000;stroke-width:1;-inkscape-stroke:none;stop-color:#000" transform="translate(-3.455 1.517)scale(.26458)"><tspan x="363.768" y="959.332">R1</tspan></text><text xml:space="preserve" style="font-size:16px;line-height:normal;font-family:&quot;Liberation Mono&quot;;-inkscape-font-specification:&quot;Liberation Mono&quot;;text-decoration-color:#000;white-space:pre;shape-inside:url(#m);display:inline;fill:#000;stroke-width:1;-inkscape-stroke:none;stop-color:#000" transform="translate(11.905 22.213)scale(.26458)"><tspan x="363.768" y="959.332">R1</tspan></text><text xml:space="preserve" style="font-size:16px;line-height:normal;font-family:&quot;Liberation Mono&quot;;-inkscape-font-specification:&quot;Liberation Mono&quot;;text-decoration-color:#000;white-space:pre;shape-inside:url(#n);display:inline;fill:#000;stroke-width:1;-inkscape-stroke:none;stop-color:#000" transform="translate(35.903 12.895)scale(.26458)"><tspan x="287.957" y="1030.047">A</tspan></text><text xml:space="preserve" style="font-size:16px;line-height:normal;font-family:&quot;Liberation Mono&quot;;-inkscape-font-specification:&quot;Liberation Mono&quot;;text-decoration-color:#000;white-space:pre;shape-inside:url(#o);display:inline;fill:#000;stroke-width:1;-inkscape-stroke:none;stop-color:#000" transform="translate(11.883 2.444)scale(.26458)"><tspan x="288.912" y="1064.449">B</tspan></text><text xml:space="preserve" style="font-size:16px;line-height:normal;font-family:&quot;Liberation Mono&quot;;-inkscape-font-specification:&quot;Liberation Mono&quot;;text-decoration-color:#000;white-space:pre;shape-inside:url(#p);display:inline;fill:#000;stroke-width:1;-inkscape-stroke:none;stop-color:#000" transform="translate(23.935 1.854)scale(.26458)"><tspan x="240.494" y="1025.268">C</tspan></text><text xml:space="preserve" style="font-size:16px;line-height:normal;font-family:&quot;Liberation Mono&quot;;-inkscape-font-specification:&quot;Liberation Mono&quot;;text-decoration-color:#000;white-space:pre;shape-inside:url(#q);display:inline;fill:#000;stroke-width:1;-inkscape-stroke:none;stop-color:#000" transform="translate(64.22 5.647)scale(.26458)"><tspan x="241.131" y="1050.752">D</tspan></text><text xml:space="preserve" style="font-size:16px;line-height:normal;font-family:&quot;Liberation Mono&quot;;-inkscape-font-specification:&quot;Liberation Mono&quot;;text-decoration-color:#000;white-space:pre;shape-inside:url(#r);display:inline;fill:#000;stroke-width:1;-inkscape-stroke:none;stop-color:#000" transform="translate(-4.935 4.733)scale(.26458)"><tspan x="367.908" y="1131.66">H2</tspan></text><text xml:space="preserve" style="font-size:16px;line-height:normal;font-family:&quot;Liberation Mono&quot;;-inkscape-font-specification:&quot;Liberation Mono&quot;;text-decoration-color:#000;white-space:pre;shape-inside:url(#s);display:inline;fill:#000;stroke-width:1;-inkscape-stroke:none;stop-color:#000" transform="translate(10.811 -21.226)scale(.26458)"><tspan x="333.826" y="1300.483">W12</tspan></text><text xml:space="preserve" style="font-size:16px;line-height:normal;font-family:&quot;Liberation Mono&quot;;-inkscape-font-specification:&quot;Liberation Mono&quot;;text-decoration-color:#000;white-space:pre;shape-inside:url(#t);display:inline;fill:#000;stroke-width:1;-inkscape-stroke:none;stop-color:#000" transform="scale(.26458)"><tspan x="107.666" y="1282.645">H1=R1*(1+cos(a1))+H2
2
+ </tspan><tspan x="107.666" y="1302.645">BD=R1*sin(a1)=W12+H2/tan(a1)
3
+ </tspan><tspan x="107.666" y="1322.645">
4
+ </tspan></text><text xml:space="preserve" style="font-size:16px;line-height:normal;font-family:&quot;Liberation Mono&quot;;-inkscape-font-specification:&quot;Liberation Mono&quot;;text-decoration-color:#000;white-space:pre;shape-inside:url(#u);display:inline;fill:#000;stroke-width:1;-inkscape-stroke:none;stop-color:#000" transform="translate(-9.898 -2.36)scale(.26458)"><tspan x="41.41" y="1356.545">R1=W12/sin(a1)+H2*cos(a1)/sin2(a1)
5
+ </tspan><tspan x="41.41" y="1376.545">H1=W12/sin(a1)*(1+cos(a1))
6
+ </tspan><tspan x="41.41" y="1396.545"> +H2*cos(a1)*(1+cos(a1))/sin2(a1))
7
+ </tspan><tspan x="41.41" y="1416.545"> +H2</tspan></text><text xml:space="preserve" style="font-size:16px;line-height:normal;font-family:&quot;Liberation Mono&quot;;-inkscape-font-specification:&quot;Liberation Mono&quot;;text-decoration-color:#000;white-space:pre;shape-inside:url(#w);display:inline;fill:#000;stroke-width:1;-inkscape-stroke:none;stop-color:#000" transform="scale(.26458)"><tspan x="36.949" y="1458.477">1+cos*(1+cos)/sin2
8
+ </tspan><tspan x="36.949" y="1478.477">=(sin2+cos+cos2)/sin2
9
+ </tspan><tspan x="36.949" y="1498.477">=(1+cos)/sin2</tspan></text><text xml:space="preserve" style="font-size:16px;line-height:normal;font-family:&quot;Liberation Mono&quot;;-inkscape-font-specification:&quot;Liberation Mono&quot;;text-decoration-color:#000;white-space:pre;shape-inside:url(#x);display:inline;fill:#000;stroke-width:1;-inkscape-stroke:none;stop-color:#000" transform="scale(.26458)"><tspan x="51.604" y="1560.408">H2=(H1-A)*B
10
+ </tspan><tspan x="51.604" y="1580.408">A=W12*(1+cos(a1))/sin(a1)
11
+ </tspan><tspan x="51.604" y="1600.408">B=sin2(a1)/(1+cos(a1))</tspan></text><path d="M42.645 476.515h33.206l9.608-23.261" style="fill:#fff;stroke:#f0f;stroke-width:.264583;stroke-linejoin:round"/><path d="m75.851 476.515 23.261 9.608M75.851 476.515v15.507" style="fill:#fff;stroke:#ccc;stroke-width:.264583;stroke-linejoin:round"/><path d="M53.264 492.022h45.174" style="fill:#fff;stroke:purple;stroke-width:.264583;stroke-linejoin:round"/><circle cx="75.851" cy="476.515" r="15.507" style="fill:none;stroke:#ffd5d5;stroke-width:.264583;stroke-linejoin:round"/><path d="m85.38 494.065 14.499-35.1" style="fill:#fff;stroke:purple;stroke-width:.264582;stroke-linejoin:round"/><path d="M75.851 476.515h31.858" style="fill:none;stroke:#ccc;stroke-width:.264583;stroke-linejoin:round"/><path d="M82.93 476.43s.65-2.608.085-3.708c-.73-1.42-3.961-2.697-3.961-2.697" style="fill:none;stroke:#d4aa00;stroke-width:.264583;stroke-linejoin:round;stroke-dasharray:none;marker-end:url(#a)"/><text xml:space="preserve" style="font-size:16px;line-height:normal;font-family:&quot;Liberation Mono&quot;;-inkscape-font-specification:&quot;Liberation Mono&quot;;text-decoration-color:#000;white-space:pre;shape-inside:url(#y);display:inline;fill:#000;stroke-width:1;-inkscape-stroke:none;stop-color:#000" transform="translate(-16.687 12.726)scale(.26458)"><tspan x="378.102" y="1735.922">a1</tspan></text><path d="M75.945 483.556s2.609.65 3.708.084c1.42-.73 2.697-3.96 2.697-3.96" style="fill:none;stroke:#d4aa00;stroke-width:.264583;stroke-linejoin:round;stroke-dasharray:none;marker-end:url(#z)"/><path d="m75.851 476.515 14.075 21.07" style="fill:none;stroke:#f60;stroke-width:.264583;stroke-linejoin:round;stroke-dasharray:none"/><text xml:space="preserve" style="font-size:16px;line-height:normal;font-family:&quot;Liberation Mono&quot;;-inkscape-font-specification:&quot;Liberation Mono&quot;;text-decoration-color:#000;white-space:pre;shape-inside:url(#A);display:inline;fill:#000;stroke-width:1;-inkscape-stroke:none;stop-color:#000" transform="scale(.26458)"><tspan x="203.227" y="1926.088">dx=T1*tan(a1/2)</tspan></text><path d="m27.444 99.625 2.603 9.89" style="fill:none;stroke:#338000;stroke-width:.264583;stroke-linejoin:round;stroke-dasharray:none;marker-start:url(#a);marker-end:url(#a)"/><text xml:space="preserve" style="font-size:16px;line-height:normal;font-family:&quot;Liberation Mono&quot;;-inkscape-font-specification:&quot;Liberation Mono&quot;;text-decoration-color:#000;white-space:pre;shape-inside:url(#B);display:inline;fill:#000;stroke-width:1;-inkscape-stroke:none;stop-color:#000" transform="translate(6.017 54.12)scale(.26458)"><tspan x="31.854" y="197.713">T3Max</tspan></text></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="482.626" height="472.433" viewBox="0 0 127.695 124.998"><defs><path id="j" d="M31.854 183.477h63.07v44.595h-63.07z"/><path id="i" d="M40.543 573.007h62.166v42.345H40.543z"/><path id="h" d="M486.516 642.381h87.393v55.859h-87.393z"/><path id="g" d="M500.931 359.931h45.048v37.84h-45.048z"/><path id="f" d="M53.607 566.701h42.795v36.489H53.607z"/><path id="e" d="M246.411 618.506h42.345v22.524h-42.345z"/><path id="d" d="M53.156 432.008h40.543v36.939H53.156z"/><marker id="a" markerHeight="1" markerWidth="1" orient="auto-start-reverse" preserveAspectRatio="xMidYMid" refX="0" refY="0" style="overflow:visible" viewBox="0 0 1 1"><path d="M3-3 0 0l3 3" style="fill:none;stroke:context-stroke;stroke-width:1;stroke-linecap:butt" transform="rotate(180 .125 0)"/></marker><marker id="b" markerHeight="1" markerWidth="1" orient="auto-start-reverse" preserveAspectRatio="xMidYMid" refX="0" refY="0" style="overflow:visible" viewBox="0 0 1 1"><path d="M3-3 0 0l3 3" style="fill:none;stroke:context-stroke;stroke-width:1;stroke-linecap:butt" transform="rotate(180 .125 0)"/></marker><marker id="c" markerHeight="1" markerWidth="1" orient="auto-start-reverse" preserveAspectRatio="xMidYMid" refX="0" refY="0" style="overflow:visible" viewBox="0 0 1 1"><path d="M3-3 0 0l3 3" style="fill:none;stroke:context-stroke;stroke-width:1;stroke-linecap:butt" transform="rotate(180 .125 0)"/></marker></defs><path d="M11.799 42.477h127.43V167.21H11.799z" style="fill:#fff;stroke:#fff;stroke-width:.264583;stroke-linejoin:round" transform="translate(-11.667 -42.344)"/><path d="m29.3 141.07-1.48-6.43" style="fill:none;stroke:#338000;stroke-width:.264582;stroke-linejoin:round;marker-start:url(#a);marker-end:url(#a)" transform="translate(-11.667 -42.344)"/><path d="m31.472 133.848-5.101 1.158M38.92 135.643l-5.101 1.158" style="fill:none;stroke:#71c837;stroke-width:.264583;stroke-linejoin:round" transform="translate(-11.667 -42.344)"/><path d="m35.531 99.43 10.45 43.15h48.545l10.451-43.15s.747-3.153.964-4.756c.2-1.482.372-2.981.31-4.475-.138-3.297-.56-6.622-1.504-9.783a30.2 30.2 0 0 0-3.405-7.459 37.6 37.6 0 0 0-6.533-7.766 33.5 33.5 0 0 0-7.514-5.117c-3.247-1.614-6.76-2.726-10.309-3.472a28.3 28.3 0 0 0-6.732-.603 47.8 47.8 0 0 0-11.55 1.808c-2.18.625-4.273 1.571-6.257 2.67-2.362 1.307-4.634 2.828-6.648 4.626-2.215 1.977-4.23 4.22-5.881 6.686-1.665 2.488-2.98 5.231-3.971 8.056-.765 2.18-1.178 4.479-1.49 6.767a24 24 0 0 0-.2 3.587c.027 1.818.19 3.636.458 5.435.19 1.28.816 3.795.816 3.795z" style="fill:none;stroke:#786721;stroke-width:.264583;stroke-linejoin:round" transform="translate(-11.667 -42.344)"/><path d="m29.56 99.096 12.227 48.247h56.796l12.226-48.247s.874-3.525 1.128-5.316c.235-1.657.435-3.334.362-5.005-.16-3.685-.654-7.403-1.76-10.938a33 33 0 0 0-3.983-8.34 42.5 42.5 0 0 0-7.643-8.682 39.4 39.4 0 0 0-8.79-5.722c-3.8-1.805-7.91-3.048-12.062-3.882a34.6 34.6 0 0 0-7.876-.675c-4.557.144-9.13.821-13.512 2.022-2.55.699-5 1.757-7.322 2.985-2.763 1.462-5.421 3.163-7.778 5.173-2.59 2.21-4.95 4.717-6.88 7.475-1.948 2.783-3.487 5.85-4.646 9.008-.895 2.437-1.378 5.008-1.744 7.566a25.6 25.6 0 0 0-.233 4.01c.03 2.033.222 4.067.536 6.077.223 1.431.954 4.244.954 4.244z" style="fill:none;stroke:#786721;stroke-width:.264583;stroke-linejoin:round" transform="translate(-11.667 -42.344)"/><path d="m94.526 142.58 4.846 1.096M92.066 142.58v4.763M84.307 142.58v4.763M76.7 142.58v4.763M70.254 142.58v4.763M63.036 142.58v4.763M55.469 142.58v4.763M47.949 142.58v4.763M45.983 142.584l-5.1 1.158M44.021 134.485l-5.101 1.158M41.831 125.442l-5.29 1.201M39.648 116.43l-5.385 1.222M37.55 107.764l-5.386 1.222M35.057 97.4l-5.605 1.272M96.204 135.654l5.051 1.142M97.92 128.567l5.127 1.159M105.8 95.548l5.547 1.255M103.958 103.637l5.547 1.254M101.599 113.379l5.288 1.196M99.752 121.005l5.207 1.177M106.045 87.243l6.096-.91M71.513 55.987l.363-5.46M81.308 57.71l2.217-5.138M89.855 61.49l3.397-4.734M97.707 68.12l4.477-4.16M102.414 74.793l5.482-3.091M104.747 80.416l6.189-1.207M34.344 92.255l-6.046.249M34.456 86.612l-6.314-.373M35.43 81.518l-6.29-1.288M37.53 76l-5.783-2.793M41.385 69.772l-5.02-3.78M46.857 64.202l-3.919-4.592M52.447 60.476l-3.096-4.933M60.362 57.364l-1.688-5.315M66.489 56.271l-1.076-5.39" style="fill:none;stroke:#b3b3b3;stroke-width:.264583;stroke-linejoin:round" transform="translate(-11.667 -42.344)"/><path d="M94.526 142.58v17.382M45.983 142.584v17.382" style="fill:none;stroke:#71c837;stroke-width:.264583;stroke-linejoin:round" transform="translate(-11.667 -42.344)"/><path d="m45.983 158.378 48.543-.004" style="fill:none;stroke:#338000;stroke-width:.264583;stroke-linejoin:round;marker-start:url(#a);marker-end:url(#a)" transform="translate(-11.667 -42.344)"/><path d="M94.526 142.58h33.721M70.254 55.999h58.87" style="fill:none;stroke:#71c837;stroke-width:.264583;stroke-linejoin:round" transform="translate(-11.667 -42.344)"/><path d="M128.247 142.58 128.243 56" style="fill:none;stroke:#338000;stroke-width:.264583;stroke-linejoin:round;marker-start:url(#b);marker-end:url(#b)" transform="translate(-11.667 -42.344)"/><path d="M108.343 142.58s.835-3.045.596-4.56c-.275-1.737-.985-3.56-2.265-4.767-1.073-1.011-4.1-1.657-4.1-1.657" style="fill:none;stroke:#338000;stroke-width:.264583;stroke-linejoin:round;marker-end:url(#a)" transform="translate(-11.667 -42.344)"/><path d="m34.263 117.652-9.246 2.156" style="fill:none;stroke:#338000;stroke-width:.264584;stroke-linejoin:round;marker-start:url(#a)" transform="translate(-11.667 -42.344)"/><path d="m39.648 116.43 9.246-2.157" style="fill:none;stroke:#338000;stroke-width:.264584;stroke-linejoin:round;marker-start:url(#c)" transform="translate(-11.667 -42.344)"/><text xml:space="preserve" style="font-size:16px;line-height:normal;font-family:&quot;Liberation Mono&quot;;-inkscape-font-specification:&quot;Liberation Mono&quot;;text-decoration-color:#000;white-space:pre;shape-inside:url(#d);display:inline;fill:#000;stroke-width:1;-inkscape-stroke:none;stop-color:#000" transform="translate(-7.495 -39.365)scale(.26458)"><tspan x="53.156" y="446.244">T1</tspan></text><text xml:space="preserve" style="font-size:16px;line-height:normal;font-family:&quot;Liberation Mono&quot;;-inkscape-font-specification:&quot;Liberation Mono&quot;;text-decoration-color:#000;white-space:pre;shape-inside:url(#e);display:inline;fill:#000;stroke-width:1;-inkscape-stroke:none;stop-color:#000" transform="translate(-7.376 -47.827)scale(.26458)"><tspan x="246.412" y="632.742">W1</tspan></text><text xml:space="preserve" style="font-size:16px;line-height:normal;font-family:&quot;Liberation Mono&quot;;-inkscape-font-specification:&quot;Liberation Mono&quot;;text-decoration-color:#000;white-space:pre;shape-inside:url(#f);display:inline;fill:#000;stroke-width:1;-inkscape-stroke:none;stop-color:#000" transform="translate(83.208 -60.223)scale(.26458)"><tspan x="53.607" y="580.938">a1</tspan></text><text xml:space="preserve" style="font-size:16px;line-height:normal;font-family:&quot;Liberation Mono&quot;;-inkscape-font-specification:&quot;Liberation Mono&quot;;text-decoration-color:#000;white-space:pre;shape-inside:url(#g);display:inline;fill:#000;stroke-width:1;-inkscape-stroke:none;stop-color:#000" transform="translate(-15.004 -39.246)scale(.26458)"><tspan x="500.932" y="374.168">H1</tspan></text><path d="m107.747 158.76 7.628-8.344" style="fill:#fff;stroke:#338000;stroke-width:.264583;stroke-linejoin:round;marker-end:url(#a)" transform="translate(-11.667 -42.344)"/><text xml:space="preserve" style="font-size:16px;line-height:normal;font-family:&quot;Liberation Mono&quot;;-inkscape-font-specification:&quot;Liberation Mono&quot;;text-decoration-color:#000;white-space:pre;shape-inside:url(#h);display:inline;fill:#000;stroke-width:1;-inkscape-stroke:none;stop-color:#000" transform="translate(-27.4 -57.6)scale(.26458)"><tspan x="486.516" y="656.617">T2</tspan></text><path d="m33.275 140.198-5.101 1.158" style="fill:none;stroke:#71c837;stroke-width:.264583;stroke-linejoin:round" transform="translate(-11.667 -42.344)"/><path d="m31.472 133.848 2.347 2.953-.544 3.397" style="fill:#fff;stroke:#71c837;stroke-width:.264583;stroke-linejoin:round" transform="translate(-11.667 -42.344)"/><text xml:space="preserve" style="font-size:16px;line-height:normal;font-family:&quot;Liberation Mono&quot;;-inkscape-font-specification:&quot;Liberation Mono&quot;;text-decoration-color:#000;white-space:pre;shape-inside:url(#i);display:inline;fill:#000;stroke-width:1;-inkscape-stroke:none;stop-color:#000" transform="translate(.014 -57.72)scale(.26458)"><tspan x="40.543" y="587.244">E1</tspan></text><path d="m27.444 99.625 2.603 9.89" style="fill:none;stroke:#338000;stroke-width:.264583;stroke-linejoin:round;stroke-dasharray:none;marker-start:url(#a);marker-end:url(#a)" transform="translate(-11.667 -42.344)"/><text xml:space="preserve" style="font-size:16px;line-height:normal;font-family:&quot;Liberation Mono&quot;;-inkscape-font-specification:&quot;Liberation Mono&quot;;text-decoration-color:#000;white-space:pre;shape-inside:url(#j);display:inline;fill:#000;stroke-width:1;-inkscape-stroke:none;stop-color:#000" transform="translate(-5.65 11.775)scale(.26458)"><tspan x="31.854" y="197.713">T3Max</tspan></text></svg>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "desi77",
3
- "version": "0.1.20",
3
+ "version": "0.1.21",
4
4
  "description": "A collection of 3D-designs",
5
5
  "private": false,
6
6
  "repository": {
@@ -67,16 +67,16 @@
67
67
  "devDependencies": {
68
68
  "@eslint/js": "^9.30.0",
69
69
  "@types/eslint__js": "^8.42.3",
70
- "esbuild": "^0.25.6",
71
- "eslint": "^9.31.0",
72
- "eslint-config-prettier": "^10.1.5",
70
+ "esbuild": "^0.25.8",
71
+ "eslint": "^9.32.0",
72
+ "eslint-config-prettier": "^10.1.8",
73
73
  "npm-run-all2": "^8.0.4",
74
74
  "prettier": "^3.6.2",
75
75
  "rimraf": "^6.0.1",
76
76
  "svgo": "^4.0.0",
77
77
  "tsup": "^8.5.0",
78
78
  "typescript": "^5.8.3",
79
- "typescript-eslint": "^8.37.0",
79
+ "typescript-eslint": "^8.38.0",
80
80
  "vitest": "^3.2.4"
81
81
  }
82
82
  }