Skip to main content

Prime Mesh Python client library 2026 R1

SweepType

Last update: 02.04.2026

class ansys.meshing.prime.SweepType(*values)

Provides the Sweep Mesh Decomposition type.

Methods

Name Description
SweepType.conjugate Returns self, the complex conjugate of any int.
SweepType.bit_length(/) Number of bits necessary to represent self in binary.
SweepType.bit_count(/) Number of ones in the binary representation of the absolute value of self.
SweepType.to_bytes(/[, length, byteorder, ...]) Return an array of bytes representing an integer.
SweepType.from_bytes(/, bytes[, byteorder, ...]) Return the integer represented by the given array of bytes.
SweepType.as_integer_ratio(/) Return a pair of integers, whose ratio is equal to the original int.
SweepType.is_integer(/) Returns True.

Attributes

Name Description
SweepType.real the real part of a complex number
SweepType.imag the imaginary part of a complex number
SweepType.numerator the numerator of a rational number in lowest terms
SweepType.denominator the denominator of a rational number in lowest terms
SweepType.STANDARD Multizone create mapped and swept blocks if possible (should be default).
SweepType.THINSWEEP Creates swept blocks on thin wall geometries.
SweepType.MEDIALAXIS Creates swept blocks on axisymmetric sweepable geometries.
SweepType.PROGRAMCONTROLLED Multizone chooses the best decomposition method based on geometry analysis and decomposition tries.

Connect with Ansys