lzy 3 months ago
parent
commit
98324cacc0
70 changed files with 26429 additions and 1646894 deletions
  1. 271 62
      data/brep/face100003.brep
  2. 270 61
      data/brep/face100005.brep
  3. 60 164
      data/brep/face100008.brep
  4. 267 58
      data/brep/face100009.brep
  5. 268 59
      data/brep/face100011.brep
  6. 274 65
      data/brep/face100012.brep
  7. 60 269
      data/brep/face100013.brep
  8. 33 33
      data/brep/face100015.brep
  9. 89 63
      data/brep/face100017.brep
  10. 60 60
      data/brep/face100025.brep
  11. 268 59
      data/brep/face100027.brep
  12. 50 50
      data/brep/face100030.brep
  13. 55 55
      data/brep/face100031.brep
  14. 36 36
      data/brep/face100032.brep
  15. 50 50
      data/brep/face100036.brep
  16. 52 52
      data/brep/face100037.brep
  17. 36 36
      data/brep/face100039.brep
  18. 1973 66
      data/brep/face100041.brep
  19. 33 33
      data/brep/face100042.brep
  20. 36 36
      data/brep/face100043.brep
  21. 53 53
      data/brep/face100044.brep
  22. 59 268
      data/brep/face100045.brep
  23. 36 36
      data/brep/face100049.brep
  24. 55 264
      data/brep/face100052.brep
  25. 50 50
      data/brep/face100055.brep
  26. 268 59
      data/brep/face100057.brep
  27. 1896 0
      data/brep/face100150.brep
  28. 2038 0
      data/brep/face100325.brep
  29. 1079 0
      data/brep/face100551.brep
  30. 760 0
      data/brep/face100582.brep
  31. 200 0
      data/brep/face101671.brep
  32. 1882 0
      data/brep/face101935.brep
  33. 1882 0
      data/brep/face102185.brep
  34. 1213 0
      data/brep/face102196.brep
  35. 1871 0
      data/brep/face102562.brep
  36. 1882 0
      data/brep/face102942.brep
  37. 1882 0
      data/brep/face103151.brep
  38. 784 0
      data/brep/face103440.brep
  39. 801 0
      data/brep/face103461.brep
  40. 470 0
      data/brep/face103634.brep
  41. 362 0
      data/brep/face103874.brep
  42. 801 0
      data/brep/face103974.brep
  43. 543 0
      data/brep/face104135.brep
  44. 1152 1152
      data/guass/guass.txt
  45. 24 6
      data/preFiles.txt
  46. BIN
      data/solid.zip
  47. 1 1
      data/work1/proj.db.json
  48. BIN
      data/work1/proj1/PlanePlate.ply
  49. 0 1
      data/work2/mat.db.json
  50. 0 1
      data/work2/proj.db.json
  51. BIN
      data/work2/proj1/solid.ply
  52. 0 449830
      data/work2/proj1/solid.stp
  53. 0 1
      data/work3/mat.db.json
  54. 0 1
      data/work3/proj.db.json
  55. 0 1192050
      data/work3/proj1/FN_MK-17_CQC_Variant_STEP.step
  56. 0 1
      data/work4/mat.db.json
  57. 0 1
      data/work4/proj.db.json
  58. BIN
      data/work4/proj1/PlanePlate.ply
  59. 0 1684
      data/work4/proj1/PlanePlate.stp
  60. BIN
      hyper图标.zip
  61. BIN
      js.zip
  62. 5 3
      js/boundary_force_pane.js
  63. 5 7
      js/boundary_load_pane.js
  64. 58 1
      js/mainfrm_pane.js
  65. 1 1
      js/physics_material_pane.js
  66. 4 3
      js/solve_setup_pane.js
  67. 69 51
      js/tree_pane.js
  68. BIN
      kul.zip
  69. 1 1
      viewProp.db.json
  70. 1 1
      workArea.cfg.json

File diff suppressed because it is too large
+ 271 - 62
data/brep/face100003.brep


File diff suppressed because it is too large
+ 270 - 61
data/brep/face100005.brep


File diff suppressed because it is too large
+ 60 - 164
data/brep/face100008.brep


File diff suppressed because it is too large
+ 267 - 58
data/brep/face100009.brep


File diff suppressed because it is too large
+ 268 - 59
data/brep/face100011.brep


File diff suppressed because it is too large
+ 274 - 65
data/brep/face100012.brep


File diff suppressed because it is too large
+ 60 - 269
data/brep/face100013.brep


+ 33 - 33
data/brep/face100015.brep

@@ -4,61 +4,61 @@ CASCADE Topology V1, (c) Matra-Datavision
 Locations 0
 Curve2ds 0
 Curves 4
-7 0 0  1 2 2  656 399 0.90000000000000002  100 399 0.90000000000000002 
+7 0 0  1 2 2  656 171 0.90000000000000002  100 171 0.90000000000000002 
  0 2 556 2
-7 0 0  1 2 2  100 399 0.90000000000000002  100 303.800000001 0.90000000000000002 
- -399 2 -303.800000001 2
-7 0 0  1 2 2  100 303.800000001 0.90000000000000002  656 303.800000001 0.90000000000000002 
+7 0 0  1 2 2  100 171 0.90000000000000002  100 75.800000000699995 0.90000000000000002 
+ -171 2 -75.800000000699995 2
+7 0 0  1 2 2  100 75.800000000699995 0.90000000000000002  656 75.800000000699995 0.90000000000000002 
  0 2 556 2
-7 0 0  1 2 2  656 399 0.90000000000000002  656 303.800000001 0.90000000000000002 
- -399 2 -303.800000001 2
+7 0 0  1 2 2  656 171 0.90000000000000002  656 75.800000000699995 0.90000000000000002 
+ -171 2 -75.800000000699995 2
 Polygon3D 0
 PolygonOnTriangulations 8
 2 4 3 
-p 6.560000002001 1 0 556 
+p 16.4000000050025 1 0 556 
 2 1 2 
-p 6.560000002001 1 0 556 
+p 16.4000000050025 1 0 556 
 2 2 3 
-p 3.80800000796 1 -399 -303.800000001 
-2 8 7 
-p 3.80800000796 1 -399 -303.800000001 
+p 9.52000001993 1 -171 -75.8000000007 
+2 2 8 
+p 9.52000001993 1 -171 -75.8000000007 
 2 1 2 
-p 6.560000002001 1 0 556 
+p 16.4000000050025 1 0 556 
 2 3 4 
-p 6.560000002001 1 0 556 
+p 16.4000000050025 1 0 556 
 2 1 4 
-p 3.80800000796 1 -399 -303.800000001 
+p 9.52000001993 1 -171 -75.8000000007 
 2 1 2 
-p 3.80800000796 1 -399 -303.800000001 
+p 9.52000001993 1 -171 -75.8000000007 
 Surfaces 5
 1 44.339999999900002 -45.659999999999997 0.90000000000000002 0 0 1 1 0 -0 -0 1 0 
-1 44.340000000000003 399 34.289999999999999 0 -1 0 0 -0 -1 1 0 0 
+1 44.340000000000003 171 34.289999999999999 0 -1 0 0 -0 -1 1 0 0 
 1 100 -45.659999999999997 -4.1699999999599999 1 0 0 -0 0 1 0 -1 0 
-1 44.340000000000003 303.80000000000001 0.21999999996799999 0 1 0 0 -0 1 1 0 -0 
+1 44.340000000000003 75.799999999999997 0.21999999996799999 0 1 0 0 -0 1 1 0 -0 
 1 656 -45.660000000502698 -4.1699999999999999 -1 0 0 0 0 -1 -0 -1 -0 
 Triangulations 5
-4 2 1 5.560000002
-656 399 0.9 100 399 0.9 100 303.800000001 0.9 656 303.800000001 0.9 611.6600000001 444.66 55.6600000001 444.66 55.6600000001 349.460000001 611.6600000001 349.460000001 1 2 3 1 3 4 
-4 2 1 5.560000002
-656 399 31.2 100 399 31.1999999996 100 399 0.9 656 399 0.9 3.09 611.66 3.0900000004 55.66 33.39 55.66 33.39 611.66 4 1 2 4 2 3 
-8 6 1 1.42700000798645
-100 303.8 31.1999999996 100 399 31.1999999996 100 303.8 29.2000000009 100 286.6 29.1999999994 100 286.599999999 1.10000000073 100 303.8 1.10000000032 100 303.800000001 0.9 100 399 0.9 35.36999999956 -349.46 35.36999999956 -444.66 33.37000000086 -349.46 33.36999999936 -332.26 5.27000000069 -332.259999999 5.27000000028 -349.46 5.06999999996 -349.460000001 5.06999999996 -444.66 6 7 8 3 8 2 3 6 8 1 3 2 4 5 6 4 6 3 
-4 2 1 5.560000002
-100 303.800000001 0.9 656 303.800000001 0.9 100 303.8 1.10000000032 656 303.8 1.09999999925 0.680000000032 55.66 0.680000000032 611.66 0.880000000352 55.66 0.879999999282 611.66 4 2 1 4 1 3 
-8 6 1 1.4270000079851
-656 399 0.9 656 303.800000001 0.9 656 303.8 1.09999999925 656 286.599999999 1.10000000073 656 286.6 29.1999999994 656 303.8 29.2000000009 656 303.8 31.2 656 399 31.2 -5.07 -444.660000000503 -5.07 -349.460000001503 -5.26999999925 -349.460000000503 -5.27000000073 -332.259999999503 -33.3699999994 -332.260000000503 -33.3700000009 -349.460000000503 -35.37 -349.460000000503 -35.37 -444.660000000503 6 7 8 6 8 1 3 5 6 3 6 1 2 3 1 4 5 3 
+4 2 1 13.900000005
+656 171 0.9 100 171 0.9 100 75.8000000007 0.9 656 75.8000000007 0.9 611.6600000001 216.66 55.6600000001 216.66 55.6600000001 121.4600000007 611.6600000001 121.4600000007 1 2 3 1 3 4 
+4 2 1 13.900000005
+656 171 31.2 100 171 31.1999999996 100 171 0.9 656 171 0.9 3.09 611.66 3.0900000004 55.66 33.39 55.66 33.39 611.66 4 1 2 4 2 3 
+8 6 1 3.56750001996113
+100 171 31.1999999996 100 171 0.9 100 75.7999999999999 31.1999999996 100 75.7999999996 29.2000000009 100 58.6000000004 29.1999999994 100 58.5999999991 1.10000000073 100 75.8000000002 1.10000000032 100 75.8000000007 0.9 35.36999999956 -216.66 5.06999999996 -216.66 35.36999999956 -121.46 33.37000000086 -121.4599999996 33.36999999936 -104.2600000004 5.27000000069 -104.2599999991 5.27000000028 -121.4600000002 5.06999999996 -121.4600000007 7 8 2 4 2 1 4 7 2 3 4 1 5 6 7 5 7 4 
+4 2 1 13.900000005
+100 75.8000000007 0.9 656 75.8000000007 0.9 100 75.8000000002 1.10000000032 656 75.8 1.09999999925 0.680000000032 55.66 0.680000000032 611.66 0.880000000352 55.66 0.879999999282 611.66 4 2 1 4 1 3 
+8 6 1 3.56750001995525
+656 171 0.9 656 75.8000000007 0.9 656 75.8 1.09999999925 656 58.5999999991 1.10000000073 656 58.6000000004 29.1999999994 656 75.7999999996 29.2000000009 656 75.8 31.2 656 171 31.2 -5.07 -216.660000000503 -5.07 -121.460000001203 -5.26999999925 -121.460000000503 -5.27000000073 -104.259999999603 -33.3699999994 -104.260000000903 -33.3700000009 -121.460000000103 -35.37 -121.460000000503 -35.37 -216.660000000503 6 7 8 6 8 1 3 5 6 3 6 1 2 3 1 4 5 3 
 
 TShapes 10
 Ve
 1e-07
