lzy 3 bulan lalu
induk
melakukan
80d48c7995
66 mengubah file dengan 8560 tambahan dan 3630 penghapusan
  1. TEMPAT SAMPAH
      data/1/2/PlanePlate.ply
  2. 1 1
      data/1/proj.db.json
  3. 0 1
      data/3/mat.db.json
  4. 0 1
      data/3/proj.db.json
  5. 130 0
      data/brep/face100001.brep
  6. 266 57
      data/brep/face100006.brep
  7. 13 13
      data/brep/face100010.brep
  8. 52 261
      data/brep/face100027.brep
  9. 54 54
      data/brep/face100040.brep
  10. 31 31
      data/brep/face100042.brep
  11. 31 31
      data/brep/face100043.brep
  12. 31 31
      data/brep/face100044.brep
  13. 130 0
      data/brep/face10100000.brep
  14. 760 0
      data/brep/face103856.brep
  15. 784 0
      data/brep/face103899.brep
  16. 1882 0
      data/brep/face104568.brep
  17. 801 0
      data/brep/face104908.brep
  18. 470 0
      data/brep/face104910.brep
  19. 241 0
      data/brep/face104935.brep
  20. 130 0
      data/brep/face30100000.brep
  21. 130 0
      data/brep/face43100000.brep
  22. 196 0
      data/brep/face924.brep
  23. 1152 1152
      data/guass/guass.txt
  24. 1 1
      data/material.txt
  25. 36 5
      data/preFiles.txt
  26. TEMPAT SAMPAH
      js.zip
  27. 30 15
      js/boundary_brep_pane.js
  28. 131 95
      js/boundary_constraint_pane.js
  29. 41 15
      js/boundary_force_pane.js
  30. 3 3
      js/boundary_menu_pane.js
  31. 11 11
      js/geometry_menu_pane.js
  32. 106 12
      js/mainfrm_pane.js
  33. 4 5
      js/physics_menu_pane.js
  34. 12 2
      js/result_attribute_pane.js
  35. 13 13
      js/result_menu_pane.js
  36. 4 4
      js/solve_menu_pane.js
  37. 105 108
      js/toolbar_pane.js
  38. 400 114
      js/tree_pane.js
  39. TEMPAT SAMPAH
      kul.zip
  40. 22 22
      kul/Graph_bar.kul
  41. 1 1
      kul/Project.kul
  42. 1 1
      kul/RenameConstraint.kul
  43. 1 1
      kul/RenameMaterial.kul
  44. 1 1
      kul/WorkCondition.kul
  45. 3 3
      kul/boundary_brep.kul
  46. 4 4
      kul/boundary_constraint.kul
  47. 8 47
      kul/boundary_load.kul
  48. 2 2
      kul/boundary_menu.kul
  49. 1 1
      kul/colorMap.kul
  50. 19 6
      kul/form.kul
  51. 20 7
      kul/form1.kul
  52. 3 3
      kul/geometry_check.kul
  53. 5 87
      kul/geometry_menu.kul
  54. 67 236
      kul/mainfrm.kul
  55. 17 17
      kul/physics_material.kul
  56. 5 5
      kul/physics_menu.kul
  57. 2 2
      kul/result_ModelAnsys.kul
  58. 7 7
      kul/result_attribute.kul
  59. 0 138
      kul/result_menu.kul
  60. 1 1
      kul/solve_menu.kul
  61. 127 71
      kul/toolbar.kul
  62. 58 928
      kul/tree.kul
  63. 1 1
      kul/workArea.kul
  64. TEMPAT SAMPAH
      picture/梁节点.png
  65. 1 1
      viewProp.db.json
  66. 1 1
      workArea.cfg.json

TEMPAT SAMPAH
data/1/2/PlanePlate.ply


File diff ditekan karena terlalu besar
+ 1 - 1
data/1/proj.db.json


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

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

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

@@ -1 +0,0 @@
-{"current":"","projects":{}}

File diff ditekan karena terlalu besar
+ 130 - 0
data/brep/face100001.brep


File diff ditekan karena terlalu besar
+ 266 - 57
data/brep/face100006.brep


File diff ditekan karena terlalu besar
+ 13 - 13
data/brep/face100010.brep


File diff ditekan karena terlalu besar
+ 52 - 261
data/brep/face100027.brep


File diff ditekan karena terlalu besar
+ 54 - 54
data/brep/face100040.brep


+ 31 - 31
data/brep/face100042.brep

@@ -4,14 +4,14 @@ 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 
@@ -19,46 +19,46 @@ p 16.4000000050025 1 0 556
 2 1 2 
 p 16.4000000050025 1 0 556 
 2 2 3 
-p 9.5200000199 1 -285 -189.800000001 
-2 2 8 
-p 9.5200000199 1 -285 -189.800000001 
-2 1 2 
-p 16.4000000050025 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 16.4000000050025 1 0 556 
+p 16.4000000050025 1 -556 0 
 2 1 4 
-p 9.5200000199 1 -285 -189.800000001 
+p 5.70000002000256 1 -57 0 
 2 1 2 
-p 9.5200000199 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 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 
+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 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 
+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
-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 
+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

+ 31 - 31
data/brep/face100043.brep

@@ -4,14 +4,14 @@ CASCADE Topology V1, (c) Matra-Datavision
 Locations 0
 Curve2ds 0
 Curves 4
-7 0 0  1 2 2  656 57 0.90000000000000002  100 57 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 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
+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
 Polygon3D 0
 PolygonOnTriangulations 8
 2 4 3 
@@ -19,46 +19,46 @@ p 16.4000000050025 1 0 556
 2 1 2 
 p 16.4000000050025 1 0 556 
 2 2 3 
-p 5.70000002 1 -57 0 
-2 2 4 
-p 5.70000002 1 -57 0 
-2 3 1 
-p 16.4000000050025 1 -556 0 
+p 9.52000001993 1 -171 -75.8000000007 
+2 2 8 
+p 9.52000001993 1 -171 -75.8000000007 
+2 1 2 
+p 16.4000000050025 1 0 556 
 2 3 4 
-p 16.4000000050025 1 -556 0 
+p 16.4000000050025 1 0 556 
 2 1 4 
-p 5.70000002000256 1 -57 0 
+p 9.52000001993 1 -171 -75.8000000007 
 2 1 2 
-p 5.70000002000256 1 -57 0 
+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 57 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.339999999900002 0 -1.1400000000003001 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 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 
+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 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 
+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
-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 
+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 57 0.9
+656 171 0.9
 0 0
 
 0101101
 *
 Ve
 1e-07
-100 57 0.9
+100 171 0.9
 0 0
 
 0101101
@@ -75,14 +75,14 @@ Ed
 +10 0 -9 0 *
 Ve
 1e-07
-100 0 0.900000000002999
+100 75.8000000007 0.9
 0 0
 
 0101101
 *
 Ed
  1e-07 1 1 0
-1  2 0 -57 0
+1  2 0 -171 -75.8000000007
 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 -2.56273507088838e-11 0.900000000003
+656 75.8000000007 0.9
 0 0
 
 0101101
 *
 Ed
  1e-07 1 1 0
-1  3 0 -556 0
+1  3 0 0 556
 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 -57 0
+1  4 0 -171 -75.8000000007
 4 C0 1 0 5 0
 6  7 1 0
 6  8 5 0

+ 31 - 31
data/brep/face100044.brep

@@ -4,14 +4,14 @@ CASCADE Topology V1, (c) Matra-Datavision
 Locations 0
 Curve2ds 0
 Curves 4
-7 0 0  1 2 2  656 57 0.90000000000000002  100 57 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 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
+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
 Polygon3D 0
 PolygonOnTriangulations 8
 2 4 3 
@@ -19,46 +19,46 @@ p 16.4000000050025 1 0 556
 2 1 2 
 p 16.4000000050025 1 0 556 
 2 2 3 
-p 5.70000002 1 -57 0 
-2 2 4 
-p 5.70000002 1 -57 0 
-2 3 1 
-p 16.4000000050025 1 -556 0 
+p 9.5200000199 1 -285 -189.800000001 
+2 2 8 
+p 9.5200000199 1 -285 -189.800000001 
+2 1 2 
+p 16.4000000050025 1 0 556 
 2 3 4 
-p 16.4000000050025 1 -556 0 
+p 16.4000000050025 1 0 556 
 2 1 4 
-p 5.70000002000256 1 -57 0 
+p 9.5200000199 1 -285 -189.800000001 
 2 1 2 
-p 5.70000002000256 1 -57 0 
+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 57 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.339999999900002 0 -1.1400000000003001 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 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 
+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 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 
+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
-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 
+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 57 0.9
+656 285 0.9
 0 0
 
 0101101
 *
 Ve
 1e-07
-100 57 0.9
+100 285 0.9
 0 0
 
 0101101
@@ -75,14 +75,14 @@ Ed
 +10 0 -9 0 *
 Ve
 1e-07
-100 0 0.900000000002999
+100 189.800000001 0.9
 0 0
 
 0101101
 *
 Ed
  1e-07 1 1 0
-1  2 0 -57 0
+1  2 0 -285 -189.800000001
 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 -2.56273507088838e-11 0.900000000003
+656 189.800000001 0.9
 0 0
 
 0101101
 *
 Ed
  1e-07 1 1 0
-1  3 0 -556 0
+1  3 0 0 556
 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 -57 0
+1  4 0 -285 -189.800000001
 4 C0 1 0 5 0
 6  7 1 0
 6  8 5 0

File diff ditekan karena terlalu besar
+ 130 - 0
data/brep/face10100000.brep


File diff ditekan karena terlalu besar
+ 760 - 0
data/brep/face103856.brep


File diff ditekan karena terlalu besar
+ 784 - 0
data/brep/face103899.brep


File diff ditekan karena terlalu besar
+ 1882 - 0
data/brep/face104568.brep


File diff ditekan karena terlalu besar
+ 801 - 0
data/brep/face104908.brep


File diff ditekan karena terlalu besar
+ 470 - 0
data/brep/face104910.brep


File diff ditekan karena terlalu besar
+ 241 - 0
data/brep/face104935.brep


+ 130 - 0
data/brep/face30100000.brep

@@ -0,0 +1,130 @@
+DBRep_DrawableShape
+
+CASCADE Topology V1, (c) Matra-Datavision
+Locations 0
+Curve2ds 0
+Curves 4
+7 0 0  1 2 2  656 172.599999999 1.1000000007299999  100 172.599999999 1.1000000007299999 
+ -556 2 0 2
+7 0 0  1 2 2  100 172.59999999999999 29.199999999399999  100 172.599999999 1.1000000007299999 
+ 0 2 28.09999999867 2
+7 0 0  1 2 2  656 172.59999999999999 29.199999999399999  100 172.59999999999999 29.199999999399999 
+ -556 2 0 2
+7 0 0  1 2 2  656 172.599999999 1.1000000007299999  656 172.59999999999999 29.199999999399999 
+ 0 2 28.09999999867 2
+Polygon3D 0
+PolygonOnTriangulations 8
+2 1 2 
+p 16.4000000050025 1 -556 0 
+2 4 3 
+p 16.4000000050025 1 -556 0 
+2 3 2 
+p 2.810000019867 1 0 28.09999999867 
+2 5 6 
+p 2.810000019867 1 0 28.09999999867 
+2 1 2 
+p 16.4000000050025 1 -556 0 
+2 4 3 
+p 16.4000000050025 1 -556 0 
+2 1 4 
+p 2.810000019867 1 0 28.09999999867 
+2 4 5 
+p 2.810000019867 1 0 28.09999999867 
+Surfaces 5
+1 44.340000000000003 172.59999999999999 -1.7699999991369999 0 1 0 0 -0 1 1 0 -0 
+1 44.340000000000003 191.5800000001 1.1000000000000001 0 0 1 1 0 -0 -0 1 0 
+1 100 -45.659999999999997 -4.1699999999599999 1 0 0 -0 0 1 0 -1 0 
+1 44.340000000000003 170.81999999999999 29.199999999999999 0 0 -1 -1 0 -0 0 1 0 
+1 656 -45.660000000502698 -4.1699999999999999 -1 0 0 0 0 -1 -0 -1 -0 
+Triangulations 5
+4 2 1 13.900000005
+656 172.599999999 1.10000000073 100 172.599999999 1.10000000073 100 172.6 29.1999999994 656 172.6 29.1999999994 2.869999999867 611.66 2.869999999867 55.66 30.969999998537 55.66 30.969999998537 611.66 1 2 3 4 1 3 
+4 2 1 13.900000005
+100 189.8 1.10000000032 656 189.8 1.09999999925 100 172.599999999 1.10000000073 656 172.599999999 1.10000000073 55.66 -1.78000000009999 611.66 -1.78000000009999 55.66 -18.9800000011 611.66 -18.9800000011 2 1 3 2 3 4 
+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
+656 172.6 29.1999999994 100 172.6 29.1999999994 100 189.8 29.2000000009 656 189.8 29.2000000009 -611.66 1.78 -55.66 1.78 -55.66 18.98 -611.66 18.98 3 1 2 3 4 1 
+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 172.599999999 1.10000000073
+0 0
+
+0101101
+*
+Ve
+1e-07
+100 172.599999999 1.10000000073
+0 0
+
+0101101
+*
+Ed
+ 1e-07 1 1 0
+1  1 0 -556 0
+4 C0 1 0 2 0
+6  1 1 0
+6  2 2 0
+0
+
+0101000
++10 0 -9 0 *
+Ve
+1e-07
+100 172.6 29.1999999994
+0 0
+
+0101101
+*
+Ed
+ 1e-07 1 1 0
+1  2 0 0 28.09999999867
+4 C0 1 0 3 0
+6  3 1 0
+6  4 3 0
+0
+
+0101000
++7 0 -9 0 *
+Ve
+1e-07
+656 172.6 29.1999999994
+0 0
+
+0101101
+*
+Ed
+ 1e-07 1 1 0
+1  3 0 -556 0
+4 C0 4 0 1 0
+6  5 4 0
+6  6 1 0
+0
+
+0101000
++5 0 -7 0 *
+Ed
+ 1e-07 1 1 0
+1  4 0 0 28.09999999867
+4 C0 1 0 5 0
+6  7 1 0
+6  8 5 0
+0
+
+0101000
++10 0 -5 0 *
+Wi
+
+0101100
++8 0 -6 0 -4 0 -3 0 *
+Fa
+0  1e-07 1 0
+2  1
+0101000
++2 0 *
+
++1 0 

+ 130 - 0
data/brep/face43100000.brep

@@ -0,0 +1,130 @@
+DBRep_DrawableShape
+
+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
+Polygon3D 0
+PolygonOnTriangulations 8
+2 4 3 
+p 16.4000000050025 1 0 556 
+2 1 2 
+p 16.4000000050025 1 0 556 
+2 2 3 
+p 9.52000001993 1 -171 -75.8000000007 
+2 2 8 
+p 9.52000001993 1 -171 -75.8000000007 
+2 1 2 
+p 16.4000000050025 1 0 556 
+2 3 4 
+p 16.4000000050025 1 0 556 
+2 1 4 
+p 9.52000001993 1 -171 -75.8000000007 
+2 1 2 
+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 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 
+Triangulations 5
+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 171 0.9
+0 0
+
+0101101
+*
+Ve
+1e-07
+100 171 0.9
+0 0
+
+0101101
+*
+Ed
+ 1e-07 1 1 0
+1  1 0 0 556
+4 C0 2 0 1 0
+6  1 2 0
+6  2 1 0
+0
+
+0101000
++10 0 -9 0 *
+Ve
+1e-07
+100 75.8000000007 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
+0
+
+0101000
++9 0 -7 0 *
+Ve
+1e-07
+656 75.8000000007 0.9
+0 0
+
+0101101
+*
+Ed
+ 1e-07 1 1 0
+1  3 0 0 556
+4 C0 4 0 1 0
+6  5 4 0
+6  6 1 0
+0
+
+0101000
++7 0 -5 0 *
+Ed
+ 1e-07 1 1 0
+1  4 0 -171 -75.8000000007
+4 C0 1 0 5 0
+6  7 1 0
+6  8 5 0
+0
+
+0101000
++10 0 -5 0 *
+Wi
+
+0101100
++8 0 +6 0 +4 0 -3 0 *
+Fa
+0  1e-07 1 0
+2  1
+0101000
++2 0 *
+
++1 0 

File diff ditekan karena terlalu besar
+ 196 - 0
data/brep/face924.brep


File diff ditekan karena terlalu besar
+ 1152 - 1152
data/guass/guass.txt


+ 1 - 1
data/material.txt

@@ -1 +1 @@
-整体 7.8 1000000 0.3 207 1
+整体 7.8 1000 0.3 207 1

+ 36 - 5
data/preFiles.txt

@@ -4,20 +4,20 @@ $ address
 D:/dcip1/comx_sdk.node/unit/hypermesh/data/1/2/PlanePlate.stp
 
 $ materials
-7.8 1000000 0.3 207
+7.8 1000 0.3 207
 
 $ BPP
 4 0
 
 $ brepFiles
-D:/dcip1/comx_sdk.node/unit/hypermesh/data/brep/face1.brep
-D:/dcip1/comx_sdk.node/unit/hypermesh/data/brep/face10.brep
+D:/dcip1/comx_sdk.node/unit/hypermesh/data/brep/face100010.brep
+D:/dcip1/comx_sdk.node/unit/hypermesh/data/brep/face100044.brep
+D:/dcip1/comx_sdk.node/unit/hypermesh/data/brep/face100040.brep
+D:/dcip1/comx_sdk.node/unit/hypermesh/data/brep/face100043.brep
 
 $ forceFace id xn yn zn xr yr zr
-1 100 0 0 0 0 0
 
 $ fixFace id xn yn zn xr yr zr
-10 1 1 1 1 1 1
 
 $ con ids id xd yd zd xr yr zr Beam
 
@@ -27,6 +27,37 @@ $ x y z X Y Z stiffness_x stiffness_y stiffness_z type1 type2 Spring
 
 $ type id1 id x1 y1 z1 type id1 id x2 y2 z2 xn yn zn xr yr zr Connect
 
+$ id RB3
+
+$ type id ids x y z RB3
+P 0 0 1050.1 0.0 0.0
+
+$ id RB3
+
+$ type id ids x y z RB3
+P 0 0 1050.1 0.0 0.0
+
+$ id RB3
+100040
+
+$ type id ids x y z RB3
+P 0 2 378.0 228.0 -0.9
+
+$ id RB3
+100040
+100044
+
+$ type id ids x y z RB3
+P 0 2 378.0 228.0 -0.9
+
+$ id RB3
+0
+100040
+100043
+
+$ type id ids x y z RB3
+P 0 2 378.0 228.0 -0.9
+
 $ arrow type id ids xn yn zn xr yr zr RB3
 
 $ fix type id ids xn yn zn xr yr zr RB3

TEMPAT SAMPAH
js.zip


+ 30 - 15
js/boundary_brep_pane.js

