Welds
Welds are used to bridge gaps that are formed during shell compression between plates that have been mated because they touch or overlap. Welds use the ProType field in the ProMechitem structure as PRO_SIMULATION_WELD.
Functions Introduced:
The function
ProMechweldReferencesGet() returns the geometric entities selected to create the weld. Use the function
ProMechweldReferencesSet() to set the references for the specified weld.
The function
ProMechweldTypeGet() returns the type of weld used to connect the gaps. The types of weld are:
• PRO_MECH_WELD_PERIMETER—Specifies a perimeter weld. Perimeter welds are used to connect parallel plates along the perimeter of one of the plates in an assembly model.
• PRO_MECH_WELD_END—Specifies an end weld. End welds are used to connect plates in assembly models.
• PRO_MECH_WELD_SPOT—Specifies a spot weld. Spot welds are used to connect two parallel surfaces at the specified datum point.
• PRO_MECH_WELD_FEAT—Specifies a Weld Feature. This weld connection can be used to select Fillet and Groove types of weld connections for inclusion in a mid-surface compressed model.
The function
ProMechweldPerimeterdataGet() provides access to the perimeter weld data structure. Use the function
ProMechweldPerimeterdataSet() to set the perimeter weld data structure.
Use the function
ProMechweldperimeterFree() to free the memory contained in the perimeter weld data structure.
The function
ProMechweldperimeterEdgesGet() returns the perimeter edges of the top plate to be connected to the base plate. Use the function
ProMechweldperimeterEdgesSet() to set the perimeter edges in the perimeter weld data.
The function
ProMechweldedgeEdgeGet() returns the id of the edge selected to create the perimeter weld. Use the function
ProMechweldedgeEdgeSet() to set the id of the edge.
The function
ProMechweldedgeThicknessGet() returns the thickness of the weld on the selected edge in the perimeter weld. Use the function
ProMechweldedgeThicknessSet() to set the thickness of the weld edge data.
The function
ProMechweldedgeMaterialidGet() returns the type of material used in shell elements created on the Perimeter Weld surfaces.
Use the function
ProMechweldedgeMaterialidSet() to select the material for the shell elements created on the Perimeter Weld surfaces. Specify the material ID as the input parameter of this function. In addition to the materials already present in the model, the input can be the material ID of one of the following surfaces:
• PRO_MECH_WELD_MTL_BASE—Specifies the base surface to which the weld extends.
• PRO_MECH_WELD_MTL_DOUBLER—Specifies the doubler surface on which the Perimeter weld is placed.
The functions
ProMechweldedgeFree() and
ProMechweldedgeProarrayFree() free the memory containing the edge data structure.
The function
ProMechweldperimeterFree() frees the memory containing the data structure for the perimeter weld.
The function
ProMechweldSpotdataGet() provides access to the spot weld data structure. Use the function
ProMechweldSpotdataSet() to assign data to the spot weld data structure.
The function
ProMechweldspotPointsGet() returns the datum points at which the spot weld is located. Use the function
ProMechweldspotPntsSet() to set the points for the spot weld data.
The function
ProMechweldspotDiameterGet() returns the diameter for the spot weld. Use the function
ProMechweldspotDiameterSet() to set the diameter for the spot weld data.
The function
ProMechweldspotMaterialIdGet() returns the material for the spot weld. Use the function
ProMechweldspotMaterialIdSet() to set the material for the spot weld.
Use the function
ProMechweldspotFree() to free the memory contained in the spot weld data structure.
Use the function
ProMechweldendSet() to set the weld to be an end weld.
The function
ProMechweldEnddataGet() returns the end weld data structure.
Use the function
ProMechweldendAlloc() to allocate memory for the end weld data handle.
Use the method
ProMechweldEnddataSet() to set the end weld data structure.
The function
ProMechweldendTypeGet() returns the type of end weld defined between different surfaces. The valid types of end welds are:
• PRO_MECH_WELD_END_SINGLE_TO_SINGLE—Specifies a weld defined between a side surface and a shell or shell paired surface.
• PRO_MECH_WELD_END_MANY_TO_SINGLE—Specifies a weld defined from a solid surface to a solid surface.
• PRO_MECH_WELD_END_SINGLE_TO_MANY—Specifies a weld surface defined from a solid surface to a shell surface.
Use the function
ProMechweldendTypeSet() to set the type of end welds.
The function
ProMechweldendExtendAdjacentSurfacesGet() specifies whether or not surfaces adjacent to the selected source surface will be extended to the target surface to create the weld. Use the function
ProMechweldendExtendAdjacentSurfacesSet() to control the placement of the weld on the extension of the adjacent surfaces.
Use the function
ProMechweldendFree() to free the memory of the end weld data structure.
The function
ProMechweldFeaturedataGet() returns the Weld Feature data structure.
Use the function
ProMechweldfeatureAlloc() to allocate memory for the Weld Feature data structure.
Use the function
ProMechweldFeaturedataSet() to set the Weld Feature data structure.
The function
ProMechweldfeatureOverrideflagGet() specifies if the material and thickness properties that will be applied to the shell idealizations resulting from the weld definitions are inherited from the Weld Feature or not.
Specify the input value of the function
ProMechweldfeatureOverrideflagSet() as
true to specify the properties for the shell idealizations. Specify the value as
false to inherit the properties from the Weld Feature.
You can use the following functions to access and modify the material property and thickness of the Weld Feature only if you specify the input value as
true for the function
ProMechweldfeatureOverrideflagSet() or you select the option
Override Weld Feature Settings from the
Creo Simulate user interface.
The function
ProMechweldfeatureMaterialidGet() returns the material type used for the Weld Feature. Use the function
ProMechweldfeatureMaterialidSet() to set the material for the shell idealizations. Specify the material ID as the input parameter of this function.
The function
ProMechweldfeatureThicknessGet() returns the thickness of the Weld Feature. Use the function
ProMechweldfeatureThicknessSet() to set the thickness of the shell idealizations.
Use the function
ProMechweldfeatureFree() to free the memory contained in the Weld Feature data structure.