create_spiral#
- Modeler3D.create_spiral(internal_radius=10, spacing=1, faces=8, turns=10, width=2, thickness=1, elevation=0, material='copper', name=None, **kwargs)#
Create a spiral inductor from a polyline.
- Parameters:
- internal_radius
float
,optional
Internal starting point of spiral. Default is 10.
- spacing
float
,optional
Internal pitch between two turns. Default is 1.
- faces
int
,optional
Number of faces per turn. Default is 8 as an octagon.
- turns
int
,optional
Number of turns. Default is 10.
- width
float
,optional
Spiral width. Default is 2.
- thickness
float
,optional
Spiral thickness. Default is 1.
- elevation
float
,optional
Spiral elevation. Default is`0`.
- material
str
,optional
Spiral material. Default is “copper”.
- name
str
,optional
Spiral name. Default is None.
- **kwargs
optional
Additional keyword arguments may be passed when creating the primitive to set properties. See
ansys.aedt.core.modeler.cad.object_3d.Object3d
for more details.
- internal_radius
- Returns:
- bool,
ansys.aedt.core.modeler.cad.elements_3d.Polyline
Polyline object or
False
if it fails.
- bool,