Skip to main content

Prime Mesh Python client library 2026 R1 SP01

CadRefacetingResolution

Last update: 29.04.2026

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

Levels of CAD faceting refinement.

Methods

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

Attributes

Name Description
CadRefacetingResolution.real the real part of a complex number
CadRefacetingResolution.imag the imaginary part of a complex number
CadRefacetingResolution.numerator the numerator of a rational number in lowest terms
CadRefacetingResolution.denominator the denominator of a rational number in lowest terms
CadRefacetingResolution.COARSE Denotes coarse resolution of CAD faceting.
CadRefacetingResolution.MEDIUM Denotes medium resolution of CAD faceting.
CadRefacetingResolution.FINE Denotes fine resolution of CAD faceting.
CadRefacetingResolution.CUSTOM Denotes custom resolution of CAD faceting.

Connect with Ansys