-656 399 0.9
+656 171 0.9
 0 0
 
 0101101
 *
 Ve
 1e-07
-100 399 0.9
+100 171 0.9
 0 0
 
 0101101
@@ -75,14 +75,14 @@ Ed
 +10 0 -9 0 *
 Ve
 1e-07
-100 303.800000001 0.9
+100 75.8000000007 0.9
 0 0
 
 0101101
 *
 Ed
  1e-07 1 1 0
-1  2 0 -399 -303.800000001
+1  2 0 -171 -75.8000000007
 4 C0 1 0 3 0
 6  3 1 0
 6  4 3 0
@@ -92,7 +92,7 @@ Ed
 +9 0 -7 0 *
 Ve
 1e-07
-656 303.800000001 0.9
+656 75.8000000007 0.9
 0 0
 
 0101101
@@ -109,7 +109,7 @@ Ed
 +7 0 -5 0 *
 Ed
  1e-07 1 1 0
-1  4 0 -399 -303.800000001
+1  4 0 -171 -75.8000000007
 4 C0 1 0 5 0
 6  7 1 0
 6  8 5 0

File diff suppressed because it is too large
+ 89 - 63
data/brep/face100017.brep


File diff suppressed because it is too large
+ 60 - 60
data/brep/face100025.brep


File diff suppressed because it is too large
+ 268 - 59
data/brep/face100027.brep


File diff suppressed because it is too large
+ 50 - 50
data/brep/face100030.brep


File diff suppressed because it is too large
+ 55 - 55
data/brep/face100031.brep


+ 36 - 36
data/brep/face100032.brep

@@ -4,61 +4,61 @@ CASCADE Topology V1, (c) Matra-Datavision
 Locations 0
 Curve2ds 0
 Curves 4
-7 0 0  1 2 2  656 171 0.90000000000000002  100 171 0.90000000000000002 
+7 0 0  1 2 2  656 57 0.90000000000000002  100 57 0.90000000000000002 
  0 2 556 2
-7 0 0  1 2 2  100 171 0.90000000000000002  100 75.800000000699995 0.90000000000000002 
- -171 2 -75.800000000699995 2
-7 0 0  1 2 2  100 75.800000000699995 0.90000000000000002  656 75.800000000699995 0.90000000000000002 
- 0 2 556 2
-7 0 0  1 2 2  656 171 0.90000000000000002  656 75.800000000699995 0.90000000000000002 
- -171 2 -75.800000000699995 2
+7 0 0  1 2 2  100 57 0.90000000000000002  100 0 0.90000000000299896 
+ -57 2 0 2
+7 0 0  1 2 2  100 0 0.90000000000299896  656 -2.5627350708883799e-11 0.90000000000299996 
+ -556 2 0 2
+7 0 0  1 2 2  656 57 0.90000000000000002  656 -2.5627350708883799e-11 0.90000000000299996 
+ -57 2 0 2
 Polygon3D 0
 PolygonOnTriangulations 8
 2 4 3 
-p 6.560000002001 1 0 556 
+p 16.4000000050025 1 0 556 
 2 1 2 
-p 6.560000002001 1 0 556 
+p 16.4000000050025 1 0 556 
 2 2 3 
-p 3.808000007972 1 -171 -75.8000000007 
-2 2 8 
-p 3.808000007972 1 -171 -75.8000000007 
-2 1 2 
-p 6.560000002001 1 0 556 
+p 5.70000002 1 -57 0 
+2 2 4 
+p 5.70000002 1 -57 0 
+2 3 1 
+p 16.4000000050025 1 -556 0 
 2 3 4 
-p 6.560000002001 1 0 556 
+p 16.4000000050025 1 -556 0 
 2 1 4 
-p 3.808000007972 1 -171 -75.8000000007 
+p 5.70000002000256 1 -57 0 
 2 1 2 
-p 3.808000007972 1 -171 -75.8000000007 
+p 5.70000002000256 1 -57 0 
 Surfaces 5
 1 44.339999999900002 -45.659999999999997 0.90000000000000002 0 0 1 1 0 -0 -0 1 0 
-1 44.340000000000003 171 34.289999999999999 0 -1 0 0 -0 -1 1 0 0 
+1 44.340000000000003 57 34.289999999999999 0 -1 0 0 -0 -1 1 0 0 
 1 100 -45.659999999999997 -4.1699999999599999 1 0 0 -0 0 1 0 -1 0 
-1 44.340000000000003 75.799999999999997 0.21999999996799999 0 1 0 0 -0 1 1 0 -0 
+1 44.339999999900002 0 -1.1400000000003001 0 -1 0 0 -0 -1 1 0 0 
 1 656 -45.660000000502698 -4.1699999999999999 -1 0 0 0 0 -1 -0 -1 -0 
 Triangulations 5
-4 2 1 5.560000002
-656 171 0.9 100 171 0.9 100 75.8000000007 0.9 656 75.8000000007 0.9 611.6600000001 216.66 55.6600000001 216.66 55.6600000001 121.4600000007 611.6600000001 121.4600000007 1 2 3 1 3 4 
-4 2 1 5.560000002
-656 171 31.2 100 171 31.1999999996 100 171 0.9 656 171 0.9 3.09 611.66 3.0900000004 55.66 33.39 55.66 33.39 611.66 4 1 2 4 2 3 
-8 6 1 1.42700000798445
-100 171 31.1999999996 100 171 0.9 100 75.7999999999999 31.1999999996 100 75.7999999996 29.2000000009 100 58.6000000004 29.1999999994 100 58.5999999991 1.10000000073 100 75.8000000002 1.10000000032 100 75.8000000007 0.9 35.36999999956 -216.66 5.06999999996 -216.66 35.36999999956 -121.46 33.37000000086 -121.4599999996 33.36999999936 -104.2600000004 5.27000000069 -104.2599999991 5.27000000028 -121.4600000002 5.06999999996 -121.4600000007 7 8 2 4 2 1 4 7 2 3 4 1 5 6 7 5 7 4 
-4 2 1 5.560000002
-100 75.8000000007 0.9 656 75.8000000007 0.9 100 75.8000000002 1.10000000032 656 75.8 1.09999999925 0.680000000032 55.66 0.680000000032 611.66 0.880000000352 55.66 0.879999999282 611.66 4 2 1 4 1 3 
-8 6 1 1.4270000079821
-656 171 0.9 656 75.8000000007 0.9 656 75.8 1.09999999925 656 58.5999999991 1.10000000073 656 58.6000000004 29.1999999994 656 75.7999999996 29.2000000009 656 75.8 31.2 656 171 31.2 -5.07 -216.660000000503 -5.07 -121.460000001203 -5.26999999925 -121.460000000503 -5.27000000073 -104.259999999603 -33.3699999994 -104.260000000903 -33.3700000009 -121.460000000103 -35.37 -121.460000000503 -35.37 -216.660000000503 6 7 8 6 8 1 3 5 6 3 6 1 2 3 1 4 5 3 
+4 2 1 13.900000005
+656 57 0.9 100 57 0.9 100 0 0.900000000002999 656 -2.56273507088838e-11 0.900000000003 611.6600000001 102.66 55.6600000001 102.66 55.6600000001 45.66 611.6600000001 45.6599999999744 1 2 3 1 3 4 
+4 2 1 13.900000005
+656 57 31.2 100 57 31.1999999996 100 57 0.9 656 57 0.9 3.09 611.66 3.0900000004 55.66 33.39 55.66 33.39 611.66 4 1 2 4 2 3 
+4 2 1 4.36500001997993
+100 57 31.1999999996 100 57 0.9 100 0 31.1999999996 100 0 0.900000000002999 35.36999999956 -102.66 5.06999999996 -102.66 35.36999999956 -45.66 5.069999999963 -45.66 4 2 1 3 4 1 
+4 2 1 13.900000005
+656 -2.56273507088838e-11 0.900000000003 656 0 -0.9 100 0 0.900000000002999 100 0 -0.9 -2.0400000000033 611.6600000001 -0.2400000000003 611.6600000001 -2.0400000000033 55.6600000001 -0.2400000000003 55.6600000001 2 1 3 2 3 4 
+4 2 1 4.36500002001199
+656 57 0.9 656 -2.56273507088838e-11 0.900000000003 656 -4.57021087641e-10 31.2 656 57 31.2 -5.07 -102.660000000503 -5.070000000003 -45.6600000004771 -35.37 -45.6600000000457 -35.37 -102.660000000503 2 3 4 2 4 1 
 
 TShapes 10
 Ve
 1e-07
-656 171 0.9
+656 57 0.9
 0 0
 
 0101101
 *
 Ve
 1e-07
-100 171 0.9
+100 57 0.9
 0 0
 
 0101101
@@ -75,14 +75,14 @@ Ed
 +10 0 -9 0 *
 Ve
 1e-07
-100 75.8000000007 0.9
+100 0 0.900000000002999
 0 0
 
 0101101
 *
 Ed
  1e-07 1 1 0
-1  2 0 -171 -75.8000000007
+1  2 0 -57 0
 4 C0 1 0 3 0
 6  3 1 0
 6  4 3 0
@@ -92,14 +92,14 @@ Ed
 +9 0 -7 0 *
 Ve
 1e-07
-656 75.8000000007 0.9
+656 -2.56273507088838e-11 0.900000000003
 0 0
 
 0101101
 *
 Ed
  1e-07 1 1 0
-1  3 0 0 556
+1  3 0 -556 0
 4 C0 4 0 1 0
 6  5 4 0
 6  6 1 0
@@ -109,7 +109,7 @@ Ed
 +7 0 -5 0 *
 Ed
  1e-07 1 1 0
-1  4 0 -171 -75.8000000007
+1  4 0 -57 0
 4 C0 1 0 5 0
 6  7 1 0
 6  8 5 0

File diff suppressed because it is too large
+ 50 - 50
data/brep/face100036.brep


+ 52 - 52
data/brep/face100037.brep

@@ -4,69 +4,69 @@ CASCADE Topology V1, (c) Matra-Datavision
 Locations 0
 Curve2ds 0
 Curves 4
-7 0 0  1 2 2  656 171 0.90000000000000002  100 171 0.90000000000000002 
- 0 2 556 2
-7 0 0  1 2 2  100 171 0.90000000000000002  100 75.800000000699995 0.90000000000000002 
- -171 2 -75.800000000699995 2
-7 0 0  1 2 2  100 75.800000000699995 0.90000000000000002  656 75.800000000699995 0.90000000000000002 
- 0 2 556 2
-7 0 0  1 2 2  656 171 0.90000000000000002  656 75.800000000699995 0.90000000000000002 
- -171 2 -75.800000000699995 2
+7 0 0  1 2 2  656 0 -0.90000000000000002  656 456 -0.90000000000000002 
+ 0 2 456 2
+7 0 0  1 2 2  656 0 -0.90000000000000002  100 0 -0.90000000000000002 
+ 0 2 556.00000000099999 2
+7 0 0  1 2 2  100 0 -0.90000000000000002  100 456 -0.90000000000000002 
+ 0 2 456 2
+7 0 0  1 2 2  656 456 -0.90000000000000002  100 456 -0.90000000000000002 
+ -556.00000000099999 2 0 2
 Polygon3D 0
 PolygonOnTriangulations 8
-2 4 3 
-p 6.560000002001 1 0 556 
 2 1 2 
