SpotWeld (hwx.inspire.core)

Spot welds two or more parts together.

Spot welds connect parts together by welding them at specific locations.

Attributes

active: Bool connectionRadius: Double name: Attribute
parts: Attribute visible: Bool  

Public Methods

getWelds (self)

Attribute Details

active : Bool

Returns or sets the object activeness.

Setting this on or off sets all children. Setting to True sets all the parents active too.

connectionRadius : Double (units=”length”)

The search radius for the connector.

name : Attribute

Returns or sets the name of the object.

It can be any text string, including spaces, although it’s best to avoid using the following characters: ” ‘ * ? and $.

While these characters are allowed, they could create difficulties when you export the model to other applications.

parts : Attribute

The parts connected by the spot weld.

visible : Bool

Determines whether the object is visible in the modeling window.

Setting this on or off sets all children. Setting to True sets all the parents visible too.

Method Details

getWelds(self)

Returns a list of weld information like participating parts and position.

returns:A list containing weld information.
rtype:WeldList