create_weave_homogenized#
- Weave.create_weave_homogenized(app: Hfss | Maxwell3d | Q3d | Icepak, assignment: int | str | Object3d, weave_style: str | None = None, name: str | None = None) list[Object3d]#
Create a homogenized approximation of the weave as material sectors covering the reference object.
- Parameters:
- app:
AEDT application instance used by the Weave object.
- assignment
int,str,oransys.aedt.core.modeler.cad.object_3d.Object3d Reference body used to create the weave.
- weave_style: str, optional
Weave style. Styles are available in WEAVE_STYLES constant.
- name: str, optional
Name prefix for the created weave bodies. The default is
None, in which case the default name is assigned.
- Returns:
listList of created objects.
Examples
>>> from ansys.aedt.core.modeler.advanced_cad.weave import Weave >>> from ansys.aedt.core import Hfss >>> hfss = Hfss() >>> sub = hfss.modeler.create_box([0, 0, 0], [5, 10, 2]) >>> weave = Weave() >>> weave.create_weave(hfss, sub)