-p 6.560000002001 1 0 556 
-2 2 3 
-p 3.808000007972 1 -171 -75.8000000007 
-2 2 8 
-p 3.808000007972 1 -171 -75.8000000007 
+p 16.4000000050025 1 0 456 
 2 1 2 
-p 6.560000002001 1 0 556 
+p 16.4000000050025 1 0 456 
+2 2 4 
+p 16.4000000050025 1 0 556.000000001 
+2 1 3 
+p 16.4000000050025 1 0 556.000000001 
+2 4 3 
+p 16.4000000050025 1 0 456 
 2 3 4 
-p 6.560000002001 1 0 556 
-2 1 4 
-p 3.808000007972 1 -171 -75.8000000007 
-2 1 2 
-p 3.808000007972 1 -171 -75.8000000007 
+p 16.4000000050025 1 0 456 
+2 2 4 
+p 16.4000000050025 1 -556.000000001 0 
+2 1 3 
+p 16.4000000050025 1 -556.000000001 0 
 Surfaces 5
-1 44.339999999900002 -45.659999999999997 0.90000000000000002 0 0 1 1 0 -0 -0 1 0 
-1 44.340000000000003 171 34.289999999999999 0 -1 0 0 -0 -1 1 0 0 
-1 100 -45.659999999999997 -4.1699999999599999 1 0 0 -0 0 1 0 -1 0 
-1 44.340000000000003 75.799999999999997 0.21999999996799999 0 1 0 0 -0 1 1 0 -0 
-1 656 -45.660000000502698 -4.1699999999999999 -1 0 0 0 0 -1 -0 -1 -0 
+1 44.339999999900002 501.66000000004601 -0.90000000000000002 0 0 -1 -1 0 -0 0 1 0 
+1 711.05999999999995 -45.659999999999997 -0.90000000000000002 0 0 -1 -1 0 -0 0 1 0 
+1 44.339999999900002 0 -1.1400000000003001 0 -1 0 0 -0 -1 1 0 0 
+1 105.06000000001001 -45.659999999999997 -0.90000000000000002 0 0 -1 -1 0 -0 0 1 0 
+1 44.339999999900002 456 1.1400000000003001 0 1 0 0 -0 1 1 0 -0 
 Triangulations 5
-4 2 1 5.560000002
-656 171 0.9 100 171 0.9 100 75.8000000007 0.9 656 75.8000000007 0.9 611.6600000001 216.66 55.6600000001 216.66 55.6600000001 121.4600000007 611.6600000001 121.4600000007 1 2 3 1 3 4 
-4 2 1 5.560000002
-656 171 31.2 100 171 31.1999999996 100 171 0.9 656 171 0.9 3.09 611.66 3.0900000004 55.66 33.39 55.66 33.39 611.66 4 1 2 4 2 3 
-8 6 1 1.42700000798445
-100 171 31.1999999996 100 171 0.9 100 75.7999999999999 31.1999999996 100 75.7999999996 29.2000000009 100 58.6000000004 29.1999999994 100 58.5999999991 1.10000000073 100 75.8000000002 1.10000000032 100 75.8000000007 0.9 35.36999999956 -216.66 5.06999999996 -216.66 35.36999999956 -121.46 33.37000000086 -121.4599999996 33.36999999936 -104.2600000004 5.27000000069 -104.2599999991 5.27000000028 -121.4600000002 5.06999999996 -121.4600000007 7 8 2 4 2 1 4 7 2 3 4 1 5 6 7 5 7 4 
-4 2 1 5.560000002
-100 75.8000000007 0.9 656 75.8000000007 0.9 100 75.8000000002 1.10000000032 656 75.8 1.09999999925 0.680000000032 55.66 0.680000000032 611.66 0.880000000352 55.66 0.879999999282 611.66 4 2 1 4 1 3 
-8 6 1 1.4270000079821
-656 171 0.9 656 75.8000000007 0.9 656 75.8 1.09999999925 656 58.5999999991 1.10000000073 656 58.6000000004 29.1999999994 656 75.7999999996 29.2000000009 656 75.8 31.2 656 171 31.2 -5.07 -216.660000000503 -5.07 -121.460000001203 -5.26999999925 -121.460000000503 -5.27000000073 -104.259999999603 -33.3699999994 -104.260000000903 -33.3700000009 -121.460000000103 -35.37 -121.460000000503 -35.37 -216.660000000503 6 7 8 6 8 1 3 5 6 3 6 1 2 3 1 4 5 3 
+4 2 1 16.4000000050025
+656 0 -0.9 656 456 -0.9 100 0 -0.9 100 456 -0.9 -611.6600000001 -501.660000000046 -611.6600000001 -45.660000000046 -55.6600000001 -501.660000000046 -55.6600000001 -45.660000000046 4 2 1 4 1 3 
+4 2 1 11.400000005
+656 0 -0.9 656 456 -0.9 706 456 -0.9 706 0 -0.9 55.0599999999999 45.66 55.0599999999999 501.66 5.05999999999995 501.66 5.05999999999995 45.66 2 3 4 2 4 1 
+4 2 1 13.900000005
+656 -2.56273507088838e-11 0.900000000003 656 0 -0.9 100 0 0.900000000002999 100 0 -0.9 -2.0400000000033 611.6600000001 -0.2400000000003 611.6600000001 -2.0400000000033 55.6600000001 -0.2400000000003 55.6600000001 2 1 3 2 3 4 
+4 2 1 11.400000005
+49.9999999999 456 -0.9 49.9999999999 0 -0.9 100 456 -0.9 100 0 -0.9 55.06000000011 501.66 55.06000000011 45.66 5.06000000001001 501.66 5.06000000001001 45.66 1 3 4 1 4 2 
+4 2 1 13.900000005
+656 456 -0.9 656 456 0.9 100 456 -0.9 100 456 0.900000000000001 -2.0400000000003 611.6600000001 -0.2400000000003 611.6600000001 -2.0400000000003 55.6600000001 -0.240000000000299 55.6600000001 2 1 3 2 3 4 
 
 TShapes 10
 Ve
 1e-07
-656 171 0.9
+656 0 -0.9
 0 0
 
 0101101
 *
 Ve
 1e-07
-100 171 0.9
+656 456 -0.9
 0 0
 
 0101101
 *
 Ed
  1e-07 1 1 0
-1  1 0 0 556
-4 C0 2 0 1 0
+1  1 0 0 456
+4 CN 2 0 1 0
 6  1 2 0
 6  2 1 0
 0
@@ -75,32 +75,32 @@ Ed
 +10 0 -9 0 *
 Ve
 1e-07
-100 75.8000000007 0.9
+100 0 -0.9
 0 0
 
 0101101
 *
 Ed
  1e-07 1 1 0
-1  2 0 -171 -75.8000000007
-4 C0 1 0 3 0
-6  3 1 0
-6  4 3 0
+1  2 0 0 556.000000001
+4 C0 3 0 1 0
+6  3 3 0
+6  4 1 0
 0
 
 0101000
-+9 0 -7 0 *
++10 0 -7 0 *
 Ve
 1e-07
-656 75.8000000007 0.9
+100 456 -0.9
 0 0
 
 0101101
 *
 Ed
  1e-07 1 1 0
-1  3 0 0 556
-4 C0 4 0 1 0
+1  3 0 0 456
+4 CN 4 0 1 0
 6  5 4 0
 6  6 1 0
 0
@@ -109,18 +109,18 @@ Ed
 +7 0 -5 0 *
 Ed
  1e-07 1 1 0
-1  4 0 -171 -75.8000000007
+1  4 0 -556.000000001 0
 4 C0 1 0 5 0
 6  7 1 0
 6  8 5 0
 0
 
 0101000
-+10 0 -5 0 *
++9 0 -5 0 *
 Wi
 
 0101100
-+8 0 +6 0 +4 0 -3 0 *
+-8 0 +6 0 +4 0 -3 0 *
 Fa
 0  1e-07 1 0
 2  1

+ 36 - 36
data/brep/face100039.brep

@@ -4,61 +4,61 @@ CASCADE Topology V1, (c) Matra-Datavision
 Locations 0
 Curve2ds 0
 Curves 4
-7 0 0  1 2 2  656 285 0.90000000000000002  100 285 0.90000000000000002 
+7 0 0  1 2 2  656 57 0.90000000000000002  100 57 0.90000000000000002 
  0 2 556 2
-7 0 0  1 2 2  100 285 0.90000000000000002  100 189.800000001 0.90000000000000002 
- -285 2 -189.800000001 2
-7 0 0  1 2 2  100 189.800000001 0.90000000000000002  656 189.800000001 0.90000000000000002 
- 0 2 556 2
-7 0 0  1 2 2  656 285 0.90000000000000002  656 189.800000001 0.90000000000000002 
- -285 2 -189.800000001 2
+7 0 0  1 2 2  100 57 0.90000000000000002  100 0 0.90000000000299896 
+ -57 2 0 2
+7 0 0  1 2 2  100 0 0.90000000000299896  656 -2.5627350708883799e-11 0.90000000000299996 
+ -556 2 0 2
+7 0 0  1 2 2  656 57 0.90000000000000002  656 -2.5627350708883799e-11 0.90000000000299996 
+ -57 2 0 2
 Polygon3D 0
 PolygonOnTriangulations 8
 2 4 3 
-p 6.560000002001 1 0 556 
+p 16.4000000050025 1 0 556 
 2 1 2 
-p 6.560000002001 1 0 556 
+p 16.4000000050025 1 0 556 
 2 2 3 
-p 3.80800000796 1 -285 -189.800000001 
-2 2 8 
-p 3.80800000796 1 -285 -189.800000001 
-2 1 2 
-p 6.560000002001 1 0 556 
+p 5.70000002 1 -57 0 
+2 2 4 
+p 5.70000002 1 -57 0 
+2 3 1 
+p 16.4000000050025 1 -556 0 
 2 3 4 
-p 6.560000002001 1 0 556 
+p 16.4000000050025 1 -556 0 
 2 1 4 
-p 3.80800000796 1 -285 -189.800000001 
+p 5.70000002000256 1 -57 0 
 2 1 2 
-p 3.80800000796 1 -285 -189.800000001 
+p 5.70000002000256 1 -57 0 
 Surfaces 5
 1 44.339999999900002 -45.659999999999997 0.90000000000000002 0 0 1 1 0 -0 -0 1 0 
-1 44.340000000000003 285 34.289999999999999 0 -1 0 0 -0 -1 1 0 0 
+1 44.340000000000003 57 34.289999999999999 0 -1 0 0 -0 -1 1 0 0 
 1 100 -45.659999999999997 -4.1699999999599999 1 0 0 -0 0 1 0 -1 0 
-1 44.340000000000003 189.80000000000001 0.21999999996799999 0 1 0 0 -0 1 1 0 -0 
+1 44.339999999900002 0 -1.1400000000003001 0 -1 0 0 -0 -1 1 0 0 
 1 656 -45.660000000502698 -4.1699999999999999 -1 0 0 0 0 -1 -0 -1 -0 
 Triangulations 5
