gs-cae-design 1.1.55 → 1.1.57
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 +17 -0
- package/docs/classes/CommandInterfaceManager.md +125 -0
- package/docs/classes/Viewer.md +1 -3
- package/lib/.gz +0 -0
- package/lib/CAEDesign.common-report.html +2 -2
- package/lib/CAEDesign.common.js +404 -85
- package/lib/CAEDesign.umd-report.html +2 -2
- package/lib/CAEDesign.umd.js +404 -85
- package/lib/CAEDesign.umd.min-report.html +2 -2
- package/lib/CAEDesign.umd.min.js +404 -85
- package/package.json +1 -1
- package/src/caeCardEditor/caeCardObjects/ftginp/cardEXTRACTHEAD.ts +34 -0
- package/src/caeCardEditor/caeCardObjects/ftginp/cardFTCASE.ts +49 -0
- package/src/caeCardEditor/caeCardObjects/ftginp/cardFTCOMB.ts +129 -0
- package/src/caeCardEditor/caeCardObjects/ftginp/cardFTOPT.ts +217 -0
- package/src/caeCardEditor/caeCardObjects/ftginp/cardFTOPT2.ts +201 -0
- package/src/caeCardEditor/caeCardObjects/ftginp/cardFTOPT3.ts +57 -0
- package/src/caeCardEditor/caeCardObjects/ftginp/cardJSLC.ts +161 -0
- package/src/caeCardEditor/caeCardObjects/ftginp/cardSCFLM.ts +33 -0
- package/src/caeCardEditor/caeCardObjects/sacinp/cardCENTER.ts +12 -1
- package/src/caeCardEditor/caeCardObjects/sacinp/cardSURFDR.ts +138 -0
- package/src/caeCardEditor/caeCardObjects/sacinp/cardSURFID.ts +1 -1
- package/src/caeCardEditor/caeCardObjects/sacinp/cardWGTMEMCONC.ts +11 -2
- package/src/caeCardEditor/caeCardObjects/sacinp/cardWGTMEMUNIF.ts +30 -0
- package/src/caeCardEditor/caeCardObjects/seainp/cardLCOMB.ts +22 -0
- package/src/caeCardEditor/caeCardObjects/seainp/cardLDOPT.ts +0 -8
- package/src/gsDevFx/managers/datReaderManager.ts +206 -106
- package/src/gsDevFx/managers/datWriterManager.ts +101 -16
- package/src/gsDevFx/managers/interfaceManagers/commandInterfaceManager.ts +129 -4
- package/src/gsDevFx/managers/persistenceManager.ts +16 -2
- package/src/gsDevFx/objects/caeObjects/jointObject.ts +3 -3
- package/src/gsDevFx/objects/caeObjects/memberObject.ts +12 -31
- package/src/gsDevFx/objects/caeObjects/optionObjects/{modelCenter.ts → modelSurfDR.ts} +56 -56
- package/src/gsDevFx/objects/caeObjects/pretreatment/boundaryJointsObject.ts +206 -0
- package/src/gsDevFx/objects/caeObjects/pretreatment/centerRenderObject.ts +88 -0
- package/src/gsDevFx/objects/caeObjects/pretreatment/surfaceDefinitionObject.ts +128 -0
- package/src/gsDevFx/objects/caeObjects/pretreatment/surfaceWeightObject.ts +143 -0
- package/src/gsDevFx/objects/caeObjects/sectionObject.ts +4 -0
- package/src/gsDevFx/objects/caeObjects/sections/angSectionObject.ts +20 -0
- package/src/gsDevFx/objects/caeObjects/sections/blbSectionObject.ts +18 -0
- package/src/gsDevFx/objects/caeObjects/sections/boxSectionObject.ts +18 -0
- package/src/gsDevFx/objects/caeObjects/sections/chlSectionObject.ts +23 -0
- package/src/gsDevFx/objects/caeObjects/sections/conSectionObject.ts +14 -0
- package/src/gsDevFx/objects/caeObjects/sections/dtbSectionObject.ts +21 -0
- package/src/gsDevFx/objects/caeObjects/sections/priSectionObject.ts +18 -0
- package/src/gsDevFx/objects/caeObjects/sections/rtbSectionObject.ts +20 -0
- package/src/gsDevFx/objects/caeObjects/sections/teeSectionObject.ts +23 -0
- package/src/gsDevFx/objects/caeObjects/sections/tubSectionObject.ts +18 -0
- package/src/gsDevFx/objects/caeObjects/sections/wFSectionObject.ts +23 -0
- package/src/gsDevFx/objects/loadCombinationObjects/loadCombinationGroupObject.ts +100 -0
- package/src/gsDevFx/objects/loadCombinationObjects/loadCombinationObject.ts +134 -0
- package/src/gsDevFx/objects/weightObjects/instanceMemberWeightConcentratedObject.ts +82 -0
- package/src/gsDevFx/objects/weightObjects/instanceMemberWeightDistributedObject.ts +147 -0
- package/src/gsDevFx/objects/weightObjects/jointWeightObject.ts +6 -8
- package/src/gsDevFx/objects/weightObjects/memberWeightBaseObject.ts +108 -0
- package/src/gsDevFx/objects/weightObjects/memberWeightConcentratedObject.ts +138 -0
- package/src/gsDevFx/objects/weightObjects/memberWeightDistributedObject.ts +156 -0
- package/src/gsDevFx/objects/weightObjects/weightBaseObject.ts +87 -0
- package/src/gsDevFx/objects/weightObjects/weightGroupObject.ts +14 -2
- package/src/gsDevFx/objects/weightObjects/weightIdObject.ts +3 -4
- package/src/gsDevFx/viewer.ts +27 -14
- package/src/index.ts +1 -1
- package/src/viewerWrapper/commands/aftertreatment/addLoadCombination/addLoadCombinationConfig.ts +77 -0
- package/src/viewerWrapper/commands/aftertreatment/addLoadCombination/commandAddLoadCombination.ts +200 -0
- package/src/viewerWrapper/commands/aftertreatment/editLoadCombination/commandEditLoadCombination.ts +248 -0
- package/src/viewerWrapper/commands/aftertreatment/editLoadCombination/editLoadCombinationConfig.ts +104 -0
- package/src/viewerWrapper/commands/aftertreatment/setAndShowSeastateLoadOptions/commandSetAndShowSeastateLoadOptions.ts +201 -0
- package/src/viewerWrapper/commands/aftertreatment/setAndShowSeastateLoadOptions/setAndShowSeastateLoadOptionsConfig.ts +253 -0
- package/src/viewerWrapper/commands/createSection/commandCreateSection.ts +36 -15
- package/src/viewerWrapper/commands/editMemberOffsetUnified/commandEditMemberOffsetUnified.ts +3 -0
- package/src/viewerWrapper/commands/editSection/commandEditSection.ts +23 -3
- package/src/viewerWrapper/commands/moveJointByMirror/commandMoveJointByMirror.ts +1 -1
- package/src/viewerWrapper/commands/pretreatment/addJointWeight/commandAddJointWeight.ts +9 -9
- package/src/viewerWrapper/commands/pretreatment/addMemberWeight/addMemberWeightConfig.ts +111 -0
- package/src/viewerWrapper/commands/pretreatment/addMemberWeight/commandAddMemberWeight.ts +405 -0
- package/src/viewerWrapper/commands/pretreatment/centerOfRoll/centerOfRollConfig.ts +54 -0
- package/src/viewerWrapper/commands/pretreatment/centerOfRoll/commandCenterOfRoll.ts +110 -0
- package/src/viewerWrapper/commands/pretreatment/editJointWeight/commandEditJointWeight.ts +9 -0
- package/src/viewerWrapper/commands/pretreatment/editMemberWeight/commandEditMemberWeight.ts +497 -0
- package/src/viewerWrapper/commands/pretreatment/editMemberWeight/editMemberWeightConfig.ts +107 -0
- package/src/viewerWrapper/commands/pretreatment/surfaceDefinition/commandSurfaceDefinition.ts +278 -0
- package/src/viewerWrapper/commands/pretreatment/surfaceDefinition/surfaceDefinitionConfig.ts +57 -0
- package/src/viewerWrapper/commands/pretreatment/surfaceDefinitionEdit/commandSurfaceDefinitionEdit.ts +280 -0
- package/src/viewerWrapper/commands/pretreatment/surfaceDefinitionEdit/surfaceDefinitionEditConfig.ts +49 -0
- package/src/viewerWrapper/commands/pretreatment/surfaceWeightAdd/commandSurfaceWeightAdd.ts +250 -0
- package/src/viewerWrapper/commands/pretreatment/surfaceWeightAdd/surfaceWeightAddConfig.ts +53 -0
- package/src/viewerWrapper/commands/pretreatment/viewWeightProperty/commandViewWeightProperty.ts +257 -44
- package/src/viewerWrapper/commands/splitMember/commandSplitMember.ts +1 -1
- package/src/viewerWrapper/viewerWrapper.ts +2 -1
- package/types/caeDesign/src/caeCardEditor/caeCardObjects/ftginp/cardEXTRACTHEAD.d.ts +29 -0
- package/types/caeDesign/src/caeCardEditor/caeCardObjects/ftginp/cardEXTRACTHEAD.d.ts.map +1 -0
- package/types/caeDesign/src/caeCardEditor/caeCardObjects/ftginp/cardFTCASE.d.ts +45 -0
- package/types/caeDesign/src/caeCardEditor/caeCardObjects/ftginp/cardFTCASE.d.ts.map +1 -0
- package/types/caeDesign/src/caeCardEditor/caeCardObjects/ftginp/cardFTCOMB.d.ts +125 -0
- package/types/caeDesign/src/caeCardEditor/caeCardObjects/ftginp/cardFTCOMB.d.ts.map +1 -0
- package/types/caeDesign/src/caeCardEditor/caeCardObjects/ftginp/cardFTOPT.d.ts +213 -0
- package/types/caeDesign/src/caeCardEditor/caeCardObjects/ftginp/cardFTOPT.d.ts.map +1 -0
- package/types/caeDesign/src/caeCardEditor/caeCardObjects/ftginp/cardFTOPT2.d.ts +197 -0
- package/types/caeDesign/src/caeCardEditor/caeCardObjects/ftginp/cardFTOPT2.d.ts.map +1 -0
- package/types/caeDesign/src/caeCardEditor/caeCardObjects/ftginp/cardFTOPT3.d.ts +53 -0
- package/types/caeDesign/src/caeCardEditor/caeCardObjects/ftginp/cardFTOPT3.d.ts.map +1 -0
- package/types/caeDesign/src/caeCardEditor/caeCardObjects/ftginp/cardJSLC.d.ts +157 -0
- package/types/caeDesign/src/caeCardEditor/caeCardObjects/ftginp/cardJSLC.d.ts.map +1 -0
- package/types/caeDesign/src/caeCardEditor/caeCardObjects/ftginp/cardSCFLM.d.ts +29 -0
- package/types/caeDesign/src/caeCardEditor/caeCardObjects/ftginp/cardSCFLM.d.ts.map +1 -0
- package/types/caeDesign/src/caeCardEditor/caeCardObjects/sacinp/cardCENTER.d.ts +2 -0
- package/types/caeDesign/src/caeCardEditor/caeCardObjects/sacinp/cardCENTER.d.ts.map +1 -1
- package/types/caeDesign/src/caeCardEditor/caeCardObjects/sacinp/cardSURFDR.d.ts +133 -0
- package/types/caeDesign/src/caeCardEditor/caeCardObjects/sacinp/cardSURFDR.d.ts.map +1 -0
- package/types/caeDesign/src/caeCardEditor/caeCardObjects/sacinp/cardWGTMEMCONC.d.ts +2 -1
- package/types/caeDesign/src/caeCardEditor/caeCardObjects/sacinp/cardWGTMEMCONC.d.ts.map +1 -1
- package/types/caeDesign/src/caeCardEditor/caeCardObjects/sacinp/cardWGTMEMUNIF.d.ts +2 -0
- package/types/caeDesign/src/caeCardEditor/caeCardObjects/sacinp/cardWGTMEMUNIF.d.ts.map +1 -1
- package/types/caeDesign/src/caeCardEditor/caeCardObjects/seainp/cardLCOMB.d.ts +2 -0
- package/types/caeDesign/src/caeCardEditor/caeCardObjects/seainp/cardLCOMB.d.ts.map +1 -1
- package/types/caeDesign/src/caeCardEditor/caeCardObjects/seainp/cardLDOPT.d.ts +0 -8
- package/types/caeDesign/src/caeCardEditor/caeCardObjects/seainp/cardLDOPT.d.ts.map +1 -1
- package/types/caeDesign/src/gsDevFx/managers/datReaderManager.d.ts +4 -1
- 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 -0
- package/types/caeDesign/src/gsDevFx/managers/interfaceManagers/commandInterfaceManager.d.ts.map +1 -1
- package/types/caeDesign/src/gsDevFx/managers/persistenceManager.d.ts.map +1 -1
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/memberObject.d.ts.map +1 -1
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/optionObjects/modelSurfDR.d.ts +15 -0
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/optionObjects/modelSurfDR.d.ts.map +1 -0
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/pretreatment/boundaryJointsObject.d.ts +30 -0
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/pretreatment/boundaryJointsObject.d.ts.map +1 -0
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/pretreatment/centerRenderObject.d.ts +20 -0
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/pretreatment/centerRenderObject.d.ts.map +1 -0
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/pretreatment/surfaceDefinitionObject.d.ts +25 -0
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/pretreatment/surfaceDefinitionObject.d.ts.map +1 -0
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/pretreatment/surfaceWeightObject.d.ts +28 -0
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/pretreatment/surfaceWeightObject.d.ts.map +1 -0
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/sectionObject.d.ts +1 -0
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/sectionObject.d.ts.map +1 -1
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/sections/angSectionObject.d.ts +1 -0
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/sections/angSectionObject.d.ts.map +1 -1
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/sections/blbSectionObject.d.ts +1 -0
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/sections/blbSectionObject.d.ts.map +1 -1
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/sections/boxSectionObject.d.ts +1 -0
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/sections/boxSectionObject.d.ts.map +1 -1
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/sections/chlSectionObject.d.ts +1 -0
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/sections/chlSectionObject.d.ts.map +1 -1
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/sections/conSectionObject.d.ts +1 -0
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/sections/conSectionObject.d.ts.map +1 -1
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/sections/dtbSectionObject.d.ts +1 -0
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/sections/dtbSectionObject.d.ts.map +1 -1
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/sections/priSectionObject.d.ts +1 -0
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/sections/priSectionObject.d.ts.map +1 -1
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/sections/rtbSectionObject.d.ts +1 -0
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/sections/rtbSectionObject.d.ts.map +1 -1
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/sections/teeSectionObject.d.ts +1 -0
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/sections/teeSectionObject.d.ts.map +1 -1
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/sections/tubSectionObject.d.ts +1 -0
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/sections/tubSectionObject.d.ts.map +1 -1
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/sections/wFSectionObject.d.ts +1 -0
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/sections/wFSectionObject.d.ts.map +1 -1
- package/types/caeDesign/src/gsDevFx/objects/loadCombinationObjects/loadCombinationGroupObject.d.ts +13 -0
- package/types/caeDesign/src/gsDevFx/objects/loadCombinationObjects/loadCombinationGroupObject.d.ts.map +1 -0
- package/types/caeDesign/src/gsDevFx/objects/loadCombinationObjects/loadCombinationObject.d.ts +23 -0
- package/types/caeDesign/src/gsDevFx/objects/loadCombinationObjects/loadCombinationObject.d.ts.map +1 -0
- package/types/caeDesign/src/gsDevFx/objects/weightObjects/instanceMemberWeightConcentratedObject.d.ts +10 -0
- package/types/caeDesign/src/gsDevFx/objects/weightObjects/instanceMemberWeightConcentratedObject.d.ts.map +1 -0
- package/types/caeDesign/src/gsDevFx/objects/weightObjects/instanceMemberWeightDistributedObject.d.ts +10 -0
- package/types/caeDesign/src/gsDevFx/objects/weightObjects/instanceMemberWeightDistributedObject.d.ts.map +1 -0
- package/types/caeDesign/src/gsDevFx/objects/weightObjects/jointWeightObject.d.ts +2 -4
- package/types/caeDesign/src/gsDevFx/objects/weightObjects/jointWeightObject.d.ts.map +1 -1
- package/types/caeDesign/src/gsDevFx/objects/weightObjects/memberWeightBaseObject.d.ts +20 -0
- package/types/caeDesign/src/gsDevFx/objects/weightObjects/memberWeightBaseObject.d.ts.map +1 -0
- package/types/caeDesign/src/gsDevFx/objects/weightObjects/memberWeightConcentratedObject.d.ts +20 -0
- package/types/caeDesign/src/gsDevFx/objects/weightObjects/memberWeightConcentratedObject.d.ts.map +1 -0
- package/types/caeDesign/src/gsDevFx/objects/weightObjects/memberWeightDistributedObject.d.ts +22 -0
- package/types/caeDesign/src/gsDevFx/objects/weightObjects/memberWeightDistributedObject.d.ts.map +1 -0
- package/types/caeDesign/src/gsDevFx/objects/weightObjects/weightBaseObject.d.ts +21 -0
- package/types/caeDesign/src/gsDevFx/objects/weightObjects/weightBaseObject.d.ts.map +1 -0
- package/types/caeDesign/src/gsDevFx/objects/weightObjects/weightGroupObject.d.ts.map +1 -1
- package/types/caeDesign/src/gsDevFx/objects/weightObjects/weightIdObject.d.ts.map +1 -1
- package/types/caeDesign/src/gsDevFx/operators/cAEObjectPreSelector.d.ts.map +1 -1
- package/types/caeDesign/src/gsDevFx/viewer.d.ts +1 -0
- package/types/caeDesign/src/gsDevFx/viewer.d.ts.map +1 -1
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/addLoadCombination/addLoadCombinationConfig.d.ts +7 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/addLoadCombination/addLoadCombinationConfig.d.ts.map +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/addLoadCombination/commandAddLoadCombination.d.ts +19 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/addLoadCombination/commandAddLoadCombination.d.ts.map +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/editLoadCombination/commandEditLoadCombination.d.ts +23 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/editLoadCombination/commandEditLoadCombination.d.ts.map +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/editLoadCombination/editLoadCombinationConfig.d.ts +9 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/editLoadCombination/editLoadCombinationConfig.d.ts.map +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/setAndShowSeastateLoadOptions/commandSetAndShowSeastateLoadOptions.d.ts +22 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/setAndShowSeastateLoadOptions/commandSetAndShowSeastateLoadOptions.d.ts.map +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/setAndShowSeastateLoadOptions/setAndShowSeastateLoadOptionsConfig.d.ts +6 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/setAndShowSeastateLoadOptions/setAndShowSeastateLoadOptionsConfig.d.ts.map +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/createSection/commandCreateSection.d.ts.map +1 -1
- package/types/caeDesign/src/viewerWrapper/commands/editMemberOffsetUnified/commandEditMemberOffsetUnified.d.ts.map +1 -1
- package/types/caeDesign/src/viewerWrapper/commands/editSection/commandEditSection.d.ts.map +1 -1
- package/types/caeDesign/src/viewerWrapper/commands/pretreatment/addMemberWeight/addMemberWeightConfig.d.ts +6 -0
- package/types/caeDesign/src/viewerWrapper/commands/pretreatment/addMemberWeight/addMemberWeightConfig.d.ts.map +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/pretreatment/addMemberWeight/commandAddMemberWeight.d.ts +31 -0
- package/types/caeDesign/src/viewerWrapper/commands/pretreatment/addMemberWeight/commandAddMemberWeight.d.ts.map +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/pretreatment/centerOfRoll/centerOfRollConfig.d.ts +8 -0
- package/types/caeDesign/src/viewerWrapper/commands/pretreatment/centerOfRoll/centerOfRollConfig.d.ts.map +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/pretreatment/centerOfRoll/commandCenterOfRoll.d.ts +11 -0
- package/types/caeDesign/src/viewerWrapper/commands/pretreatment/centerOfRoll/commandCenterOfRoll.d.ts.map +1 -0
- 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 +37 -0
- package/types/caeDesign/src/viewerWrapper/commands/pretreatment/editMemberWeight/commandEditMemberWeight.d.ts.map +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/pretreatment/editMemberWeight/editMemberWeightConfig.d.ts +5 -0
- package/types/caeDesign/src/viewerWrapper/commands/pretreatment/editMemberWeight/editMemberWeightConfig.d.ts.map +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/pretreatment/surfaceDefinition/commandSurfaceDefinition.d.ts +33 -0
- package/types/caeDesign/src/viewerWrapper/commands/pretreatment/surfaceDefinition/commandSurfaceDefinition.d.ts.map +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/pretreatment/surfaceDefinition/surfaceDefinitionConfig.d.ts +5 -0
- package/types/caeDesign/src/viewerWrapper/commands/pretreatment/surfaceDefinition/surfaceDefinitionConfig.d.ts.map +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/pretreatment/surfaceDefinitionEdit/commandSurfaceDefinitionEdit.d.ts +32 -0
- package/types/caeDesign/src/viewerWrapper/commands/pretreatment/surfaceDefinitionEdit/commandSurfaceDefinitionEdit.d.ts.map +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/pretreatment/surfaceDefinitionEdit/surfaceDefinitionEditConfig.d.ts +12 -0
- package/types/caeDesign/src/viewerWrapper/commands/pretreatment/surfaceDefinitionEdit/surfaceDefinitionEditConfig.d.ts.map +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/pretreatment/surfaceWeightAdd/commandSurfaceWeightAdd.d.ts +20 -0
- package/types/caeDesign/src/viewerWrapper/commands/pretreatment/surfaceWeightAdd/commandSurfaceWeightAdd.d.ts.map +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/pretreatment/surfaceWeightAdd/surfaceWeightAddConfig.d.ts +10 -0
- package/types/caeDesign/src/viewerWrapper/commands/pretreatment/surfaceWeightAdd/surfaceWeightAddConfig.d.ts.map +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/pretreatment/viewWeightProperty/commandViewWeightProperty.d.ts +4 -1
- package/types/caeDesign/src/viewerWrapper/commands/pretreatment/viewWeightProperty/commandViewWeightProperty.d.ts.map +1 -1
- package/types/caeDesign/src/viewerWrapper/viewerWrapper.d.ts.map +1 -1
- package/types/ceecDesign/src/gsDevFx/objects/designBaseObject.d.ts +0 -53
- package/types/ceecDesign/src/gsDevFx/objects/designBaseObject.d.ts.map +0 -1
- package/types/ceecDesign/src/gsDevFx/viewer.d.ts.map +0 -1
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { PersistenceManager } from "../../../managers/persistenceManager";
|
|
2
|
+
import { InstanceRenderObject } from "../../instancesObjects/instanceRenderObject";
|
|
3
|
+
import { DesignBaseObject } from "gs-ceec-design";
|
|
4
|
+
import { CaeNumber } from "../../../../utility/utility";
|
|
5
|
+
import { Longan } from "gs-bim-air";
|
|
6
|
+
import { CardCENTER } from "../../../../caeCardEditor/caeCardObjects/sacinp/cardCENTER";
|
|
7
|
+
/**
|
|
8
|
+
* 回转中心
|
|
9
|
+
*/
|
|
10
|
+
export class CenterRenderObject extends DesignBaseObject {
|
|
11
|
+
typeName = "CenterRenderObject";
|
|
12
|
+
cardData: string = null;
|
|
13
|
+
cardObject: CardCENTER = null;
|
|
14
|
+
// 回转中心ID
|
|
15
|
+
centerID: string = "";
|
|
16
|
+
// X坐标
|
|
17
|
+
coordinatesX: string = "";
|
|
18
|
+
// Y坐标
|
|
19
|
+
coordinatesY:string = "";
|
|
20
|
+
// Z坐标
|
|
21
|
+
coordinatesZ: string = "";
|
|
22
|
+
|
|
23
|
+
constructor() {
|
|
24
|
+
super();
|
|
25
|
+
this.instanceTypes.add("main", InstanceRenderObject.prototype);
|
|
26
|
+
}
|
|
27
|
+
serialize(): any {
|
|
28
|
+
let obj = super.serialize();
|
|
29
|
+
if (this.cardObject) {
|
|
30
|
+
obj.cardData = this.cardObject.getLine();
|
|
31
|
+
} else if (this.cardData) {
|
|
32
|
+
obj.cardData = this.cardData;
|
|
33
|
+
}
|
|
34
|
+
if (this.centerID) {
|
|
35
|
+
obj.centerID = this.centerID;
|
|
36
|
+
}
|
|
37
|
+
if (this.coordinatesX) {
|
|
38
|
+
obj.coordinatesX = this.coordinatesX;
|
|
39
|
+
}
|
|
40
|
+
if (this.coordinatesY) {
|
|
41
|
+
obj.coordinatesY = this.coordinatesY;
|
|
42
|
+
}
|
|
43
|
+
if (this.coordinatesZ) {
|
|
44
|
+
obj.coordinatesZ = this.coordinatesZ;
|
|
45
|
+
}
|
|
46
|
+
return obj;
|
|
47
|
+
}
|
|
48
|
+
deserialize(obj: any, pm: PersistenceManager) {
|
|
49
|
+
super.deserialize(obj, pm);
|
|
50
|
+
// TODO centerID
|
|
51
|
+
if (obj.centerID) {
|
|
52
|
+
this.centerID = obj.centerID;
|
|
53
|
+
}
|
|
54
|
+
if (obj.coordinatesX) {
|
|
55
|
+
this.coordinatesX = CaeNumber(obj.coordinatesX);
|
|
56
|
+
}
|
|
57
|
+
if (obj.coordinatesY) {
|
|
58
|
+
this.coordinatesY = CaeNumber(obj.coordinatesY);
|
|
59
|
+
}
|
|
60
|
+
if (obj.coordinatesZ) {
|
|
61
|
+
this.coordinatesZ = CaeNumber(obj.coordinatesZ);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
protected clone(cloneObj: any, cloneManager?: Longan.CloneManager) {
|
|
65
|
+
cloneObj = super.clone(cloneObj);
|
|
66
|
+
cloneObj.cardData = this.cardData;
|
|
67
|
+
|
|
68
|
+
return cloneObj;
|
|
69
|
+
}
|
|
70
|
+
static checkcenterId(name: string): boolean {
|
|
71
|
+
let reg = /^[A-Z0-9]*$/;
|
|
72
|
+
if (!reg.test(name) || name.trimEnd().length > 4) {
|
|
73
|
+
console.log("回转中心id不符合规范");
|
|
74
|
+
return false;
|
|
75
|
+
}
|
|
76
|
+
return true;
|
|
77
|
+
}
|
|
78
|
+
serializeToCard() {
|
|
79
|
+
let cardCENTER = new CardCENTER();
|
|
80
|
+
cardCENTER.lineLabel.value = "CENTER";
|
|
81
|
+
cardCENTER.centerID.value = this.centerID;
|
|
82
|
+
// 需要将数字转为字符串,卡片编辑就是处理字符串
|
|
83
|
+
cardCENTER.coordinatesX.value = this.coordinatesX ? this.coordinatesX.toString() : ""
|
|
84
|
+
cardCENTER.coordinatesY.value = this.coordinatesY ? this.coordinatesY.toString() : ""
|
|
85
|
+
cardCENTER.coordinatesZ.value = this.coordinatesZ ? this.coordinatesZ.toString() : ""
|
|
86
|
+
return cardCENTER.getLine();
|
|
87
|
+
}
|
|
88
|
+
}
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import { PersistenceManager } from "../../../managers/persistenceManager";
|
|
2
|
+
import { InstanceRenderObject } from "../../instancesObjects/instanceRenderObject";
|
|
3
|
+
import { DesignBaseObject } from "gs-ceec-design";
|
|
4
|
+
import { CaeNumber } from "../../../../utility/utility";
|
|
5
|
+
import { Longan } from "gs-bim-air";
|
|
6
|
+
import { CardSURFID } from "../../../../caeCardEditor/caeCardObjects/sacinp/cardSURFID";
|
|
7
|
+
import { CardSURFDR } from "../../../../caeCardEditor/caeCardObjects/sacinp/cardSURFDR";
|
|
8
|
+
import { BoundaryJointsObject } from "./boundaryJointsObject";
|
|
9
|
+
export class SurfaceDefinitionObject extends DesignBaseObject {
|
|
10
|
+
typeName = "SurfaceDefinitionObject";
|
|
11
|
+
cardData: string = null;
|
|
12
|
+
cardObject: CardSURFID = null;
|
|
13
|
+
|
|
14
|
+
surfaceID: string = "";
|
|
15
|
+
originJointName: string = "";
|
|
16
|
+
localXJointName: string = "";
|
|
17
|
+
localYJointName: string = "";
|
|
18
|
+
outOfPlaneTolerance: number = 0;
|
|
19
|
+
loadDistuibutionType: string = "";
|
|
20
|
+
boundaryJoints: BoundaryJointsObject = null;
|
|
21
|
+
constructor(surfaceID: string) {
|
|
22
|
+
super();
|
|
23
|
+
this.name = surfaceID;
|
|
24
|
+
this.instanceTypes.add("main", InstanceRenderObject.prototype);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
serialize(): any {
|
|
28
|
+
let obj = super.serialize();
|
|
29
|
+
if (this.cardObject) {
|
|
30
|
+
obj.cardData = this.cardObject.getLine();
|
|
31
|
+
} else if (this.cardData) {
|
|
32
|
+
obj.cardData = this.cardData;
|
|
33
|
+
}
|
|
34
|
+
if (this.surfaceID) {
|
|
35
|
+
obj.surfaceID = this.surfaceID;
|
|
36
|
+
}
|
|
37
|
+
if (this.originJointName) {
|
|
38
|
+
obj.originJointName = this.originJointName;
|
|
39
|
+
}
|
|
40
|
+
if (this.localXJointName) {
|
|
41
|
+
obj.localXJointName = this.localXJointName;
|
|
42
|
+
}
|
|
43
|
+
if (this.localYJointName) {
|
|
44
|
+
obj.localYJointName = this.localYJointName;
|
|
45
|
+
}
|
|
46
|
+
if (this.outOfPlaneTolerance) {
|
|
47
|
+
obj.outOfPlaneTolerance = CaeNumber(this.outOfPlaneTolerance);
|
|
48
|
+
}
|
|
49
|
+
if (this.loadDistuibutionType) {
|
|
50
|
+
obj.loadDistuibutionType = this.loadDistuibutionType;
|
|
51
|
+
}
|
|
52
|
+
if (this.boundaryJoints) {
|
|
53
|
+
obj.boundaryJoints = this.boundaryJoints;
|
|
54
|
+
}
|
|
55
|
+
return obj;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
deserialize(obj: any, pm: PersistenceManager) {
|
|
59
|
+
super.deserialize(obj, pm);
|
|
60
|
+
|
|
61
|
+
if (obj.surfaceID) {
|
|
62
|
+
this.surfaceID = obj.surfaceID;
|
|
63
|
+
}
|
|
64
|
+
if (obj.originJointName) {
|
|
65
|
+
this.originJointName = obj.originJointName;
|
|
66
|
+
}
|
|
67
|
+
if (obj.localXJointName) {
|
|
68
|
+
this.localXJointName = obj.localXJointName;
|
|
69
|
+
}
|
|
70
|
+
if (obj.localYJointName) {
|
|
71
|
+
this.localYJointName = obj.localYJointName;
|
|
72
|
+
}
|
|
73
|
+
if (obj.outOfPlaneTolerance) {
|
|
74
|
+
this.outOfPlaneTolerance = obj.outOfPlaneTolerance;
|
|
75
|
+
}
|
|
76
|
+
if (obj.loadDistuibutionType) {
|
|
77
|
+
this.loadDistuibutionType = obj.loadDistuibutionType;
|
|
78
|
+
}
|
|
79
|
+
if (obj.boundaryJoints) {
|
|
80
|
+
// 反序列化边界节点
|
|
81
|
+
let boundaryJoints = new BoundaryJointsObject(this.surfaceID);
|
|
82
|
+
boundaryJoints.deserializeFromJson(obj.boundaryJoints);
|
|
83
|
+
this.boundaryJoints = boundaryJoints;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
protected clone(cloneObj: any, cloneManager?: Longan.CloneManager) {
|
|
88
|
+
cloneObj = super.clone(cloneObj);
|
|
89
|
+
cloneObj.cardData = this.cardData;
|
|
90
|
+
|
|
91
|
+
return cloneObj;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
serializeToCard() {
|
|
95
|
+
let cardSURFID = new CardSURFID();
|
|
96
|
+
cardSURFID.lineLabel.value = "SURFID";
|
|
97
|
+
cardSURFID.surfaceID.value = this.surfaceID;
|
|
98
|
+
// 需要将数字转为字符串,卡片编辑就是处理字符串
|
|
99
|
+
cardSURFID.originJointName.value = this.originJointName;
|
|
100
|
+
cardSURFID.localXJointName.value = this.localXJointName;
|
|
101
|
+
cardSURFID.localYJointName.value = this.localYJointName;
|
|
102
|
+
cardSURFID.outOfPlaneTolerance.value = this.outOfPlaneTolerance
|
|
103
|
+
? this.outOfPlaneTolerance.toString()
|
|
104
|
+
: "";
|
|
105
|
+
cardSURFID.loadDistuibutionType.value = this.loadDistuibutionType;
|
|
106
|
+
|
|
107
|
+
return cardSURFID.getLine();
|
|
108
|
+
}
|
|
109
|
+
serializeSURFDRToCard() {
|
|
110
|
+
let cardSURFID = new CardSURFDR();
|
|
111
|
+
cardSURFID.lineLabel.value = "SURFDR";
|
|
112
|
+
if (Array.isArray(this.boundaryJoints)) {
|
|
113
|
+
this.boundaryJoints.forEach((item, index) => {
|
|
114
|
+
const keyName = `boundryJoint${index + 1}st`;
|
|
115
|
+
cardSURFID[keyName] = item;
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
return cardSURFID.getLine();
|
|
119
|
+
}
|
|
120
|
+
static checkName(name: string): boolean {
|
|
121
|
+
let reg = /^[A-Z0-9]*$/;
|
|
122
|
+
if (!reg.test(name) || name.trimEnd().length > 4) {
|
|
123
|
+
console.log("表面id不符合规范");
|
|
124
|
+
return false;
|
|
125
|
+
}
|
|
126
|
+
return true;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import { PersistenceManager } from "../../../managers/persistenceManager";
|
|
2
|
+
import { InstanceRenderObject } from "../../instancesObjects/instanceRenderObject";
|
|
3
|
+
import { DesignBaseObject } from "gs-ceec-design";
|
|
4
|
+
import { CaeNumber } from "../../../../utility/utility";
|
|
5
|
+
import { Longan } from "gs-bim-air";
|
|
6
|
+
import { CardSURFWT } from "../../../../caeCardEditor/caeCardObjects/sacinp/cardSURFWT";
|
|
7
|
+
|
|
8
|
+
export class SurfaceWeightObject extends DesignBaseObject {
|
|
9
|
+
typeName = "SurfaceWeightObject";
|
|
10
|
+
cardData: string = null;
|
|
11
|
+
cardObject: CardSURFWT = null;
|
|
12
|
+
weightGroupID: string = "";
|
|
13
|
+
weightID: string = "";
|
|
14
|
+
pressure: number = 0;
|
|
15
|
+
density: number = 0;
|
|
16
|
+
xFactor: number = 0;
|
|
17
|
+
yFactor: number = 0;
|
|
18
|
+
zFactor: number = 0;
|
|
19
|
+
surfaceIDfirst: string = "";
|
|
20
|
+
surfaceIDSecond: string = "";
|
|
21
|
+
surfaceIDThird: string = "";
|
|
22
|
+
surfaceID4th: string = "";
|
|
23
|
+
surfaceID5th: string = "";
|
|
24
|
+
|
|
25
|
+
constructor(weightID) {
|
|
26
|
+
super();
|
|
27
|
+
this.name = weightID;
|
|
28
|
+
this.instanceTypes.add("main", InstanceRenderObject.prototype);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
serialize(): any {
|
|
32
|
+
let obj = super.serialize();
|
|
33
|
+
if (this.cardObject) {
|
|
34
|
+
obj.cardData = this.cardObject.getLine();
|
|
35
|
+
} else if (this.cardData) {
|
|
36
|
+
obj.cardData = this.cardData;
|
|
37
|
+
}
|
|
38
|
+
if (this.weightGroupID) {
|
|
39
|
+
obj.weightGroupID = this.weightGroupID;
|
|
40
|
+
}
|
|
41
|
+
if (this.weightID) {
|
|
42
|
+
obj.weightID = this.weightID;
|
|
43
|
+
}
|
|
44
|
+
if (this.pressure) {
|
|
45
|
+
obj.pressure = CaeNumber(this.pressure);
|
|
46
|
+
}
|
|
47
|
+
if (this.density) {
|
|
48
|
+
obj.density = CaeNumber(this.density);
|
|
49
|
+
}
|
|
50
|
+
if (this.xFactor) {
|
|
51
|
+
obj.xFactor = CaeNumber(this.xFactor);
|
|
52
|
+
}
|
|
53
|
+
if (this.yFactor) {
|
|
54
|
+
obj.yFactor = CaeNumber(this.yFactor);
|
|
55
|
+
}
|
|
56
|
+
if (this.zFactor) {
|
|
57
|
+
obj.zFactor = CaeNumber(this.zFactor);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
if (this.surfaceIDSecond) {
|
|
61
|
+
obj.surfaceIDSecond = this.surfaceIDSecond;
|
|
62
|
+
}
|
|
63
|
+
if (this.surfaceIDThird) {
|
|
64
|
+
obj.surfaceIDThird = this.surfaceIDThird;
|
|
65
|
+
}
|
|
66
|
+
if (this.surfaceID4th) {
|
|
67
|
+
obj.surfaceID4th = this.surfaceID4th;
|
|
68
|
+
}
|
|
69
|
+
if (this.surfaceID5th) {
|
|
70
|
+
obj.surfaceID5th = this.surfaceID5th;
|
|
71
|
+
}
|
|
72
|
+
return obj;
|
|
73
|
+
}
|
|
74
|
+
deserialize(obj: any, pm: PersistenceManager) {
|
|
75
|
+
super.deserialize(obj, pm);
|
|
76
|
+
if (obj.weightGroupID) {
|
|
77
|
+
this.weightGroupID = obj.weightGroupID;
|
|
78
|
+
}
|
|
79
|
+
if (obj.weightID) {
|
|
80
|
+
this.weightID = obj.weightID;
|
|
81
|
+
}
|
|
82
|
+
if (obj.pressure) {
|
|
83
|
+
this.pressure = CaeNumber(obj.pressure);
|
|
84
|
+
}
|
|
85
|
+
if (obj.density) {
|
|
86
|
+
this.density = CaeNumber(obj.density);
|
|
87
|
+
}
|
|
88
|
+
if (obj.xFactor) {
|
|
89
|
+
this.xFactor = CaeNumber(obj.xFactor);
|
|
90
|
+
}
|
|
91
|
+
if (obj.yFactor) {
|
|
92
|
+
this.yFactor = CaeNumber(obj.yFactor);
|
|
93
|
+
}
|
|
94
|
+
if (obj.zFactor) {
|
|
95
|
+
this.zFactor = CaeNumber(obj.zFactor);
|
|
96
|
+
}
|
|
97
|
+
if (obj.surfaceIDSecond) {
|
|
98
|
+
this.surfaceIDSecond = obj.surfaceIDSecond;
|
|
99
|
+
}
|
|
100
|
+
if (obj.surfaceIDThird) {
|
|
101
|
+
this.surfaceIDThird = obj.surfaceIDThird;
|
|
102
|
+
}
|
|
103
|
+
if (obj.surfaceID4th) {
|
|
104
|
+
this.surfaceID4th = obj.surfaceID4th;
|
|
105
|
+
}
|
|
106
|
+
if (obj.surfaceID5th) {
|
|
107
|
+
this.surfaceID5th = obj.surfaceID5th;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
protected clone(cloneObj: any, cloneManager?: Longan.CloneManager) {
|
|
111
|
+
cloneObj = super.clone(cloneObj);
|
|
112
|
+
cloneObj.cardData = this.cardData;
|
|
113
|
+
|
|
114
|
+
return cloneObj;
|
|
115
|
+
}
|
|
116
|
+
serializeToCard() {
|
|
117
|
+
let cardSURFWT = new CardSURFWT();
|
|
118
|
+
cardSURFWT.lineLabel.value = "SURFWT";
|
|
119
|
+
cardSURFWT.weightGroupID.value = this.weightGroupID;
|
|
120
|
+
cardSURFWT.weightID.value = this.weightID;
|
|
121
|
+
|
|
122
|
+
// 需要将数字转为字符串,卡片编辑就是处理字符串
|
|
123
|
+
cardSURFWT.pressure.value = this.pressure.toString();
|
|
124
|
+
cardSURFWT.density.value = this.density.toString();
|
|
125
|
+
cardSURFWT.xFactor.value = this.xFactor.toString();
|
|
126
|
+
cardSURFWT.yFactor.value = this.yFactor.toString();
|
|
127
|
+
cardSURFWT.zFactor.value = this.zFactor.toString();
|
|
128
|
+
cardSURFWT.surfaceIDfirst.value = this.surfaceIDfirst;
|
|
129
|
+
cardSURFWT.surfaceIDSecond.value = this.surfaceIDSecond;
|
|
130
|
+
cardSURFWT.surfaceIDThird.value = this.surfaceIDThird;
|
|
131
|
+
cardSURFWT.surfaceID4th.value = this.surfaceID4th;
|
|
132
|
+
cardSURFWT.surfaceID5th.value = this.surfaceID5th;
|
|
133
|
+
|
|
134
|
+
return cardSURFWT.getLine();
|
|
135
|
+
}
|
|
136
|
+
static checkName(name: string): boolean {
|
|
137
|
+
let reg = /^[A-Z0-9]*$/;
|
|
138
|
+
if (!reg.test(name) || name.trimEnd().length > 4) {
|
|
139
|
+
return false;
|
|
140
|
+
}
|
|
141
|
+
return true;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
@@ -126,6 +126,10 @@ export class SectionObject
|
|
|
126
126
|
*/
|
|
127
127
|
public deserializeFormParams(params) {}
|
|
128
128
|
|
|
129
|
+
public checkParameter(params): boolean{
|
|
130
|
+
return true;
|
|
131
|
+
}
|
|
132
|
+
|
|
129
133
|
serialize(): any {
|
|
130
134
|
let obj = super.serialize();
|
|
131
135
|
obj.crossSectionType = this.crossSectionType;
|
|
@@ -51,6 +51,26 @@ export class AngSectionObject
|
|
|
51
51
|
this.filletRadius = params.filletRadius;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
+
public checkParameter(params: any): boolean {
|
|
55
|
+
let result = true;
|
|
56
|
+
if(params.height <= 0) {
|
|
57
|
+
result = false;
|
|
58
|
+
}
|
|
59
|
+
if(params.width <= 0) {
|
|
60
|
+
result = false;
|
|
61
|
+
}
|
|
62
|
+
if(params.thickness <= 0) {
|
|
63
|
+
result = false;
|
|
64
|
+
}
|
|
65
|
+
if(params.filletRadius !== undefined && params.filletRadius !== null) {
|
|
66
|
+
if(params.filletRadius < 0) {
|
|
67
|
+
result = false;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
return result;
|
|
72
|
+
}
|
|
73
|
+
|
|
54
74
|
serialize(): any {
|
|
55
75
|
let obj = super.serialize();
|
|
56
76
|
|
|
@@ -47,6 +47,24 @@ export class BlbSectionObject
|
|
|
47
47
|
this.bulbRadius = params.bulbRadius;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
+
public checkParameter(params: any): boolean {
|
|
51
|
+
let result = true;
|
|
52
|
+
if(params.width <= 0) {
|
|
53
|
+
result = false;
|
|
54
|
+
}
|
|
55
|
+
if(params.thickness <= 0) {
|
|
56
|
+
result = false;
|
|
57
|
+
}
|
|
58
|
+
if(params.bulbHeight <= 0) {
|
|
59
|
+
result = false;
|
|
60
|
+
}
|
|
61
|
+
if(params.bulbRadius <= 0) {
|
|
62
|
+
result = false;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
return result;
|
|
66
|
+
}
|
|
67
|
+
|
|
50
68
|
serialize(): any {
|
|
51
69
|
let obj = super.serialize();
|
|
52
70
|
|
|
@@ -51,6 +51,24 @@ export class BoxSectionObject
|
|
|
51
51
|
this.wallThick_y = params.wallThick_y;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
+
public checkParameter(params: any): boolean {
|
|
55
|
+
let result = true;
|
|
56
|
+
if(params.dimension_z <= 0) {
|
|
57
|
+
result = false;
|
|
58
|
+
}
|
|
59
|
+
if(params.wallThick_z <= 0) {
|
|
60
|
+
result = false;
|
|
61
|
+
}
|
|
62
|
+
if(params.dimension_y <= 0) {
|
|
63
|
+
result = false;
|
|
64
|
+
}
|
|
65
|
+
if(params.wallThick_y <= 0) {
|
|
66
|
+
result = false;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return result;
|
|
70
|
+
}
|
|
71
|
+
|
|
54
72
|
serialize(): any {
|
|
55
73
|
let obj = super.serialize();
|
|
56
74
|
|
|
@@ -55,6 +55,29 @@ export class ChlSectionObject
|
|
|
55
55
|
this.flangRadius = params.flangRadius;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
+
public checkParameter(params: any): boolean {
|
|
59
|
+
let result = true;
|
|
60
|
+
if(params.height <= 0) {
|
|
61
|
+
result = false;
|
|
62
|
+
}
|
|
63
|
+
if(params.width <= 0) {
|
|
64
|
+
result = false;
|
|
65
|
+
}
|
|
66
|
+
if(params.webThick <= 0) {
|
|
67
|
+
result = false;
|
|
68
|
+
}
|
|
69
|
+
if(params.flangThick <= 0) {
|
|
70
|
+
result = false;
|
|
71
|
+
}
|
|
72
|
+
if(params.flangRadius !== undefined && params.flangRadius !== null) {
|
|
73
|
+
if(params.flangRadius < 0) {
|
|
74
|
+
result = false;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
return result;
|
|
79
|
+
}
|
|
80
|
+
|
|
58
81
|
serialize(): any {
|
|
59
82
|
let obj = super.serialize();
|
|
60
83
|
|
|
@@ -43,6 +43,20 @@ export class ConSectionObject
|
|
|
43
43
|
this.smallOD = params.smallOD;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
+
public checkParameter(params: any): boolean {
|
|
47
|
+
let result = true;
|
|
48
|
+
if(params.wallThick <= 0) {
|
|
49
|
+
result = false;
|
|
50
|
+
}
|
|
51
|
+
if(params.largeOD <= 0) {
|
|
52
|
+
result = false;
|
|
53
|
+
}
|
|
54
|
+
if(params.smallOD <= 0) {
|
|
55
|
+
result = false;
|
|
56
|
+
}
|
|
57
|
+
return result;
|
|
58
|
+
}
|
|
59
|
+
|
|
46
60
|
serialize(): any {
|
|
47
61
|
let obj = super.serialize();
|
|
48
62
|
|
|
@@ -45,6 +45,27 @@ export class DtbSectionObject
|
|
|
45
45
|
this.outOfStraightness = params.outOfStraightness;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
+
public checkParameter(params: any): boolean {
|
|
49
|
+
let result = true;
|
|
50
|
+
if(params.outerDiameter <= 0) {
|
|
51
|
+
result = false;
|
|
52
|
+
}
|
|
53
|
+
if(params.wallThick <= 0) {
|
|
54
|
+
result = false;
|
|
55
|
+
}
|
|
56
|
+
if(params.dentDepth <= 0) {
|
|
57
|
+
result = false;
|
|
58
|
+
}
|
|
59
|
+
if(params.groutFilledRatio <= 0) {
|
|
60
|
+
result = false;
|
|
61
|
+
}
|
|
62
|
+
if(params.outOfStraightness <= 0) {
|
|
63
|
+
result = false;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
return result;
|
|
67
|
+
}
|
|
68
|
+
|
|
48
69
|
serialize(): any {
|
|
49
70
|
let obj = super.serialize();
|
|
50
71
|
|
|
@@ -39,6 +39,24 @@ export class PriSectionObject
|
|
|
39
39
|
this.zShearArea = params.zShearArea;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
+
public checkParameter(params: any): boolean {
|
|
43
|
+
let result = true;
|
|
44
|
+
if(params.z_dimension <= 0) {
|
|
45
|
+
result = false;
|
|
46
|
+
}
|
|
47
|
+
if(params.y_dimension <= 0) {
|
|
48
|
+
result = false;
|
|
49
|
+
}
|
|
50
|
+
if(params.yShearArea <= 0) {
|
|
51
|
+
result = false;
|
|
52
|
+
}
|
|
53
|
+
if(params.zShearArea <= 0) {
|
|
54
|
+
result = false;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
return result;
|
|
58
|
+
}
|
|
59
|
+
|
|
42
60
|
serialize(): any {
|
|
43
61
|
let obj = super.serialize();
|
|
44
62
|
|
|
@@ -50,6 +50,26 @@ export class RtbSectionObject
|
|
|
50
50
|
this.outsideRad = params.outsideRad;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
+
public checkParameter(params: any): boolean {
|
|
54
|
+
let result = true;
|
|
55
|
+
if(params.height <= 0) {
|
|
56
|
+
result = false;
|
|
57
|
+
}
|
|
58
|
+
if(params.thickness <= 0) {
|
|
59
|
+
result = false;
|
|
60
|
+
}
|
|
61
|
+
if(params.width <= 0) {
|
|
62
|
+
result = false;
|
|
63
|
+
}
|
|
64
|
+
if(params.outsideRad !== undefined && params.outsideRad !== null) {
|
|
65
|
+
if(params.outsideRad < 0) {
|
|
66
|
+
result = false;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
return result;
|
|
71
|
+
}
|
|
72
|
+
|
|
53
73
|
serialize(): any {
|
|
54
74
|
let obj = super.serialize();
|
|
55
75
|
|
|
@@ -54,6 +54,29 @@ export class TeeSectionObject
|
|
|
54
54
|
this.filletRadius = params.filletRadius;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
+
public checkParameter(params: any): boolean {
|
|
58
|
+
let result = true;
|
|
59
|
+
if(params.height <= 0) {
|
|
60
|
+
result = false;
|
|
61
|
+
}
|
|
62
|
+
if(params.width <= 0) {
|
|
63
|
+
result = false;
|
|
64
|
+
}
|
|
65
|
+
if(params.webThick <= 0) {
|
|
66
|
+
result = false;
|
|
67
|
+
}
|
|
68
|
+
if(params.flangThick <= 0) {
|
|
69
|
+
result = false;
|
|
70
|
+
}
|
|
71
|
+
if(params.filletRadius !== undefined && params.filletRadius !== null) {
|
|
72
|
+
if(params.filletRadius < 0) {
|
|
73
|
+
result = false;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
return result;
|
|
78
|
+
}
|
|
79
|
+
|
|
57
80
|
serialize(): any {
|
|
58
81
|
let obj = super.serialize();
|
|
59
82
|
|
|
@@ -82,6 +82,24 @@ export class TubSectionObject
|
|
|
82
82
|
this.insideWallThick = params.insideWallThick;
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
+
public checkParameter(params: any): boolean {
|
|
86
|
+
let result = true;
|
|
87
|
+
if(params.outsideRadius <= 0) {
|
|
88
|
+
result = false;
|
|
89
|
+
}
|
|
90
|
+
if(params.outsideWallThick <= 0) {
|
|
91
|
+
result = false;
|
|
92
|
+
}
|
|
93
|
+
if(params.insideRadius <= 0) {
|
|
94
|
+
result = false;
|
|
95
|
+
}
|
|
96
|
+
if(params.insideWallThick <= 0) {
|
|
97
|
+
result = false;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
return result;
|
|
101
|
+
}
|
|
102
|
+
|
|
85
103
|
serialize(): any {
|
|
86
104
|
let obj = super.serialize();
|
|
87
105
|
|
|
@@ -59,6 +59,29 @@ export class WFSectionObject extends SectionObject implements IReferenceObject {
|
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
+
public checkParameter(params: any): boolean {
|
|
63
|
+
let result = true;
|
|
64
|
+
if(params.flangeWidth <= 0) {
|
|
65
|
+
result = false;
|
|
66
|
+
}
|
|
67
|
+
if(params.flangeThick <= 0) {
|
|
68
|
+
result = false;
|
|
69
|
+
}
|
|
70
|
+
if(params.depth <= 0) {
|
|
71
|
+
result = false;
|
|
72
|
+
}
|
|
73
|
+
if(params.webThick <= 0) {
|
|
74
|
+
result = false;
|
|
75
|
+
}
|
|
76
|
+
if(params.filletRadius !== undefined && params.filletRadius !== null) {
|
|
77
|
+
if(params.filletRadius < 0) {
|
|
78
|
+
result = false;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
return result;
|
|
83
|
+
}
|
|
84
|
+
|
|
62
85
|
serialize(): any {
|
|
63
86
|
let obj = super.serialize();
|
|
64
87
|
|