Skip to main content

Prime Mesh Python client library 2025 R2

SurfaceFeatureType

Last update: 10.09.2025

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

Type of face edges considered as features.

Methods

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

Attributes

Name Description
SurfaceFeatureType.real the real part of a complex number
SurfaceFeatureType.imag the imaginary part of a complex number
SurfaceFeatureType.numerator the numerator of a rational number in lowest terms
SurfaceFeatureType.denominator the denominator of a rational number in lowest terms
SurfaceFeatureType.NONE None of face edges are considered as feature.
SurfaceFeatureType.ZONEBOUNDARY Face edges at zone boundary are considered as feature.
SurfaceFeatureType.FEATURE Face edges with normal angle more than threshold are considered as feature.
SurfaceFeatureType.FEATUREORZONEBOUNDARY Face edges at zone boundary or with normal angle more than threshold are considered as feature.
SurfaceFeatureType.ZONELETBOUNDARY Face edges at zonelet boundary are considered as feature.
SurfaceFeatureType.FEATUREORZONELETBOUNDARY Face edges at zonelet boundary or with normal angle more than threshold are considered as feature.

Connect with Ansys