-4 2 1 5.560000002
-656 285 0.9 100 285 0.9 100 189.800000001 0.9 656 189.800000001 0.9 611.6600000001 330.66 55.6600000001 330.66 55.6600000001 235.460000001 611.6600000001 235.460000001 4 2 3 1 2 4 
-4 2 1 5.560000002
-656 285 31.2 100 285 31.1999999996 100 285 0.9 656 285 0.9 3.09 611.66 3.0900000004 55.66 33.39 55.66 33.39 611.66 4 1 2 4 2 3 
-8 6 1 1.42700000798645
-100 285 31.1999999996 100 285 0.9 100 189.8 31.1999999996 100 189.8 29.2000000009 100 172.6 29.1999999994 100 172.599999999 1.10000000073 100 189.8 1.10000000032 100 189.800000001 0.9 35.36999999956 -330.66 5.06999999996 -330.66 35.36999999956 -235.46 33.37000000086 -235.46 33.36999999936 -218.26 5.27000000069 -218.259999999 5.27000000028 -235.46 5.06999999996 -235.460000001 7 8 2 4 2 1 4 7 2 3 4 1 5 6 7 5 7 4 
-4 2 1 5.560000002
-100 189.800000001 0.9 656 189.800000001 0.9 100 189.8 1.10000000032 656 189.8 1.09999999925 0.680000000032 55.66 0.680000000032 611.66 0.880000000352 55.66 0.879999999282 611.66 4 2 1 4 1 3 
-8 6 1 1.4270000079851
-656 285 0.9 656 189.800000001 0.9 656 189.8 1.09999999925 656 172.599999999 1.10000000073 656 172.6 29.1999999994 656 189.8 29.2000000009 656 189.8 31.2 656 285 31.2 -5.07 -330.660000000503 -5.07 -235.460000001503 -5.26999999925 -235.460000000503 -5.27000000073 -218.259999999503 -33.3699999994 -218.260000000503 -33.3700000009 -235.460000000503 -35.37 -235.460000000503 -35.37 -330.660000000503 6 7 8 6 8 1 3 5 6 3 6 1 2 3 1 4 5 3 
+4 2 1 13.900000005
+656 57 0.9 100 57 0.9 100 0 0.900000000002999 656 -2.56273507088838e-11 0.900000000003 611.6600000001 102.66 55.6600000001 102.66 55.6600000001 45.66 611.6600000001 45.6599999999744 1 2 3 1 3 4 
+4 2 1 13.900000005
+656 57 31.2 100 57 31.1999999996 100 57 0.9 656 57 0.9 3.09 611.66 3.0900000004 55.66 33.39 55.66 33.39 611.66 4 1 2 4 2 3 
+4 2 1 4.36500001997993
+100 57 31.1999999996 100 57 0.9 100 0 31.1999999996 100 0 0.900000000002999 35.36999999956 -102.66 5.06999999996 -102.66 35.36999999956 -45.66 5.069999999963 -45.66 4 2 1 3 4 1 
+4 2 1 13.900000005
+656 -2.56273507088838e-11 0.900000000003 656 0 -0.9 100 0 0.900000000002999 100 0 -0.9 -2.0400000000033 611.6600000001 -0.2400000000003 611.6600000001 -2.0400000000033 55.6600000001 -0.2400000000003 55.6600000001 2 1 3 2 3 4 
+4 2 1 4.36500002001199
+656 57 0.9 656 -2.56273507088838e-11 0.900000000003 656 -4.57021087641e-10 31.2 656 57 31.2 -5.07 -102.660000000503 -5.070000000003 -45.6600000004771 -35.37 -45.6600000000457 -35.37 -102.660000000503 2 3 4 2 4 1 
 
 TShapes 10
 Ve
 1e-07
-656 285 0.9
+656 57 0.9
 0 0
 
 0101101
 *
 Ve
 1e-07
-100 285 0.9
+100 57 0.9
 0 0
 
 0101101
@@ -75,14 +75,14 @@ Ed
 +10 0 -9 0 *
 Ve
 1e-07
-100 189.800000001 0.9
+100 0 0.900000000002999
 0 0
 
 0101101
 *
 Ed
  1e-07 1 1 0
-1  2 0 -285 -189.800000001
+1  2 0 -57 0
 4 C0 1 0 3 0
 6  3 1 0
 6  4 3 0
@@ -92,14 +92,14 @@ Ed
 +9 0 -7 0 *
 Ve
 1e-07
-656 189.800000001 0.9
+656 -2.56273507088838e-11 0.900000000003
 0 0
 
 0101101
 *
 Ed
  1e-07 1 1 0
-1  3 0 0 556
+1  3 0 -556 0
 4 C0 4 0 1 0
 6  5 4 0
 6  6 1 0
@@ -109,7 +109,7 @@ Ed
 +7 0 -5 0 *
 Ed
  1e-07 1 1 0
-1  4 0 -285 -189.800000001
+1  4 0 -57 0
 4 C0 1 0 5 0
 6  7 1 0
 6  8 5 0

File diff suppressed because it is too large
+ 1973 - 66
data/brep/face100041.brep


+ 33 - 33
data/brep/face100042.brep

@@ -4,61 +4,61 @@ CASCADE Topology V1, (c) Matra-Datavision
 Locations 0
 Curve2ds 0
 Curves 4
-7 0 0  1 2 2  656 399 0.90000000000000002  100 399 0.90000000000000002 
+7 0 0  1 2 2  656 285 0.90000000000000002  100 285 0.90000000000000002 
  0 2 556 2
-7 0 0  1 2 2  100 399 0.90000000000000002  100 303.800000001 0.90000000000000002 
- -399 2 -303.800000001 2
-7 0 0  1 2 2  100 303.800000001 0.90000000000000002  656 303.800000001 0.90000000000000002 
+7 0 0  1 2 2  100 285 0.90000000000000002  100 189.800000001 0.90000000000000002 
+ -285 2 -189.800000001 2
+7 0 0  1 2 2  100 189.800000001 0.90000000000000002  656 189.800000001 0.90000000000000002 
  0 2 556 2
-7 0 0  1 2 2  656 399 0.90000000000000002  656 303.800000001 0.90000000000000002 
- -399 2 -303.800000001 2
+7 0 0  1 2 2  656 285 0.90000000000000002  656 189.800000001 0.90000000000000002 
+ -285 2 -189.800000001 2
 Polygon3D 0
 PolygonOnTriangulations 8
 2 4 3 
-p 6.560000002001 1 0 556 
+p 16.4000000050025 1 0 556 
 2 1 2 
-p 6.560000002001 1 0 556 
+p 16.4000000050025 1 0 556 
 2 2 3 
-p 3.80800000796 1 -399 -303.800000001 
-2 8 7 
-p 3.80800000796 1 -399 -303.800000001 
+p 9.5200000199 1 -285 -189.800000001 
+2 2 8 
+p 9.5200000199 1 -285 -189.800000001 
 2 1 2 
-p 6.560000002001 1 0 556 
+p 16.4000000050025 1 0 556 
 2 3 4 
-p 6.560000002001 1 0 556 
+p 16.4000000050025 1 0 556 
 2 1 4 
-p 3.80800000796 1 -399 -303.800000001 
+p 9.5200000199 1 -285 -189.800000001 
 2 1 2 
-p 3.80800000796 1 -399 -303.800000001 
+p 9.5200000199 1 -285 -189.800000001 
 Surfaces 5
 1 44.339999999900002 -45.659999999999997 0.90000000000000002 0 0 1 1 0 -0 -0 1 0 
-1 44.340000000000003 399 34.289999999999999 0 -1 0 0 -0 -1 1 0 0 
+1 44.340000000000003 285 34.289999999999999 0 -1 0 0 -0 -1 1 0 0 
 1 100 -45.659999999999997 -4.1699999999599999 1 0 0 -0 0 1 0 -1 0 
-1 44.340000000000003 303.80000000000001 0.21999999996799999 0 1 0 0 -0 1 1 0 -0 
+1 44.340000000000003 189.80000000000001 0.21999999996799999 0 1 0 0 -0 1 1 0 -0 
 1 656 -45.660000000502698 -4.1699999999999999 -1 0 0 0 0 -1 -0 -1 -0 
 Triangulations 5
-4 2 1 5.560000002
-656 399 0.9 100 399 0.9 100 303.800000001 0.9 656 303.800000001 0.9 611.6600000001 444.66 55.6600000001 444.66 55.6600000001 349.460000001 611.6600000001 349.460000001 1 2 3 1 3 4 
-4 2 1 5.560000002
-656 399 31.2 100 399 31.1999999996 100 399 0.9 656 399 0.9 3.09 611.66 3.0900000004 55.66 33.39 55.66 33.39 611.66 4 1 2 4 2 3 
-8 6 1 1.42700000798645
-100 303.8 31.1999999996 100 399 31.1999999996 100 303.8 29.2000000009 100 286.6 29.1999999994 100 286.599999999 1.10000000073 100 303.8 1.10000000032 100 303.800000001 0.9 100 399 0.9 35.36999999956 -349.46 35.36999999956 -444.66 33.37000000086 -349.46 33.36999999936 -332.26 5.27000000069 -332.259999999 5.27000000028 -349.46 5.06999999996 -349.460000001 5.06999999996 -444.66 6 7 8 3 8 2 3 6 8 1 3 2 4 5 6 4 6 3 
-4 2 1 5.560000002
-100 303.800000001 0.9 656 303.800000001 0.9 100 303.8 1.10000000032 656 303.8 1.09999999925 0.680000000032 55.66 0.680000000032 611.66 0.880000000352 55.66 0.879999999282 611.66 4 2 1 4 1 3 
-8 6 1 1.4270000079851
-656 399 0.9 656 303.800000001 0.9 656 303.8 1.09999999925 656 286.599999999 1.10000000073 656 286.6 29.1999999994 656 303.8 29.2000000009 656 303.8 31.2 656 399 31.2 -5.07 -444.660000000503 -5.07 -349.460000001503 -5.26999999925 -349.460000000503 -5.27000000073 -332.259999999503 -33.3699999994 -332.260000000503 -33.3700000009 -349.460000000503 -35.37 -349.460000000503 -35.37 -444.660000000503 6 7 8 6 8 1 3 5 6 3 6 1 2 3 1 4 5 3 
+4 2 1 13.900000005
+656 285 0.9 100 285 0.9 100 189.800000001 0.9 656 189.800000001 0.9 611.6600000001 330.66 55.6600000001 330.66 55.6600000001 235.460000001 611.6600000001 235.460000001 4 2 3 1 2 4 
+4 2 1 13.900000005
+656 285 31.2 100 285 31.1999999996 100 285 0.9 656 285 0.9 3.09 611.66 3.0900000004 55.66 33.39 55.66 33.39 611.66 4 1 2 4 2 3 
+8 6 1 3.56750001996613
+100 285 31.1999999996 100 285 0.9 100 189.8 31.1999999996 100 189.8 29.2000000009 100 172.6 29.1999999994 100 172.599999999 1.10000000073 100 189.8 1.10000000032 100 189.800000001 0.9 35.36999999956 -330.66 5.06999999996 -330.66 35.36999999956 -235.46 33.37000000086 -235.46 33.36999999936 -218.26 5.27000000069 -218.259999999 5.27000000028 -235.46 5.06999999996 -235.460000001 7 8 2 4 2 1 4 7 2 3 4 1 5 6 7 5 7 4 
+4 2 1 13.900000005
+100 189.800000001 0.9 656 189.800000001 0.9 100 189.8 1.10000000032 656 189.8 1.09999999925 0.680000000032 55.66 0.680000000032 611.66 0.880000000352 55.66 0.879999999282 611.66 4 2 1 4 1 3 
+8 6 1 3.56750001996275
+656 285 0.9 656 189.800000001 0.9 656 189.8 1.09999999925 656 172.599999999 1.10000000073 656 172.6 29.1999999994 656 189.8 29.2000000009 656 189.8 31.2 656 285 31.2 -5.07 -330.660000000503 -5.07 -235.460000001503 -5.26999999925 -235.460000000503 -5.27000000073 -218.259999999503 -33.3699999994 -218.260000000503 -33.3700000009 -235.460000000503 -35.37 -235.460000000503 -35.37 -330.660000000503 6 7 8 6 8 1 3 5 6 3 6 1 2 3 1 4 5 3 
 
 TShapes 10
 Ve
 1e-07
