Skip to main content

Prime Mesh Python client library 2026 R1

TrimmedSolidSplineCutMode

Last update: 02.04.2026

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

Types of Cut modes used to generate Cartesian grid representing subdomains of trimmed solid spline.

Methods

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

Attributes

Name Description
TrimmedSolidSplineCutMode.real the real part of a complex number
TrimmedSolidSplineCutMode.imag the imaginary part of a complex number
TrimmedSolidSplineCutMode.numerator the numerator of a rational number in lowest terms
TrimmedSolidSplineCutMode.denominator the denominator of a rational number in lowest terms
TrimmedSolidSplineCutMode.HYBRID This is faster mode and may defeature the input mesh to represent each subdomain.
TrimmedSolidSplineCutMode.EXACT This mode guarantees to represent the exact input mesh for each subdomain without any defeaturing.

Connect with Ansys