Skip to main content

Prime Mesh Python client library 2025 R1 SP01

ansys.meshing.prime.SizingType

Last update: 17.07.2025

SizingType

class ansys.meshing.prime.SizingType(value, names=None, *values, module=None, qualname=None, type=None, start=1, boundary=None)

Sizing type decides the type of size control.

Methods

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

Attributes

Name Description
SizingType.real the real part of a complex number
SizingType.imag the imaginary part of a complex number
SizingType.numerator the numerator of a rational number in lowest terms
SizingType.denominator the denominator of a rational number in lowest terms
SizingType.CURVATURE Denotes the size control type is curvature.
SizingType.PROXIMITY Denotes the size control type is proximity.
SizingType.HARD Denotes the size control type is hard.
SizingType.SOFT Denotes the size control type is soft.
SizingType.MESHED Denotes the size control type is meshed.
SizingType.BOI Denotes the size control type is body of influence.

Connect with Ansys