-656 399 0.9
+656 285 0.9
 0 0
 
 0101101
 *
 Ve
 1e-07
-100 399 0.9
+100 285 0.9
 0 0
 
 0101101
@@ -75,14 +75,14 @@ Ed
 +10 0 -9 0 *
 Ve
 1e-07
-100 303.800000001 0.9
+100 189.800000001 0.9
 0 0
 
 0101101
 *
 Ed
  1e-07 1 1 0
-1  2 0 -399 -303.800000001
+1  2 0 -285 -189.800000001
 4 C0 1 0 3 0
 6  3 1 0
 6  4 3 0
@@ -92,7 +92,7 @@ Ed
 +9 0 -7 0 *
 Ve
 1e-07
-656 303.800000001 0.9
+656 189.800000001 0.9
 0 0
 
 0101101
@@ -109,7 +109,7 @@ Ed
 +7 0 -5 0 *
 Ed
  1e-07 1 1 0
-1  4 0 -399 -303.800000001
+1  4 0 -285 -189.800000001
 4 C0 1 0 5 0
 6  7 1 0
 6  8 5 0

+ 36 - 36
data/brep/face100043.brep

@@ -4,61 +4,61 @@ CASCADE Topology V1, (c) Matra-Datavision
 Locations 0
 Curve2ds 0
 Curves 4
-7 0 0  1 2 2  656 399 0.90000000000000002  100 399 0.90000000000000002 
+7 0 0  1 2 2  656 57 0.90000000000000002  100 57 0.90000000000000002 
  0 2 556 2
-7 0 0  1 2 2  100 399 0.90000000000000002  100 303.800000001 0.90000000000000002 
- -399 2 -303.800000001 2
-7 0 0  1 2 2  100 303.800000001 0.90000000000000002  656 303.800000001 0.90000000000000002 
- 0 2 556 2
-7 0 0  1 2 2  656 399 0.90000000000000002  656 303.800000001 0.90000000000000002 
- -399 2 -303.800000001 2
+7 0 0  1 2 2  100 57 0.90000000000000002  100 0 0.90000000000299896 
+ -57 2 0 2
+7 0 0  1 2 2  100 0 0.90000000000299896  656 -2.5627350708883799e-11 0.90000000000299996 
+ -556 2 0 2
+7 0 0  1 2 2  656 57 0.90000000000000002  656 -2.5627350708883799e-11 0.90000000000299996 
+ -57 2 0 2
 Polygon3D 0
 PolygonOnTriangulations 8
 2 4 3 
-p 6.560000002001 1 0 556 
+p 16.4000000050025 1 0 556 
 2 1 2 
-p 6.560000002001 1 0 556 
+p 16.4000000050025 1 0 556 
 2 2 3 
-p 3.80800000796 1 -399 -303.800000001 
-2 8 7 
-p 3.80800000796 1 -399 -303.800000001 
-2 1 2 
-p 6.560000002001 1 0 556 
+p 5.70000002 1 -57 0 
+2 2 4 
+p 5.70000002 1 -57 0 
+2 3 1 
+p 16.4000000050025 1 -556 0 
 2 3 4 
-p 6.560000002001 1 0 556 
+p 16.4000000050025 1 -556 0 
 2 1 4 
-p 3.80800000796 1 -399 -303.800000001 
+p 5.70000002000256 1 -57 0 
 2 1 2 
-p 3.80800000796 1 -399 -303.800000001 
+p 5.70000002000256 1 -57 0 
 Surfaces 5
 1 44.339999999900002 -45.659999999999997 0.90000000000000002 0 0 1 1 0 -0 -0 1 0 
-1 44.340000000000003 399 34.289999999999999 0 -1 0 0 -0 -1 1 0 0 
+1 44.340000000000003 57 34.289999999999999 0 -1 0 0 -0 -1 1 0 0 
 1 100 -45.659999999999997 -4.1699999999599999 1 0 0 -0 0 1 0 -1 0 
-1 44.340000000000003 303.80000000000001 0.21999999996799999 0 1 0 0 -0 1 1 0 -0 
+1 44.339999999900002 0 -1.1400000000003001 0 -1 0 0 -0 -1 1 0 0 
 1 656 -45.660000000502698 -4.1699999999999999 -1 0 0 0 0 -1 -0 -1 -0 
 Triangulations 5
-4 2 1 5.560000002
-656 399 0.9 100 399 0.9 100 303.800000001 0.9 656 303.800000001 0.9 611.6600000001 444.66 55.6600000001 444.66 55.6600000001 349.460000001 611.6600000001 349.460000001 1 2 3 1 3 4 
-4 2 1 5.560000002
-656 399 31.2 100 399 31.1999999996 100 399 0.9 656 399 0.9 3.09 611.66 3.0900000004 55.66 33.39 55.66 33.39 611.66 4 1 2 4 2 3 
-8 6 1 1.42700000798645
-100 303.8 31.1999999996 100 399 31.1999999996 100 303.8 29.2000000009 100 286.6 29.1999999994 100 286.599999999 1.10000000073 100 303.8 1.10000000032 100 303.800000001 0.9 100 399 0.9 35.36999999956 -349.46 35.36999999956 -444.66 33.37000000086 -349.46 33.36999999936 -332.26 5.27000000069 -332.259999999 5.27000000028 -349.46 5.06999999996 -349.460000001 5.06999999996 -444.66 6 7 8 3 8 2 3 6 8 1 3 2 4 5 6 4 6 3 
-4 2 1 5.560000002
-100 303.800000001 0.9 656 303.800000001 0.9 100 303.8 1.10000000032 656 303.8 1.09999999925 0.680000000032 55.66 0.680000000032 611.66 0.880000000352 55.66 0.879999999282 611.66 4 2 1 4 1 3 
-8 6 1 1.4270000079851
-656 399 0.9 656 303.800000001 0.9 656 303.8 1.09999999925 656 286.599999999 1.10000000073 656 286.6 29.1999999994 656 303.8 29.2000000009 656 303.8 31.2 656 399 31.2 -5.07 -444.660000000503 -5.07 -349.460000001503 -5.26999999925 -349.460000000503 -5.27000000073 -332.259999999503 -33.3699999994 -332.260000000503 -33.3700000009 -349.460000000503 -35.37 -349.460000000503 -35.37 -444.660000000503 6 7 8 6 8 1 3 5 6 3 6 1 2 3 1 4 5 3 
+4 2 1 13.900000005
+656 57 0.9 100 57 0.9 100 0 0.900000000002999 656 -2.56273507088838e-11 0.900000000003 611.6600000001 102.66 55.6600000001 102.66 55.6600000001 45.66 611.6600000001 45.6599999999744 1 2 3 1 3 4 
+4 2 1 13.900000005
+656 57 31.2 100 57 31.1999999996 100 57 0.9 656 57 0.9 3.09 611.66 3.0900000004 55.66 33.39 55.66 33.39 611.66 4 1 2 4 2 3 
+4 2 1 4.36500001997993
+100 57 31.1999999996 100 57 0.9 100 0 31.1999999996 100 0 0.900000000002999 35.36999999956 -102.66 5.06999999996 -102.66 35.36999999956 -45.66 5.069999999963 -45.66 4 2 1 3 4 1 
+4 2 1 13.900000005
+656 -2.56273507088838e-11 0.900000000003 656 0 -0.9 100 0 0.900000000002999 100 0 -0.9 -2.0400000000033 611.6600000001 -0.2400000000003 611.6600000001 -2.0400000000033 55.6600000001 -0.2400000000003 55.6600000001 2 1 3 2 3 4 
+4 2 1 4.36500002001199
+656 57 0.9 656 -2.56273507088838e-11 0.900000000003 656 -4.57021087641e-10 31.2 656 57 31.2 -5.07 -102.660000000503 -5.070000000003 -45.6600000004771 -35.37 -45.6600000000457 -35.37 -102.660000000503 2 3 4 2 4 1 
 
 TShapes 10
 Ve
 1e-07
-656 399 0.9
+656 57 0.9
 0 0
 
 0101101
 *
 Ve
 1e-07
-100 399 0.9
+100 57 0.9
 0 0
 
 0101101
@@ -75,14 +75,14 @@ Ed
 +10 0 -9 0 *
 Ve
 1e-07
-100 303.800000001 0.9
+100 0 0.900000000002999
 0 0
 
 0101101
 *
 Ed
  1e-07 1 1 0
-1  2 0 -399 -303.800000001
+1  2 0 -57 0
 4 C0 1 0 3 0
 6  3 1 0
 6  4 3 0
@@ -92,14 +92,14 @@ Ed
 +9 0 -7 0 *
 Ve
 1e-07
-656 303.800000001 0.9
+656 -2.56273507088838e-11 0.900000000003
 0 0
 
 0101101
 *
 Ed
  1e-07 1 1 0
-1  3 0 0 556
+1  3 0 -556 0
 4 C0 4 0 1 0
 6  5 4 0
 6  6 1 0
@@ -109,7 +109,7 @@ Ed
 +7 0 -5 0 *
 Ed
  1e-07 1 1 0
-1  4 0 -399 -303.800000001
+1  4 0 -57 0
 4 C0 1 0 5 0
 6  7 1 0
 6  8 5 0

File diff suppressed because it is too large
+ 53 - 53
data/brep/face100044.brep


File diff suppressed because it is too large
+ 59 - 268
data/brep/face100045.brep


+ 36 - 36
data/brep/face100049.brep

@@ -4,61 +4,61 @@ CASCADE Topology V1, (c) Matra-Datavision
 Locations 0
 Curve2ds 0
 Curves 4
-7 0 0  1 2 2  656 285 0.90000000000000002  100 285 0.90000000000000002 
+7 0 0  1 2 2  656 57 0.90000000000000002  100 57 0.90000000000000002 
  0 2 556 2
-7 0 0  1 2 2  100 285 0.90000000000000002  100 189.800000001 0.90000000000000002 
- -285 2 -189.800000001 2
-7 0 0  1 2 2  100 189.800000001 0.90000000000000002  656 189.800000001 0.90000000000000002 
- 0 2 556 2
-7 0 0  1 2 2  656 285 0.90000000000000002  656 189.800000001 0.90000000000000002 
- -285 2 -189.800000001 2
+7 0 0  1 2 2  100 57 0.90000000000000002  100 0 0.90000000000299896 
+ -57 2 0 2
+7 0 0  1 2 2  100 0 0.90000000000299896  656 -2.5627350708883799e-11 0.90000000000299996 
+ -556 2 0 2
+7 0 0  1 2 2  656 57 0.90000000000000002  656 -2.5627350708883799e-11 0.90000000000299996 
+ -57 2 0 2
 Polygon3D 0
 PolygonOnTriangulations 8
 2 4 3 
-p 6.560000002001 1 0 556 
+p 16.4000000050025 1 0 556 
 2 1 2 
-p 6.560000002001 1 0 556 
+p 16.4000000050025 1 0 556 
 2 2 3 
-p 3.80800000796 1 -285 -189.800000001 
-2 2 8 
-p 3.80800000796 1 -285 -189.800000001 
-2 1 2 
-p 6.560000002001 1 0 556 
+p 5.70000002 1 -57 0 
+2 2 4 
+p 5.70000002 1 -57 0 
+2 3 1 
+p 16.4000000050025 1 -556 0 
 2 3 4 
-p 6.560000002001 1 0 556 
+p 16.4000000050025 1 -556 0 
 2 1 4 
-p 3.80800000796 1 -285 -189.800000001 
+p 5.70000002000256 1 -57 0 
 2 1 2 
