gs-cae-design 1.1.57 → 1.1.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +23 -0
- package/docs/classes/Command.CommandFiniteElement.md +2 -0
- package/docs/classes/CommandInterfaceManager.md +112 -0
- package/docs/classes/CommonInterfaceManager.md +13 -0
- package/lib/.gz +0 -0
- package/lib/CAEDesign.common-report.html +2 -2
- package/lib/CAEDesign.common.js +275 -88
- package/lib/CAEDesign.umd-report.html +2 -2
- package/lib/CAEDesign.umd.js +275 -88
- package/lib/CAEDesign.umd.min-report.html +2 -2
- package/lib/CAEDesign.umd.min.js +275 -88
- package/package.json +1 -1
- package/src/caeCardEditor/caeCardObjects/sacinp/cardSURFWT.ts +6 -6
- package/src/caeCardEditor/caeCardObjects/seainp/cardCURR.ts +17 -2
- package/src/caeCardEditor/caeCardObjects/seainp/cardDEAD.ts +8 -1
- package/src/caeCardEditor/caeCardObjects/seainp/cardWAVE.ts +27 -0
- package/src/caeCardEditor/caeCardObjects/seainp/cardWIND.ts +15 -0
- package/src/gsDevFx/managers/datReaderManager.ts +37 -60
- package/src/gsDevFx/managers/datWriterManager.ts +17 -1
- package/src/gsDevFx/managers/interfaceManagers/commandInterfaceManager.ts +113 -1
- package/src/gsDevFx/managers/interfaceManagers/commonInterfaceManager.ts +11 -1
- package/src/gsDevFx/managers/persistenceManager.ts +10 -5
- package/src/gsDevFx/objects/caeObjects/aftertreatment/deadLoadObject.ts +133 -0
- package/src/gsDevFx/objects/caeObjects/grupObject.ts +11 -0
- package/src/gsDevFx/objects/caeObjects/jointObject.ts +51 -24
- package/src/gsDevFx/objects/caeObjects/memberObject.ts +55 -16
- package/src/gsDevFx/objects/caeObjects/pGrupObject.ts +11 -0
- package/src/gsDevFx/objects/caeObjects/plateObject.ts +11 -0
- package/src/gsDevFx/objects/caeObjects/pretreatment/surfaceDefinitionObject.ts +1 -1
- package/src/gsDevFx/objects/caeObjects/pretreatment/surfaceWeightObject.ts +7 -2
- package/src/gsDevFx/objects/caeObjects/sectionObject.ts +11 -0
- package/src/gsDevFx/objects/loadObjects/currLoadObject.ts +162 -0
- package/src/gsDevFx/objects/loadObjects/loadConditionObject.ts +6 -3
- package/src/gsDevFx/objects/loadObjects/waveLoadObject.ts +242 -0
- package/src/gsDevFx/objects/loadObjects/windLoadObject.ts +160 -0
- package/src/gsDevFx/propertyComponents/sections/teeSectionProperty.ts +43 -43
- package/src/gsDevFx/propertyComponents/sections/wfSectionProperty.ts +104 -104
- package/src/viewerWrapper/commands/aftertreatment/addCurrentLoad/addCurrentLoadConfig.ts +99 -0
- package/src/viewerWrapper/commands/aftertreatment/addCurrentLoad/commandAddCurrentLoad.ts +269 -0
- package/src/viewerWrapper/commands/aftertreatment/addDeadLoad/addDeadLoadConfig.ts +86 -0
- package/src/viewerWrapper/commands/aftertreatment/addDeadLoad/commandAddDeadLoad.ts +195 -0
- package/src/viewerWrapper/commands/aftertreatment/addJointLoad/commandAddJointLoad.ts +25 -7
- package/src/viewerWrapper/commands/aftertreatment/addWaveLoad/addWaveLoadConfig.ts +208 -0
- package/src/viewerWrapper/commands/aftertreatment/addWaveLoad/commandAddWaveLoad.ts +309 -0
- package/src/viewerWrapper/commands/aftertreatment/addWindLoad/addWindLoadConfig.ts +143 -0
- package/src/viewerWrapper/commands/aftertreatment/addWindLoad/commandAddWindLoad.ts +279 -0
- package/src/viewerWrapper/commands/aftertreatment/editCurrentLoad/commandEditCurrentLoad.ts +286 -0
- package/src/viewerWrapper/commands/aftertreatment/editCurrentLoad/editCurrentLoadConfig.ts +129 -0
- package/src/viewerWrapper/commands/aftertreatment/editJointLoad/commandEditJointLoad.ts +93 -15
- package/src/viewerWrapper/commands/aftertreatment/editWaveLoad/commandEditWaveLoad.ts +330 -0
- package/src/viewerWrapper/commands/aftertreatment/editWaveLoad/editWaveLoadConfig.ts +243 -0
- package/src/viewerWrapper/commands/aftertreatment/editWindLoad/commandEditWindLoad.ts +296 -0
- package/src/viewerWrapper/commands/aftertreatment/editWindLoad/editWindLoadConfig.ts +176 -0
- package/src/viewerWrapper/commands/commandSplitMemberBase.ts +6 -8
- package/src/viewerWrapper/commands/createPlate/plateConfig.ts +22 -0
- package/src/viewerWrapper/commands/createPlatesInRange/commandCreatePlatesInRange.ts +203 -73
- package/src/viewerWrapper/commands/createPlatesInRange/createPlatesInRangeConfig.ts +6 -0
- package/src/viewerWrapper/commands/editGrup/commandEditGrup.ts +36 -26
- package/src/viewerWrapper/commands/pretreatment/colorDivideByEditComponentGroup/commandColorDivideByEditComponentGroup.ts +2 -2
- package/src/viewerWrapper/commands/pretreatment/editJointWeight/commandEditJointWeight.ts +8 -1
- package/src/viewerWrapper/commands/pretreatment/editMemberWeight/commandEditMemberWeight.ts +9 -1
- package/src/viewerWrapper/commands/pretreatment/finiteElement/commandFiniteElement.ts +3 -0
- package/src/viewerWrapper/commands/pretreatment/surfaceDefinition/commandSurfaceDefinition.ts +3 -2
- package/src/viewerWrapper/commands/pretreatment/surfaceDefinitionEdit/commandSurfaceDefinitionEdit.ts +1 -1
- package/src/viewerWrapper/commands/pretreatment/surfaceWeightAdd/commandSurfaceWeightAdd.ts +10 -6
- package/src/viewerWrapper/commands/pretreatment/surfaceWeightEdit/commandSurfaceWeightEdit.ts +187 -0
- package/src/viewerWrapper/commands/pretreatment/surfaceWeightEdit/surfaceWeightEditConfig.ts +72 -0
- package/src/viewerWrapper/commands/splitMemberByCoordinate/commandSplitMemberByCoordinate.ts +6 -2
- package/src/viewerWrapper/commands/splitMemberByEqualPatrs/commandSplitMemberByEqualPatrs.ts +6 -2
- package/src/viewerWrapper/commands/splitMemberByExistingJoint/commandSplitMemberByExistingJoint.ts +6 -2
- package/src/viewerWrapper/commands/splitMemberByIntersection/commandSplitMemberByIntersection.ts +6 -2
- package/src/viewerWrapper/commands/splitMemberByLength/commandSplitMemberByLength.ts +8 -4
- package/src/viewerWrapper/commands/splitMemberByPerpendicular/commandSplitMemberByPerpendicular.ts +51 -6
- package/types/caeDesign/src/caeCardEditor/caeCardObjects/sacinp/cardWGTMEMCONC.d.ts +1 -1
- package/types/caeDesign/src/caeCardEditor/caeCardObjects/seainp/cardCURR.d.ts +6 -0
- package/types/caeDesign/src/caeCardEditor/caeCardObjects/seainp/cardCURR.d.ts.map +1 -1
- package/types/caeDesign/src/caeCardEditor/caeCardObjects/seainp/cardDEAD.d.ts +8 -0
- package/types/caeDesign/src/caeCardEditor/caeCardObjects/seainp/cardDEAD.d.ts.map +1 -1
- package/types/caeDesign/src/caeCardEditor/caeCardObjects/seainp/cardWAVE.d.ts +2 -0
- package/types/caeDesign/src/caeCardEditor/caeCardObjects/seainp/cardWAVE.d.ts.map +1 -1
- package/types/caeDesign/src/caeCardEditor/caeCardObjects/seainp/cardWIND.d.ts +2 -0
- package/types/caeDesign/src/caeCardEditor/caeCardObjects/seainp/cardWIND.d.ts.map +1 -1
- package/types/caeDesign/src/gsDevFx/managers/datReaderManager.d.ts +27 -29
- package/types/caeDesign/src/gsDevFx/managers/datReaderManager.d.ts.map +1 -1
- package/types/caeDesign/src/gsDevFx/managers/datWriterManager.d.ts.map +1 -1
- package/types/caeDesign/src/gsDevFx/managers/interfaceManagers/commandInterfaceManager.d.ts +18 -1
- package/types/caeDesign/src/gsDevFx/managers/interfaceManagers/commandInterfaceManager.d.ts.map +1 -1
- package/types/caeDesign/src/gsDevFx/managers/interfaceManagers/commonInterfaceManager.d.ts +2 -0
- package/types/caeDesign/src/gsDevFx/managers/interfaceManagers/commonInterfaceManager.d.ts.map +1 -1
- package/types/caeDesign/src/gsDevFx/managers/persistenceManager.d.ts.map +1 -1
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/aftertreatment/deadLoadObject.d.ts +26 -0
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/aftertreatment/deadLoadObject.d.ts.map +1 -0
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/grupObject.d.ts +2 -0
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/grupObject.d.ts.map +1 -1
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/jointObject.d.ts +2 -0
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/jointObject.d.ts.map +1 -1
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/memberObject.d.ts +2 -0
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/memberObject.d.ts.map +1 -1
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/pGrupObject.d.ts +2 -0
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/pGrupObject.d.ts.map +1 -1
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/plateObject.d.ts +2 -0
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/plateObject.d.ts.map +1 -1
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/pretreatment/surfaceWeightObject.d.ts.map +1 -1
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/sectionObject.d.ts +2 -0
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/sectionObject.d.ts.map +1 -1
- package/types/caeDesign/src/gsDevFx/objects/loadObjects/currLoadObject.d.ts +46 -0
- package/types/caeDesign/src/gsDevFx/objects/loadObjects/currLoadObject.d.ts.map +1 -0
- package/types/caeDesign/src/gsDevFx/objects/loadObjects/loadConditionObject.d.ts.map +1 -1
- package/types/caeDesign/src/gsDevFx/objects/loadObjects/waveLoadObject.d.ts +65 -0
- package/types/caeDesign/src/gsDevFx/objects/loadObjects/waveLoadObject.d.ts.map +1 -0
- package/types/caeDesign/src/gsDevFx/objects/loadObjects/windLoadObject.d.ts +50 -0
- package/types/caeDesign/src/gsDevFx/objects/loadObjects/windLoadObject.d.ts.map +1 -0
- package/types/caeDesign/src/gsDevFx/operators/cAEObjectPreSelector.d.ts.map +1 -1
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/addCurrentLoad/addCurrentLoadConfig.d.ts +7 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/addCurrentLoad/addCurrentLoadConfig.d.ts.map +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/addCurrentLoad/commandAddCurrentLoad.d.ts +27 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/addCurrentLoad/commandAddCurrentLoad.d.ts.map +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/addDeadLoad/addDeadLoadConfig.d.ts +5 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/addDeadLoad/addDeadLoadConfig.d.ts.map +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/addDeadLoad/commandAddDeadLoad.d.ts +15 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/addDeadLoad/commandAddDeadLoad.d.ts.map +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/addJointLoad/commandAddJointLoad.d.ts.map +1 -1
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/addWaveLoad/addWaveLoadConfig.d.ts +5 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/addWaveLoad/addWaveLoadConfig.d.ts.map +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/addWaveLoad/commandAddWaveLoad.d.ts +27 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/addWaveLoad/commandAddWaveLoad.d.ts.map +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/addWindLoad/addWindLoadConfig.d.ts +5 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/addWindLoad/addWindLoadConfig.d.ts.map +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/addWindLoad/commandAddWindLoad.d.ts +27 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/addWindLoad/commandAddWindLoad.d.ts.map +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/editCurrentLoad/commandEditCurrentLoad.d.ts +26 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/editCurrentLoad/commandEditCurrentLoad.d.ts.map +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/editCurrentLoad/editCurrentLoadConfig.d.ts +9 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/editCurrentLoad/editCurrentLoadConfig.d.ts.map +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/editJointLoad/commandEditJointLoad.d.ts +2 -1
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/editJointLoad/commandEditJointLoad.d.ts.map +1 -1
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/editWaveLoad/commandEditWaveLoad.d.ts +26 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/editWaveLoad/commandEditWaveLoad.d.ts.map +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/editWaveLoad/editWaveLoadConfig.d.ts +7 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/editWaveLoad/editWaveLoadConfig.d.ts.map +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/editWindLoad/commandEditWindLoad.d.ts +26 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/editWindLoad/commandEditWindLoad.d.ts.map +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/editWindLoad/editWindLoadConfig.d.ts +7 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/editWindLoad/editWindLoadConfig.d.ts.map +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/commandSplitMemberBase.d.ts.map +1 -1
- package/types/caeDesign/src/viewerWrapper/commands/createPlate/plateConfig.d.ts +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/createPlate/plateConfig.d.ts.map +1 -1
- package/types/caeDesign/src/viewerWrapper/commands/createPlatesInRange/commandCreatePlatesInRange.d.ts.map +1 -1
- package/types/caeDesign/src/viewerWrapper/commands/createPlatesInRange/createPlatesInRangeConfig.d.ts.map +1 -1
- package/types/caeDesign/src/viewerWrapper/commands/editGrup/commandEditGrup.d.ts +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/editGrup/commandEditGrup.d.ts.map +1 -1
- package/types/caeDesign/src/viewerWrapper/commands/pretreatment/editJointWeight/commandEditJointWeight.d.ts.map +1 -1
- package/types/caeDesign/src/viewerWrapper/commands/pretreatment/editMemberWeight/commandEditMemberWeight.d.ts.map +1 -1
- package/types/caeDesign/src/viewerWrapper/commands/pretreatment/finiteElement/commandFiniteElement.d.ts.map +1 -1
- package/types/caeDesign/src/viewerWrapper/commands/pretreatment/surfaceDefinition/commandSurfaceDefinition.d.ts.map +1 -1
- package/types/caeDesign/src/viewerWrapper/commands/pretreatment/surfaceWeightAdd/commandSurfaceWeightAdd.d.ts.map +1 -1
- package/types/caeDesign/src/viewerWrapper/commands/pretreatment/surfaceWeightEdit/commandSurfaceWeightEdit.d.ts +18 -0
- package/types/caeDesign/src/viewerWrapper/commands/pretreatment/surfaceWeightEdit/commandSurfaceWeightEdit.d.ts.map +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/pretreatment/surfaceWeightEdit/surfaceWeightEditConfig.d.ts +13 -0
- package/types/caeDesign/src/viewerWrapper/commands/pretreatment/surfaceWeightEdit/surfaceWeightEditConfig.d.ts.map +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/splitMemberByCoordinate/commandSplitMemberByCoordinate.d.ts.map +1 -1
- package/types/caeDesign/src/viewerWrapper/commands/splitMemberByEqualPatrs/commandSplitMemberByEqualPatrs.d.ts.map +1 -1
- package/types/caeDesign/src/viewerWrapper/commands/splitMemberByExistingJoint/commandSplitMemberByExistingJoint.d.ts.map +1 -1
- package/types/caeDesign/src/viewerWrapper/commands/splitMemberByIntersection/commandSplitMemberByIntersection.d.ts.map +1 -1
- package/types/caeDesign/src/viewerWrapper/commands/splitMemberByLength/commandSplitMemberByLength.d.ts.map +1 -1
- package/types/caeDesign/src/viewerWrapper/commands/splitMemberByPerpendicular/commandSplitMemberByPerpendicular.d.ts.map +1 -1
- package/types/caeDesign/src/viewerWrapper/module/createMenu.d.ts.map +0 -1
- package/types/caeDesign/src/viewerWrapper/panel/viewPoint/viewPointPanel.d.ts +0 -36
- package/types/ceecDesign/src/gsDevFx/managers/persistenceManager.d.ts +2 -0
- package/types/ceecDesign/src/gsDevFx/managers/persistenceManager.d.ts.map +1 -1
- package/types/ceecDesign/src/gsDevFx/objects/designBaseObject.d.ts +53 -0
- package/types/ceecDesign/src/gsDevFx/objects/designBaseObject.d.ts.map +1 -0
- package/types/ceecDesign/src/gsDevFx/viewer.d.ts.map +1 -0
- package/types/ceecDesign/src/utils/cookie.d.ts +0 -38
- package/types/ceecDesign/src/utils/cookie.d.ts.map +0 -1
|
@@ -82,129 +82,129 @@ export class WFSectionProperty extends PropertyComponent {
|
|
|
82
82
|
["125x125", 125, 125, 6.5, 9, 8],
|
|
83
83
|
["150x150", 150, 150, 7, 10, 8],
|
|
84
84
|
["175x175", 175, 175, 7.5, 11, 13],
|
|
85
|
-
["
|
|
86
|
-
["
|
|
87
|
-
["
|
|
88
|
-
["
|
|
89
|
-
["
|
|
90
|
-
["
|
|
91
|
-
["
|
|
92
|
-
["
|
|
93
|
-
["
|
|
94
|
-
["
|
|
95
|
-
["
|
|
96
|
-
["
|
|
97
|
-
["
|
|
98
|
-
["
|
|
99
|
-
["
|
|
100
|
-
["
|
|
101
|
-
["
|
|
102
|
-
["
|
|
103
|
-
["
|
|
104
|
-
["
|
|
105
|
-
["
|
|
106
|
-
["
|
|
107
|
-
["
|
|
108
|
-
["
|
|
109
|
-
["
|
|
85
|
+
["200x200a", 200, 200, 8, 12, 13],
|
|
86
|
+
["200x200b", 200, 204, 12, 12, 13],
|
|
87
|
+
["250x250a", 244, 252, 11, 11, 13],
|
|
88
|
+
["250x250b", 250, 250, 9, 14, 13],
|
|
89
|
+
["250x250c", 250, 255, 14, 14, 13],
|
|
90
|
+
["300x300a", 294, 302, 12, 12, 13],
|
|
91
|
+
["300x300b", 300, 300, 10, 15, 13],
|
|
92
|
+
["300x300c", 300, 305, 15, 15, 13],
|
|
93
|
+
["350x350a", 338, 351, 13, 13, 13],
|
|
94
|
+
["350x350b", 344, 348, 10, 16, 13],
|
|
95
|
+
["350x350c", 344, 354, 16, 16, 13],
|
|
96
|
+
["350x350d", 350, 350, 12, 19, 13],
|
|
97
|
+
["350x350e", 350, 357, 19, 19, 13],
|
|
98
|
+
["400x400a", 388, 402, 15, 15, 22],
|
|
99
|
+
["400x400b", 394, 398, 11, 18, 22],
|
|
100
|
+
["400x400c", 394, 405, 18, 18, 22],
|
|
101
|
+
["400x400d", 400, 400, 13, 21, 22],
|
|
102
|
+
["400x400e", 400, 408, 21, 21, 22],
|
|
103
|
+
["400x400f", 414, 405, 18, 28, 22],
|
|
104
|
+
["400x400g", 428, 407, 20, 35, 22],
|
|
105
|
+
["400x400h", 458, 417, 30, 50, 22],
|
|
106
|
+
["400x400i", 498, 432, 45, 70, 22],
|
|
107
|
+
["500x500a", 492, 465, 15, 20, 22],
|
|
108
|
+
["500x500b", 502, 465, 15, 25, 22],
|
|
109
|
+
["500x500c", 502, 470, 20, 25, 22],
|
|
110
110
|
],
|
|
111
111
|
[
|
|
112
112
|
["150x100", 148, 100, 6, 9, 8],
|
|
113
113
|
["200x150", 194, 150, 6, 9, 8],
|
|
114
114
|
["250x175", 194, 150, 7, 11, 13],
|
|
115
|
-
["
|
|
116
|
-
["
|
|
115
|
+
["300x200a", 294, 200, 8, 12, 13],
|
|
116
|
+
["300x200b", 298, 201, 9, 14, 13],
|
|
117
117
|
["350x250", 340, 250, 9, 14, 13],
|
|
118
118
|
["400x300", 390, 300, 10, 16, 13],
|
|
119
119
|
["450x300", 440, 300, 11, 18, 13],
|
|
120
|
-
["
|
|
121
|
-
["
|
|
122
|
-
["
|
|
123
|
-
["
|
|
124
|
-
["
|
|
125
|
-
["
|
|
126
|
-
["
|
|
120
|
+
["500x300a", 482, 300, 11, 15, 13],
|
|
121
|
+
["500x300b", 488, 300, 11, 18, 13],
|
|
122
|
+
["550x300a", 544, 300, 11, 15, 13],
|
|
123
|
+
["550x300b", 550, 300, 11, 18, 13],
|
|
124
|
+
["600x300a", 582, 300, 12, 17, 13],
|
|
125
|
+
["600x300b", 588, 300, 12, 20, 13],
|
|
126
|
+
["600x300c", 594, 300, 14, 23, 13],
|
|
127
127
|
],
|
|
128
128
|
[
|
|
129
129
|
["100x50", 100, 50, 5, 7, 8],
|
|
130
130
|
["125x60", 125, 60, 6, 8, 8],
|
|
131
131
|
["150x75", 150, 75, 5, 7, 8],
|
|
132
132
|
["175x90", 175, 90, 5, 8, 8],
|
|
133
|
-
["
|
|
134
|
-
["
|
|
135
|
-
["
|
|
136
|
-
["
|
|
137
|
-
["
|
|
138
|
-
["
|
|
139
|
-
["
|
|
140
|
-
["
|
|
133
|
+
["200x100a", 198, 99, 4.5, 7, 8],
|
|
134
|
+
["200x100b", 200, 100, 5.5, 8, 8],
|
|
135
|
+
["250x125a", 248, 124, 5, 8, 8],
|
|
136
|
+
["250x125b", 250, 125, 6, 9, 8],
|
|
137
|
+
["300x150a", 298, 149, 5.5, 8, 13],
|
|
138
|
+
["300x150b", 300, 150, 6.5, 9, 13],
|
|
139
|
+
["350x175a", 346, 174, 6, 9, 13],
|
|
140
|
+
["350x175b", 350, 175, 7, 11, 13],
|
|
141
141
|
["400x150", 400, 150, 8, 13, 13],
|
|
142
|
-
["
|
|
143
|
-
["
|
|
144
|
-
["
|
|
145
|
-
["
|
|
146
|
-
["
|
|
147
|
-
["
|
|
148
|
-
["
|
|
149
|
-
["
|
|
150
|
-
["
|
|
151
|
-
["
|
|
152
|
-
["
|
|
153
|
-
["
|
|
154
|
-
["
|
|
155
|
-
["
|
|
156
|
-
["
|
|
157
|
-
["
|
|
158
|
-
["
|
|
159
|
-
["
|
|
160
|
-
["
|
|
161
|
-
["
|
|
162
|
-
["
|
|
163
|
-
["
|
|
164
|
-
["
|
|
165
|
-
["
|
|
166
|
-
["
|
|
167
|
-
["
|
|
168
|
-
["
|
|
169
|
-
["
|
|
170
|
-
["
|
|
171
|
-
["
|
|
172
|
-
["
|
|
173
|
-
["
|
|
174
|
-
["
|
|
175
|
-
["
|
|
176
|
-
["
|
|
177
|
-
["
|
|
178
|
-
["
|
|
179
|
-
["
|
|
180
|
-
["
|
|
181
|
-
["
|
|
182
|
-
["
|
|
183
|
-
["
|
|
184
|
-
["
|
|
185
|
-
["
|
|
186
|
-
["
|
|
187
|
-
["
|
|
142
|
+
["400x200a", 396, 199, 7, 11, 13],
|
|
143
|
+
["400x200b", 400, 200, 8, 13, 13],
|
|
144
|
+
["450x150a", 446, 150, 7, 12, 13],
|
|
145
|
+
["450x150b", 450, 151, 8, 14, 13],
|
|
146
|
+
["450x200a", 446, 199, 8, 12, 13],
|
|
147
|
+
["450x200b", 450, 200, 9, 14, 13],
|
|
148
|
+
["475x150a", 470, 150, 7, 13, 13],
|
|
149
|
+
["475x150b", 470, 151.5, 8.5, 15.5, 13],
|
|
150
|
+
["475x150c", 482, 153.5, 10.5, 19, 13],
|
|
151
|
+
["500x150a", 492, 150, 7, 12, 13],
|
|
152
|
+
["500x150b", 500, 152, 9, 16, 13],
|
|
153
|
+
["500x150c", 504, 153, 10, 18, 13],
|
|
154
|
+
["500x200a", 496, 199, 9, 14, 13],
|
|
155
|
+
["500x200b", 500, 200, 10, 16, 13],
|
|
156
|
+
["500x200c", 506, 201, 11, 19, 13],
|
|
157
|
+
["550x200a", 546, 199, 9, 14, 13],
|
|
158
|
+
["550x200b", 550, 200, 10, 16, 13],
|
|
159
|
+
["600x200a", 596, 199, 10, 15, 13],
|
|
160
|
+
["600x200b", 600, 200, 11, 17, 13],
|
|
161
|
+
["600x200c", 606, 201, 12, 20, 13],
|
|
162
|
+
["625x200a", 625, 198.5, 13.5, 17.5, 13],
|
|
163
|
+
["625x200b", 630, 200, 15, 20, 13],
|
|
164
|
+
["625x200c", 638, 202, 17, 24, 13],
|
|
165
|
+
["650x300a", 646, 299, 10, 15, 13],
|
|
166
|
+
["650x300b", 650, 300, 11, 17, 13],
|
|
167
|
+
["650x300c", 656, 301, 12, 20, 13],
|
|
168
|
+
["700x300a", 692, 300, 13, 20, 18],
|
|
169
|
+
["700x300b", 700, 300, 13, 24, 18],
|
|
170
|
+
["750x300a", 734, 299, 12, 16, 18],
|
|
171
|
+
["750x300b", 742, 300, 13, 20, 18],
|
|
172
|
+
["750x300c", 750, 300, 13, 24, 18],
|
|
173
|
+
["750x300d", 758, 303, 16, 28, 18],
|
|
174
|
+
["800x300a", 792, 300, 14, 22, 18],
|
|
175
|
+
["800x300b", 800, 300, 14, 26, 18],
|
|
176
|
+
["850x300a", 834, 298, 14, 19, 18],
|
|
177
|
+
["850x300b", 842, 299, 15, 23, 18],
|
|
178
|
+
["850x300c", 850, 300, 16, 27, 18],
|
|
179
|
+
["850x300d", 858, 301, 17, 31, 18],
|
|
180
|
+
["900x300a", 890, 299, 15, 23, 18],
|
|
181
|
+
["900x300b", 900, 300, 16, 28, 18],
|
|
182
|
+
["900x300c", 912, 302, 18, 34, 18],
|
|
183
|
+
["1000x300a", 970, 297, 16, 21, 18],
|
|
184
|
+
["1000x300b", 980, 298, 17, 26, 18],
|
|
185
|
+
["1000x300c", 990, 298, 17, 31, 18],
|
|
186
|
+
["1000x300d", 1000, 300, 19, 36, 18],
|
|
187
|
+
["1000x300e", 1008, 302, 21, 40, 18],
|
|
188
188
|
],
|
|
189
189
|
[
|
|
190
|
-
["
|
|
191
|
-
["
|
|
190
|
+
["100x50a", 95, 48, 3.2, 4.5, 8],
|
|
191
|
+
["100x50b", 97, 49, 4, 5.5, 8],
|
|
192
192
|
["100x100", 96, 99, 4.5, 6, 8],
|
|
193
|
-
["
|
|
194
|
-
["
|
|
193
|
+
["125x60a", 118, 58, 3.2, 4.5, 8],
|
|
194
|
+
["125x60b", 120, 59, 4, 5.5, 8],
|
|
195
195
|
["125x125", 119, 123, 4.5, 6, 8],
|
|
196
|
-
["
|
|
197
|
-
["
|
|
198
|
-
["
|
|
199
|
-
["
|
|
200
|
-
["
|
|
201
|
-
["
|
|
202
|
-
["
|
|
203
|
-
["
|
|
204
|
-
["
|
|
205
|
-
["
|
|
206
|
-
["
|
|
207
|
-
["
|
|
196
|
+
["150x75a", 145, 73, 3.2, 4.5, 8],
|
|
197
|
+
["150x75b", 147, 74, 4, 5.5, 8],
|
|
198
|
+
["150x100a", 139, 97, 3.2, 4.5, 8],
|
|
199
|
+
["150x100b", 142, 99, 4.5, 6, 8],
|
|
200
|
+
["150x150a", 144, 148, 5, 7, 8],
|
|
201
|
+
["150x150b", 147, 149, 6, 8.5, 8],
|
|
202
|
+
["175x90a", 168, 88, 3.2, 4.5, 8],
|
|
203
|
+
["175x90b", 171, 89, 4, 6, 8],
|
|
204
|
+
["175x175a", 167, 173, 5, 7, 13],
|
|
205
|
+
["175x175b", 172, 175, 6.5, 9.5, 13],
|
|
206
|
+
["200x100a", 193, 98, 3.2, 4.5, 8],
|
|
207
|
+
["200x100b", 196, 99, 4, 6, 8],
|
|
208
208
|
["200x150", 188, 149, 4.5, 6, 8],
|
|
209
209
|
["200x200", 192, 198, 6, 8, 13],
|
|
210
210
|
["250x125", 244, 124, 4.5, 6, 8],
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { Config } from "../../../../gsDevFx/propertyComponents/config";
|
|
2
|
+
import { PropertyComponent } from "../../../../gsDevFx/propertyComponents/propertyComponent";
|
|
3
|
+
import { FactorOption, CrsetStretchingOption, CurrLoadObject } from "../../../../gsDevFx/objects/loadObjects/currLoadObject";
|
|
4
|
+
|
|
5
|
+
export default class AddCurrentLoadConfig extends Config {
|
|
6
|
+
currList: Array<CurrLoadObject> = null;
|
|
7
|
+
|
|
8
|
+
constructor() {
|
|
9
|
+
super();
|
|
10
|
+
|
|
11
|
+
this.currList = new Array<CurrLoadObject>();
|
|
12
|
+
|
|
13
|
+
let property = new PropertyComponent();
|
|
14
|
+
property.name = "添加海流荷载";
|
|
15
|
+
property.data = {
|
|
16
|
+
loadCondition: {
|
|
17
|
+
name: "",
|
|
18
|
+
value: null
|
|
19
|
+
},
|
|
20
|
+
mudlineElevationOverride: {
|
|
21
|
+
name: "泥面高程覆盖",
|
|
22
|
+
value: null,
|
|
23
|
+
},
|
|
24
|
+
isElevationPercentOption: {
|
|
25
|
+
name: "以水深百分比输入距离",
|
|
26
|
+
type: "switch",
|
|
27
|
+
value: false,
|
|
28
|
+
},
|
|
29
|
+
isApparentWavePeriodOption: {
|
|
30
|
+
name: "计算表观波浪周期",
|
|
31
|
+
type: "switch",
|
|
32
|
+
value: false,
|
|
33
|
+
},
|
|
34
|
+
factorOption: {
|
|
35
|
+
name: "阻流因子选项",
|
|
36
|
+
type: "select",
|
|
37
|
+
value: null,
|
|
38
|
+
selectOptions: {
|
|
39
|
+
selections: [
|
|
40
|
+
{
|
|
41
|
+
label: "无",
|
|
42
|
+
value: FactorOption.None
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
label: "自动",
|
|
46
|
+
value: FactorOption.BC
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
label: "自定义",
|
|
50
|
+
value: FactorOption.US
|
|
51
|
+
},
|
|
52
|
+
],
|
|
53
|
+
},
|
|
54
|
+
},
|
|
55
|
+
factor: {
|
|
56
|
+
name: "阻流因子",
|
|
57
|
+
value: null,
|
|
58
|
+
},
|
|
59
|
+
elevation: {
|
|
60
|
+
name: "阻流因子参考高程",
|
|
61
|
+
value: null,
|
|
62
|
+
},
|
|
63
|
+
crsetStretchingOption: {
|
|
64
|
+
name: "海流拉伸选项",
|
|
65
|
+
type: "select",
|
|
66
|
+
selectOptions: {
|
|
67
|
+
selections: [
|
|
68
|
+
{
|
|
69
|
+
label: "常数",
|
|
70
|
+
value: CrsetStretchingOption.CN
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
label: "非线性",
|
|
74
|
+
value: CrsetStretchingOption.NL
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
label: "线性",
|
|
78
|
+
value: CrsetStretchingOption.LN
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
label: "无",
|
|
82
|
+
value: CrsetStretchingOption.None
|
|
83
|
+
},
|
|
84
|
+
],
|
|
85
|
+
},
|
|
86
|
+
value: null,
|
|
87
|
+
},
|
|
88
|
+
minimumInlineCurrentVelocity: {
|
|
89
|
+
name: "最小顺流速度",
|
|
90
|
+
value: null,
|
|
91
|
+
},
|
|
92
|
+
tip: {
|
|
93
|
+
name: "提示",
|
|
94
|
+
value: null,
|
|
95
|
+
},
|
|
96
|
+
};
|
|
97
|
+
this.properties.add(property);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
@@ -0,0 +1,269 @@
|
|
|
1
|
+
import { CameraMouse } from "../../../../gsDevFx/operators/cameraMouse";
|
|
2
|
+
import { CAEObjectPreSelector } from "../../../../gsDevFx/operators/cAEObjectPreSelector";
|
|
3
|
+
import { CAEObjectSelector } from "../../../../gsDevFx/operators/caeObjectSelector";
|
|
4
|
+
import { CommandSelect } from "../../../../gsDevFx/commands/commandSelect";
|
|
5
|
+
import { CommandComponent } from "../../commandComponent";
|
|
6
|
+
import AddCurrentLoadConfig from "./addCurrentLoadConfig";
|
|
7
|
+
import { DesignBaseObject } from "gs-ceec-design";
|
|
8
|
+
import { LoadConditionObject } from "../../../../gsDevFx/objects/loadObjects/loadConditionObject";
|
|
9
|
+
import { BusinessState } from "gs-ceec-design";
|
|
10
|
+
import { CaeNumber } from "../../../../utility/utility";
|
|
11
|
+
import { CurrLoadObject, CrsetStretchingOption } from "../../../../gsDevFx/objects/loadObjects/currLoadObject";
|
|
12
|
+
import { SeastateLdopt } from "../../../../gsDevFx/objects/caeObjects/optionObjects/seastateLdopt"
|
|
13
|
+
import { CardLDOPT } from "../../../../caeCardEditor/caeCardObjects/seainp/cardLDOPT"
|
|
14
|
+
|
|
15
|
+
export default class CommandAddCurrentLoad extends CommandComponent {
|
|
16
|
+
typeName = "CommandAddCurrentLoad";
|
|
17
|
+
|
|
18
|
+
config: AddCurrentLoadConfig;
|
|
19
|
+
preSelector: CAEObjectPreSelector;
|
|
20
|
+
caeObjectSelector: CAEObjectSelector;
|
|
21
|
+
|
|
22
|
+
loadConditionRO: LoadConditionObject = null;
|
|
23
|
+
currLoadRO: CurrLoadObject = null
|
|
24
|
+
|
|
25
|
+
constructor() {
|
|
26
|
+
super();
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
begin(): void {
|
|
30
|
+
this.changeOperators();
|
|
31
|
+
|
|
32
|
+
console.log("CommandAddCurrentLoad");
|
|
33
|
+
this.config = new AddCurrentLoadConfig();
|
|
34
|
+
this.config.show();
|
|
35
|
+
|
|
36
|
+
let currLoadRO = new CurrLoadObject();
|
|
37
|
+
currLoadRO.crsetStretchingOption = CrsetStretchingOption.CN
|
|
38
|
+
currLoadRO.isVelocityUnitsOption = true
|
|
39
|
+
this.currLoadRO = currLoadRO;
|
|
40
|
+
this.setCurrLoadRODataToConfigData()
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
restore(): void {
|
|
44
|
+
this.changeOperators();
|
|
45
|
+
this.config.show();
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
changeOperators(): void {
|
|
49
|
+
// 进入命令前清空选中与高亮.
|
|
50
|
+
this.viewer.selectionManager.clearAllSelectionAndHighlight();
|
|
51
|
+
this.viewer.updateDisplay();
|
|
52
|
+
|
|
53
|
+
// 清空操作器.
|
|
54
|
+
this.viewer.operatorManager.clear();
|
|
55
|
+
// 添加操作器
|
|
56
|
+
this.viewer.operatorManager.add(new CameraMouse());
|
|
57
|
+
|
|
58
|
+
this.preSelector = new CAEObjectPreSelector();
|
|
59
|
+
this.viewer.operatorManager.add(this.preSelector);
|
|
60
|
+
|
|
61
|
+
this.caeObjectSelector = new CAEObjectSelector();
|
|
62
|
+
this.viewer.operatorManager.add(this.caeObjectSelector);
|
|
63
|
+
//this.caeObjectSelector.isMultiSelect = true;
|
|
64
|
+
|
|
65
|
+
this.caeObjectSelector.lButtonUp.add(() => {
|
|
66
|
+
setTimeout(() => {
|
|
67
|
+
this.updatePanel();
|
|
68
|
+
}, 0);
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
end(): void {
|
|
73
|
+
this.config.hide();
|
|
74
|
+
super.end();
|
|
75
|
+
|
|
76
|
+
this.viewer.selectionManager.clearAllSelectionAndHighlight();
|
|
77
|
+
this.viewer.updateDisplay();
|
|
78
|
+
|
|
79
|
+
if (this.loadConditionRO) {
|
|
80
|
+
this.loadConditionRO.inactive(this.viewer);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
let commandSelect = new CommandSelect();
|
|
84
|
+
this.process.commandManager.execute(commandSelect);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
commandOk(): void {
|
|
88
|
+
let data = this.config.properties.items[0].data;
|
|
89
|
+
|
|
90
|
+
let loadCondition = data.loadCondition.value;
|
|
91
|
+
if (!loadCondition) {
|
|
92
|
+
// 没有填工况名数组
|
|
93
|
+
data.tip.value = 2;
|
|
94
|
+
return;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
let isLegal1 = LoadConditionObject.checkNamelegal(loadCondition);
|
|
98
|
+
if (!isLegal1) {
|
|
99
|
+
data.tip.value = 3;
|
|
100
|
+
return;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
let pretreatmentRO = this.viewer.process.findRenderObjectByName(
|
|
104
|
+
"后处理计算结果"
|
|
105
|
+
) as DesignBaseObject;
|
|
106
|
+
let combinationParent = this.process.findCaeObjectByNameInChildObject(
|
|
107
|
+
pretreatmentRO,
|
|
108
|
+
"荷载组合"
|
|
109
|
+
) as DesignBaseObject;
|
|
110
|
+
let combinationRO = this.process.findCaeObjectByNameInChildObject(
|
|
111
|
+
combinationParent,
|
|
112
|
+
loadCondition
|
|
113
|
+
) as DesignBaseObject;
|
|
114
|
+
if(combinationRO) {
|
|
115
|
+
// 同名
|
|
116
|
+
data.tip.value = 5;
|
|
117
|
+
return;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
this.viewer.selectionManager.clearAllSelectionAndHighlight();
|
|
121
|
+
|
|
122
|
+
// 添加或修改工况.
|
|
123
|
+
this.loadConditionRO =
|
|
124
|
+
this.getAndCreateLoadConditionObjectByName(loadCondition);
|
|
125
|
+
|
|
126
|
+
let loadGroupRO = this.getAndCreateLoadGroupByLoadCondition(
|
|
127
|
+
this.loadConditionRO
|
|
128
|
+
);
|
|
129
|
+
|
|
130
|
+
let currList = this.config.currList;
|
|
131
|
+
if(!currList.length) {
|
|
132
|
+
data.tip.value = 4;
|
|
133
|
+
return;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
for (let i = 0; i < loadGroupRO.childObjects.length; i++) {
|
|
137
|
+
const item = loadGroupRO.childObjects[i] as DesignBaseObject;
|
|
138
|
+
item.tempDelete(this.viewer);
|
|
139
|
+
item.businessState = BusinessState.Deleting;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
for (let i = 0; i < currList.length; i++) {
|
|
143
|
+
let currLoad = currList[i] as CurrLoadObject;
|
|
144
|
+
if(currLoad instanceof CurrLoadObject) {
|
|
145
|
+
currLoad.businessState = BusinessState.Creating;
|
|
146
|
+
this.process.addRenderObject(loadGroupRO, currLoad);
|
|
147
|
+
|
|
148
|
+
if(i === 0) {
|
|
149
|
+
currLoad.mudlineElevationOverride = CaeNumber(data.mudlineElevationOverride.value)
|
|
150
|
+
currLoad.isElevationPercentOption = data.isElevationPercentOption.value
|
|
151
|
+
currLoad.isApparentWavePeriodOption = data.isApparentWavePeriodOption.value
|
|
152
|
+
currLoad.factorOption = data.factorOption.value
|
|
153
|
+
currLoad.factor = CaeNumber(data.factor.value)
|
|
154
|
+
currLoad.elevation = CaeNumber(data.elevation.value)
|
|
155
|
+
currLoad.crsetStretchingOption = data.crsetStretchingOption.value
|
|
156
|
+
currLoad.minimumInlineCurrentVelocity = CaeNumber(data.minimumInlineCurrentVelocity.value)
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
let seastateNode = this.process.caeRenderObjectTreeManager.seastateNode
|
|
162
|
+
let seastateLdoptObj = this.process.findRenderObjectByType(
|
|
163
|
+
"SeastateLdopt"
|
|
164
|
+
) as SeastateLdopt
|
|
165
|
+
if (!seastateLdoptObj) {
|
|
166
|
+
seastateLdoptObj = new SeastateLdopt();
|
|
167
|
+
seastateLdoptObj.businessState = BusinessState.Creating
|
|
168
|
+
seastateLdoptObj.cardObject = new CardLDOPT("LDOPT NF+Z 1.025 7.849 GLOBMN HYD K ")
|
|
169
|
+
seastateLdoptObj.cardData = seastateLdoptObj.cardObject.getLine()
|
|
170
|
+
this.process.addRenderObject(seastateNode,seastateLdoptObj);
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
this.viewer.updateDisplay();
|
|
174
|
+
data.tip.value = 1;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
updatePanel() {
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
private getLoadConditionObjectByName(loadConditionName: string) {
|
|
181
|
+
let pretreatmentRO = this.viewer.process.findRenderObjectByName(
|
|
182
|
+
"后处理计算结果"
|
|
183
|
+
) as DesignBaseObject;
|
|
184
|
+
|
|
185
|
+
let conditionParent = this.process.findCaeObjectByNameInChildObject(
|
|
186
|
+
pretreatmentRO,
|
|
187
|
+
"荷载工况"
|
|
188
|
+
) as DesignBaseObject;
|
|
189
|
+
|
|
190
|
+
if (!conditionParent) {
|
|
191
|
+
conditionParent = new DesignBaseObject();
|
|
192
|
+
conditionParent.businessState = BusinessState.Creating;
|
|
193
|
+
conditionParent.name = "荷载工况";
|
|
194
|
+
this.process.addRenderObject(pretreatmentRO, conditionParent);
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
let loadConditionRO = this.process.findCaeObjectByNameInChildObject(
|
|
198
|
+
conditionParent,
|
|
199
|
+
loadConditionName
|
|
200
|
+
) as LoadConditionObject;
|
|
201
|
+
|
|
202
|
+
return loadConditionRO;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
private getAndCreateLoadConditionObjectByName(loadConditionName: string) {
|
|
206
|
+
let loadConditionRO = this.getLoadConditionObjectByName(loadConditionName);
|
|
207
|
+
|
|
208
|
+
if (!loadConditionRO) {
|
|
209
|
+
let pretreatmentRO = this.viewer.process.findRenderObjectByName(
|
|
210
|
+
"后处理计算结果"
|
|
211
|
+
) as DesignBaseObject;
|
|
212
|
+
|
|
213
|
+
let conditionParent = this.process.findCaeObjectByNameInChildObject(
|
|
214
|
+
pretreatmentRO,
|
|
215
|
+
"荷载工况"
|
|
216
|
+
) as DesignBaseObject;
|
|
217
|
+
|
|
218
|
+
if (!conditionParent) {
|
|
219
|
+
conditionParent = new DesignBaseObject();
|
|
220
|
+
conditionParent.businessState = BusinessState.Creating;
|
|
221
|
+
conditionParent.name = "荷载工况";
|
|
222
|
+
this.process.addRenderObject(pretreatmentRO, conditionParent);
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
loadConditionRO = new LoadConditionObject(loadConditionName);
|
|
226
|
+
loadConditionRO.businessState = BusinessState.Creating;
|
|
227
|
+
this.process.addRenderObject(conditionParent, loadConditionRO);
|
|
228
|
+
} else {
|
|
229
|
+
loadConditionRO.businessState = BusinessState.Editing;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
return loadConditionRO;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
private getAndCreateLoadGroupByLoadCondition(
|
|
236
|
+
loadCondition: LoadConditionObject
|
|
237
|
+
) {
|
|
238
|
+
let loadGroupRO = this.process.findCaeObjectByNameInChildObject(
|
|
239
|
+
loadCondition,
|
|
240
|
+
"CURRLoads"
|
|
241
|
+
) as DesignBaseObject;
|
|
242
|
+
if (!loadGroupRO) {
|
|
243
|
+
loadGroupRO = new DesignBaseObject();
|
|
244
|
+
loadGroupRO.name = "CURRLoads";
|
|
245
|
+
loadGroupRO.businessState = BusinessState.Creating;
|
|
246
|
+
this.process.addRenderObject(loadCondition, loadGroupRO);
|
|
247
|
+
} else {
|
|
248
|
+
loadGroupRO.businessState = BusinessState.Editing;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
return loadGroupRO;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
getLoadConditons() {
|
|
255
|
+
let loadConditions = this.viewer.process.findRenderObjectsByType(
|
|
256
|
+
"LoadConditionObject"
|
|
257
|
+
);
|
|
258
|
+
return loadConditions;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
private setCurrLoadRODataToConfigData() {
|
|
262
|
+
if(this.currLoadRO) {
|
|
263
|
+
let data = this.config.properties.items[0].data;
|
|
264
|
+
let currLoadRO = this.currLoadRO;
|
|
265
|
+
|
|
266
|
+
data.crsetStretchingOption.value = currLoadRO.crsetStretchingOption
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
}
|