set_weave_style#

Weave.set_weave_style(style: str) → None#

Resolve weave preset values from WEAVE_STYLES.

Vendor glass-dimension measurements (x1, x2, x3, y1, y2, y3), expressed in mils, are converted to millimeters and combined to derive target_pitch_x, target_pitch_y, warp_width, fill_width, ratio_warp, and ratio_fill.

Parameters:
style: str

Weave style. Styles are available in WEAVE_STYLES constant.

Examples

>>> from ansys.aedt.core.modeler.advanced_cad.weave import Weave
>>> from ansys.aedt.core.modeler.advanced_cad.weave import WEAVE_STYLES
>>> weave1 = Weave()
>>> style1 = list(WEAVE_STYLES.keys())[0]
>>> weave1.set_weave_style(style1)