-p 3.80800000796 1 -285 -189.800000001 
+p 5.70000002000256 1 -57 0 
 Surfaces 5
 1 44.339999999900002 -45.659999999999997 0.90000000000000002 0 0 1 1 0 -0 -0 1 0 
-1 44.340000000000003 285 34.289999999999999 0 -1 0 0 -0 -1 1 0 0 
+1 44.340000000000003 57 34.289999999999999 0 -1 0 0 -0 -1 1 0 0 
 1 100 -45.659999999999997 -4.1699999999599999 1 0 0 -0 0 1 0 -1 0 
-1 44.340000000000003 189.80000000000001 0.21999999996799999 0 1 0 0 -0 1 1 0 -0 
+1 44.339999999900002 0 -1.1400000000003001 0 -1 0 0 -0 -1 1 0 0 
 1 656 -45.660000000502698 -4.1699999999999999 -1 0 0 0 0 -1 -0 -1 -0 
 Triangulations 5
-4 2 1 5.560000002
-656 285 0.9 100 285 0.9 100 189.800000001 0.9 656 189.800000001 0.9 611.6600000001 330.66 55.6600000001 330.66 55.6600000001 235.460000001 611.6600000001 235.460000001 4 2 3 1 2 4 
-4 2 1 5.560000002
-656 285 31.2 100 285 31.1999999996 100 285 0.9 656 285 0.9 3.09 611.66 3.0900000004 55.66 33.39 55.66 33.39 611.66 4 1 2 4 2 3 
-8 6 1 1.42700000798645
-100 285 31.1999999996 100 285 0.9 100 189.8 31.1999999996 100 189.8 29.2000000009 100 172.6 29.1999999994 100 172.599999999 1.10000000073 100 189.8 1.10000000032 100 189.800000001 0.9 35.36999999956 -330.66 5.06999999996 -330.66 35.36999999956 -235.46 33.37000000086 -235.46 33.36999999936 -218.26 5.27000000069 -218.259999999 5.27000000028 -235.46 5.06999999996 -235.460000001 7 8 2 4 2 1 4 7 2 3 4 1 5 6 7 5 7 4 
-4 2 1 5.560000002
-100 189.800000001 0.9 656 189.800000001 0.9 100 189.8 1.10000000032 656 189.8 1.09999999925 0.680000000032 55.66 0.680000000032 611.66 0.880000000352 55.66 0.879999999282 611.66 4 2 1 4 1 3 
-8 6 1 1.4270000079851
-656 285 0.9 656 189.800000001 0.9 656 189.8 1.09999999925 656 172.599999999 1.10000000073 656 172.6 29.1999999994 656 189.8 29.2000000009 656 189.8 31.2 656 285 31.2 -5.07 -330.660000000503 -5.07 -235.460000001503 -5.26999999925 -235.460000000503 -5.27000000073 -218.259999999503 -33.3699999994 -218.260000000503 -33.3700000009 -235.460000000503 -35.37 -235.460000000503 -35.37 -330.660000000503 6 7 8 6 8 1 3 5 6 3 6 1 2 3 1 4 5 3 
+4 2 1 13.900000005
+656 57 0.9 100 57 0.9 100 0 0.900000000002999 656 -2.56273507088838e-11 0.900000000003 611.6600000001 102.66 55.6600000001 102.66 55.6600000001 45.66 611.6600000001 45.6599999999744 1 2 3 1 3 4 
+4 2 1 13.900000005
+656 57 31.2 100 57 31.1999999996 100 57 0.9 656 57 0.9 3.09 611.66 3.0900000004 55.66 33.39 55.66 33.39 611.66 4 1 2 4 2 3 
+4 2 1 4.36500001997993
+100 57 31.1999999996 100 57 0.9 100 0 31.1999999996 100 0 0.900000000002999 35.36999999956 -102.66 5.06999999996 -102.66 35.36999999956 -45.66 5.069999999963 -45.66 4 2 1 3 4 1 
+4 2 1 13.900000005
+656 -2.56273507088838e-11 0.900000000003 656 0 -0.9 100 0 0.900000000002999 100 0 -0.9 -2.0400000000033 611.6600000001 -0.2400000000003 611.6600000001 -2.0400000000033 55.6600000001 -0.2400000000003 55.6600000001 2 1 3 2 3 4 
+4 2 1 4.36500002001199
+656 57 0.9 656 -2.56273507088838e-11 0.900000000003 656 -4.57021087641e-10 31.2 656 57 31.2 -5.07 -102.660000000503 -5.070000000003 -45.6600000004771 -35.37 -45.6600000000457 -35.37 -102.660000000503 2 3 4 2 4 1 
 
 TShapes 10
 Ve
 1e-07
-656 285 0.9
+656 57 0.9
 0 0
 
 0101101
 *
 Ve
 1e-07
-100 285 0.9
+100 57 0.9
 0 0
 
 0101101
@@ -75,14 +75,14 @@ Ed
 +10 0 -9 0 *
 Ve
 1e-07
-100 189.800000001 0.9
+100 0 0.900000000002999
 0 0
 
 0101101
 *
 Ed
  1e-07 1 1 0
-1  2 0 -285 -189.800000001
+1  2 0 -57 0
 4 C0 1 0 3 0
 6  3 1 0
 6  4 3 0
@@ -92,14 +92,14 @@ Ed
 +9 0 -7 0 *
 Ve
 1e-07
-656 189.800000001 0.9
+656 -2.56273507088838e-11 0.900000000003
 0 0
 
 0101101
 *
 Ed
  1e-07 1 1 0
-1  3 0 0 556
+1  3 0 -556 0
 4 C0 4 0 1 0
 6  5 4 0
 6  6 1 0
@@ -109,7 +109,7 @@ Ed
 +7 0 -5 0 *
 Ed
  1e-07 1 1 0
-1  4 0 -285 -189.800000001
+1  4 0 -57 0
 4 C0 1 0 5 0
 6  7 1 0
 6  8 5 0

File diff suppressed because it is too large
+ 55 - 264
data/brep/face100052.brep


File diff suppressed because it is too large
+ 50 - 50
data/brep/face100055.brep


File diff suppressed because it is too large
+ 268 - 59
data/brep/face100057.brep


File diff suppressed because it is too large
+ 1896 - 0
data/brep/face100150.brep


File diff suppressed because it is too large
+ 2038 - 0
data/brep/face100325.brep


File diff suppressed because it is too large
+ 1079 - 0
data/brep/face100551.brep


File diff suppressed because it is too large
+ 760 - 0
data/brep/face100582.brep


File diff suppressed because it is too large
+ 200 - 0
data/brep/face101671.brep


File diff suppressed because it is too large
+ 1882 - 0
data/brep/face101935.brep


File diff suppressed because it is too large
+ 1882 - 0
data/brep/face102185.brep


File diff suppressed because it is too large
+ 1213 - 0
data/brep/face102196.brep


File diff suppressed because it is too large
+ 1871 - 0
data/brep/face102562.brep


File diff suppressed because it is too large
+ 1882 - 0
data/brep/face102942.brep


File diff suppressed because it is too large
+ 1882 - 0
data/brep/face103151.brep


File diff suppressed because it is too large
+ 784 - 0
data/brep/face103440.brep


File diff suppressed because it is too large
+ 801 - 0
data/brep/face103461.brep


File diff suppressed because it is too large
+ 470 - 0
data/brep/face103634.brep


File diff suppressed because it is too large
+ 362 - 0
data/brep/face103874.brep


File diff suppressed because it is too large
+ 801 - 0
data/brep/face103974.brep


File diff suppressed because it is too large
+ 543 - 0
data/brep/face104135.brep


File diff suppressed because it is too large
+ 1152 - 1152
data/guass/guass.txt


+ 24 - 6
data/preFiles.txt

@@ -7,26 +7,44 @@ $ materials
 7.8 1000 0.3 207
 
 $ BPP
-6 0
+4 0
 
 $ brepFiles
-D:/dcip1/comx_sdk.node/unit/hypermesh/data/brep/face100036.brep
-D:/dcip1/comx_sdk.node/unit/hypermesh/data/brep/face100021.brep
+D:/dcip1/comx_sdk.node/unit/hypermesh/data/brep/face100025.brep
+D:/dcip1/comx_sdk.node/unit/hypermesh/data/brep/face100009.brep
+D:/dcip1/comx_sdk.node/unit/hypermesh/data/brep/face100043.brep
+D:/dcip1/comx_sdk.node/unit/hypermesh/data/brep/face100031.brep
 
 $ forceFace id xn yn zn xr yr zr
-100036 100 0 0 100 0 0
+100025 100 0 0 100 0 0
 
 $ fixFace id xn yn zn xr yr zr
-100021 1 1 1 1 1 1
+100031 1 1 1 1 1 1
+
+$ mat poi radius len seg Beam
+1e6 0.3 2 10 6
+
+$ x y z Beam
+0.000000 0.000000 0.000000
+166.666667 83.333333 0.000000
+333.333333 166.666667 0.000000
+500.000000 250.000000 0.000000
+666.666667 333.333333 0.000000
+833.333333 416.666667 0.000000
+1000.000000 500.000000 0.000000
 
 $ con ids id xd yd zd xr yr zr Beam
 
 $ arrow ids id xn yn zn xr yr zr Beam
 
 $ x y z X Y Z stiffness_x stiffness_y stiffness_z type1 type2 Spring
+50.111691 100.000000 30.000000 50.111691 100.000000 200.000000 0 1 0 P P
 
 $ type id1 id x1 y1 z1 type id1 id x2 y2 z2 xn yn zn xr yr zr Connect
+P 0 0 50.111691 100.000000 200.000000 P 0 1 50.111691 100.000000 300.000000 0 1 0 0 1 0
 
 $ arrow type id ids xn yn zn xr yr zr RB3
+P 0 2 100 0 0 0 0 0
 
-$ con type id ids xn yn zn xr yr zr RB3
+$ fix type id ids xn yn zn xr yr zr RB3
+P 0 0 1 1 1 1 1 1

BIN
data/solid.zip


File diff suppressed because it is too large
+ 1 - 1
data/work1/proj.db.json


BIN
data/work1/proj1/PlanePlate.ply


+ 0 - 1
data/work2/mat.db.json

@@ -1 +0,0 @@
-{"materials":{},"frozen_list":[]}

File diff suppressed because it is too large
+ 0 - 1
data/work2/proj.db.json


BIN
data/work2/proj1/solid.ply


File diff suppressed because it is too large
+ 0 - 449830
data/work2/proj1/solid.stp


+ 0 - 1
data/work3/mat.db.json

@@ -1 +0,0 @@
-{"materials":{},"frozen_list":[]}

+ 0 - 1
data/work3/proj.db.json

@@ -1 +0,0 @@
-{"current":"proj1","projects":{"proj1":{"path":"D:\\dcip1\\comx_sdk.node\\unit\\hypermesh\\data\\work3\\proj1","model":{"step":"D:\\dcip1\\comx_sdk.node\\unit\\hypermesh\\data\\work3\\proj1\\FN_MK-17_CQC_Variant_STEP.step","buf_ply":"D:\\dcip1\\comx_sdk.node\\unit\\hypermesh\\data\\work3\\proj1\\FN_MK-17_CQC_Variant_STEP.ply"},"workCondition":{"current":"","conditions":{}}}}}

File diff suppressed because it is too large
+ 0 - 1192050
data/work3/proj1/FN_MK-17_CQC_Variant_STEP.step


+ 0 - 1
data/work4/mat.db.json

@@ -1 +0,0 @@
-{"materials":{},"frozen_list":[]}

