PuckMaterialType#

class ansys.acp.core.material_property_sets.PuckMaterialType(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#

Possible Puck material types.

Methods

PuckMaterialType.encode(/[, encoding, errors])

Encode the string using the codec registered for encoding.

PuckMaterialType.replace(old, new[, count])

Return a copy with all occurrences of substring old replaced by new.

PuckMaterialType.split(/[, sep, maxsplit])

Return a list of the substrings in the string, using sep as the separator string.

PuckMaterialType.rsplit(/[, sep, maxsplit])

Return a list of the substrings in the string, using sep as the separator string.

PuckMaterialType.join(iterable, /)

Concatenate any number of strings.

PuckMaterialType.capitalize(/)

Return a capitalized version of the string.

PuckMaterialType.casefold(/)

Return a version of the string suitable for caseless comparisons.

PuckMaterialType.title(/)

Return a version of the string where each word is titlecased.

PuckMaterialType.center(width[, fillchar])

Return a centered string of length width.

PuckMaterialType.count(sub[, start[, end]])

Return the number of non-overlapping occurrences of substring sub in string S[start:end].

PuckMaterialType.expandtabs(/[, tabsize])

Return a copy where all tab characters are expanded using spaces.

PuckMaterialType.find(sub[, start[, end]])

Return the lowest index in S where substring sub is found, such that sub is contained within S[start:end].

PuckMaterialType.partition(sep, /)

Partition the string into three parts using the given separator.

PuckMaterialType.index(sub[, start[, end]])

Return the lowest index in S where substring sub is found, such that sub is contained within S[start:end].

PuckMaterialType.ljust(width[, fillchar])

Return a left-justified string of length width.

PuckMaterialType.lower(/)

Return a copy of the string converted to lowercase.

PuckMaterialType.lstrip([chars])

Return a copy of the string with leading whitespace removed.

PuckMaterialType.rfind(sub[, start[, end]])

Return the highest index in S where substring sub is found, such that sub is contained within S[start:end].

PuckMaterialType.rindex(sub[, start[, end]])

Return the highest index in S where substring sub is found, such that sub is contained within S[start:end].

PuckMaterialType.rjust(width[, fillchar])

Return a right-justified string of length width.

PuckMaterialType.rstrip([chars])

Return a copy of the string with trailing whitespace removed.

PuckMaterialType.rpartition(sep, /)

Partition the string into three parts using the given separator.

PuckMaterialType.splitlines(/[, keepends])

Return a list of the lines in the string, breaking at line boundaries.

PuckMaterialType.strip([chars])

Return a copy of the string with leading and trailing whitespace removed.

PuckMaterialType.swapcase(/)

Convert uppercase characters to lowercase and lowercase characters to uppercase.

PuckMaterialType.translate(table, /)

Replace each character in the string using the given translation table.

PuckMaterialType.upper(/)

Return a copy of the string converted to uppercase.

PuckMaterialType.startswith(prefix[, start[, ...)

Return True if S starts with the specified prefix, False otherwise.

PuckMaterialType.endswith(suffix[, start[, end]])

Return True if S ends with the specified suffix, False otherwise.

PuckMaterialType.removeprefix(prefix, /)

Return a str with the given prefix string removed if present.

PuckMaterialType.removesuffix(suffix, /)

Return a str with the given suffix string removed if present.

PuckMaterialType.isascii(/)

Return True if all characters in the string are ASCII, False otherwise.

PuckMaterialType.islower(/)

Return True if the string is a lowercase string, False otherwise.

PuckMaterialType.isupper(/)

Return True if the string is an uppercase string, False otherwise.

PuckMaterialType.istitle(/)

Return True if the string is a title-cased string, False otherwise.

PuckMaterialType.isspace(/)

Return True if the string is a whitespace string, False otherwise.

PuckMaterialType.isdecimal(/)

Return True if the string is a decimal string, False otherwise.

PuckMaterialType.isdigit(/)

Return True if the string is a digit string, False otherwise.

PuckMaterialType.isnumeric(/)

Return True if the string is a numeric string, False otherwise.

PuckMaterialType.isalpha(/)

Return True if the string is an alphabetic string, False otherwise.

PuckMaterialType.isalnum(/)

Return True if the string is an alpha-numeric string, False otherwise.

PuckMaterialType.isidentifier(/)

Return True if the string is a valid Python identifier, False otherwise.

PuckMaterialType.isprintable(/)

Return True if the string is printable, False otherwise.

PuckMaterialType.zfill(width, /)

Pad a numeric string with zeros on the left, to fill a field of the given width.

PuckMaterialType.format(*args, **kwargs)

Return a formatted version of S, using substitutions from args and kwargs.

PuckMaterialType.format_map(mapping)

Return a formatted version of S, using substitutions from mapping.

PuckMaterialType.maketrans(x[, y, z])

Return a translation table usable for str.translate().

Attributes

PuckMaterialType.IGNORED

PuckMaterialType.CARBON

PuckMaterialType.GLASS

PuckMaterialType.MATERIAL_SPECIFIC