BeadPattern (hwx.inspire)#
- class BeadPattern(part, location, direction=(0, 0, 1), type=1, **kwds)#
Bases:
BoundaryCondition
Bead Pattern on supplied parts.
Bead patterns can be used to control the shapes of the beads. Beads are used to help meet specific design requirements such as stiffness when running a topography optimization on a surface. Use the Bead Patterns to create Linear, Circular, or Radial bead pattern tools.
# Name
Type
Example
from hwx import inspire model = inspire.newModel() sheet = model.createSheetRectangle() beadPat = inspire.BeadPattern(sheet, sheet.cg,direction=[1,0,0]) inspire.fitView() print("Initial draw type:", beadPat.type) beadPat.type = 2 print("Changed draw type:", beadPat.type)
- property type#
set/get bead pattern type. Allowed types are 1(Linear), 2(Circular) and 3(Radial)