File diff suppressed because it is too large
+ 0 - 1
data/work4/proj.db.json


BIN
data/work4/proj1/PlanePlate.ply


File diff suppressed because it is too large
+ 0 - 1684
data/work4/proj1/PlanePlate.stp


BIN
hyper图标.zip


BIN
js.zip


+ 5 - 3
js/boundary_force_pane.js

@@ -42,13 +42,15 @@ function OnGetFaceName(){
         // 匹配type对应内容的正则表达式,以type:开头,后面跟着非冒号的内容直到遇到空格或者字符串结束
         const typeRegex = /type:([^point]+)/;
         // 匹配center坐标对应内容的正则表达式
-        const centerRegex = /point:([\d. ]+)/;
+        //const centerRegex = /point:([\d. ]+)/;
 
         const typeMatch = str.match(typeRegex);
         const typeInfo = typeMatch? typeMatch[1] : null;
 
-        const centerMatch = str.match(centerRegex);
-        const centerCoords = centerMatch? centerMatch[1].split(' ').map(x => x.trim()) : null;
+        //const centerMatch = str.match(centerRegex);
+        //const centerCoords = centerMatch? centerMatch[1].split(' ').map(x => x.trim()) : null;
+        const match = str.match(/point:([-\d.]+)\s+([-\d.]+)\s+([-\d.]+)/);
+        const centerCoords = match.slice(1, 4); 
         
         ui.type1.value = typeInfo;
         ui.x1.value = centerCoords[0];

+ 5 - 7
js/boundary_load_pane.js

@@ -54,14 +54,12 @@ function OnBPP(){
                 "BPP":str
         };
         //在model中添加BPP
+        if(!model.global_ctrl[0] || !model.global_ctrl[1] || !model.global_ctrl[2] || !model.global_ctrl[3]) {
+                unit.form.mainfrm.OnCueline('未满足创建条件', 'red');
+                return;
+        }
         unit.form.tree.SetBPPProperty(BPP);
-        
-        //model.setBpp1(ui.pb_1.value);
-        //model.setBpp2(ui.pb_2.value);
-        // unit.form.mainfrm.OnSend(str);
-        // model.setModelCode(1);
-        // unit.form.mainfrm.OnChangePicture(3, 1);
-        ////unit.form.mainfrm.OnCueline('<h4 style="font-family:arial;color: green;font-size:20px;">恭喜您将数据成功添加,但需要注意的是均匀加密次数和网格尺寸大小越大,计算时间越长,计算精度越高!</h4>');
+       
         unit.form.mainfrm.OnCueline('您将数据成功添加,但需要注意的是均匀加密次数和网格尺寸大小越大,计算时间越长,计算精度越高!', 'green');
 }
 

+ 58 - 1
js/mainfrm_pane.js

@@ -193,9 +193,66 @@ function RenameTreeNode(Idx) {
 }
 //点亮面
 function LightFace(id, rgb) {
-        let r_id =  findRIdById(model.acax_app.model.project.GetModel().pro_model, id);
+        let r_id =  findRIdById(model.acax_app.model.project.GetModel().pro_model, parseInt(id));
         ui.canvas.view([ui.canvas.generateKey(2025, parseInt(r_id))]).setColor(parseFloat(rgb.r)/255, parseFloat(rgb.g)/255, parseFloat(rgb.b)/255);
 }
