Skip to main content

Prime Mesh Python client library 2025 R2

PrismControlOffsetType

Last update: 10.09.2025

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

Offset type for prism control.

Methods

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

Attributes

Name Description
PrismControlOffsetType.real the real part of a complex number
PrismControlOffsetType.imag the imaginary part of a complex number
PrismControlOffsetType.numerator the numerator of a rational number in lowest terms
PrismControlOffsetType.denominator the denominator of a rational number in lowest terms
PrismControlOffsetType.UNIFORM Option to grow prism layers with uniform offset height based on first height.
PrismControlOffsetType.ASPECTRATIO Option to grow prism layers based on first aspect ratio specified.
PrismControlOffsetType.LASTRATIO Option to grow prism layers based on first height and last aspect ratio.

Connect with Ansys