@@ -38,8 +38,9 @@ var faceId = [];
 function OnModify(){
         
         let name = model.acax_app.model.constrain.Get(model.acax_app.model.constrain.Current()).unique;           
-        unit.form.mainfrm.OnModifySpheres(ui.x.value, ui.y.value, ui.z.value, ui.radius.value, name);
+        let name1 = unit.form.mainfrm.OnModifySpheres(ui.x.value, ui.y.value, ui.z.value, ui.radius.value, name);
         let color = model.acax_app.model.constrain.Get(model.acax_app.model.constrain.Current()).color;
+        let match = name1.split(":")[1];  
         let Load = {
                 "constraint":"rb3",
                 "type":ui.type.value,
@@ -48,7 +49,7 @@ function OnModify(){
                 "z":ui.z.value,
                 "types":ui.types.value,
                 "radius":ui.radius.value,
-                "编号":name,
+                "编号":match,
                 "cons_type":"rb3",
                 "color":color,
                 "unique":name
@@ -60,21 +61,29 @@ function OnModify(){
 function OnGetName(){      
         const str = unit.form.mainfrm.OnGetName();
        
-        // 匹配center坐标对应内容的正则表达式
-        const centerRegex = /center:([\d. ]+)/;
-       
-        const typeInfo = str.split(' ').slice(1, 4).join(' ');
-        const centerMatch = str.match(centerRegex);
-        const centerCoords = centerMatch? centerMatch[1].split(' ').map(x => x.trim()) : null;
+        if(str.includes('P') || str.includes('B')) {
+                const typeInfo = str.split(' ').slice(1, 4).join(' ');
+                const partCoords = str.match(/center:([-\d.]+)\s+([-\d.]+)\s+([-\d.]+)/).slice(1).map(Number);
+        
+                ui.types.value = typeInfo;
+                ui.x.value = parseFloat(partCoords[0]).toFixed(1);
+                ui.y.value = parseFloat(partCoords[1]).toFixed(1);
+                ui.z.value = parseFloat(partCoords[2]).toFixed(1);
+        }else{
+                unit.form.mainfrm.OnCueline('请选择点进行添加', 'red');
+                return;
+
+        }
         
-        ui.types.value = typeInfo;
-        ui.x.value = parseFloat(centerCoords[0]).toFixed(0);
-        ui.y.value = parseFloat(centerCoords[1]).toFixed(0);
-        ui.z.value = parseFloat(centerCoords[2]).toFixed(0);
 }
 
 function OnAddFace(){
         const str = unit.form.mainfrm.OnGetFaceName();
+        if(!str) { 
+     
+                unit.form.mainfrm.OnCueline('请选择面进行添加', 'red');
+                return;
+        }
 
         // 匹配type对应内容的正则表达式,以type:开头,后面跟着非冒号的内容直到遇到空格或者字符串结束
         const typeRegex = /type:([^point]+)/;
@@ -106,7 +115,8 @@ function OnBrep(){
         let j = 0;
         let constrain_arr = Object.keys(constrain_data.db);
         name = name + "rb3 0";
-        while(1){
+        let loopCount = 0;
+        while(1 && loopCount < 5000){
                 for( i = 0;i < constrain_arr.length;++i) {
                         if(constrain_data.db[constrain_arr[i]].unique === name) {
                                 ++j;
@@ -117,11 +127,17 @@ function OnBrep(){
                 if(i === constrain_arr.length) {
                         break;
                 }
+                loopCount++;
+        }
+        
+        if (loopCount === 5000) {
+                console.warn("可能出现异常情况,循环次数达到最大限制,未能成功生成唯一名字。");
+                return;
         }
         let name1 = unit.form.mainfrm.OnSpheres(ui.x.value, ui.y.value, ui.z.value, ui.radius.value, name);
-        console.log(name1);
         let match = name1.split(":")[1];      
         name1 = name1.replace(temp, "").split(" Breps:")[0];
+
         let color = unit.form.tree.getRandomHexColor();
         let Load = {
                 "constraint":"rb3",
@@ -136,7 +152,6 @@ function OnBrep(){
                 "color":color,
                 "unique":name
         };
-        console.log(name1);
         if(ui.type.value === '--' || ui.types.value === '--') {
                 unit.form.mainfrm.OnCueline('未添加连界面和节点信息', 'red');
         }else{

+ 131 - 95
js/boundary_constraint_pane.js

@@ -41,30 +41,15 @@ function OnException(err) {
 //////////////////////////////////////////////////////////////////////////
 // Callback Functions.
 // 641a254c-ef3e-11ea-bc8a-379bb908bdd7
-/*
-function OnGetFaceName(){
-        const str = unit.form.mainfrm.OnGetFaceName();
-        
-        // 匹配type对应内容的正则表达式,以type:开头,后面跟着非冒号的内容直到遇到空格或者字符串结束
-        const typeRegex = /type:([^point]+)/;
-        // 匹配center坐标对应内容的正则表达式
-        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;
-        
-        ui.type.value = typeInfo;
-        ui.xc.value = centerCoords[0];
-        ui.yc.value = centerCoords[1];
-        ui.zc.value = centerCoords[2];
-}*/
 
 function OnGetFaceName(){
         const str = unit.form.mainfrm.OnGetFaceName();
-        console.log(str);
+        if(!str) { 
+          
+                unit.form.mainfrm.OnCueline('请选择面进行添加', 'red');
+                return;
+        }
+      
         // 匹配type对应内容的正则表达式,以type:开头,后面跟着非冒号的内容直到遇到空格或者字符串结束
         const typeRegex = /type:([^point]+)/;
         // 匹配center坐标对应内容的正则表达式
@@ -86,82 +71,96 @@ function OnGetFaceName(){
 
 function OnCPointAddEnd(){
         const str = unit.form.mainfrm.OnGetName();
+        if(str.includes('P') || str.includes('B')){
+                const typeInfo = str.split(' ').slice(1, 4).join(' ');
+                const partCoords = str.match(/center:([-\d.]+)\s+([-\d.]+)\s+([-\d.]+)/).slice(1).map(Number);
         
-        // 匹配center坐标对应内容的正则表达式
-        const centerRegex = /center:([\d. ]+)/;
-        
-        const typeInfo = str.split(' ').slice(1, 4).join(' ');
-        const centerMatch = str.match(centerRegex);
-        const centerCoords = centerMatch? centerMatch[1].split(' ').map(x => x.trim()) : null;
-        
-        ui.ctpyee.value = typeInfo;
-        ui.cxe.value = centerCoords[0];
-        ui.cye.value = centerCoords[1];
-        ui.cze.value = centerCoords[2];
+                ui.ctpyee.value = typeInfo;
+                ui.cxe.value = partCoords[0];
+                ui.cye.value = partCoords[1];
+                ui.cze.value = partCoords[2];
+                unit.form.mainfrm.OnCueline('添加成功', 'green');
+
+        }else{
+                unit.form.mainfrm.OnCueline('请选择点进行添加', 'red');
+                return;
+
+        }
+       
 }
 
 function OnCPointAddStart(){
         const str = unit.form.mainfrm.OnGetName();
-        
-        // 匹配center坐标对应内容的正则表达式
-        const centerRegex = /center:([\d. ]+)/;
+        if(str.includes('P') || str.includes('B')) {
+                // 匹配center坐标对应内容的正则表达式
+                const typeInfo = str.split(' ').slice(1, 4).join(' ');
+                const partCoords = str.match(/center:([-\d.]+)\s+([-\d.]+)\s+([-\d.]+)/).slice(1).map(Number);
+        
+                ui.ctypes.value = typeInfo;
+                ui.cxs.value = partCoords[0];
+                ui.cys.value = partCoords[1];
+                ui.czs.value = partCoords[2];
+        }else{
+                unit.form.mainfrm.OnCueline('请选择点进行添加', 'red');
+                return;
+        }
        
-        const typeInfo = str.split(' ').slice(1, 4).join(' ');
-        const centerMatch = str.match(centerRegex);
-        const centerCoords = centerMatch? centerMatch[1].split(' ').map(x => x.trim()) : null;
-        
-        ui.ctypes.value = typeInfo;
-        ui.cxs.value = centerCoords[0];
-        ui.cys.value = centerCoords[1];
-        ui.czs.value = centerCoords[2];
 }
 
 function OnSPointAddEnd(){
         const str = unit.form.mainfrm.OnGetName();
+        if(str.includes('P') || str.includes('B')) {
+                // 匹配center坐标对应内容的正则表达式
+                const typeInfo = str.split(' ').slice(1, 4).join(' ');
+                const partCoords = str.match(/center:([-\d.]+)\s+([-\d.]+)\s+([-\d.]+)/).slice(1).map(Number);
+        
+                ui.stypee.value = typeInfo;
+                ui.sxe.value = partCoords[0];
+                ui.sye.value = partCoords[1];
+                ui.sze.value = partCoords[2];
+        }else{
+                unit.form.mainfrm.OnCueline('请选择点进行添加', 'red');
+                return;
+        }
        
-        // 匹配center坐标对应内容的正则表达式
-        const centerRegex = /center:([\d. ]+)/;
-      
-        const typeInfo = str.split(' ').slice(1, 4).join(' ');
-        const centerMatch = str.match(centerRegex);
-        const centerCoords = centerMatch? centerMatch[1].split(' ').map(x => x.trim()) : null;
-        
-        ui.stypee.value = typeInfo;
-        ui.sxe.value = centerCoords[0];
-        ui.sye.value = centerCoords[1];
-        ui.sze.value = centerCoords[2];
 }
 
 function OnSPointAddStart(){
         const str = unit.form.mainfrm.OnGetName();
+        if(str.includes('P') || str.includes('B')) {
+                // 匹配center坐标对应内容的正则表达式
+                const typeInfo = str.split(' ').slice(1, 4).join(' ');
+                const partCoords = str.match(/center:([-\d.]+)\s+([-\d.]+)\s+([-\d.]+)/).slice(1).map(Number);
+        
+                ui.stypes.value = typeInfo;
+                ui.sxs.value = partCoords[0];
+                ui.sys.value = partCoords[1];
+                ui.szs.value = partCoords[2];
+        }else{
+                unit.form.mainfrm.OnCueline('请选择点进行添加', 'red');
+                return;
+
+        }
         
-        // 匹配center坐标对应内容的正则表达式
-        const centerRegex = /center:([\d. ]+)/;
-        
-        const typeInfo = str.split(' ').slice(1, 4).join(' ');
-        const centerMatch = str.match(centerRegex);
-        const centerCoords = centerMatch? centerMatch[1].split(' ').map(x => x.trim()) : null;
-        
-        ui.stypes.value = typeInfo;
-        ui.sxs.value = centerCoords[0];
-        ui.sys.value = centerCoords[1];
-        ui.szs.value = centerCoords[2];
 }
 
 function OnGetName(){      
         const str = unit.form.mainfrm.OnGetName();
         console.log(str);
-        // 匹配center坐标对应内容的正则表达式
-        const centerRegex = /center:([\d. ]+)/;
-       
-        const typeInfo = str.split(' ').slice(1, 4).join(' ');
-        const centerMatch = str.match(centerRegex);
-        const centerCoords = centerMatch? centerMatch[1].split(' ').map(x => x.trim()) : null;
         
-        ui.type.value = typeInfo;
-        ui.xc.value = centerCoords[0];
-        ui.yc.value = centerCoords[1];
-        ui.zc.value = centerCoords[2];
+        if(str.includes('P') || str.includes('B')) {
+                const typeInfo = str.split(' ').slice(1, 4).join(' ');
+                const partCoords = str.match(/center:([-\d.]+)\s+([-\d.]+)\s+([-\d.]+)/).slice(1).map(Number);
+        
+                ui.type.value = typeInfo;
+                ui.xc.value = partCoords[0];
+                ui.yc.value = partCoords[1];
+                ui.zc.value = partCoords[2];
+        }else{
+                unit.form.mainfrm.OnCueline('请选择点进行添加', 'red');
+                return;
+        }
+       
 }
 //修改约束
 function OnModify(){
@@ -191,7 +190,15 @@ function OnModify(){
         }
         if(ui.limit_constraint.index ===1 && ui.misConstraints.index === 0 ) {
                 let name = model.acax_app.model.constrain.Get(model.acax_app.model.constrain.Current()).unique;
-                unit.form.mainfrm.OnModifyBeams(ui.pb_size.value, ui.pb_xDiration.value, ui.pb_yDiration.value, ui.pb_zDiration.value, ui.pb_xCoord.value, ui.pb_yCoord.value, ui.pb_zCoord.value, ui.R.value, ui.G.value, ui.B.value, ui.pb_node_size.value, name);
+                var str = unit.form.mainfrm.OnModifyBeams(ui.pb_size.value, ui.pb_xDiration.value, ui.pb_yDiration.value, ui.pb_zDiration.value, ui.pb_xCoord.value, ui.pb_yCoord.value, ui.pb_zCoord.value, ui.R.value, ui.G.value, ui.B.value, ui.pb_node_size.value, name);
+
+                const match = str.match(/centers:([\s\S]*)/);
+                if (match) {
+                        var centerCoords = match[1].trim().split(/\s+/).map(Number);
+                        console.log(centerCoords[0]);
+                
+                }
+                
                 let color = model.acax_app.model.constrain.Get(model.acax_app.model.constrain.Current()).color;
                 
                 let Load = {
@@ -212,6 +219,7 @@ function OnModify(){
                         "R":ui.R.value,
                         "G":ui.G.value,
                         "B":ui.B.value,
+                        "point":centerCoords,
                         "cons_type":"beams",
                         "color":color,
                         "unique":name
@@ -304,7 +312,8 @@ function OnFix(){
         let constrain_arr = Object.keys(constrain_data.db);
         //console.log(constrain_data.db);
         name = name + "fix0";
-        while(1){
+        let loopCount = 0;
+        while(1 && loopCount < 5000){
                 for( i = 0;i < constrain_arr.length;++i) {
                         if(constrain_data.db[constrain_arr[i]].unique === name) {
                                 ++j;
@@ -315,7 +324,13 @@ function OnFix(){
                 if(i === constrain_arr.length) {
                         break;
                 }
+                loopCount++;
         }
+        if (loopCount === 5000) {
+                console.warn("可能出现异常情况,循环次数达到最大限制,未能成功生成唯一名字。");
+                return;
+        }
+        
         let name1 = unit.form.mainfrm.OnConstrains(ui.xc.value, ui.yc.value, ui.zc.value, name);
      
         name1 = name1.replace(temp, "");
@@ -364,7 +379,8 @@ function OnConnect(){
         let j = 0;
         let constrain_arr = Object.keys(constrain_data.db);
         name = name + "con0";
-        while(1){
+        let loopCount = 0;
+        while(1 && loopCount < 5000){
                 for( i = 0;i < constrain_arr.length;++i) {
                         if(constrain_data.db[constrain_arr[i]].unique === name) {
                                 ++j;
@@ -375,6 +391,12 @@ function OnConnect(){
                 if(i === constrain_arr.length) {
                         break;
                 }
+                loopCount++;
+        }
+        
+        if (loopCount === 5000) {
+                console.warn("可能出现异常情况,循环次数达到最大限制,未能成功生成唯一名字。");
+                return;
         }
         let name1 = unit.form.mainfrm.OnConnects(ui.cxs.value, ui.cys.value, ui.czs.value, ui.cxe.value, ui.cye.value, ui.cze.value, ui.cr.value, ui.cg.value, ui.cb.value, name);
      
@@ -482,7 +504,8 @@ function OnSpring(){
         let constrain_arr = Object.keys(constrain_data.db);
         //console.log(constrain_data.db);
         name = name + "spring0";
-        while(1){
+        let loopCount = 0;
+        while(1&&loopCount < 5000){
                 for( i = 0;i < constrain_arr.length;++i) {
                         if(constrain_data.db[constrain_arr[i]].unique === name) {
                                 ++j;
@@ -493,6 +516,12 @@ function OnSpring(){
                 if(i === constrain_arr.length) {
                         break;
                 }
+                loopCount++;
+        }
+        
+        if (loopCount === 5000) {
+                console.warn("可能出现异常情况,循环次数达到最大限制,未能成功生成唯一名字。");
+                return;
         }
         let name1 = unit.form.mainfrm.OnSpring(ui.sxs.value, ui.sys.value, ui.szs.value, ui.sxe.value, ui.sye.value, ui.sze.value, ui.sr.value, ui.sg.value, ui.sb.value, name);
      
@@ -542,7 +571,9 @@ function OnBeam(){
         let constrain_arr = Object.keys(constrain_data.db);
         //console.log(constrain_data.db);
         name = name + "beam0";
-        while(1){
+        let loopCount = 0;
+        
+        while(1&&loopCount < 5000){
                 for( i = 0;i < constrain_arr.length;++i) {
                         if(constrain_data.db[constrain_arr[i]].unique.split(" ")[0] === name) {
                                 ++j;
@@ -553,16 +584,31 @@ function OnBeam(){
                 if(i === constrain_arr.length) {
                         break;
                 }
+                loopCount++;
+        }
+        
+        if (loopCount === 5000) {
+                console.warn("可能出现异常情况,循环次数达到最大限制,未能成功生成唯一名字。");
+                return;
         }
-        name = name + " B 0";
+        name = name + " B " + j;
         const str =unit.form.mainfrm.OnBeams(ui.pb_size.value, ui.pb_xDiration.value, ui.pb_yDiration.value, ui.pb_zDiration.value, ui.pb_xCoord.value, ui.pb_yCoord.value, ui.pb_zCoord.value, ui.R.value, ui.G.value, ui.B.value, ui.pb_node_size.value, name);
-       
+        console.log(str);
         let name1 = str.split(' ')[0].split(':')[1];
         name1 = name1.replace(temp, "");      
-        const centerRegex = /centers:([\d. ]+)/;
-        const centerMatch = str.match(centerRegex);
-        const centerCoords = centerMatch? centerMatch[1].split(' ').map(x => x.trim()) : null;
+        //const centerRegex = /centers:([\d. ]+)/;
+        //const centerMatch = str.match(centerRegex);
+        //const centerCoords = centerMatch? centerMatch[1].split(' ').map(x => x.trim()) : null;
+        
+        const match = str.match(/centers:([\s\S]*)/);
+        if (match) {
+                var centerCoords = match[1].trim().split(/\s+/).map(Number);
+                console.log(centerCoords[0]);
+                
+        }
+        
         let color = unit.form.tree.getRandomHexColor();
+        //console.log(centerCoords);
         unit.form.mainfrm.OnChangePicture(3, 2);
         let Load = {
                 "constraint":"梁",
@@ -634,16 +680,6 @@ function OnChangeMenu(){
 function OnChangeConstraint(){
         
         ui.stack_constraint.index  = ui.limit_constraint.index;
-        if(parseFloat(idx) === 1){
-                unit.form.mainfrm.OnChangePicture(3, 1);
-                unit.form.mainfrm.OnCueline('注意事项:弹簧单元的起点和终点需要自动添加,鼠标右键选中起始/终止点,点击按钮(在窗口左侧倒数第3个按钮)添加即可将坐标导入!', 'blue');
-        }else if(parseFloat(idx) === 2){
-                unit.form.mainfrm.OnChangePicture(3, 1);
-                unit.form.mainfrm.OnCueline('注意事项:连接单元的起点和终点需要自动添加,鼠标右键选中起始/终止点,点击按钮(在窗口左侧倒数第3个按钮)添加即可将坐标导入!', 'blue');
-        }else if(parseFloat(idx) === 3){
-                unit.form.mainfrm.OnChangePicture(3, 1);
-                unit.form.mainfrm.OnCueline('注意事项:非均匀梁的各个节点需要用鼠标右键拾取后点击H或h进行保存,梁上的各个点需要在一条直线上!', 'blue');
-        }
 }
 function ChangeRadiobutton(idx) {
         ui.limit_constraint.index = parseInt(idx);

+ 41 - 15
js/boundary_force_pane.js

@@ -37,8 +37,13 @@ function OnException(err) {
 // 641a254c-ef3e-11ea-bc8a-379bb908bdd7
 
 function OnGetFaceName(){
-        const str = unit.form.mainfrm.OnGetFaceName();
-        console.log(str);
+        const str = unit.form.mainfrm.OnGetFaceName();          
+        if(!str) { 
+          
+                unit.form.mainfrm.OnCueline('请选择面进行添加', 'red');
+                return;
+        }
+       
         // 匹配type对应内容的正则表达式,以type:开头,后面跟着非冒号的内容直到遇到空格或者字符串结束
         const typeRegex = /type:([^point]+)/;
         // 匹配center坐标对应内容的正则表达式
@@ -51,26 +56,32 @@ function OnGetFaceName(){
         //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); 
+        //console.log(typeInfo);
         
         ui.type1.value = typeInfo;
         ui.x1.value = centerCoords[0];
         ui.y1.value = centerCoords[1];
         ui.z1.value = centerCoords[2];
+        unit.form.mainfrm.OnCueline('添加成功', 'green');
 }
 
 function OnGetName(){      
-        const str = unit.form.mainfrm.OnGetName();   
-        const centerRegex = /center:([\d. ]+)/;
-        
-        const typeInfo = str.split(' ').slice(1, 4).join(' ');
-
-        const centerMatch = str.match(centerRegex);
-        const centerCoords = centerMatch? centerMatch[1].split(' ').map(x => x.trim()) : null;
+        const str = unit.form.mainfrm.OnGetName();  
         
-        ui.type.value = typeInfo;
-        ui.x.value = centerCoords[0];
-        ui.y.value = centerCoords[1];
-        ui.z.value = centerCoords[2];
+        if(str.includes('P') || str.includes('B')) {
+                const typeInfo = str.split(' ').slice(1, 4).join(' ');
+                const partCoords = str.match(/center:([-\d.]+)\s+([-\d.]+)\s+([-\d.]+)/).slice(1).map(Number);
+       
+                ui.type.value = typeInfo;
+                ui.x.value = partCoords[0];
+                ui.y.value = partCoords[1];
+                ui.z.value = partCoords[2];
+                unit.form.mainfrm.OnCueline('添加成功', 'green');
+        }else{
+                unit.form.mainfrm.OnCueline('请选择点进行添加', 'red');
+                return;
+        }
+     
 }
 
 function OnModify(idx){
@@ -160,7 +171,8 @@ function OnFrameSelect(){
         let constrain_arr = Object.keys(constrain_data.db);
         //console.log(constrain_data.db);
         name = name + "force0";
-        while(1){
+        let loopCount = 0;
+        while(1 && loopCount < 5000){
                 for( i = 0;i < constrain_arr.length;++i) {
                         if(constrain_data.db[constrain_arr[i]].unique === name) {
                                 ++j;
@@ -171,6 +183,13 @@ function OnFrameSelect(){
                 if(i === constrain_arr.length) {
                         break;
                 }
+                loopCount++;
+
+        }
+        
+        if (loopCount === 5000) {
+                console.warn("可能出现异常情况,循环次数达到最大限制,未能成功生成唯一名字。");
+                return;
         }
         let color = unit.form.tree.getRandomHexColor();
                        
@@ -217,7 +236,8 @@ function OnArrow(){
         let constrain_arr = Object.keys(constrain_data.db);
         //console.log(constrain_data.db);
         name = name + "force0";
-        while(1){
+        let loopCount = 0;
+        while(1 && loopCount < 5000){
                 for( i = 0;i < constrain_arr.length;++i) {
                         if(constrain_data.db[constrain_arr[i]].unique === name) {
                                 ++j;
@@ -228,6 +248,12 @@ function OnArrow(){
                 if(i === constrain_arr.length) {
                         break;
                 }
+                loopCount++;
+        }
+        
+        if (loopCount === 5000) {
+                console.warn("可能出现异常情况,循环次数达到最大限制,未能成功生成唯一名字。");
+                return;
         }
         let name1 = unit.form.mainfrm.OnArrows(ui.x.value, ui.y.value, ui.z.value, ui.pb_xn.value, ui.pb_yn.value, ui.pb_zn.value, name);
         name1 = name1.replace(temp, "");

+ 3 - 3
js/boundary_menu_pane.js

@@ -36,21 +36,21 @@ function OnException(err) {
 // 641a254c-ef3e-11ea-bc8a-379bb908bdd7
 
 function OnGuass(){
-        unit.form.mainfrm.menu(23);
+        unit.form.mainfrm.menu(15);
         unit.form.mainfrm.OnChangePicture(3, 1);
         //unit.form.mainfrm.OnCueline('<h4 style="font-family:arial;color: Blue;font-size:20px;">提供精确拾取及Brep面的生成,其中按快捷键L或l进行拾取实体或面的切换!</h4>');
         unit.form.mainfrm.OnCueline('提供精确拾取及Brep面的生成,其中按快捷键L或l进行拾取实体或面的切换!', 'blue');
 }
 
 function OnConstraint(){
-        unit.form.mainfrm.menu(18);
+        unit.form.mainfrm.menu(12);
         unit.form.mainfrm.OnChangePicture(3, 1);
         //unit.form.mainfrm.OnCueline('<h4 style="font-family:arial;color: Blue;font-size:20px;">设置模型约束!</h4>');
         unit.form.mainfrm.OnCueline('设置模型约束!', 'blue');
 }
 
 function OnForce(){
-        unit.form.mainfrm.menu(17);
+        unit.form.mainfrm.menu(11);
         unit.form.mainfrm.OnChangePicture(3, 1);
         //unit.form.mainfrm.OnCueline('<h4 style="font-family:arial;color: Blue;font-size:20px;">设置模型载荷!</h4>');
         unit.form.mainfrm.OnCueline('设置模型载荷!', 'blue');

+ 11 - 11
js/geometry_menu_pane.js

@@ -36,29 +36,29 @@ function OnException(err) {
 // 641a254c-ef3e-11ea-bc8a-379bb908bdd7
 
 function OnLinePoi(){
-        unit.form.mainfrm.menu(34);
+        unit.form.mainfrm.menu(18);
 }
 
 function OnCenter(){
-        unit.form.mainfrm.menu(33);
+        unit.form.mainfrm.menu(17);
 }
 
-function OnCut(){
-        unit.form.mainfrm.menu(32);
-}
+//function OnCut(){
+// unit.form.mainfrm.menu(32);
+//}
 
-function OnRevolve(){
-        unit.form.mainfrm.menu(30);
-        unit.form.mainfrm.OnCueline('设置旋转的坐标值,添加到界面中!', 'blue');
-}
+//function OnRevolve(){
+// unit.form.mainfrm.menu(30);
+// unit.form.mainfrm.OnCueline('设置旋转的坐标值,添加到界面中!', 'blue');
+//}
 
 function OnMark(){
-        unit.form.mainfrm.menu(22);
+        unit.form.mainfrm.menu(14);
         unit.form.mainfrm.OnCueline('设置标记的内容、字体、颜色、位置等,添加到界面中!', 'blue');
 }
 
 function OnNode(){
-        unit.form.mainfrm.menu(21);
+        unit.form.mainfrm.menu(13);
         unit.form.mainfrm.OnCueline('设置点的三维坐标,创建点!', 'blue');
 }
 

+ 106 - 12
js/mainfrm_pane.js

@@ -253,6 +253,9 @@ function hexToRgb(hex) {
 
         return { r, g, b };
 }
+function upDateCanvas() {
+        ui.canvas.update();
+}
 function OnInitializeData(reload, preview) {
         //model.ide_info(model.uuid().length);
         vtkContext = comx.vtk.CreateContext();
@@ -298,6 +301,99 @@ function OnException(err) {
 
 // 641a254c-ef3e-11ea-bc8a-379bb908bdd7
 
+function OnLight(isLight){
+        if(isLight){
+                ui.canvas.lamp = true;
+        }else{
+                ui.canvas.lamp = false;
+        }
+}
+
+function OnCanvasContentMenu(){
+        
+        if(ui.canvas.content_menu === 1){
+                OnTransform(1);
+        }
+        
+        if(ui.canvas.content_menu === 2){
+                OnTransform(2);
+        }
+        
+        if(ui.canvas.content_menu === 3){
+                On3DPosition(1);
+        }
+        
+        if(ui.canvas.content_menu === 4){
+                On3DPosition(2);
+        }
+        
+        if(ui.canvas.content_menu === 5){
+                On3DPosition(3);
+        }
+        
+        if(ui.canvas.content_menu === 6){
+                On3DPosition(4);
+        }
+        
+        if(ui.canvas.content_menu === 7){
+                On3DPosition(5);
+        }
+        
+        if(ui.canvas.content_menu === 8){
+                On3DPosition(6);
+        }
+}
+
+function OnCanvasRightClick(){
+        ui.canvas.content_menu = [
+                {
+                        name: '旋转',
+                        icon: 'bar10',
+                        id: 1
+                },
+                {
+                        name: '平移',
+                        icon: 'bar11',
+                        id: 2
+                },
+                {
+                        name: '-'
+                },
+                {
+                        name: 'YOX',
+                        icon: 'bar19',
+                        id: 3
+                },
+                {
+                        name: 'XOY',
+                        icon: 'bar20',
+                        id: 4
+                },
+                {
+                        name: 'ZOX',
+                        icon: 'bar21',
+                        id: 5
+                },
+                {
+                        name: 'XOZ',
+                        icon: 'bar22',
+                        id: 6
+                },
+                {
+                        name: 'ZOY',
+                        icon: 'bar23',
+                        id: 7
+                },
+                {
+                        name: 'YOZ',
+                        icon: 'bar24',
+                        id: 8
+                }
+                
+        ];
+
+}
+
 function OnClear(){
         ui.canvas.db = null;
 }
@@ -433,12 +529,14 @@ function OnConstrains(x, y, z, name){
         
 }
 function OnModifyArrows(x, y, z, xn, yn, zn, name){
-        return comx.ply.modifyArrows(vtkContext.Interface(), workData, x, y, z, xn, yn, zn, name);
+        var res = comx.ply.modifyArrows(vtkContext.Interface(), workData, x, y, z, xn, yn, zn, name);
         ui.canvas.update();
+        return res;
 }
 function OnArrows(x, y, z, xn, yn, zn, name){
-        return comx.ply.setArrows(vtkContext.Interface(), workData, x, y, z, xn, yn, zn, name);
+        var res = comx.ply.setArrows(vtkContext.Interface(), workData, x, y, z, xn, yn, zn, name);
         ui.canvas.update();
+        return res;
 }
 
 function OnModifyPoints(x, y, z, radius, name){
@@ -529,17 +627,11 @@ function OnMaterial(){
 }
 
 function OnFalseOpacity(){
-        var id = parent.setTimeout(() => {
-                OnSend('0');
-        }, 100);
-        OnSend('Opacity 0');
+        comx.ply.openCloseOpacity(vtkContext.Interface(), postManage, false);
 }
 
 function OnOpacity(){
-        var id = parent.setTimeout(() => {
-                OnSend('0');
-        }, 100);
-        OnSend('Opacity 1');
+        comx.ply.openCloseOpacity(vtkContext.Interface(), postManage, true);
 }
 
 function OnFaceCanvas(){
@@ -590,13 +682,15 @@ function OnTransform(idx) {
         //ui.pb_pan.valid = ui.pb_rotate.valid = ui.pb_zoom.valid = ui.pb_zoom_window.valid = false;
 
         if (idx === 1) {
+                ui.canvas.sensor = GL.Sensor.Rotate;
                 //ui.pb_pan.valid = true;
-                ui.canvas.sensor = GL.Sensor.Pan;
+                //ui.canvas.sensor = GL.Sensor.Pan;
         }
 
         if (idx === 2) {
+                ui.canvas.sensor = GL.Sensor.Pan;
                 //ui.canvas.sensor = GL.Sensor.Rotate;
-                ui.pb_rotate.valid = true;
+                //ui.pb_rotate.valid = true;
         }
 
         if (idx === 3) {

+ 4 - 5
js/physics_menu_pane.js

@@ -35,11 +35,10 @@ function OnException(err) {
 // Callback Functions.
 // 641a254c-ef3e-11ea-bc8a-379bb908bdd7
 
-function OnAnalysisClick(){
-        //unit.form.form.Show();
-        unit.form.mainfrm.menu(25);
-        unit.form.mainfrm.OnAnalysisShow();
-}
+//function OnAnalysisClick(){
+// unit.form.mainfrm.menu(25);
+//unit.form.mainfrm.OnAnalysisShow();
+//}
 
 function OnCreatAnsys(){
         unit.form.createAnsys.Show();

+ 12 - 2
js/result_attribute_pane.js

@@ -56,13 +56,15 @@ function OnPointCloud(){
         }, 100);
         unit.form.mainfrm.OnSend('pointCloud');
 }
-var tubiao = false;
+var tubiao = true;
 function OnTuBiao(){
         tubiao = !tubiao;
         if(tubiao === true){
                 unit.form.mainfrm.OnPostBar(parseInt(ui.attribute.index) + 1, 1);
+                ui.postBar.valid = true;
         }else{
                 unit.form.mainfrm.OnPostBar(parseInt(ui.attribute.index) + 1, 0);
+                ui.postBar.valid = false;
         }
         unit.form.mainfrm.OnChangePicture(5, 2);
         unit.form.mainfrm.OnCueline('您完成颜色条的开闭!', 'green');
@@ -77,6 +79,11 @@ function OnReset(){
 
 function OnChangeAttribute(){        
         unit.form.mainfrm.OnSetChangePost(parseInt(ui.attribute.index) + 1);
+        if(tubiao === true){
+                unit.form.mainfrm.OnPostBar(parseInt(ui.attribute.index) + 1, 1);
+        }else{
+                unit.form.mainfrm.OnPostBar(parseInt(ui.attribute.index) + 1, 0);
+        }
         unit.form.mainfrm.OnChangePicture(5, 2);
         unit.form.mainfrm.OnCueline('您已完成位移云图的切换!', 'green');
 }
@@ -88,8 +95,11 @@ function OnReturnMenu(){
 function OnLoad(){
         unit.form.mainfrm.OnClear();
         unit.form.mainfrm.OnRenders(model.getCurrentDirectory(), 1);
+        
+        ui.postBar.valid = tubiao;
+        unit.form.mainfrm.OnPostBar(parseInt(ui.attribute.index) + 1, 1);
         unit.form.mainfrm.OnChangePicture(5, 2);
-        unit.form.mainfrm.OnCueline('ok!', 'green');
+        unit.form.mainfrm.OnCueline('加载成功!', 'green');
 }
 
 //The message corresponding callback executed by the docker pane.

+ 13 - 13
js/result_menu_pane.js

@@ -35,25 +35,25 @@ function OnException(err) {
 // Callback Functions.
 // 641a254c-ef3e-11ea-bc8a-379bb908bdd7
 
-function OnStack(){
-        unit.form.mainfrm.menu(31);
+//function OnStack(){
+//  unit.form.mainfrm.menu(31);
 
-}
+//}
 
-function OnCom2(){
-        unit.form.mainfrm.menu(29);
-}
+//function OnCom2(){
+//  unit.form.mainfrm.menu(29);
+//}
 
-function OnCom1(){
-        unit.form.mainfrm.menu(28);
-}
+//function OnCom1(){
+//  unit.form.mainfrm.menu(28);
+//}
 
-function OnCom(){
-        unit.form.mainfrm.menu(27);
-}
+//function OnCom(){
+// unit.form.mainfrm.menu(27);
+//}
 
 function OnAnsys(){
-        unit.form.mainfrm.menu(24);
+        unit.form.mainfrm.menu(16);
         unit.form.mainfrm.OnChangePicture(5, 1);
         //unit.form.mainfrm.OnCueline('<h4 style="font-family:arial;color: Blue;font-size:20px;">模态分析结果加载功能!</h4>');
         unit.form.mainfrm.OnCueline('模态分析结果加载功能!首先要进行模态加载,进行上下帧切换时要先按上一帧切换才能按下一帧切换,按完后要等待左边消息反馈Successs后才能继续按', 'blue');

+ 4 - 4
js/solve_menu_pane.js

@@ -35,10 +35,10 @@ function OnException(err) {
 // Callback Functions.
 // 641a254c-ef3e-11ea-bc8a-379bb908bdd7
 
-function OnSolveClick(){
-        unit.form.mainfrm.menu(26);
-        unit.form.mainfrm.OnSolveShow();
-}
+//function OnSolveClick(){
+//unit.form.mainfrm.menu(26);
+//unit.form.mainfrm.OnSolveShow();
+//}
 
 function OnSolve(){
         unit.form.mainfrm.menu(7);

+ 105 - 108
js/toolbar_pane.js

@@ -11,6 +11,7 @@ function OnInitializeData(reload, preview) {
                 //For robustness, you'd better use 'PUI(cb);' to access 'pui' variable.
 	
         });
+        ui.light.valid = true;
 }
 
 //Callback after UI is fully loaded and displayed.
@@ -34,6 +35,97 @@ function OnException(err) {
 //////////////////////////////////////////////////////////////////////////
 // Callback Functions.
 // 641a254c-ef3e-11ea-bc8a-379bb908bdd7
+var isLisght = true;
+function OnLight(){
+        isLisght = !isLisght;
+        ui.light.valid = isLisght;   
+        unit.form.mainfrm.OnLight(isLisght);   
+}
+
+function OnCanvasContentMenu(){
+        
+        if(ui.view.content_menu === 1){
+                OnTransform(1);
+        }
+        
+        if(ui.view.content_menu === 2){
+                OnTransform(2);
+        }
+        
+        if(ui.view.content_menu === 3){
+                OnPosition(1);
+        }
+        
+        if(ui.view.content_menu === 4){
+                OnPosition(2);
+        }
+        
+        if(ui.view.content_menu === 5){
+                OnPosition(6);
+        }
+        
+        if(ui.view.content_menu === 6){
+                OnPosition(5);
+        }
+        
+        if(ui.view.content_menu === 7){
+                OnPosition(3);
+        }
+        
+        if(ui.view.content_menu === 8){
+                OnPosition(4);
+        }
+}
+
+function OnCanvasRightClick(){
+        ui.view.content_menu = [
+                {
+                        name: '旋转',
+                        icon: 'bar10',
+                        id: 1
+                },
+                {
+                        name: '平移',
+                        icon: 'bar11',
+                        id: 2
+                },
+                {
+                        name: '-'
+                },
+                {
+                        name: 'YOX',
+                        icon: 'bar19',
+                        id: 3
+                },
+                {
+                        name: 'XOY',
+                        icon: 'bar20',
+                        id: 4
+                },
+                {
+                        name: 'ZOX',
+                        icon: 'bar21',
+                        id: 5
+                },
+                {
+                        name: 'XOZ',
+                        icon: 'bar22',
+                        id: 6
+                },
+                {
+                        name: 'ZOY',
+                        icon: 'bar23',
+                        id: 7
+                },
+                {
+                        name: 'YOZ',
+                        icon: 'bar24',
+                        id: 8
+                }
+                
+        ];
+
+}
 
 function OnBrep(){
         unit.form.mainfrm.OnSend('generateBreps');
@@ -79,7 +171,7 @@ function OnShow(){
 }
 
 function OnImport(){
-        unit.form.tree.OnChangeMenu(4);
+        unit.form.tree.OnChangeMenu(1);
 }
 
 function OnFileContentMenu() {
@@ -103,23 +195,23 @@ function OnFileContentMenu() {
                 unit.form.tree.SaveWorkArea();
                 break;
         case 61:
-                unit.form.tree.OnChangeMenu(4);
+                unit.form.tree.OnChangeMenu(1);
                 unit.form.tree.OnTopMenu(1);
                 break;
         case 62:
-                unit.form.tree.OnChangeMenu(4);
+                unit.form.tree.OnChangeMenu(1);
                 unit.form.tree.OnTopMenu(2);
                 break;
         case 63:
-                unit.form.tree.OnChangeMenu(4);
+                unit.form.tree.OnChangeMenu(1);
                 unit.form.tree.OnTopMenu(3);
                 break;
         case 64:
-                unit.form.tree.OnChangeMenu(4);
+                unit.form.tree.OnChangeMenu(1);
                 unit.form.tree.OnTopMenu(4);
                 break;
         case 65:
-                unit.form.tree.OnChangeMenu(4);
+                unit.form.tree.OnChangeMenu(1);
                 unit.form.tree.OnTopMenu(5);
                 break;
         }
@@ -127,126 +219,35 @@ function OnFileContentMenu() {
 
 function OnFile() {
         ui.pb_file.content_menu = [{
-                name: "New",
+                name: "新建",
                 icon: "bar01",
                 id: 1,
                 children: [{
-                        name: "WorkArea",
+                        name: "工作区",
                         icon: "import01",
                         id: 11                       
                 }, {
-                        name: "Project",
+                        name: "工程",
                         icon: "import02",
                         id: 12  
                 }, {
-                        name: "WorkCondition",
+                        name: "工况",
                         icon: "import02",
                         id: 13
                 }]
         }, {
-                name: "Open",
+                name: "打开",
                 icon: "bar02",
                 id: 2
         }, {
-                name: "Save",
-                icon: "bar03",
-                id: 3
-        }, {
-                name: "Save As",
-                icon: "bar03",
-                id: 4
-        }, {
-                name: "-"
-        }, {
-                name: "Subscribe",
-                id: 5        
-        }, {
-                name: "-"     
-        }, {
-                name: "Import",
+                name: "导入",
                 icon: "bar04",
                 id: 6,
                 children: [{
-                        name: "Model",
-                        icon: "import01",
-                        id: 61                       
-                }, {
-                        name: "Solver Deck",
-                        icon: "import02",
-                        id: 62  
-                }, {
-                        name: "Geometry",
+                        name: "几何文件",
                         icon: "import03",
                         id: 63  
-                }, {
-                        name: "BOM",
-                        icon: "import04",
-                        id: 64  
-                }, {
-                        name: "Connectors",
-                        icon: "import05",
-                        id: 65  
-                }]
-        }, {
-                name: "Load",
-                icon: "bar07",
-                id: 7,
-                children:[{
-                        name: "Results",
-                        icon: "bar07",
-                        id: 71
-                }, {
-                        name: "User Profile",
-                        icon: "bar06",
-                        id: 72                        
-                }, {
-                        name: "Solver Template",
-                        id: 73
                 }]
-        }, {
-                name: "Run",
-                icon: "Formability1",
-                id: 8,
-                children: [{
-                        name: "Tcl/Tk Script",
-                        id: 81
-                }, {
-                        name: "Command File",
-                        id: 82
-                }]               
-        }, {
-                name: "-"
-        }, {
-                name: "Export",
-                icon: "bar05",
-                id: 9, 
-                children: [{
-                        name: "Model",
-                        id: 91                       
-                }, {
-                        name: "Solver Deck",
-                        id: 92  
-                }, {
-                        name: "Geometry",
-                        id: 93  
-                }, {
-                        name: "BOM",
-                        id: 94  
-                }, {
-                        name: "Connectors",
-                        id: 95 
-                }]            
-        }, {
-                name: "Recent Files",
-                id: 10
-        }, {
-                name: "Recent Import",
-                id: 11  
-        }, {
-                name:"-"
-        }, {
-                name: "Exit",
-                id: 12
         }];
 }
 
@@ -255,10 +256,6 @@ function OnTransform(idx){
 }
 
 function OnPosition(index){
-        var id = parent.setTimeout(() => {
-                unit.form.mainfrm.OnSend('0');
-        }, 100);
-        unit.form.mainfrm.OnSend('reset');
         unit.form.mainfrm.On3DPosition(index);
 }
 

File diff ditekan karena terlalu besar
+ 400 - 114
js/tree_pane.js


TEMPAT SAMPAH
kul.zip


+ 22 - 22
kul/Graph_bar.kul

@@ -43,7 +43,7 @@
         <property name="name"/>
         <property name="text">Animation</property>
         <property name="tip"/>
-        <property name="id_alias">5</property>
+        <property name="id_alias">3</property>
         <property name="width">19</property>
         <property name="height">8</property>
         <property name="adjust">fixed</property>
@@ -71,7 +71,7 @@
         <property name="flat">false</property>
         <property name="flat_radio">false</property>
         <property name="gray">false</property>
-        <property name="id_alias">6</property>
+        <property name="id_alias">4</property>
         <property name="visible">true</property>
         <property name="onClick"/>
         <property name="onContentMenu"/>
@@ -99,7 +99,7 @@
         <property name="flat">false</property>
         <property name="flat_radio">false</property>
         <property name="gray">false</property>
-        <property name="id_alias">7</property>
+        <property name="id_alias">5</property>
         <property name="visible">true</property>
         <property name="onClick"/>
         <property name="onContentMenu"/>
@@ -127,7 +127,7 @@
         <property name="flat">false</property>
         <property name="flat_radio">false</property>
         <property name="gray">false</property>
-        <property name="id_alias">8</property>
+        <property name="id_alias">6</property>
         <property name="visible">true</property>
         <property name="onClick"/>
         <property name="onContentMenu"/>
@@ -155,7 +155,7 @@
         <property name="flat">false</property>
         <property name="flat_radio">false</property>
         <property name="gray">false</property>
-        <property name="id_alias">9</property>
+        <property name="id_alias">7</property>
         <property name="visible">true</property>
         <property name="onClick"/>
         <property name="onContentMenu"/>
@@ -170,7 +170,7 @@
         <property name="stylesheet"/>
       </widget>
       <widget type="separator">
-        <property name="id_alias">10</property>
+        <property name="id_alias">8</property>
         <property name="margin">2</property>
         <property name="gray">false</property>
         <property name="visible">true</property>
@@ -189,7 +189,7 @@
         <property name="flat">false</property>
         <property name="flat_radio">false</property>
         <property name="gray">false</property>
-        <property name="id_alias">11</property>
+        <property name="id_alias">9</property>
         <property name="visible">true</property>
         <property name="onClick"/>
         <property name="onContentMenu"/>
@@ -217,7 +217,7 @@
         <property name="flat">false</property>
         <property name="flat_radio">false</property>
         <property name="gray">false</property>
-        <property name="id_alias">12</property>
+        <property name="id_alias">10</property>
         <property name="visible">true</property>
         <property name="onClick"/>
         <property name="onContentMenu"/>
@@ -232,7 +232,7 @@
         <property name="stylesheet"/>
       </widget>
       <widget type="separator">
-        <property name="id_alias">13</property>
+        <property name="id_alias">11</property>
         <property name="margin">2</property>
         <property name="gray">false</property>
         <property name="visible">true</property>
@@ -241,7 +241,7 @@
         <property name="name"/>
         <property name="data">item1, item2, item3</property>
         <property name="tip"/>
-        <property name="id_alias">14</property>
+        <property name="id_alias">12</property>
         <property name="width">64</property>
         <property name="height">10</property>
         <property name="adjust">fixed</property>
@@ -266,7 +266,7 @@
         <property name="name"/>
         <property name="data">item1, item2, item3</property>
         <property name="tip"/>
-        <property name="id_alias">15</property>
+        <property name="id_alias">13</property>
         <property name="width">64</property>
         <property name="height">10</property>
         <property name="adjust">fixed</property>
@@ -288,7 +288,7 @@
         <property name="stylesheet"/>
       </widget>
       <widget type="separator">
-        <property name="id_alias">16</property>
+        <property name="id_alias">14</property>
         <property name="margin">2</property>
         <property name="gray">false</property>
         <property name="visible">true</property>
@@ -307,7 +307,7 @@
         <property name="flat">false</property>
         <property name="flat_radio">false</property>
         <property name="gray">false</property>
-        <property name="id_alias">17</property>
+        <property name="id_alias">15</property>
         <property name="visible">true</property>
         <property name="onClick"/>
         <property name="onContentMenu"/>
@@ -322,7 +322,7 @@
         <property name="stylesheet"/>
       </widget>
       <widget type="separator">
-        <property name="id_alias">18</property>
+        <property name="id_alias">16</property>
         <property name="margin">2</property>
         <property name="gray">false</property>
         <property name="visible">true</property>
@@ -341,7 +341,7 @@
         <property name="flat">false</property>
         <property name="flat_radio">false</property>
         <property name="gray">false</property>
-        <property name="id_alias">19</property>
+        <property name="id_alias">17</property>
         <property name="visible">true</property>
         <property name="onClick"/>
         <property name="onContentMenu"/>
@@ -369,7 +369,7 @@
         <property name="flat">false</property>
         <property name="flat_radio">false</property>
         <property name="gray">false</property>
-        <property name="id_alias">20</property>
+        <property name="id_alias">18</property>
         <property name="visible">true</property>
         <property name="onClick"/>
         <property name="onContentMenu"/>
@@ -397,7 +397,7 @@
         <property name="flat">false</property>
         <property name="flat_radio">false</property>
         <property name="gray">false</property>
-        <property name="id_alias">21</property>
+        <property name="id_alias">19</property>
         <property name="visible">true</property>
         <property name="onClick"/>
         <property name="onContentMenu"/>
@@ -412,7 +412,7 @@
         <property name="stylesheet"/>
       </widget>
       <widget type="separator">
-        <property name="id_alias">22</property>
+        <property name="id_alias">20</property>
         <property name="margin">2</property>
         <property name="gray">false</property>
         <property name="visible">true</property>
@@ -431,7 +431,7 @@
         <property name="flat">false</property>
         <property name="flat_radio">false</property>
         <property name="gray">false</property>
-        <property name="id_alias">23</property>
+        <property name="id_alias">21</property>
         <property name="visible">true</property>
         <property name="onClick"/>
         <property name="onContentMenu"/>
@@ -459,7 +459,7 @@
         <property name="flat">false</property>
         <property name="flat_radio">false</property>
         <property name="gray">false</property>
-        <property name="id_alias">24</property>
+        <property name="id_alias">22</property>
         <property name="visible">true</property>
         <property name="onClick"/>
         <property name="onContentMenu"/>
@@ -474,7 +474,7 @@
         <property name="stylesheet"/>
       </widget>
       <widget type="separator">
-        <property name="id_alias">25</property>
+        <property name="id_alias">23</property>
         <property name="margin">2</property>
         <property name="gray">false</property>
         <property name="visible">true</property>
@@ -493,7 +493,7 @@
         <property name="flat">false</property>
         <property name="flat_radio">false</property>
         <property name="gray">false</property>
-        <property name="id_alias">26</property>
+        <property name="id_alias">24</property>
         <property name="visible">true</property>
         <property name="onClick"/>
         <property name="onContentMenu"/>

+ 1 - 1
kul/Project.kul

@@ -4,7 +4,7 @@
   <widget type="form" name="Project_pane">
     <property name="id">0xed159de2-0x6d6d-0x4c83-0xae-0x9b-0x8d-0x17-0x2d-0xc9-0x1b-0xc0</property>
     <property name="style">popup</property>
-    <property name="title">Form</property>
+    <property name="title">创建项目</property>
     <property name="titlebar">true</property>
     <property name="icon">nil</property>
     <property name="bkcolor">gray</property>

+ 1 - 1
kul/RenameConstraint.kul

@@ -4,7 +4,7 @@
   <widget type="form" name="RenameConstraint_pane">
     <property name="id">0x00c2b00f-0x2b11-0x4bc2-0xb3-0xd4-0xa4-0x02-0xa0-0xd1-0xc3-0x21</property>
     <property name="style">popup</property>
-    <property name="title">Modify Constraint Name</property>
+    <property name="title">重命名</property>
     <property name="titlebar">true</property>
     <property name="icon">nil</property>
     <property name="bkcolor">gray</property>

+ 1 - 1
kul/RenameMaterial.kul

@@ -4,7 +4,7 @@
   <widget type="form" name="RenameMaterial_pane">
     <property name="id">0xd6706c09-0x8265-0x4bc1-0xa7-0x44-0x54-0xc6-0x42-0x0a-0xdb-0x89</property>
     <property name="style">popup</property>
-    <property name="title">Form</property>
+    <property name="title">重命名</property>
     <property name="titlebar">true</property>
     <property name="icon">nil</property>
     <property name="bkcolor">gray</property>

+ 1 - 1
kul/WorkCondition.kul

@@ -4,7 +4,7 @@
   <widget type="form" name="WorkCondition_pane">
     <property name="id">0xc51b8c98-0x2cb7-0x4f63-0xba-0x5f-0x8e-0xf1-0xc4-0xe9-0x98-0x4b</property>
     <property name="style">popup</property>
-    <property name="title">Form</property>
+    <property name="title">创建工况</property>
     <property name="titlebar">true</property>
     <property name="icon">nil</property>
     <property name="bkcolor">gray</property>

+ 3 - 3
kul/boundary_brep.kul

@@ -140,7 +140,7 @@
           <property name="image_list">development1,package1</property>
           <property name="id_alias">8</property>
           <property name="gray">false</property>
-          <property name="visible">true</property>
+          <property name="visible">false</property>
           <property name="simple_bind"/>
           <property name="list_bind"/>
           <property name="index1_bind"/>
@@ -425,7 +425,7 @@
             <property name="default">false</property>
             <property name="flat">false</property>
             <property name="flat_radio">false</property>
-            <property name="gray">false</property>
+            <property name="gray">true</property>
             <property name="id_alias">37</property>
             <property name="visible">true</property>
             <property name="onClick"/>
@@ -453,7 +453,7 @@
             <property name="default">false</property>
             <property name="flat">false</property>
             <property name="flat_radio">false</property>
-            <property name="gray">false</property>
+            <property name="gray">true</property>
             <property name="id_alias">38</property>
             <property name="visible">true</property>
             <property name="onClick"/>

+ 4 - 4
kul/boundary_constraint.kul

@@ -60,7 +60,7 @@
           <property name="transparent_background">true</property>
           <property name="mouse_trace">false</property>
           <property name="gray">true</property>
-          <property name="visible">true</property>
+          <property name="visible">false</property>
           <property name="simple_bind"/>
           <property name="handle_bind"/>
           <property name="onLButtonDown"/>
@@ -115,7 +115,7 @@
             <property name="index1_bind"/>
             <property name="enable_bind"/>
             <property name="visible_bind"/>
-            <property name="onSwitch"/>
+            <property name="onSwitch">OnChangeConstraint()</property>
             <property name="handle_bind"/>
             <property name="hightlight">false</property>
             <property name="stylesheet"/>
@@ -136,7 +136,7 @@
             <property name="index1_bind"/>
             <property name="enable_bind"/>
             <property name="visible_bind"/>
-            <property name="onSwitch">OnChangeConstraint(1)</property>
+            <property name="onSwitch">OnChangeConstraint()</property>
             <property name="handle_bind"/>
             <property name="hightlight">false</property>
             <property name="stylesheet"/>
@@ -4943,7 +4943,7 @@
             <property name="flat_radio">false</property>
             <property name="gray">false</property>
             <property name="id_alias">19</property>
-            <property name="visible">true</property>
+            <property name="visible">false</property>
             <property name="onClick">OnFile()</property>
             <property name="onContentMenu"/>
             <property name="shadow">false</property>

+ 8 - 47
kul/boundary_load.kul

@@ -39,45 +39,6 @@
       <property name="scroll_height">auto</property>
       <property name="scroll_amargin">5</property>
       <property name="scroll_steps">3</property>
-      <widget type="hbox">
-        <property name="adjust">horizontal</property>
-        <property name="hightlight">false</property>
-        <property name="margin">1</property>
-        <property name="scroll">false</property>
-        <property name="shadow">true</property>
-        <property name="scroll_width">auto</property>
-        <property name="scroll_amargin">5</property>
-        <property name="scroll_steps">3</property>
-        <widget type="bitmap">
-          <property name="name"/>
-          <property name="picture">通过.png</property>
-          <property name="autoPlay">false</property>
-          <property name="id_alias">5</property>
-          <property name="width">10</property>
-          <property name="height">10</property>
-          <property name="adjust">fixed</property>
-          <property name="fit_origin_size">false</property>
-          <property name="transparent_background">true</property>
-          <property name="mouse_trace">false</property>
-          <property name="gray">true</property>
-          <property name="visible">true</property>
-          <property name="simple_bind"/>
-          <property name="handle_bind"/>
-          <property name="onLButtonDown"/>
-          <property name="onLButtonUp"/>
-          <property name="onMButtonDown"/>
-          <property name="onMButtonUp"/>
-          <property name="onRButtonDown"/>
-          <property name="onRButtonUp"/>
-          <property name="onMouseMove"/>
-          <property name="onResize"/>
-          <property name="hightlight">false</property>
-          <property name="stylesheet"/>
-        </widget>
-        <widget type="space">
-          <property name="size">auto</property>
-        </widget>
-      </widget>
       <widget type="hbox">
         <property name="adjust">horizontal</property>
         <property name="hightlight">false</property>
@@ -109,7 +70,7 @@
               <property name="name"/>
               <property name="text">模型加密</property>
               <property name="tip"/>
-              <property name="id_alias">19</property>
+              <property name="id_alias">20</property>
               <property name="width">19</property>
               <property name="height">8</property>
               <property name="adjust">horizontal</property>
@@ -143,7 +104,7 @@
               <property name="name"/>
               <property name="text">均匀加密次数:</property>
               <property name="tip"/>
-              <property name="id_alias">21</property>
+              <property name="id_alias">22</property>
               <property name="width">19</property>
               <property name="height">8</property>
               <property name="adjust">fixed</property>
@@ -161,7 +122,7 @@
               <property name="name">pb_1</property>
               <property name="data">0,1,2,3,4,5,6,7,8,9,10</property>
               <property name="tip"/>
-              <property name="id_alias">22</property>
+              <property name="id_alias">23</property>
               <property name="width">64</property>
               <property name="height">10</property>
               <property name="adjust">fixed</property>
@@ -202,7 +163,7 @@
               <property name="name"/>
               <property name="text">网格尺寸大小:</property>
               <property name="tip"/>
-              <property name="id_alias">25</property>
+              <property name="id_alias">26</property>
               <property name="width">19</property>
               <property name="height">8</property>
               <property name="adjust">fixed</property>
@@ -220,7 +181,7 @@
               <property name="name">pb_2</property>
               <property name="data">0</property>
               <property name="tip"/>
-              <property name="id_alias">26</property>
+              <property name="id_alias">27</property>
               <property name="width">64</property>
               <property name="height">10</property>
               <property name="adjust">fixed</property>
@@ -297,7 +258,7 @@
               <property name="flat">false</property>
               <property name="flat_radio">false</property>
               <property name="gray">false</property>
-              <property name="id_alias">29</property>
+              <property name="id_alias">30</property>
               <property name="visible">true</property>
               <property name="onClick">OnBPP()</property>
               <property name="onContentMenu"/>
@@ -338,7 +299,7 @@
               <property name="flat">false</property>
               <property name="flat_radio">false</property>
               <property name="gray">false</property>
-              <property name="id_alias">31</property>
+              <property name="id_alias">32</property>
               <property name="visible">true</property>
               <property name="onClick">OnReturnMenu();</property>
               <property name="onContentMenu"/>
@@ -379,7 +340,7 @@
               <property name="flat">false</property>
               <property name="flat_radio">false</property>
               <property name="gray">false</property>
-              <property name="id_alias">33</property>
+              <property name="id_alias">34</property>
               <property name="visible">false</property>
               <property name="onClick">OnLoadPeiDian()</property>
               <property name="onContentMenu"/>

+ 2 - 2
kul/boundary_menu.kul

@@ -50,7 +50,7 @@
         <property name="scroll_steps">3</property>
         <widget type="pushbutton">
           <property name="name"/>
-          <property name="label">配点加载</property>
+          <property name="label">模型逼近</property>
           <property name="tip"/>
           <property name="bitmap">nil</property>
           <property name="bitmap_align">left</property>
@@ -78,7 +78,7 @@
         </widget>
         <widget type="pushbutton">
           <property name="name"/>
-          <property name="label">拾取-guass</property>
+          <property name="label">RB3</property>
           <property name="tip"/>
           <property name="bitmap">nil</property>
           <property name="bitmap_align">left</property>

+ 1 - 1
kul/colorMap.kul

@@ -4,7 +4,7 @@
   <widget type="form" name="colorMap_pane">
     <property name="id">0x4fd616f1-0xf365-0x4687-0xb5-0x19-0x6b-0x3e-0xf8-0x11-0x84-0x31</property>
     <property name="style">popup</property>
-    <property name="title">Form</property>
+    <property name="title">颜色映射表</property>
     <property name="titlebar">true</property>
     <property name="icon">nil</property>
     <property name="bkcolor">gray</property>

+ 19 - 6
kul/form.kul

@@ -176,12 +176,28 @@
           <property name="hightlight">false</property>
           <property name="stylesheet"/>
         </widget>
+        <widget type="space">
+          <property name="size">auto</property>
+        </widget>
+      </widget>
+      <widget type="space">
+        <property name="size">auto</property>
+      </widget>
+      <widget type="vbox">
+        <property name="adjust">auto</property>
+        <property name="hightlight">false</property>
+        <property name="margin">1</property>
+        <property name="scroll">false</property>
+        <property name="shadow">true</property>
+        <property name="scroll_height">auto</property>
+        <property name="scroll_amargin">5</property>
+        <property name="scroll_steps">3</property>
         <widget type="radiobutton">
           <property name="name"/>
           <property name="label">Spectrum</property>
           <property name="group_id">1</property>
           <property name="default_group_item">false</property>
-          <property name="id_alias">13</property>
+          <property name="id_alias">25</property>
           <property name="width">50</property>
           <property name="height">10</property>
           <property name="auto">true</property>
@@ -202,7 +218,7 @@
           <property name="label">Eigen Buckling</property>
           <property name="group_id">1</property>
           <property name="default_group_item">false</property>
-          <property name="id_alias">14</property>
+          <property name="id_alias">27</property>
           <property name="width">50</property>
           <property name="height">10</property>
           <property name="auto">true</property>
@@ -223,7 +239,7 @@
           <property name="label">Substructuring/CMS</property>
           <property name="group_id">1</property>
           <property name="default_group_item">false</property>
-          <property name="id_alias">15</property>
+          <property name="id_alias">29</property>
           <property name="width">50</property>
           <property name="height">10</property>
           <property name="auto">true</property>
@@ -243,9 +259,6 @@
           <property name="size">auto</property>
         </widget>
       </widget>
-      <widget type="space">
-        <property name="size">auto</property>
-      </widget>
       <widget type="vbox">
         <property name="adjust">auto</property>
         <property name="hightlight">false</property>

+ 20 - 7
kul/form1.kul

@@ -184,12 +184,28 @@
           <property name="hightlight">false</property>
           <property name="stylesheet"/>
         </widget>
+        <widget type="space">
+          <property name="size">auto</property>
+        </widget>
+      </widget>
+      <widget type="space">
+        <property name="size">auto</property>
+      </widget>
+      <widget type="vbox">
+        <property name="adjust">auto</property>
+        <property name="hightlight">false</property>
+        <property name="margin">1</property>
+        <property name="scroll">false</property>
+        <property name="shadow">true</property>
+        <property name="scroll_height">auto</property>
+        <property name="scroll_amargin">5</property>
+        <property name="scroll_steps">3</property>
         <widget type="radiobutton">
           <property name="name"/>
           <property name="label">Unsymmetric</property>
           <property name="group_id">1</property>
           <property name="default_group_item">false</property>
-          <property name="id_alias">15</property>
+          <property name="id_alias">26</property>
           <property name="width">50</property>
           <property name="height">10</property>
           <property name="auto">true</property>
@@ -210,7 +226,7 @@
           <property name="label">Damped</property>
           <property name="group_id">1</property>
           <property name="default_group_item">false</property>
-          <property name="id_alias">16</property>
+          <property name="id_alias">28</property>
           <property name="width">50</property>
           <property name="height">10</property>
           <property name="auto">true</property>
@@ -231,7 +247,7 @@
           <property name="label">QR Damped</property>
           <property name="group_id">1</property>
           <property name="default_group_item">false</property>
-          <property name="id_alias">17</property>
+          <property name="id_alias">30</property>
           <property name="width">50</property>
           <property name="height">10</property>
           <property name="auto">true</property>
@@ -251,7 +267,7 @@
           <property name="name"/>
           <property name="data">10</property>
           <property name="tip"/>
-          <property name="id_alias">18</property>
+          <property name="id_alias">32</property>
           <property name="width">50</property>
           <property name="height">12</property>
           <property name="adjust">fixed</property>
@@ -280,9 +296,6 @@
           <property name="size">auto</property>
         </widget>
       </widget>
-      <widget type="space">
-        <property name="size">auto</property>
-      </widget>
       <widget type="vbox">
         <property name="adjust">auto</property>
         <property name="hightlight">false</property>

+ 3 - 3
kul/geometry_check.kul

@@ -60,7 +60,7 @@
           <property name="transparent_background">true</property>
           <property name="mouse_trace">false</property>
           <property name="gray">true</property>
-          <property name="visible">true</property>
+          <property name="visible">false</property>
           <property name="simple_bind"/>
           <property name="handle_bind"/>
           <property name="onLButtonDown"/>
@@ -161,7 +161,7 @@
             <widget type="pushbutton">
               <property name="name">pb_pass01</property>
               <property name="label"/>
-              <property name="tip"/>
+              <property name="tip">通过</property>
               <property name="bitmap">pass.png</property>
               <property name="bitmap_align">left</property>
               <property name="width">35</property>
@@ -189,7 +189,7 @@
             <widget type="pushbutton">
               <property name="name">pb_Error</property>
               <property name="label"/>
-              <property name="tip"/>
+              <property name="tip">未通过</property>
               <property name="bitmap">错误.png</property>
               <property name="bitmap_align">left</property>
               <property name="width">35</property>

+ 5 - 87
kul/geometry_menu.kul

@@ -62,7 +62,7 @@
           <property name="flat">false</property>
           <property name="flat_radio">false</property>
           <property name="gray">false</property>
-          <property name="id_alias">9</property>
+          <property name="id_alias">7</property>
           <property name="visible">true</property>
           <property name="onClick">OnModelCheck()</property>
           <property name="onContentMenu"/>
@@ -103,7 +103,7 @@
           <property name="flat">false</property>
           <property name="flat_radio">false</property>
           <property name="gray">false</property>
-          <property name="id_alias">11</property>
+          <property name="id_alias">9</property>
           <property name="visible">true</property>
           <property name="onClick">OnNode()</property>
           <property name="onContentMenu"/>
@@ -131,7 +131,7 @@
           <property name="flat">false</property>
           <property name="flat_radio">false</property>
           <property name="gray">false</property>
-          <property name="id_alias">12</property>
+          <property name="id_alias">10</property>
           <property name="visible">true</property>
           <property name="onClick">OnCenter()</property>
           <property name="onContentMenu"/>
@@ -159,7 +159,7 @@
           <property name="flat">false</property>
           <property name="flat_radio">false</property>
           <property name="gray">false</property>
-          <property name="id_alias">13</property>
+          <property name="id_alias">11</property>
           <property name="visible">true</property>
           <property name="onClick">OnLinePoi()</property>
           <property name="onContentMenu"/>
@@ -200,7 +200,7 @@
           <property name="flat">false</property>
           <property name="flat_radio">false</property>
           <property name="gray">false</property>
-          <property name="id_alias">15</property>
+          <property name="id_alias">13</property>
           <property name="visible">true</property>
           <property name="onClick">OnMark()</property>
           <property name="onContentMenu"/>
@@ -218,88 +218,6 @@
           <property name="size">auto</property>
         </widget>
       </widget>
-      <widget type="vbox">
-        <property name="adjust">auto</property>
-        <property name="hightlight">false</property>
-        <property name="margin">1</property>
-        <property name="scroll">false</property>
-        <property name="shadow">true</property>
-        <property name="scroll_height">auto</property>
-        <property name="scroll_amargin">5</property>
-        <property name="scroll_steps">3</property>
-        <widget type="pushbutton">
-          <property name="name"/>
-          <property name="label">旋转中心</property>
-          <property name="tip"/>
-          <property name="bitmap">nil</property>
-          <property name="bitmap_align">left</property>
-          <property name="width">80</property>
-          <property name="height">12</property>
-          <property name="adjust">fixed</property>
-          <property name="can_check">false</property>
-          <property name="default">false</property>
-          <property name="flat">false</property>
-          <property name="flat_radio">false</property>
-          <property name="gray">false</property>
-          <property name="id_alias">17</property>
-          <property name="visible">true</property>
-          <property name="onClick">OnRevolve()</property>
-          <property name="onContentMenu"/>
-          <property name="shadow">false</property>
-          <property name="shadow_type">soft</property>
-          <property name="enable_bind"/>
-          <property name="simple_bind"/>
-          <property name="valid_bind"/>
-          <property name="visible_bind"/>
-          <property name="handle_bind"/>
-          <property name="hightlight">false</property>
-          <property name="stylesheet"/>
-        </widget>
-        <widget type="space">
-          <property name="size">auto</property>
-        </widget>
-      </widget>
-      <widget type="vbox">
-        <property name="adjust">auto</property>
-        <property name="hightlight">false</property>
-        <property name="margin">1</property>
-        <property name="scroll">false</property>
-        <property name="shadow">true</property>
-        <property name="scroll_height">auto</property>
-        <property name="scroll_amargin">5</property>
-        <property name="scroll_steps">3</property>
-        <widget type="pushbutton">
-          <property name="name"/>
-          <property name="label">rbe3裁剪</property>
-          <property name="tip"/>
-          <property name="bitmap">nil</property>
-          <property name="bitmap_align">left</property>
-          <property name="width">80</property>
-          <property name="height">12</property>
-          <property name="adjust">fixed</property>
-          <property name="can_check">false</property>
-          <property name="default">false</property>
-          <property name="flat">false</property>
-          <property name="flat_radio">false</property>
-          <property name="gray">false</property>
-          <property name="id_alias">19</property>
-          <property name="visible">true</property>
-          <property name="onClick">OnCut()</property>
-          <property name="onContentMenu"/>
-          <property name="shadow">false</property>
-          <property name="shadow_type">soft</property>
-          <property name="enable_bind"/>
-          <property name="simple_bind"/>
-          <property name="valid_bind"/>
-          <property name="visible_bind"/>
-          <property name="handle_bind"/>
-          <property name="hightlight">false</property>
-          <property name="stylesheet"/>
-        </widget>
-        <widget type="space">
-          <property name="size">auto</property>
-        </widget>
-      </widget>
       <widget type="space">
         <property name="size">auto</property>
       </widget>

+ 67 - 236
kul/mainfrm.kul

@@ -10,7 +10,7 @@
     <property name="bkcolor">gray</property>
     <property name="width">auto</property>
     <property name="height">auto</property>
-    <property name="center">center</property>
+    <property name="center">mouse_center</property>
     <property name="auto_center">false</property>
     <property name="transparent">false</property>
     <property name="resize">true</property>
@@ -79,7 +79,7 @@
               <property name="flat">true</property>
               <property name="flat_radio">false</property>
               <property name="gray">false</property>
-              <property name="id_alias">50</property>
+              <property name="id_alias">47</property>
               <property name="visible">false</property>
               <property name="onClick"/>
               <property name="onContentMenu"/>
@@ -107,7 +107,7 @@
               <property name="flat">true</property>
               <property name="flat_radio">false</property>
               <property name="gray">false</property>
-              <property name="id_alias">51</property>
+              <property name="id_alias">48</property>
               <property name="visible">false</property>
               <property name="onClick"/>
               <property name="onContentMenu"/>
@@ -135,7 +135,7 @@
               <property name="flat">true</property>
               <property name="flat_radio">false</property>
               <property name="gray">false</property>
-              <property name="id_alias">52</property>
+              <property name="id_alias">49</property>
               <property name="visible">false</property>
               <property name="onClick"/>
               <property name="onContentMenu"/>
@@ -163,7 +163,7 @@
               <property name="flat">true</property>
               <property name="flat_radio">false</property>
               <property name="gray">false</property>
-              <property name="id_alias">53</property>
+              <property name="id_alias">50</property>
               <property name="visible">false</property>
               <property name="onClick"/>
               <property name="onContentMenu"/>
@@ -191,7 +191,7 @@
               <property name="flat">true</property>
               <property name="flat_radio">false</property>
               <property name="gray">false</property>
-              <property name="id_alias">54</property>
+              <property name="id_alias">51</property>
               <property name="visible">false</property>
               <property name="onClick"/>
               <property name="onContentMenu"/>
@@ -219,7 +219,7 @@
               <property name="flat">true</property>
               <property name="flat_radio">false</property>
               <property name="gray">false</property>
-              <property name="id_alias">55</property>
+              <property name="id_alias">52</property>
               <property name="visible">false</property>
               <property name="onClick"/>
               <property name="onContentMenu"/>
@@ -247,7 +247,7 @@
               <property name="flat">true</property>
               <property name="flat_radio">false</property>
               <property name="gray">false</property>
-              <property name="id_alias">56</property>
+              <property name="id_alias">53</property>
               <property name="visible">false</property>
               <property name="onClick"/>
               <property name="onContentMenu"/>
@@ -275,7 +275,7 @@
               <property name="flat">true</property>
               <property name="flat_radio">false</property>
               <property name="gray">false</property>
-              <property name="id_alias">57</property>
+              <property name="id_alias">54</property>
               <property name="visible">false</property>
               <property name="onClick"/>
               <property name="onContentMenu"/>
@@ -303,7 +303,7 @@
               <property name="flat">true</property>
               <property name="flat_radio">false</property>
               <property name="gray">false</property>
-              <property name="id_alias">58</property>
+              <property name="id_alias">55</property>
               <property name="visible">false</property>
               <property name="onClick"/>
               <property name="onContentMenu"/>
@@ -319,19 +319,19 @@
             </widget>
             <widget type="pushbutton">
               <property name="name"/>
-              <property name="label">P</property>
+              <property name="label"/>
               <property name="tip">点选</property>
-              <property name="bitmap">nil</property>
+              <property name="bitmap">side11.png</property>
               <property name="bitmap_align">left</property>
               <property name="width">12</property>
               <property name="height">12</property>
               <property name="adjust">fixed</property>
               <property name="can_check">false</property>
               <property name="default">false</property>
-              <property name="flat">false</property>
+              <property name="flat">true</property>
               <property name="flat_radio">false</property>
               <property name="gray">false</property>
-              <property name="id_alias">59</property>
+              <property name="id_alias">56</property>
               <property name="visible">true</property>
               <property name="onClick">OnPoints()</property>
               <property name="onContentMenu"/>
@@ -359,7 +359,7 @@
               <property name="flat">true</property>
               <property name="flat_radio">false</property>
               <property name="gray">false</property>
-              <property name="id_alias">60</property>
+              <property name="id_alias">57</property>
               <property name="visible">false</property>
               <property name="onClick"/>
               <property name="onContentMenu"/>
@@ -387,7 +387,7 @@
               <property name="flat">true</property>
               <property name="flat_radio">false</property>
               <property name="gray">false</property>
-              <property name="id_alias">61</property>
+              <property name="id_alias">58</property>
               <property name="visible">false</property>
               <property name="onClick"/>
               <property name="onContentMenu"/>
@@ -403,19 +403,19 @@
             </widget>
             <widget type="pushbutton">
               <property name="name"/>
-              <property name="label">B</property>
-              <property name="tip"/>
-              <property name="bitmap">nil</property>
+              <property name="label"/>
+              <property name="tip">梁节点拾取</property>
+              <property name="bitmap">梁节点.png</property>
               <property name="bitmap_align">left</property>
               <property name="width">12</property>
               <property name="height">12</property>
               <property name="adjust">fixed</property>
               <property name="can_check">false</property>
               <property name="default">false</property>
-              <property name="flat">false</property>
+              <property name="flat">true</property>
               <property name="flat_radio">false</property>
               <property name="gray">false</property>
-              <property name="id_alias">62</property>
+              <property name="id_alias">59</property>
               <property name="visible">true</property>
               <property name="onClick">OnMat()</property>
               <property name="onContentMenu"/>
@@ -431,19 +431,19 @@
             </widget>
             <widget type="pushbutton">
               <property name="name"/>
-              <property name="label">F</property>
-              <property name="tip"/>
-              <property name="bitmap">nil</property>
+              <property name="label"/>
+              <property name="tip">面拾取</property>
+              <property name="bitmap">面拾取.png</property>
               <property name="bitmap_align">left</property>
               <property name="width">12</property>
               <property name="height">12</property>
               <property name="adjust">fixed</property>
               <property name="can_check">false</property>
               <property name="default">false</property>
-              <property name="flat">false</property>
+              <property name="flat">true</property>
               <property name="flat_radio">false</property>
               <property name="gray">false</property>
-              <property name="id_alias">63</property>
+              <property name="id_alias">60</property>
               <property name="visible">true</property>
               <property name="onClick">pick(1)</property>
               <property name="onContentMenu"/>
@@ -466,13 +466,13 @@
           <property name="name">canvas</property>
           <property name="id_alias">9</property>
           <property name="width">180</property>
-          <property name="height">180</property>
+          <property name="height">50</property>
           <property name="adjust">auto</property>
           <property name="gray">false</property>
           <property name="visible">true</property>
           <property name="onPickup">OnPickUp()</property>
           <property name="onHighlight"/>
-          <property name="onContentMenu"/>
+          <property name="onContentMenu">OnCanvasContentMenu()</property>
           <property name="onLButtonDown"/>
           <property name="onLButtonUp"/>
           <property name="onMButtonDown"/>
@@ -807,7 +807,7 @@
         <widget type="pushbutton">
           <property name="name"/>
           <property name="label"/>
-          <property name="tip"/>
+          <property name="tip">打开透明视图</property>
           <property name="bitmap">tool11.png</property>
           <property name="bitmap_align">left</property>
           <property name="width">12</property>
@@ -835,7 +835,7 @@
         <widget type="pushbutton">
           <property name="name"/>
           <property name="label"/>
-          <property name="tip"/>
+          <property name="tip">关闭透明视图</property>
           <property name="bitmap">tool12.png</property>
           <property name="bitmap_align">left</property>
           <property name="width">12</property>
@@ -1146,20 +1146,11 @@
         <widget type="space">
           <property name="size">auto</property>
         </widget>
-        <widget type="space">
-          <property name="size">auto</property>
-        </widget>
-        <widget type="space">
-          <property name="size">auto</property>
-        </widget>
-        <widget type="space">
-          <property name="size">auto</property>
-        </widget>
         <widget type="bitmap">
           <property name="name">pc_geo</property>
           <property name="picture">浅灰色.png</property>
           <property name="autoPlay">false</property>
-          <property name="id_alias">39</property>
+          <property name="id_alias">36</property>
           <property name="width">50</property>
           <property name="height">10</property>
           <property name="adjust">horizontal</property>
@@ -1185,7 +1176,7 @@
           <property name="name">pc_mat</property>
           <property name="picture">浅灰色.png</property>
           <property name="autoPlay">false</property>
-          <property name="id_alias">40</property>
+          <property name="id_alias">37</property>
           <property name="width">50</property>
           <property name="height">10</property>
           <property name="adjust">horizontal</property>
@@ -1211,7 +1202,7 @@
           <property name="name">pc_bou</property>
           <property name="picture">浅灰色.png</property>
           <property name="autoPlay">false</property>
-          <property name="id_alias">41</property>
+          <property name="id_alias">38</property>
           <property name="width">50</property>
           <property name="height">10</property>
           <property name="adjust">horizontal</property>
@@ -1237,7 +1228,7 @@
           <property name="name">pc_sol</property>
           <property name="picture">浅灰色.png</property>
           <property name="autoPlay">false</property>
-          <property name="id_alias">42</property>
+          <property name="id_alias">39</property>
           <property name="width">50</property>
           <property name="height">10</property>
           <property name="adjust">horizontal</property>
@@ -1263,7 +1254,7 @@
           <property name="name">pc_res</property>
           <property name="picture">浅灰色.png</property>
           <property name="autoPlay">false</property>
-          <property name="id_alias">43</property>
+          <property name="id_alias">40</property>
           <property name="width">50</property>
           <property name="height">10</property>
           <property name="adjust">horizontal</property>
@@ -1298,7 +1289,7 @@
         <widget type="hprogbar">
           <property name="name">prop</property>
           <property name="data">0, 100, 0</property>
-          <property name="id_alias">44</property>
+          <property name="id_alias">41</property>
           <property name="width">150</property>
           <property name="height">5</property>
           <property name="adjust">fixed</property>
@@ -1330,7 +1321,7 @@
           <property name="adjust">horizontal</property>
           <property name="hightlight">false</property>
           <property name="margin">1</property>
-          <property name="scroll">false</property>
+          <property name="scroll">true</property>
           <property name="shadow">true</property>
           <property name="scroll_width">auto</property>
           <property name="scroll_amargin">5</property>
@@ -1355,7 +1346,7 @@
               <widget type="composite">
                 <property name="name"/>
                 <property name="ref">geometry_menu</property>
-                <property name="id_alias">67</property>
+                <property name="id_alias">64</property>
                 <property name="adjust">auto</property>
                 <property name="hightlight">false</property>
                 <property name="margin">1</property>
@@ -1365,7 +1356,7 @@
               <widget type="composite">
                 <property name="name">cw_geometry_check</property>
                 <property name="ref">geometry_check</property>
-                <property name="id_alias">68</property>
+                <property name="id_alias">65</property>
                 <property name="adjust">auto</property>
                 <property name="hightlight">false</property>
                 <property name="margin">1</property>
@@ -1375,7 +1366,7 @@
               <widget type="composite">
                 <property name="name"/>
                 <property name="ref">physics_menu</property>
-                <property name="id_alias">69</property>
+                <property name="id_alias">66</property>
                 <property name="adjust">auto</property>
                 <property name="hightlight">false</property>
                 <property name="margin">1</property>
@@ -1385,7 +1376,7 @@
               <widget type="composite">
                 <property name="name">physics_mastk</property>
                 <property name="ref">physics_material</property>
-                <property name="id_alias">70</property>
+                <property name="id_alias">67</property>
                 <property name="adjust">auto</property>
                 <property name="hightlight">false</property>
                 <property name="margin">1</property>
@@ -1395,7 +1386,7 @@
               <widget type="composite">
                 <property name="name">cw_boundary_menu_4</property>
                 <property name="ref">boundary_menu</property>
-                <property name="id_alias">71</property>
+                <property name="id_alias">68</property>
                 <property name="adjust">auto</property>
                 <property name="hightlight">false</property>
                 <property name="margin">1</property>
@@ -1405,7 +1396,7 @@
               <widget type="composite">
                 <property name="name">cw_boundary_load</property>
                 <property name="ref">boundary_load</property>
-                <property name="id_alias">72</property>
+                <property name="id_alias">69</property>
                 <property name="adjust">auto</property>
                 <property name="hightlight">false</property>
                 <property name="margin">1</property>
@@ -1415,7 +1406,7 @@
               <widget type="composite">
                 <property name="name"/>
                 <property name="ref">solve_menu</property>
-                <property name="id_alias">73</property>
+                <property name="id_alias">70</property>
                 <property name="adjust">auto</property>
                 <property name="hightlight">false</property>
                 <property name="margin">1</property>
@@ -1425,7 +1416,7 @@
               <widget type="composite">
                 <property name="name">cw_solve_setup</property>
                 <property name="ref">solve_setup</property>
-                <property name="id_alias">74</property>
+                <property name="id_alias">71</property>
                 <property name="adjust">auto</property>
                 <property name="hightlight">false</property>
                 <property name="margin">1</property>
@@ -1435,7 +1426,7 @@
               <widget type="composite">
                 <property name="name"/>
                 <property name="ref">result_menu</property>
-                <property name="id_alias">75</property>
+                <property name="id_alias">72</property>
                 <property name="adjust">auto</property>
                 <property name="hightlight">false</property>
                 <property name="margin">1</property>
@@ -1445,7 +1436,7 @@
               <widget type="composite">
                 <property name="name"/>
                 <property name="ref">result_attribute</property>
-                <property name="id_alias">76</property>
+                <property name="id_alias">73</property>
                 <property name="adjust">auto</property>
                 <property name="hightlight">false</property>
                 <property name="margin">1</property>
@@ -1455,67 +1446,7 @@
               <widget type="composite">
                 <property name="name"/>
                 <property name="ref">result_cutter</property>
-                <property name="id_alias">77</property>
-                <property name="adjust">auto</property>
-                <property name="hightlight">false</property>
-                <property name="margin">1</property>
-                <property name="visible">true</property>
-                <property name="enable">true</property>
-              </widget>
-              <widget type="composite">
-                <property name="name"/>
-                <property name="ref">geometry_menu_collision</property>
-                <property name="id_alias">78</property>
-                <property name="adjust">auto</property>
-                <property name="hightlight">false</property>
-                <property name="margin">1</property>
-                <property name="visible">true</property>
-                <property name="enable">true</property>
-              </widget>
-              <widget type="composite">
-                <property name="name">cw_geometry_nurbs</property>
-                <property name="ref">geometry_nurbs</property>
-                <property name="id_alias">79</property>
-                <property name="adjust">auto</property>
-                <property name="hightlight">false</property>
-                <property name="margin">1</property>
-                <property name="visible">true</property>
-                <property name="enable">true</property>
-              </widget>
-              <widget type="composite">
-                <property name="name"/>
-                <property name="ref">physics_menu_collision</property>
-                <property name="id_alias">80</property>
-                <property name="adjust">auto</property>
-                <property name="hightlight">false</property>
-                <property name="margin">1</property>
-                <property name="visible">true</property>
-                <property name="enable">true</property>
-              </widget>
-              <widget type="composite">
-                <property name="name"/>
-                <property name="ref">physics_BeiJingMesh</property>
-                <property name="id_alias">81</property>
-                <property name="adjust">auto</property>
-                <property name="hightlight">false</property>
-                <property name="margin">1</property>
-                <property name="visible">true</property>
-                <property name="enable">true</property>
-              </widget>
-              <widget type="composite">
-                <property name="name"/>
-                <property name="ref">result_menu_collision</property>
-                <property name="id_alias">82</property>
-                <property name="adjust">auto</property>
-                <property name="hightlight">false</property>
-                <property name="margin">1</property>
-                <property name="visible">true</property>
-                <property name="enable">true</property>
-              </widget>
-              <widget type="composite">
-                <property name="name">cw_result_Play_collision</property>
-                <property name="ref">result_Play_collision</property>
-                <property name="id_alias">83</property>
+                <property name="id_alias">74</property>
                 <property name="adjust">auto</property>
                 <property name="hightlight">false</property>
                 <property name="margin">1</property>
@@ -1525,7 +1456,7 @@
               <widget type="composite">
                 <property name="name">cw_boundary_force_24</property>
                 <property name="ref">boundary_force</property>
-                <property name="id_alias">84</property>
+                <property name="id_alias">75</property>
                 <property name="adjust">auto</property>
                 <property name="hightlight">false</property>
                 <property name="margin">1</property>
@@ -1535,27 +1466,7 @@
               <widget type="composite">
                 <property name="name">cw_boundary_constraint_25</property>
                 <property name="ref">boundary_constraint</property>
-                <property name="id_alias">85</property>
-                <property name="adjust">auto</property>
-                <property name="hightlight">false</property>
-                <property name="margin">1</property>
-                <property name="visible">true</property>
-                <property name="enable">true</property>
-              </widget>
-              <widget type="composite">
-                <property name="name">cw_physics_material_H_19</property>
-                <property name="ref">physics_material_H</property>
-                <property name="id_alias">86</property>
-                <property name="adjust">auto</property>
-                <property name="hightlight">false</property>
-                <property name="margin">1</property>
-                <property name="visible">true</property>
-                <property name="enable">true</property>
-              </widget>
-              <widget type="composite">
-                <property name="name">cw_physics_material_Edit_20</property>
-                <property name="ref">physics_material_Edit</property>
-                <property name="id_alias">87</property>
+                <property name="id_alias">76</property>
                 <property name="adjust">auto</property>
                 <property name="hightlight">false</property>
                 <property name="margin">1</property>
@@ -1565,7 +1476,7 @@
               <widget type="composite">
                 <property name="name">cw_geometry_node_21</property>
                 <property name="ref">geometry_node</property>
-                <property name="id_alias">88</property>
+                <property name="id_alias">77</property>
                 <property name="adjust">auto</property>
                 <property name="hightlight">false</property>
                 <property name="margin">1</property>
@@ -1575,7 +1486,7 @@
               <widget type="composite">
                 <property name="name">cw_geometry_mark_22</property>
                 <property name="ref">geometry_mark</property>
-                <property name="id_alias">89</property>
+                <property name="id_alias">78</property>
                 <property name="adjust">auto</property>
                 <property name="hightlight">false</property>
                 <property name="margin">1</property>
@@ -1585,7 +1496,7 @@
               <widget type="composite">
                 <property name="name">cw_boundary_brep_23</property>
                 <property name="ref">boundary_brep</property>
-                <property name="id_alias">90</property>
+                <property name="id_alias">79</property>
                 <property name="adjust">auto</property>
                 <property name="hightlight">false</property>
                 <property name="margin">1</property>
@@ -1595,87 +1506,7 @@
               <widget type="composite">
                 <property name="name">cw_result_ModelAnsys_24</property>
                 <property name="ref">result_ModelAnsys</property>
-                <property name="id_alias">91</property>
-                <property name="adjust">auto</property>
-                <property name="hightlight">false</property>
-                <property name="margin">1</property>
-                <property name="visible">true</property>
-                <property name="enable">true</property>
-              </widget>
-              <widget type="composite">
-                <property name="name"/>
-                <property name="ref">form</property>
-                <property name="id_alias">92</property>
-                <property name="adjust">auto</property>
-                <property name="hightlight">false</property>
-                <property name="margin">1</property>
-                <property name="visible">true</property>
-                <property name="enable">true</property>
-              </widget>
-              <widget type="composite">
-                <property name="name"/>
-                <property name="ref">form1</property>
-                <property name="id_alias">93</property>
-                <property name="adjust">auto</property>
-                <property name="hightlight">false</property>
-                <property name="margin">1</property>
-                <property name="visible">true</property>
-                <property name="enable">true</property>
-              </widget>
-              <widget type="composite">
-                <property name="name"/>
-                <property name="ref">compose</property>
-                <property name="id_alias">94</property>
-                <property name="adjust">auto</property>
-                <property name="hightlight">false</property>
-                <property name="margin">1</property>
-                <property name="visible">true</property>
-                <property name="enable">true</property>
-              </widget>
-              <widget type="composite">
-                <property name="name"/>
-                <property name="ref">compose1</property>
-                <property name="id_alias">95</property>
-                <property name="adjust">auto</property>
-                <property name="hightlight">false</property>
-                <property name="margin">1</property>
-                <property name="visible">true</property>
-                <property name="enable">true</property>
-              </widget>
-              <widget type="composite">
-                <property name="name"/>
-                <property name="ref">compose2</property>
-                <property name="id_alias">96</property>
-                <property name="adjust">auto</property>
-                <property name="hightlight">false</property>
-                <property name="margin">1</property>
-                <property name="visible">true</property>
-                <property name="enable">true</property>
-              </widget>
-              <widget type="composite">
-                <property name="name"/>
-                <property name="ref">geometry_menu_revolve</property>
-                <property name="id_alias">97</property>
-                <property name="adjust">auto</property>
-                <property name="hightlight">false</property>
-                <property name="margin">1</property>
-                <property name="visible">true</property>
-                <property name="enable">true</property>
-              </widget>
-              <widget type="composite">
-                <property name="name"/>
-                <property name="ref">result_loadstack</property>
-                <property name="id_alias">98</property>
-                <property name="adjust">auto</property>
-                <property name="hightlight">false</property>
-                <property name="margin">1</property>
-                <property name="visible">true</property>
-                <property name="enable">true</property>
-              </widget>
-              <widget type="composite">
-                <property name="name"/>
-                <property name="ref">geometry_cut</property>
-                <property name="id_alias">99</property>
+                <property name="id_alias">80</property>
                 <property name="adjust">auto</property>
                 <property name="hightlight">false</property>
                 <property name="margin">1</property>
@@ -1685,7 +1516,7 @@
               <widget type="composite">
                 <property name="name"/>
                 <property name="ref">geometry_facecenter</property>
-                <property name="id_alias">100</property>
+                <property name="id_alias">81</property>
                 <property name="adjust">auto</property>
                 <property name="hightlight">false</property>
                 <property name="margin">1</property>
@@ -1695,7 +1526,7 @@
               <widget type="composite">
                 <property name="name"/>
                 <property name="ref">geometry_linepoint</property>
-                <property name="id_alias">101</property>
+                <property name="id_alias">82</property>
                 <property name="adjust">auto</property>
                 <property name="hightlight">false</property>
                 <property name="margin">1</property>
@@ -1735,7 +1566,7 @@
                   <property name="label">几何</property>
                   <property name="group_id">1</property>
                   <property name="default_group_item">true</property>
-                  <property name="id_alias">104</property>
+                  <property name="id_alias">85</property>
                   <property name="width">40</property>
                   <property name="height">12</property>
                   <property name="auto">false</property>
@@ -1756,7 +1587,7 @@
                   <property name="label">材料</property>
                   <property name="group_id">1</property>
                   <property name="default_group_item">false</property>
-                  <property name="id_alias">105</property>
+                  <property name="id_alias">86</property>
                   <property name="width">40</property>
                   <property name="height">12</property>
                   <property name="auto">false</property>
@@ -1777,7 +1608,7 @@
                   <property name="label">边界</property>
                   <property name="group_id">1</property>
                   <property name="default_group_item">false</property>
-                  <property name="id_alias">106</property>
+                  <property name="id_alias">87</property>
                   <property name="width">40</property>
                   <property name="height">12</property>
                   <property name="auto">false</property>
@@ -1798,7 +1629,7 @@
                   <property name="label">求解</property>
                   <property name="group_id">1</property>
                   <property name="default_group_item">false</property>
-                  <property name="id_alias">107</property>
+                  <property name="id_alias">88</property>
                   <property name="width">40</property>
                   <property name="height">12</property>
                   <property name="auto">false</property>
@@ -1819,7 +1650,7 @@
                   <property name="label">结果</property>
                   <property name="group_id">1</property>
                   <property name="default_group_item">false</property>
-                  <property name="id_alias">108</property>
+                  <property name="id_alias">89</property>
                   <property name="width">40</property>
                   <property name="height">12</property>
                   <property name="auto">false</property>
@@ -1840,7 +1671,7 @@
                   <property name="label">优化</property>
                   <property name="group_id">1</property>
                   <property name="default_group_item">false</property>
-                  <property name="id_alias">109</property>
+                  <property name="id_alias">90</property>
                   <property name="width">40</property>
                   <property name="height">12</property>
                   <property name="auto">false</property>
@@ -1874,7 +1705,7 @@
                   <property name="label">几何</property>
                   <property name="group_id">2</property>
                   <property name="default_group_item">true</property>
-                  <property name="id_alias">111</property>
+                  <property name="id_alias">92</property>
                   <property name="width">40</property>
                   <property name="height">12</property>
                   <property name="auto">false</property>
@@ -1895,7 +1726,7 @@
                   <property name="label">物理</property>
                   <property name="group_id">2</property>
                   <property name="default_group_item">false</property>
-                  <property name="id_alias">112</property>
+                  <property name="id_alias">93</property>
                   <property name="width">40</property>
                   <property name="height">12</property>
                   <property name="auto">false</property>
@@ -1916,7 +1747,7 @@
                   <property name="label">边界</property>
                   <property name="group_id">2</property>
                   <property name="default_group_item">false</property>
-                  <property name="id_alias">113</property>
+                  <property name="id_alias">94</property>
                   <property name="width">40</property>
                   <property name="height">12</property>
                   <property name="auto">false</property>
@@ -1937,7 +1768,7 @@
                   <property name="label">求解</property>
                   <property name="group_id">2</property>
                   <property name="default_group_item">false</property>
-                  <property name="id_alias">114</property>
+                  <property name="id_alias">95</property>
                   <property name="width">40</property>
                   <property name="height">12</property>
                   <property name="auto">false</property>
@@ -1958,7 +1789,7 @@
                   <property name="label">结果</property>
                   <property name="group_id">2</property>
                   <property name="default_group_item">false</property>
-                  <property name="id_alias">115</property>
+                  <property name="id_alias">96</property>
                   <property name="width">40</property>
                   <property name="height">12</property>
                   <property name="auto">false</property>

+ 17 - 17
kul/physics_material.kul

@@ -82,7 +82,7 @@
                 <property name="name"/>
                 <property name="text">模型位置:</property>
                 <property name="tip"/>
-                <property name="id_alias">24</property>
+                <property name="id_alias">25</property>
                 <property name="width">30</property>
                 <property name="height">8</property>
                 <property name="adjust">horizontal</property>
@@ -100,7 +100,7 @@
                 <property name="name">pb_Id</property>
                 <property name="data">整体,装配体1,装配体2</property>
                 <property name="tip"/>
-                <property name="id_alias">25</property>
+                <property name="id_alias">26</property>
                 <property name="width">40</property>
                 <property name="height">10</property>
                 <property name="adjust">fixed</property>
@@ -138,7 +138,7 @@
                 <property name="name"/>
                 <property name="text">密度(g/cm^3):</property>
                 <property name="tip"/>
-                <property name="id_alias">27</property>
+                <property name="id_alias">28</property>
                 <property name="width">19</property>
                 <property name="height">8</property>
                 <property name="adjust">horizontal</property>
@@ -156,7 +156,7 @@
                 <property name="name">phy_density</property>
                 <property name="data">7.8</property>
                 <property name="tip"/>
-                <property name="id_alias">28</property>
+                <property name="id_alias">29</property>
                 <property name="width">40</property>
                 <property name="height">10</property>
                 <property name="adjust">fixed</property>
@@ -198,7 +198,7 @@
                 <property name="name"/>
                 <property name="text">弹性模量(MPa):</property>
                 <property name="tip"/>
-                <property name="id_alias">30</property>
+                <property name="id_alias">31</property>
                 <property name="width">19</property>
                 <property name="height">8</property>
                 <property name="adjust">horizontal</property>
@@ -216,7 +216,7 @@
                 <property name="name">phy_ela</property>
                 <property name="data">1000</property>
                 <property name="tip"/>
-                <property name="id_alias">31</property>
+                <property name="id_alias">32</property>
                 <property name="width">40</property>
                 <property name="height">10</property>
                 <property name="adjust">fixed</property>
@@ -271,7 +271,7 @@
                 <property name="name"/>
                 <property name="text">泊松比:</property>
                 <property name="tip"/>
-                <property name="id_alias">33</property>
+                <property name="id_alias">34</property>
                 <property name="width">19</property>
                 <property name="height">8</property>
                 <property name="adjust">horizontal</property>
@@ -289,7 +289,7 @@
                 <property name="name">phy_poi</property>
                 <property name="data">0.3</property>
                 <property name="tip"/>
-                <property name="id_alias">34</property>
+                <property name="id_alias">35</property>
                 <property name="width">40</property>
                 <property name="height">10</property>
                 <property name="adjust">fixed</property>
@@ -331,7 +331,7 @@
                 <property name="name"/>
                 <property name="text">屈服强度:</property>
                 <property name="tip"/>
-                <property name="id_alias">36</property>
+                <property name="id_alias">37</property>
                 <property name="width">19</property>
                 <property name="height">8</property>
                 <property name="adjust">horizontal</property>
@@ -349,7 +349,7 @@
                 <property name="name">phy_yie</property>
                 <property name="data">207</property>
                 <property name="tip"/>
-                <property name="id_alias">37</property>
+                <property name="id_alias">38</property>
                 <property name="width">40</property>
                 <property name="height">10</property>
                 <property name="adjust">fixed</property>
@@ -391,7 +391,7 @@
                 <property name="name"/>
                 <property name="text">Id:</property>
                 <property name="tip"/>
-                <property name="id_alias">39</property>
+                <property name="id_alias">40</property>
                 <property name="width">19</property>
                 <property name="height">8</property>
                 <property name="adjust">fixed</property>
@@ -409,7 +409,7 @@
                 <property name="name">phy_id</property>
                 <property name="data">1</property>
                 <property name="tip"/>
-                <property name="id_alias">40</property>
+                <property name="id_alias">41</property>
                 <property name="width">40</property>
                 <property name="height">12</property>
                 <property name="adjust">fixed</property>
@@ -503,7 +503,7 @@
                 <property name="flat">false</property>
                 <property name="flat_radio">false</property>
                 <property name="gray">false</property>
-                <property name="id_alias">42</property>
+                <property name="id_alias">43</property>
                 <property name="visible">true</property>
                 <property name="onClick">OnAddValue()</property>
                 <property name="onContentMenu"/>
@@ -531,7 +531,7 @@
                 <property name="flat">false</property>
                 <property name="flat_radio">false</property>
                 <property name="gray">false</property>
-                <property name="id_alias">43</property>
+                <property name="id_alias">44</property>
                 <property name="visible">true</property>
                 <property name="onClick">OnDeleteValue()</property>
                 <property name="onContentMenu"/>
@@ -591,7 +591,7 @@
                 <property name="flat">false</property>
                 <property name="flat_radio">false</property>
                 <property name="gray">false</property>
-                <property name="id_alias">53</property>
+                <property name="id_alias">47</property>
                 <property name="visible">true</property>
                 <property name="onClick">OnModify()</property>
                 <property name="onContentMenu"/>
@@ -632,7 +632,7 @@
                 <property name="flat">false</property>
                 <property name="flat_radio">false</property>
                 <property name="gray">false</property>
-                <property name="id_alias">46</property>
+                <property name="id_alias">49</property>
                 <property name="visible">true</property>
                 <property name="onClick">OnMaterialFiles()</property>
                 <property name="onContentMenu"/>
@@ -673,7 +673,7 @@
                 <property name="flat">false</property>
                 <property name="flat_radio">false</property>
                 <property name="gray">false</property>
-                <property name="id_alias">48</property>
+                <property name="id_alias">51</property>
                 <property name="visible">true</property>
                 <property name="onClick">OnReturnMenu()</property>
                 <property name="onContentMenu"/>

+ 5 - 5
kul/physics_menu.kul

@@ -61,7 +61,7 @@
           <property name="default">false</property>
           <property name="flat">false</property>
           <property name="flat_radio">false</property>
-          <property name="gray">false</property>
+          <property name="gray">true</property>
           <property name="id_alias">7</property>
           <property name="visible">true</property>
           <property name="onClick">OnAnalysisClick()</property>
@@ -102,7 +102,7 @@
           <property name="default">false</property>
           <property name="flat">false</property>
           <property name="flat_radio">false</property>
-          <property name="gray">false</property>
+          <property name="gray">true</property>
           <property name="id_alias">9</property>
           <property name="visible">true</property>
           <property name="onClick">OnMaterial();</property>
@@ -158,7 +158,7 @@
           <property name="default">false</property>
           <property name="flat">false</property>
           <property name="flat_radio">false</property>
-          <property name="gray">false</property>
+          <property name="gray">true</property>
           <property name="id_alias">11</property>
           <property name="visible">true</property>
           <property name="onClick"/>
@@ -186,7 +186,7 @@
           <property name="default">false</property>
           <property name="flat">false</property>
           <property name="flat_radio">false</property>
-          <property name="gray">false</property>
+          <property name="gray">true</property>
           <property name="id_alias">12</property>
           <property name="visible">true</property>
           <property name="onClick"/>
@@ -255,7 +255,7 @@
           <property name="default">false</property>
           <property name="flat">false</property>
           <property name="flat_radio">false</property>
-          <property name="gray">false</property>
+          <property name="gray">true</property>
           <property name="id_alias">15</property>
           <property name="visible">true</property>
           <property name="onClick">OnCreatAnsys()</property>

+ 2 - 2
kul/result_ModelAnsys.kul

@@ -130,7 +130,7 @@
             <property name="name">list</property>
             <property name="id_alias">15</property>
             <property name="width">100</property>
-            <property name="height">100</property>
+            <property name="height">30</property>
             <property name="adjust">auto</property>
             <property name="rows">auto</property>
             <property name="grid">false</property>
@@ -152,7 +152,7 @@
             <property name="name">webview</property>
             <property name="url"/>
             <property name="width">100</property>
-            <property name="height">80</property>
+            <property name="height">30</property>
             <property name="id_alias">16</property>
             <property name="adjust">auto</property>
             <property name="margin">1</property>

+ 7 - 7
kul/result_attribute.kul

@@ -123,7 +123,7 @@
             <property name="scroll_amargin">5</property>
             <property name="scroll_steps">3</property>
             <widget type="pushbutton">
-              <property name="name"/>
+              <property name="name">postBar</property>
               <property name="label"/>
               <property name="tip">颜色条</property>
               <property name="bitmap">图标.png</property>
@@ -131,7 +131,7 @@
               <property name="width">20</property>
               <property name="height">20</property>
               <property name="adjust">fixed</property>
-              <property name="can_check">false</property>
+              <property name="can_check">true</property>
               <property name="default">false</property>
               <property name="flat">true</property>
               <property name="flat_radio">false</property>
@@ -165,7 +165,7 @@
               <property name="flat_radio">false</property>
               <property name="gray">true</property>
               <property name="id_alias">19</property>
-              <property name="visible">true</property>
+              <property name="visible">false</property>
               <property name="onClick">OnPointCloud()</property>
               <property name="onContentMenu"/>
               <property name="shadow">false</property>
@@ -193,7 +193,7 @@
               <property name="flat_radio">false</property>
               <property name="gray">true</property>
               <property name="id_alias">20</property>
-              <property name="visible">true</property>
+              <property name="visible">false</property>
               <property name="onClick">OnMaxMin()</property>
               <property name="onContentMenu"/>
               <property name="shadow">false</property>
@@ -294,7 +294,7 @@
               <property name="flat_radio">false</property>
               <property name="gray">true</property>
               <property name="id_alias">25</property>
-              <property name="visible">true</property>
+              <property name="visible">false</property>
               <property name="onClick">OnStress()</property>
               <property name="onContentMenu"/>
               <property name="shadow">false</property>
@@ -336,9 +336,9 @@
               <property name="default">false</property>
               <property name="flat">false</property>
               <property name="flat_radio">false</property>
-              <property name="gray">false</property>
+              <property name="gray">true</property>
               <property name="id_alias">27</property>
-              <property name="visible">true</property>
+              <property name="visible">false</property>
               <property name="onClick">OnReset()</property>
               <property name="onContentMenu"/>
               <property name="shadow">false</property>

+ 0 - 138
kul/result_menu.kul

@@ -149,144 +149,6 @@
           <property name="size">auto</property>
         </widget>
       </widget>
-      <widget type="vbox">
-        <property name="adjust">auto</property>
-        <property name="hightlight">false</property>
-        <property name="margin">1</property>
-        <property name="scroll">false</property>
-        <property name="shadow">true</property>
-        <property name="scroll_height">auto</property>
-        <property name="scroll_amargin">5</property>
-        <property name="scroll_steps">3</property>
-        <widget type="pushbutton">
-          <property name="name"/>
-          <property name="label">分析1</property>
-          <property name="tip"/>
-          <property name="bitmap">nil</property>
-          <property name="bitmap_align">left</property>
-          <property name="width">80</property>
-          <property name="height">12</property>
-          <property name="adjust">fixed</property>
-          <property name="can_check">false</property>
-          <property name="default">false</property>
-          <property name="flat">false</property>
-          <property name="flat_radio">false</property>
-          <property name="gray">false</property>
-          <property name="id_alias">13</property>
-          <property name="visible">true</property>
-          <property name="onClick">OnCom();</property>
-          <property name="onContentMenu"/>
-          <property name="shadow">false</property>
-          <property name="shadow_type">soft</property>
-          <property name="enable_bind"/>
-          <property name="simple_bind"/>
-          <property name="valid_bind"/>
-          <property name="visible_bind"/>
-          <property name="handle_bind"/>
-          <property name="hightlight">false</property>
-          <property name="stylesheet"/>
-        </widget>
-        <widget type="pushbutton">
-          <property name="name"/>
-          <property name="label">分析2</property>
-          <property name="tip"/>
-          <property name="bitmap">nil</property>
-          <property name="bitmap_align">left</property>
-          <property name="width">80</property>
-          <property name="height">12</property>
-          <property name="adjust">fixed</property>
-          <property name="can_check">false</property>
-          <property name="default">false</property>
-          <property name="flat">false</property>
-          <property name="flat_radio">false</property>
-          <property name="gray">false</property>
-          <property name="id_alias">14</property>
-          <property name="visible">true</property>
-          <property name="onClick">OnCom1();</property>
-          <property name="onContentMenu"/>
-          <property name="shadow">false</property>
-          <property name="shadow_type">soft</property>
-          <property name="enable_bind"/>
-          <property name="simple_bind"/>
-          <property name="valid_bind"/>
-          <property name="visible_bind"/>
-          <property name="handle_bind"/>
-          <property name="hightlight">false</property>
-          <property name="stylesheet"/>
-        </widget>
-        <widget type="pushbutton">
-          <property name="name"/>
-          <property name="label">分析3</property>
-          <property name="tip"/>
-          <property name="bitmap">nil</property>
-          <property name="bitmap_align">left</property>
-          <property name="width">80</property>
-          <property name="height">12</property>
-          <property name="adjust">fixed</property>
-          <property name="can_check">false</property>
-          <property name="default">false</property>
-          <property name="flat">false</property>
-          <property name="flat_radio">false</property>
-          <property name="gray">false</property>
-          <property name="id_alias">15</property>
-          <property name="visible">true</property>
-          <property name="onClick">OnCom2();</property>
-          <property name="onContentMenu"/>
-          <property name="shadow">false</property>
-          <property name="shadow_type">soft</property>
-          <property name="enable_bind"/>
-          <property name="simple_bind"/>
-          <property name="valid_bind"/>
-          <property name="visible_bind"/>
-          <property name="handle_bind"/>
-          <property name="hightlight">false</property>
-          <property name="stylesheet"/>
-        </widget>
-        <widget type="space">
-          <property name="size">auto</property>
-        </widget>
-      </widget>
-      <widget type="vbox">
-        <property name="adjust">auto</property>
-        <property name="hightlight">false</property>
-        <property name="margin">1</property>
-        <property name="scroll">false</property>
-        <property name="shadow">true</property>
-        <property name="scroll_height">auto</property>
-        <property name="scroll_amargin">5</property>
-        <property name="scroll_steps">3</property>
-        <widget type="pushbutton">
-          <property name="name"/>
-          <property name="label">载荷叠加</property>
-          <property name="tip"/>
-          <property name="bitmap">nil</property>
-          <property name="bitmap_align">left</property>
-          <property name="width">80</property>
-          <property name="height">12</property>
-          <property name="adjust">fixed</property>
-          <property name="can_check">false</property>
-          <property name="default">false</property>
-          <property name="flat">false</property>
-          <property name="flat_radio">false</property>
-          <property name="gray">false</property>
-          <property name="id_alias">17</property>
-          <property name="visible">true</property>
-          <property name="onClick">OnStack()</property>
-          <property name="onContentMenu"/>
-          <property name="shadow">false</property>
-          <property name="shadow_type">soft</property>
-          <property name="enable_bind"/>
-          <property name="simple_bind"/>
-          <property name="valid_bind"/>
-          <property name="visible_bind"/>
-          <property name="handle_bind"/>
-          <property name="hightlight">false</property>
-          <property name="stylesheet"/>
-        </widget>
-        <widget type="space">
-          <property name="size">auto</property>
-        </widget>
-      </widget>
       <widget type="space">
         <property name="size">auto</property>
       </widget>

+ 1 - 1
kul/solve_menu.kul

@@ -102,7 +102,7 @@
           <property name="default">false</property>
           <property name="flat">false</property>
           <property name="flat_radio">false</property>
-          <property name="gray">false</property>
+          <property name="gray">true</property>
           <property name="id_alias">8</property>
           <property name="visible">true</property>
           <property name="onClick">OnSolveClick()</property>

+ 127 - 71
kul/toolbar.kul

@@ -68,7 +68,7 @@
             <property name="scroll_steps">3</property>
             <widget type="pushbutton">
               <property name="name">pb_file</property>
-              <property name="label">File</property>
+              <property name="label">文件</property>
               <property name="tip"/>
               <property name="bitmap">nil</property>
               <property name="bitmap_align">left</property>
@@ -94,6 +94,34 @@
               <property name="hightlight">false</property>
               <property name="stylesheet"/>
             </widget>
+            <widget type="pushbutton">
+              <property name="name">view</property>
+              <property name="label">视图</property>
+              <property name="tip">视图</property>
+              <property name="bitmap">nil</property>
+              <property name="bitmap_align">left</property>
+              <property name="width">30</property>
+              <property name="height">12</property>
+              <property name="adjust">fixed</property>
+              <property name="can_check">false</property>
+              <property name="default">false</property>
+              <property name="flat">true</property>
+              <property name="flat_radio">false</property>
+              <property name="gray">false</property>
+              <property name="id_alias">12</property>
+              <property name="visible">true</property>
+              <property name="onClick">OnCanvasRightClick()</property>
+              <property name="onContentMenu">OnCanvasContentMenu()</property>
+              <property name="shadow">false</property>
+              <property name="shadow_type">soft</property>
+              <property name="enable_bind"/>
+              <property name="simple_bind"/>
+              <property name="valid_bind"/>
+              <property name="visible_bind"/>
+              <property name="handle_bind"/>
+              <property name="hightlight">false</property>
+              <property name="stylesheet"/>
+            </widget>
             <widget type="pushbutton">
               <property name="name"/>
               <property name="label">Edit</property>
@@ -108,7 +136,7 @@
               <property name="flat">true</property>
               <property name="flat_radio">false</property>
               <property name="gray">false</property>
-              <property name="id_alias">12</property>
+              <property name="id_alias">13</property>
               <property name="visible">false</property>
               <property name="onClick"/>
               <property name="onContentMenu"/>
@@ -136,7 +164,7 @@
               <property name="flat">true</property>
               <property name="flat_radio">false</property>
               <property name="gray">false</property>
-              <property name="id_alias">13</property>
+              <property name="id_alias">14</property>
               <property name="visible">false</property>
               <property name="onClick"/>
               <property name="onContentMenu"/>
@@ -164,7 +192,7 @@
               <property name="flat">true</property>
               <property name="flat_radio">false</property>
               <property name="gray">false</property>
-              <property name="id_alias">14</property>
+              <property name="id_alias">15</property>
               <property name="visible">false</property>
               <property name="onClick"/>
               <property name="onContentMenu"/>
@@ -192,7 +220,7 @@
               <property name="flat">true</property>
               <property name="flat_radio">false</property>
               <property name="gray">false</property>
-              <property name="id_alias">15</property>
+              <property name="id_alias">16</property>
               <property name="visible">false</property>
               <property name="onClick"/>
               <property name="onContentMenu"/>
@@ -220,7 +248,7 @@
               <property name="flat">true</property>
               <property name="flat_radio">false</property>
               <property name="gray">false</property>
-              <property name="id_alias">16</property>
+              <property name="id_alias">17</property>
               <property name="visible">false</property>
               <property name="onClick"/>
               <property name="onContentMenu"/>
@@ -248,7 +276,7 @@
               <property name="flat">true</property>
               <property name="flat_radio">false</property>
               <property name="gray">false</property>
-              <property name="id_alias">17</property>
+              <property name="id_alias">18</property>
               <property name="visible">false</property>
               <property name="onClick"/>
               <property name="onContentMenu"/>
@@ -276,7 +304,7 @@
               <property name="flat">true</property>
               <property name="flat_radio">false</property>
               <property name="gray">false</property>
-              <property name="id_alias">18</property>
+              <property name="id_alias">19</property>
               <property name="visible">false</property>
               <property name="onClick"/>
               <property name="onContentMenu"/>
@@ -304,7 +332,7 @@
               <property name="flat">true</property>
               <property name="flat_radio">false</property>
               <property name="gray">false</property>
-              <property name="id_alias">19</property>
+              <property name="id_alias">20</property>
               <property name="visible">false</property>
               <property name="onClick"/>
               <property name="onContentMenu"/>
@@ -332,7 +360,7 @@
               <property name="flat">true</property>
               <property name="flat_radio">false</property>
               <property name="gray">false</property>
-              <property name="id_alias">20</property>
+              <property name="id_alias">21</property>
               <property name="visible">false</property>
               <property name="onClick"/>
               <property name="onContentMenu"/>
@@ -360,7 +388,7 @@
               <property name="flat">true</property>
               <property name="flat_radio">false</property>
               <property name="gray">false</property>
-              <property name="id_alias">21</property>
+              <property name="id_alias">22</property>
               <property name="visible">false</property>
               <property name="onClick"/>
               <property name="onContentMenu"/>
@@ -388,7 +416,7 @@
               <property name="flat">true</property>
               <property name="flat_radio">false</property>
               <property name="gray">false</property>
-              <property name="id_alias">22</property>
+              <property name="id_alias">23</property>
               <property name="visible">false</property>
               <property name="onClick"/>
               <property name="onContentMenu"/>
@@ -404,7 +432,7 @@
             </widget>
             <widget type="pushbutton">
               <property name="name">pb_post</property>
-              <property name="label">Post</property>
+              <property name="label">设置</property>
               <property name="tip"/>
               <property name="bitmap">nil</property>
               <property name="bitmap_align">left</property>
@@ -416,7 +444,7 @@
               <property name="flat">true</property>
               <property name="flat_radio">false</property>
               <property name="gray">false</property>
-              <property name="id_alias">23</property>
+              <property name="id_alias">24</property>
               <property name="visible">true</property>
               <property name="onClick">OnPost()</property>
               <property name="onContentMenu">OnPostContentMenu()</property>
@@ -444,7 +472,7 @@
               <property name="flat">true</property>
               <property name="flat_radio">false</property>
               <property name="gray">false</property>
-              <property name="id_alias">24</property>
+              <property name="id_alias">25</property>
               <property name="visible">false</property>
               <property name="onClick"/>
               <property name="onContentMenu"/>
@@ -472,7 +500,7 @@
               <property name="flat">true</property>
               <property name="flat_radio">false</property>
               <property name="gray">false</property>
-              <property name="id_alias">25</property>
+              <property name="id_alias">26</property>
               <property name="visible">false</property>
               <property name="onClick"/>
               <property name="onContentMenu"/>
@@ -500,7 +528,7 @@
               <property name="flat">true</property>
               <property name="flat_radio">false</property>
               <property name="gray">false</property>
-              <property name="id_alias">26</property>
+              <property name="id_alias">27</property>
               <property name="visible">false</property>
               <property name="onClick"/>
               <property name="onContentMenu"/>
@@ -528,7 +556,7 @@
               <property name="flat">true</property>
               <property name="flat_radio">false</property>
               <property name="gray">false</property>
-              <property name="id_alias">27</property>
+              <property name="id_alias">28</property>
               <property name="visible">false</property>
               <property name="onClick"/>
               <property name="onContentMenu"/>
@@ -586,7 +614,7 @@
                   <property name="flat">true</property>
                   <property name="flat_radio">false</property>
                   <property name="gray">true</property>
-                  <property name="id_alias">31</property>
+                  <property name="id_alias">32</property>
                   <property name="visible">false</property>
                   <property name="onClick"/>
                   <property name="onContentMenu"/>
@@ -614,7 +642,7 @@
                   <property name="flat">true</property>
                   <property name="flat_radio">false</property>
                   <property name="gray">true</property>
-                  <property name="id_alias">32</property>
+                  <property name="id_alias">33</property>
                   <property name="visible">false</property>
                   <property name="onClick"/>
                   <property name="onContentMenu"/>
@@ -642,8 +670,8 @@
                   <property name="flat">true</property>
                   <property name="flat_radio">false</property>
                   <property name="gray">true</property>
-                  <property name="id_alias">33</property>
-                  <property name="visible">true</property>
+                  <property name="id_alias">34</property>
+                  <property name="visible">false</property>
                   <property name="onClick"/>
                   <property name="onContentMenu"/>
                   <property name="shadow">false</property>
@@ -659,7 +687,7 @@
                 <widget type="pushbutton">
                   <property name="name">pb_import()</property>
                   <property name="label"/>
-                  <property name="tip"/>
+                  <property name="tip">导入</property>
                   <property name="bitmap">bar04.png</property>
                   <property name="bitmap_align">left</property>
                   <property name="width">12</property>
@@ -670,7 +698,7 @@
                   <property name="flat">true</property>
                   <property name="flat_radio">false</property>
                   <property name="gray">false</property>
-                  <property name="id_alias">34</property>
+                  <property name="id_alias">35</property>
                   <property name="visible">true</property>
                   <property name="onClick">OnImport()</property>
                   <property name="onContentMenu"/>
@@ -698,8 +726,8 @@
                   <property name="flat">true</property>
                   <property name="flat_radio">false</property>
                   <property name="gray">true</property>
-                  <property name="id_alias">35</property>
-                  <property name="visible">true</property>
+                  <property name="id_alias">36</property>
+                  <property name="visible">false</property>
                   <property name="onClick"/>
                   <property name="onContentMenu"/>
                   <property name="shadow">false</property>
@@ -713,7 +741,7 @@
                   <property name="stylesheet"/>
                 </widget>
                 <widget type="separator">
-                  <property name="id_alias">36</property>
+                  <property name="id_alias">37</property>
                   <property name="margin">2</property>
                   <property name="gray">false</property>
                   <property name="visible">true</property>
@@ -732,7 +760,7 @@
                   <property name="flat">true</property>
                   <property name="flat_radio">false</property>
                   <property name="gray">false</property>
-                  <property name="id_alias">37</property>
+                  <property name="id_alias">38</property>
                   <property name="visible">false</property>
                   <property name="onClick">OnUser()</property>
                   <property name="onContentMenu"/>
@@ -760,7 +788,7 @@
                   <property name="flat">true</property>
                   <property name="flat_radio">false</property>
                   <property name="gray">true</property>
-                  <property name="id_alias">38</property>
+                  <property name="id_alias">39</property>
                   <property name="visible">false</property>
                   <property name="onClick"/>
                   <property name="onContentMenu"/>
@@ -788,7 +816,7 @@
                   <property name="flat">true</property>
                   <property name="flat_radio">false</property>
                   <property name="gray">true</property>
-                  <property name="id_alias">39</property>
+                  <property name="id_alias">40</property>
                   <property name="visible">false</property>
                   <property name="onClick"/>
                   <property name="onContentMenu"/>
@@ -816,7 +844,7 @@
                   <property name="flat">true</property>
                   <property name="flat_radio">false</property>
                   <property name="gray">false</property>
-                  <property name="id_alias">40</property>
+                  <property name="id_alias">41</property>
                   <property name="visible">false</property>
                   <property name="onClick">OnPosition(1)</property>
                   <property name="onContentMenu"/>
@@ -833,7 +861,7 @@
                 <widget type="pushbutton">
                   <property name="name"/>
                   <property name="label"/>
-                  <property name="tip"/>
+                  <property name="tip">旋转</property>
                   <property name="bitmap">bar10.png</property>
                   <property name="bitmap_align">left</property>
                   <property name="width">12</property>
@@ -844,9 +872,9 @@
                   <property name="flat">true</property>
                   <property name="flat_radio">false</property>
                   <property name="gray">false</property>
-                  <property name="id_alias">41</property>
-                  <property name="visible">false</property>
-                  <property name="onClick">OnTransform(2)</property>
+                  <property name="id_alias">42</property>
+                  <property name="visible">true</property>
+                  <property name="onClick">OnTransform(1)</property>
                   <property name="onContentMenu"/>
                   <property name="shadow">false</property>
                   <property name="shadow_type">soft</property>
@@ -861,7 +889,7 @@
                 <widget type="pushbutton">
                   <property name="name"/>
                   <property name="label"/>
-                  <property name="tip"/>
+                  <property name="tip">平移</property>
                   <property name="bitmap">bar11.png</property>
                   <property name="bitmap_align">left</property>
                   <property name="width">12</property>
@@ -872,9 +900,9 @@
                   <property name="flat">true</property>
                   <property name="flat_radio">false</property>
                   <property name="gray">false</property>
-                  <property name="id_alias">42</property>
-                  <property name="visible">false</property>
-                  <property name="onClick">OnPosition(1)</property>
+                  <property name="id_alias">43</property>
+                  <property name="visible">true</property>
+                  <property name="onClick">OnTransform(2)</property>
                   <property name="onContentMenu"/>
                   <property name="shadow">false</property>
                   <property name="shadow_type">soft</property>
@@ -900,7 +928,7 @@
                   <property name="flat">true</property>
                   <property name="flat_radio">false</property>
                   <property name="gray">false</property>
-                  <property name="id_alias">43</property>
+                  <property name="id_alias">44</property>
                   <property name="visible">false</property>
                   <property name="onClick"/>
                   <property name="onContentMenu"/>
@@ -928,7 +956,7 @@
                   <property name="flat">true</property>
                   <property name="flat_radio">false</property>
                   <property name="gray">true</property>
-                  <property name="id_alias">44</property>
+                  <property name="id_alias">45</property>
                   <property name="visible">false</property>
                   <property name="onClick"/>
                   <property name="onContentMenu"/>
@@ -956,7 +984,7 @@
                   <property name="flat">true</property>
                   <property name="flat_radio">false</property>
                   <property name="gray">true</property>
-                  <property name="id_alias">45</property>
+                  <property name="id_alias">46</property>
                   <property name="visible">false</property>
                   <property name="onClick"/>
                   <property name="onContentMenu"/>
@@ -984,7 +1012,7 @@
                   <property name="flat">true</property>
                   <property name="flat_radio">false</property>
                   <property name="gray">false</property>
-                  <property name="id_alias">46</property>
+                  <property name="id_alias">47</property>
                   <property name="visible">false</property>
                   <property name="onClick"/>
                   <property name="onContentMenu"/>
@@ -1012,7 +1040,7 @@
                   <property name="flat">true</property>
                   <property name="flat_radio">false</property>
                   <property name="gray">false</property>
-                  <property name="id_alias">47</property>
+                  <property name="id_alias">48</property>
                   <property name="visible">false</property>
                   <property name="onClick"/>
                   <property name="onContentMenu"/>
@@ -1040,7 +1068,7 @@
                   <property name="flat">true</property>
                   <property name="flat_radio">false</property>
                   <property name="gray">true</property>
-                  <property name="id_alias">48</property>
+                  <property name="id_alias">49</property>
                   <property name="visible">false</property>
                   <property name="onClick"/>
                   <property name="onContentMenu"/>
@@ -1068,7 +1096,7 @@
                   <property name="flat">true</property>
                   <property name="flat_radio">false</property>
                   <property name="gray">true</property>
-                  <property name="id_alias">49</property>
+                  <property name="id_alias">50</property>
                   <property name="visible">false</property>
                   <property name="onClick"/>
                   <property name="onContentMenu"/>
@@ -1085,7 +1113,7 @@
                 <widget type="pushbutton">
                   <property name="name"/>
                   <property name="label"/>
-                  <property name="tip"/>
+                  <property name="tip">YOX</property>
                   <property name="bitmap">bar19.png</property>
                   <property name="bitmap_align">left</property>
                   <property name="width">12</property>
@@ -1096,7 +1124,7 @@
                   <property name="flat">true</property>
                   <property name="flat_radio">false</property>
                   <property name="gray">false</property>
-                  <property name="id_alias">50</property>
+                  <property name="id_alias">51</property>
                   <property name="visible">true</property>
                   <property name="onClick">OnPosition(1)</property>
                   <property name="onContentMenu"/>
@@ -1113,7 +1141,7 @@
                 <widget type="pushbutton">
                   <property name="name"/>
                   <property name="label"/>
-                  <property name="tip"/>
+                  <property name="tip">XOY</property>
                   <property name="bitmap">bar20.png</property>
                   <property name="bitmap_align">left</property>
                   <property name="width">12</property>
@@ -1124,7 +1152,7 @@
                   <property name="flat">true</property>
                   <property name="flat_radio">false</property>
                   <property name="gray">false</property>
-                  <property name="id_alias">51</property>
+                  <property name="id_alias">52</property>
                   <property name="visible">true</property>
                   <property name="onClick">OnPosition(2)</property>
                   <property name="onContentMenu"/>
@@ -1141,7 +1169,7 @@
                 <widget type="pushbutton">
                   <property name="name"/>
                   <property name="label"/>
-                  <property name="tip"/>
+                  <property name="tip">ZOX</property>
                   <property name="bitmap">bar21.png</property>
                   <property name="bitmap_align">left</property>
                   <property name="width">12</property>
@@ -1152,7 +1180,7 @@
                   <property name="flat">true</property>
                   <property name="flat_radio">false</property>
                   <property name="gray">false</property>
-                  <property name="id_alias">52</property>
+                  <property name="id_alias">53</property>
                   <property name="visible">true</property>
                   <property name="onClick">OnPosition(6)</property>
                   <property name="onContentMenu"/>
@@ -1169,7 +1197,7 @@
                 <widget type="pushbutton">
                   <property name="name"/>
                   <property name="label"/>
-                  <property name="tip"/>
+                  <property name="tip">XOZ</property>
                   <property name="bitmap">bar22.png</property>
                   <property name="bitmap_align">left</property>
                   <property name="width">12</property>
@@ -1180,7 +1208,7 @@
                   <property name="flat">true</property>
                   <property name="flat_radio">false</property>
                   <property name="gray">false</property>
-                  <property name="id_alias">53</property>
+                  <property name="id_alias">54</property>
                   <property name="visible">true</property>
                   <property name="onClick">OnPosition(5)</property>
                   <property name="onContentMenu"/>
@@ -1197,7 +1225,7 @@
                 <widget type="pushbutton">
                   <property name="name"/>
                   <property name="label"/>
-                  <property name="tip"/>
+                  <property name="tip">ZOY</property>
                   <property name="bitmap">bar23.png</property>
                   <property name="bitmap_align">left</property>
                   <property name="width">12</property>
@@ -1208,7 +1236,7 @@
                   <property name="flat">true</property>
                   <property name="flat_radio">false</property>
                   <property name="gray">false</property>
-                  <property name="id_alias">54</property>
+                  <property name="id_alias">55</property>
                   <property name="visible">true</property>
                   <property name="onClick">OnPosition(3)</property>
                   <property name="onContentMenu"/>
@@ -1225,7 +1253,7 @@
                 <widget type="pushbutton">
                   <property name="name"/>
                   <property name="label"/>
-                  <property name="tip"/>
+                  <property name="tip">YOZ</property>
                   <property name="bitmap">bar24.png</property>
                   <property name="bitmap_align">left</property>
                   <property name="width">12</property>
@@ -1236,7 +1264,7 @@
                   <property name="flat">true</property>
                   <property name="flat_radio">false</property>
                   <property name="gray">false</property>
-                  <property name="id_alias">55</property>
+                  <property name="id_alias">56</property>
                   <property name="visible">true</property>
                   <property name="onClick">OnPosition(4)</property>
                   <property name="onContentMenu"/>
@@ -1264,7 +1292,7 @@
                   <property name="flat">true</property>
                   <property name="flat_radio">false</property>
                   <property name="gray">false</property>
-                  <property name="id_alias">56</property>
+                  <property name="id_alias">57</property>
                   <property name="visible">false</property>
                   <property name="onClick"/>
                   <property name="onContentMenu"/>
@@ -1292,7 +1320,7 @@
                   <property name="flat">true</property>
                   <property name="flat_radio">false</property>
                   <property name="gray">false</property>
-                  <property name="id_alias">57</property>
+                  <property name="id_alias">58</property>
                   <property name="visible">true</property>
                   <property name="onClick">OnShow()</property>
                   <property name="onContentMenu"/>
@@ -1306,8 +1334,36 @@
                   <property name="hightlight">false</property>
                   <property name="stylesheet"/>
                 </widget>
+                <widget type="pushbutton">
+                  <property name="name">light</property>
+                  <property name="label"/>
+                  <property name="tip">打开光照/关闭光照</property>
+                  <property name="bitmap">light.bmp</property>
+                  <property name="bitmap_align">left</property>
+                  <property name="width">12</property>
+                  <property name="height">12</property>
+                  <property name="adjust">fixed</property>
+                  <property name="can_check">true</property>
+                  <property name="default">false</property>
+                  <property name="flat">true</property>
+                  <property name="flat_radio">false</property>
+                  <property name="gray">false</property>
+                  <property name="id_alias">59</property>
+                  <property name="visible">true</property>
+                  <property name="onClick">OnLight()</property>
+                  <property name="onContentMenu"/>
+                  <property name="shadow">false</property>
+                  <property name="shadow_type">soft</property>
+                  <property name="enable_bind"/>
+                  <property name="simple_bind"/>
+                  <property name="valid_bind"/>
+                  <property name="visible_bind"/>
+                  <property name="handle_bind"/>
+                  <property name="hightlight">false</property>
+                  <property name="stylesheet"/>
+                </widget>
                 <widget type="separator">
-                  <property name="id_alias">58</property>
+                  <property name="id_alias">60</property>
                   <property name="margin">2</property>
                   <property name="gray">false</property>
                   <property name="visible">true</property>
@@ -1326,8 +1382,8 @@
                   <property name="flat">true</property>
                   <property name="flat_radio">false</property>
                   <property name="gray">false</property>
-                  <property name="id_alias">59</property>
-                  <property name="visible">true</property>
+                  <property name="id_alias">61</property>
+                  <property name="visible">false</property>
                   <property name="onClick">OnPick()</property>
                   <property name="onContentMenu"/>
                   <property name="shadow">false</property>
@@ -1354,8 +1410,8 @@
                   <property name="flat">true</property>
                   <property name="flat_radio">false</property>
                   <property name="gray">false</property>
-                  <property name="id_alias">60</property>
-                  <property name="visible">true</property>
+                  <property name="id_alias">62</property>
+                  <property name="visible">false</property>
                   <property name="onClick">OnFacePick()</property>
                   <property name="onContentMenu"/>
                   <property name="shadow">false</property>
@@ -1382,8 +1438,8 @@
                   <property name="flat">true</property>
                   <property name="flat_radio">false</property>
                   <property name="gray">false</property>
-                  <property name="id_alias">61</property>
-                  <property name="visible">true</property>
+                  <property name="id_alias">63</property>
+                  <property name="visible">false</property>
                   <property name="onClick">OnArrow()</property>
                   <property name="onContentMenu"/>
                   <property name="shadow">false</property>
@@ -1410,8 +1466,8 @@
                   <property name="flat">true</property>
                   <property name="flat_radio">false</property>
                   <property name="gray">false</property>
-                  <property name="id_alias">62</property>
-                  <property name="visible">true</property>
+                  <property name="id_alias">64</property>
+                  <property name="visible">false</property>
                   <property name="onClick">OnFixed()</property>
                   <property name="onContentMenu"/>
                   <property name="shadow">false</property>
@@ -1438,8 +1494,8 @@
                   <property name="flat">true</property>
                   <property name="flat_radio">false</property>
                   <property name="gray">false</property>
-                  <property name="id_alias">63</property>
-                  <property name="visible">true</property>
+                  <property name="id_alias">65</property>
+                  <property name="visible">false</property>
                   <property name="onClick">OnBrep()</property>
                   <property name="onContentMenu"/>
                   <property name="shadow">false</property>

File diff ditekan karena terlalu besar
+ 58 - 928
kul/tree.kul


+ 1 - 1
kul/workArea.kul

@@ -4,7 +4,7 @@
   <widget type="form" name="workArea_pane">
     <property name="id">0x961eb52f-0x02b6-0x4962-0xb0-0x34-0x2c-0x48-0x0d-0xd0-0x42-0x13</property>
     <property name="style">popup</property>
-    <property name="title">Form</property>
+    <property name="title">创建工作区</property>
     <property name="titlebar">true</property>
     <property name="icon">nil</property>
     <property name="bkcolor">gray</property>

TEMPAT SAMPAH
picture/梁节点.png


File diff ditekan karena terlalu besar
+ 1 - 1
viewProp.db.json


+ 1 - 1
workArea.cfg.json

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