+//加载涂色
+function SetColor(color) {
+        let color_arr = Object.keys(color);
+
+        for (let i = 0; i < color_arr.length; ++i) {
+                try {
+                        console.log(i + " ");
+            
+                        // 查找 r_id
+                        let r_id = findRIdById(
+                                model.acax_app.model.project.GetModel().pro_model,
+                                parseInt(color_arr[i])
+                        );
+
+                        if (!r_id) {
+                                throw new Error(`r_id not found for id: ${color_arr[i]}`);
+                        }
+
+                        // 转换颜色为 RGB
+                        let rgb = hexToRgb(color[color_arr[i]]);
+                        if (!rgb || rgb.r === undefined || rgb.g === undefined || rgb.b === undefined) {
+                                throw new Error(`Invalid color value: ${color[color_arr[i]]}`);
+                        }
+
+                        // 设置颜色
+                        ui.canvas
+                                .view([ui.canvas.generateKey(2025, parseInt(r_id))])
+                                .setColor(
+                                        parseFloat(rgb.r) / 255,
+                                        parseFloat(rgb.g) / 255,
+                                        parseFloat(rgb.b) / 255
+                                );
+
+                } catch (error) {
+                        console.error(
+                                `Failed to set color for id ${color_arr[i]}: `,
+                                error.message
+                        );
+                }
+        }
+}
+function hexToRgb(hex) {
+        // 去掉前缀 #(如果有)
+        hex = hex.replace(/^#/, '');
+
+        // 如果是简写形式(#RGB),将其转换为完整形式(#RRGGBB)
+        if (hex.length === 3) {
+                hex = hex.split('').map(char => char + char).join('');
+        }
+
+        // 解析 RGB 颜色值
+        const r = parseInt(hex.slice(0, 2), 16);
+        const g = parseInt(hex.slice(2, 4), 16);
+        const b = parseInt(hex.slice(4, 6), 16);
+
+        return { r, g, b };
+}
 function OnInitializeData(reload, preview) {
         //model.ide_info(model.uuid().length);
         vtkContext = comx.vtk.CreateContext();

+ 1 - 1
js/physics_material_pane.js

@@ -139,7 +139,7 @@ function OnMaterialFiles() {
                 "color":color,
                 "Id":ui.phy_id.value
         };
-        if(model.global_ctrl[0] && model.global_ctrl[1] && model.global_ctrl[2] && model.global_ctrl[3]) {
+        if(!model.global_ctrl[0] || !model.global_ctrl[1] || !model.global_ctrl[2] || !model.global_ctrl[3]) {
                 unit.form.mainfrm.OnCueline('未满足创建条件', 'red');
                 return;
         }

+ 4 - 3
js/solve_setup_pane.js

@@ -84,10 +84,11 @@ function OnModelAnsys(){
 }
 
 function OnFile(){
+        if(!model.global_ctrl[0] || !model.global_ctrl[1] || !model.global_ctrl[2] || !model.global_ctrl[3] || !model.global_ctrl[4] ||!model.global_ctrl[5]) {
+                unit.form.mainfrm.OnCueline('未完成求解设置', 'red');
+                return;
+        }
         unit.form.tree.GenerateFile();
-        //unit.form.mainfrm.OnSend('preFiles ' + model.getCurrentDirectory());
-        //unit.form.mainfrm.OnChangePicture(4, 1);
-        //unit.form.mainfrm.OnCueline('<h4 style="font-family:arial;color: green;font-size:20px;">恭喜您,文件数据已生成!</h4>');
         unit.form.mainfrm.OnCueline('文件数据已生成!', 'green');
 }
 

+ 69 - 51
js/tree_pane.js

@@ -49,7 +49,12 @@ function OnTest(){
         // console.log(model.acax_app.path.Name(g_cur_id2index_cache["131"]));
         //console.log(g_cur_id2index_cache);
         // console.log(g_cur_index2id_cache);
-        console.log(model.acax_app.model.materialProp.Current());
+        //console.log(model.acax_app.model.materialProp.Current());
+        //SetUserColor();
+        let str = unit.form.mainfrm.findRIdById(model.acax_app.model.project.GetModel().pro_model, 100005);
+        console.log(str);
+        console.log(comx.occio.GetFacePoint(comx.occore.GetEntryEx(), str));
+        
 }
 //判断工作流程
 function CheckCtrlProcess() {
@@ -111,7 +116,7 @@ function GenerateFile() {
                 console.log(cb);
         });
         model.acax_app.control.Export(info=>{
-                console.log(JSON.stringify(info, null, 2));
+                //console.log(JSON.stringify(info, null, 2));
                
                 let cut_workcondition_index = model.acax_app.view.GetCurrentWorkConditionIndex();
                 var File = ['结构静力学前处理文件', '\n$ address', info.model3d.step.replace(/\\/g, "/")];
@@ -206,7 +211,7 @@ function GenerateFile() {
                                 File.push("\n$ id RB3");
                                 let str1 = info.cons_list[i]["编号"];
                                 str1 = str1.split(" ");
-                                console.log(str1);
+                                //console.log(str1);
                                 for(let j = 0;j < str1.length;++j) {
                                         if(str1[j] !== '') {
                                                 File.push(str1[j]);
@@ -221,7 +226,6 @@ function GenerateFile() {
                         }
                         
                 }
-                console.log("rb3");
                 //集中载荷rb3
                 File.push("\n$ arrow type id ids xn yn zn xr yr zr RB3");
                 for(let i = 0;i < info.cons_list.length;++i ) {
@@ -232,10 +236,10 @@ function GenerateFile() {
                         }
                 }
                 //固定支撑rb3
-                File.push("\n$ con type id ids xn yn zn xr yr zr RB3");
+                File.push("\n$ fix type id ids xn yn zn xr yr zr RB3");
                 for(let i = 0;i < info.cons_list.length;++i ) {
                         if(info.cons_list[i].constraint === "固定支撑" && info.cons_list[i].type[0] === 'P') {
-                                let str1 = info.cons_list[i]["位置标记"] + " "+ info.cons_list[i]["固定支撑属性xd"] + " " + info.cons_list[i]["固定支撑属性yd"] + " " + info.cons_list[i]["固定支撑属性zd"] + " "+info.cons_list[i]["固定支撑属性xr"] + " " + info.cons_list[i]["固定支撑属性yr"] +" " + info.cons_list[i]["固定支撑属性zr"];
+                                let str1 = info.cons_list[i].type + " "+ info.cons_list[i]["固定支撑属性xd"] + " " + info.cons_list[i]["固定支撑属性yd"] + " " + info.cons_list[i]["固定支撑属性zd"] + " "+info.cons_list[i]["固定支撑属性xr"] + " " + info.cons_list[i]["固定支撑属性yr"] +" " + info.cons_list[i]["固定支撑属性zr"];
                                 File.push(str1);
                         }
                 }
@@ -281,7 +285,6 @@ function CreateContrainShow() {
                         }                     
                         ShowPoints();
                 }else{
-                        console.log("CreateContrainShow");
                         for(let i = 0;i < new_arr_key.length;++i) {                      
                                 if(constrain_data.constrain.db[new_arr_key[i]].constraint === "集中载荷压力") {
                                         unit.form.mainfrm.OnArrows(constrain_data.constrain.db[new_arr_key[i]]["位置坐标x"], constrain_data.constrain.db[new_arr_key[i]]["位置坐标y"], constrain_data.constrain.db[new_arr_key[i]]["位置坐标z"], constrain_data.constrain.db[new_arr_key[i]]["压力方向xn"], constrain_data.constrain.db[new_arr_key[i]]["压力方向yn"], constrain_data.constrain.db[new_arr_key[i]]["压力方向zn"], constrain_data.constrain.db[new_arr_key[i]].unique);
@@ -306,8 +309,7 @@ function CreateContrainShow() {
                                         
                                 }
                         }
-                        //加载点            
-                        console.log("OnLoadPoints");           
+                        //加载点                
                         OnLoadPoints();   
                         workcondition.push(cur_name);
                                         
@@ -326,7 +328,6 @@ function ShowPoints() {
 }
 //加载点
 function OnLoadPoints() {
-
         let work_condition = model.acax_app.view.GetCurrentWorkConditionIndex();
         if(model.acax_app.view.GetProperty(work_condition) !== undefined && model.acax_app.view.GetProperty(work_condition).point !== undefined ) {
                 let point_model = model.acax_app.view.GetProperty(work_condition).point;
@@ -334,8 +335,7 @@ function OnLoadPoints() {
                 for(let i = 0;i < point_arr.length;++i) {
                         unit.form.mainfrm.OnSetPoints(point_model[point_arr[i]].x, point_model[point_arr[i]].y, point_model[point_arr[i]].z, point_model[point_arr[i]].radius, point_model[point_arr[i]].name);
                 }
-        }
-       
+        }      
 }
 //隐藏旧的工况
 function HideWorkcondition() {
@@ -400,7 +400,7 @@ function SetPoint(node) {
         }else if(model_prop.point === undefined){
                 let point = {};
                 point.point1 = node;
-                console.log(point);
+                //console.log(point);
                 model_prop.point = point;
                 model.acax_app.view.SetProperty(cut_workcondition_index, model_prop);
         }else{
@@ -422,7 +422,7 @@ function SetBrepFile(brep_path){
                 model_prop = {};
                 let brep = {};
                 brep.brep1 = brep_path;
-                console.log(brep);
+                //console.log(brep);
                 model_prop.brep = brep;
                 model.acax_app.view.SetProperty(cut_workcondition_index, model_prop);
                 
@@ -436,8 +436,8 @@ function SetBrepFile(brep_path){
               
                 var i = 0;
                 for( i  = 0;i < brep_arr.length;++i) {
-                        console.log(model_prop.brep[brep_arr[i]].brep);
-                        console.log(brep_path.brep);
+                        //console.log(model_prop.brep[brep_arr[i]].brep);
+                        //console.log(brep_path.brep);
                         if(model_prop.brep[brep_arr[i]].brep === brep_path.brep) {
                                 break;
                         }
@@ -475,10 +475,11 @@ function ModifyConstraintName(new_name) {
         let flag = model.acax_app.control.constrain.Rename(cur_name, new_name);
         let cur_index = model.acax_app.view.GetCurrentWorkConditionIndex();
         let cur_id;
-        if(flag === true) {
-                unit.form.mainfrm.OnCueline('修改成功', 'green'); 
+        if(flag === false) {
+                unit.form.mainfrm.OnCueline('修改失败', 'red');
+               
         }else{
-                unit.form.mainfrm.OnCueline('修改失败', 'red'); 
+                unit.form.mainfrm.OnCueline('修改成功', 'green'); 
         }
         model.acax_app.view.RenderTree(() => {
                 g_cur_id2index_cache = {};
@@ -1071,21 +1072,25 @@ function OpenWorkArea(fname) {
                         }else{
                                 model.acax_app.view.Render3D(info=>{
                                         unit.form.mainfrm.OnloadModel(info.model3d.step);
+                                        //console.log(difference);
+                                        //unit.form.mainfrm.SetColor(difference);
+                                        //console.log("222222222");
                                         CreateContrainShow();
+                                        //console.log("3333333332");
                                 });
                         }
                     
                 }
         }     
+       
         CheckCtrlProcess();
-        //console.log(model.global_ctrl);
+        console.log(model.global_ctrl);
 }
 //切换工程
 function ChangePro(pro_name) {
         let tree_color = [];
         model.acax_app.control.project.SwitchTo(pro_name);     
         //渲染3d模型
-        console.log(model.acax_app.model.project.GetModel().step);
         if(model.acax_app.model.project.GetModel().step === "unimported") {
                 unit.form.mainfrm.ClearCanvas();
                 model.acax_app.view.RenderTree(() => {
@@ -1142,7 +1147,7 @@ function ChangePro(pro_name) {
                 },
                 tree => {
                 //从工程中获取保存的model数据
-                        console.log(model.acax_app.model.project.GetModel().pro_model);
+                        //console.log(model.acax_app.model.project.GetModel().pro_model);
                         if(model.acax_app.model.project.GetModel().pro_model){
                         //获取当前工程的名字
                                 let pro_Index = model.acax_app.view.GetCurrentProjectIndex();
@@ -1161,6 +1166,7 @@ function ChangePro(pro_name) {
         }else{
                 model.acax_app.view.Render3D(info=>{
                         unit.form.mainfrm.OnloadModel(info.model3d.step);
+                        SetUserColor();
                 });
         }
     
@@ -1243,7 +1249,7 @@ function ChangeWorkCondition(wor_name) {
         
         ui.tree_Model.column = [1, tree_color];
         CheckCtrlProcess();
-        console.log(model.global_ctrl);
+        // console.log(model.global_ctrl);
         return old_data;
 }
 //创建工作区
@@ -1325,6 +1331,7 @@ function CreateWorkArea(name) {
                 });
         }
         ui.tree_Model.column = [1, tree_color];
+        CheckCtrlProcess();
 }
 //创建工程
 function CreateProject(name) { 
@@ -1408,12 +1415,9 @@ function CreateProject(name) {
         //渲染3d模型
         if(model.acax_app.model.project.GetModel().step === "unimported") {
                 unit.form.mainfrm.ClearCanvas();
-        }else{
-                model.acax_app.view.Render3D(info=>{
-                        unit.form.mainfrm.OnloadModel(info.model3d.step);
-                });
         }
         ui.tree_Model.column = [1, tree_color];
+        CheckCtrlProcess();
 }
 //导入模型
 function OnOpenStepFile() {
@@ -1522,11 +1526,11 @@ function getTreeIdColorMap(tree) {
 
         // 定义递归函数
         function dfs(node) {
-        // 如果当前节点有 id 和 color 属性,则加入对象
-                if (node.id !== undefined && node.color !== undefined) {
+        // 检查当前节点的 name 属性是否包含 "face",以及是否具有 id 和 color 属性
+                if (node.name && node.name.includes("Face") && node.id !== undefined && node.color !== undefined) {
                         idColorMap[node.id] = node.color;
                 }
-                // 按顺序遍历子节点
+                // 如果存在子节点,递归遍历
                 if (node.children && node.children.length > 0) {
                         node.children.forEach(child => dfs(child));
                 }
@@ -1538,9 +1542,11 @@ function getTreeIdColorMap(tree) {
         // 返回存储的 id 和 color 键值对对象
         return idColorMap;
 }
+
 //获取模型面的颜色保存到project
 function SetModelColor(Idx) {
         let model_color = getTreeIdColorMap(Idx);
+        console.log(model_color);
         let cut_project_index = model.acax_app.view.GetCurrentProjectIndex();
         let model_prop = model.acax_app.view.GetProperty(cut_project_index);
         if(model_prop === undefined) {
@@ -1551,7 +1557,7 @@ function SetModelColor(Idx) {
                 model_prop.color = model_color;
                 model.acax_app.view.SetProperty(cut_project_index, model_prop);
         }
-        console.log(model.acax_app.view.GetProperty(cut_project_index));
+        //console.log(model.acax_app.view.GetProperty(cut_project_index));
 }
 //将颜色给模型赋回去
 function assignColorsToTree(tree, idColorMap) {
@@ -1585,34 +1591,46 @@ function findDifferences(oldMap, newMap) {
 
         return differences;
 }
+var  difference = {};
+//获取工程中颜色,为模型涂色
+function SetUserColor() {
+        var dif_key = Object.keys(difference);
+        console.log(dif_key.length);
+        for(let i = 0;i < dif_key.length;++i) {
+                let rgb = hexToRgb(difference[dif_key[i]]);
+                try {
+                        unit.form.mainfrm.LightFace(dif_key[i], rgb); // 调用设置颜色
+                } catch (error) {
+                        console.error(`Failed to apply color for key ${dif_key[i]}`, error);
+                }
+              
+        }
+}
 //导入模型树节点
 function OnTree(Idx){     
-       
-        //console.log(JSON.stringify(Idx, null, 2));
+        
         let tree_color = [];
+        //console.log(JSON.stringify(Idx, null, 2));
         updateJsonNodes(Idx);
         
         //模型树颜色
         let cut_project_index = model.acax_app.view.GetCurrentProjectIndex();
-        if(model.acax_app.view.GetProperty(cut_project_index) !== undefined ) {
+        /*if(model.acax_app.view.GetProperty(cut_project_index) !== undefined ) {
                 //获取工程中的模型颜色,为树赋颜色
                 if(model.acax_app.view.GetProperty(cut_project_index).color!==undefined ) {
-                        let old_map = getTreeIdColorMap(Idx);
-                        console.log(old_map);
-                        console.log( model.acax_app.view.GetProperty(cut_project_index).color);
-                        let difference = findDifferences(old_map, model.acax_app.view.GetProperty(cut_project_index).color);
-                        console.log(difference);
-                        let dif_key = Object.keys(difference);
-                        for(let i = 0;i < dif_key.length;++i) {
-                                let rgb = hexToRgb(difference[dif_key[i]]);
-                                unit.form.mainfrm.LightFace(dif_key[i], rgb);
-                        }
+                        //var old_map = getTreeIdColorMap(Idx);
+                        //console.log(old_map);
+                        //console.log(model.acax_app.view.GetProperty(cut_project_index).color);
+                        //difference = findDifferences(old_map, model.acax_app.view.GetProperty(cut_project_index).color); 
+                        difference = model.acax_app.view.GetProperty(cut_project_index).color;
+                        console.log("difference", difference);
                         assignColorsToTree(Idx, model.acax_app.view.GetProperty(cut_project_index).color);
                 }
                 
         }else{
+                //console.log("SetModelColor");
                 SetModelColor(Idx);
-        }
+        }*/
         model.acax_app.view.RenderTree(() => {
                 g_cur_id2index_cache = {};
                 g_cur_index2id_cache = {};
@@ -1865,13 +1883,15 @@ function ModifyMaterial(material) {
 }
 //创建载荷
 function CreateBoundary(Load, name) {   
-        
-        if(model.global_ctrl[0] && model.global_ctrl[1] && model.global_ctrl[2] && model.global_ctrl[3]) {
+        console.log(model.global_ctrl);
+        if(!model.global_ctrl[0] || !model.global_ctrl[1] || !model.global_ctrl[2] || !model.global_ctrl[3]) {
                 unit.form.mainfrm.OnCueline('未满足创建条件', 'red');
                 return;
         }  
         let tree_color = [];
+        
         let load = model.acax_app.control.constrain.Create(Load, name);
+        
         let cur_name = model.acax_app.model.constrain.Current();
       
         let cur_index = model.acax_app.view.GetCurrentWorkConditionIndex();
@@ -1943,19 +1963,17 @@ function CreateBoundary(Load, name) {
                 }
                 //赋值给dcip的树结构
                 tree_color = getTreeColorsInOrder(tree);
-
                 ui.tree_Model.tree = tree;
         }
         );
         //将载荷属性添加到模型信息中    
-        //console.log(cur_id); 
         ui.tree_Model.position = cur_id;
+        //console.log(tree_color);
+        ui.tree_Model.column = [1, tree_color];
         model.acax_app.view.Render3D(info=>{
                 info.model3d.constrains.push(Load);
                
         });
-      
-        ui.tree_Model.column = [1, tree_color];
         
 }
 //修改载荷面板属性

BIN
kul.zip


File diff suppressed because it is too large
+ 1 - 1
viewProp.db.json


+ 1 - 1
workArea.cfg.json

@@ -1 +1 @@
-{"current":3,"list":["D:/dcip1/comx_sdk.node/unit/hypermesh/data/work1","D:\\dcip1\\comx_sdk.node\\unit\\hypermesh\\data\\work2","D:\\dcip1\\comx_sdk.node\\unit\\hypermesh\\data\\work3","D:\\dcip1\\comx_sdk.node\\unit\\hypermesh\\data\\work4"]}
+{"current":0,"list":["D:/dcip1/comx_sdk.node/unit/hypermesh/data/work1"]}