Public Member Functions | |
| __init__ (self, *args, **kwargs) | |
| VertColors | colors (self) |
| Const_std_optional_LengthUnit | lengthUnit (self) |
| str | materialName (self) |
| bool | onlyValidPoints (self) |
| bool | packPrimitives (self) |
| FaceColors | primitiveColors (self) |
| Const_func_bool_from_float | progress (self) |
| bool | saveTriCornerUVCoords (self) |
| Const_std_optional_Color | solidColor (self) |
| bool | telemetrySignal (self) |
| MeshTexture | texture (self) |
| VertCoords2 | uvMap (self) |
| AffineXf3d | xf (self) |
Static Protected Attributes | |
| typing | _offsetof_colors = 8 |
| typing | _offsetof_lengthUnit = 88 |
| typing | _offsetof_materialName = 48 |
| typing | _offsetof_onlyValidPoints = 0 |
| typing | _offsetof_packPrimitives = 1 |
| typing | _offsetof_primitiveColors = 16 |
| typing | _offsetof_progress = 104 |
| typing | _offsetof_saveTriCornerUVCoords = 32 |
| typing | _offsetof_solidColor = 96 |
| typing | _offsetof_telemetrySignal = 101 |
| typing | _offsetof_texture = 40 |
| typing | _offsetof_uvMap = 24 |
| typing | _offsetof_xf = 80 |
Generated from: MR::SaveSettings determines how to save points/lines/mesh
| mrmeshpy.ConstSaveSettings.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstSaveSettings) -> None 2. __init__(self: meshlib.mrmeshpy.ConstSaveSettings, arg0: meshlib.mrmeshpy.ConstSaveSettings) -> None Implicit copy constructor. 3. __init__(self: meshlib.mrmeshpy.ConstSaveSettings, onlyValidPoints: bool, packPrimitives: bool, colors: meshlib.mrmeshpy.ConstVertColors, primitiveColors: meshlib.mrmeshpy.ConstFaceColors, uvMap: meshlib.mrmeshpy.ConstVertCoords2, saveTriCornerUVCoords: bool, texture: meshlib.mrmeshpy.ConstMeshTexture, materialName: str, xf: meshlib.mrmeshpy.ConstAffineXf3d, lengthUnit: meshlib.mrmeshpy.Const_std_optional_LengthUnit, solidColor: meshlib.mrmeshpy.Const_std_optional_Color, telemetrySignal: bool, progress: meshlib.mrmeshpy.Const_func_bool_from_float) -> None Implicit aggregate constructor. 4. __init__(self: meshlib.mrmeshpy.ConstSaveSettings, : meshlib.mrmeshpy.ConstSaveSettings) -> None
| VertColors mrmeshpy.ConstSaveSettings.colors | ( | self | ) |
optional per-vertex color to save with the geometry
Reimplemented in mrmeshpy.SaveSettings, and mrmeshpy.SaveSettings.
| Const_std_optional_LengthUnit mrmeshpy.ConstSaveSettings.lengthUnit | ( | self | ) |
units of input coordinates and transformation, to be serialized if the format supports it
Reimplemented in mrmeshpy.SaveSettings, and mrmeshpy.SaveSettings.
| str mrmeshpy.ConstSaveSettings.materialName | ( | self | ) |
the name of file (UTF8 encoded) without extension to save texture in some formats (e.g. .OBJ, .PLY)
Reimplemented in mrmeshpy.SaveSettings, and mrmeshpy.SaveSettings.
| bool mrmeshpy.ConstSaveSettings.onlyValidPoints | ( | self | ) |
true - save valid points/vertices only (pack them); false - save all points/vertices preserving their indices
Reimplemented in mrmeshpy.SaveSettings, and mrmeshpy.SaveSettings.
| bool mrmeshpy.ConstSaveSettings.packPrimitives | ( | self | ) |
whether to allow packing or shuffling of primitives (triangles in meshes or edges in polylines); if packPrimitives=true, then ids of invalid primitives are reused by valid primitives and higher compression (in .ctm format) can be reached if the order of triangles is changed; if packPrimitives=false then all primitives maintain their ids, and invalid primitives are saved with all vertex ids equal to zero; currently this flag affects the saving in .ctm and .ply formats only
Reimplemented in mrmeshpy.SaveSettings, and mrmeshpy.SaveSettings.
| FaceColors mrmeshpy.ConstSaveSettings.primitiveColors | ( | self | ) |
per-face colors for meshes, per-undirected-edge colors for polylines, unused for point clouds and other
Reimplemented in mrmeshpy.SaveSettings, and mrmeshpy.SaveSettings.
| Const_func_bool_from_float mrmeshpy.ConstSaveSettings.progress | ( | self | ) |
to report save progress and cancel saving if user desires
Reimplemented in mrmeshpy.SaveSettings, and mrmeshpy.SaveSettings.
| bool mrmeshpy.ConstSaveSettings.saveTriCornerUVCoords | ( | self | ) |
if a format supports both per-vertex and per-tri-corner UV-coordinates, then prefer the later option (it takes more space but more supported in other software)
Reimplemented in mrmeshpy.SaveSettings, and mrmeshpy.SaveSettings.
| Const_std_optional_Color mrmeshpy.ConstSaveSettings.solidColor | ( | self | ) |
the color of whole object, saved only in the formats having object color: .3mf (if neither per-vertex nor per-triangle colors are given), .obj (Kd in .mtl file), binary .stl (COLOR= in the header)
Reimplemented in mrmeshpy.SaveSettings, and mrmeshpy.SaveSettings.
| bool mrmeshpy.ConstSaveSettings.telemetrySignal | ( | self | ) |
permit telemetry signal about saving
Reimplemented in mrmeshpy.SaveSettings, and mrmeshpy.SaveSettings.
| MeshTexture mrmeshpy.ConstSaveSettings.texture | ( | self | ) |
optional texture to save with the geometry
Reimplemented in mrmeshpy.SaveSettings, and mrmeshpy.SaveSettings.
| VertCoords2 mrmeshpy.ConstSaveSettings.uvMap | ( | self | ) |
optional per-vertex uv coordinate to save with the geometry
Reimplemented in mrmeshpy.SaveSettings, and mrmeshpy.SaveSettings.
| AffineXf3d mrmeshpy.ConstSaveSettings.xf | ( | self | ) |
this transformation can optionally be applied to all vertices (points) of saved object
Reimplemented in mrmeshpy.SaveSettings, and mrmeshpy.SaveSettings.
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |