gs.morphs.MeshSet#
gs.morphs.MeshSet loads several mesh files as a single entity, each placed with its own position and orientation. Use it to assemble a compound object from multiple meshes through one morph.
- class genesis.options.morphs.MeshSet(*, decompose_nonconvex: bool | None = None, parse_glb_with_zup: bool | None = None, order: int = 1, mindihedral: int = 10, minratio: float = 1.1, nobisect: bool = True, quality: bool = True, maxvolume: float = -1.0, verbose: Literal[0, 1, 2] = 0, force_retet: bool = False, pos: tuple[float, float, float] = (0.0, 0.0, 0.0), euler: tuple[float, float, float] | None = None, quat: tuple[float, float, float, float] | None = None, offset_pos: tuple[float, float, float] = (0.0, 0.0, 0.0), offset_euler: tuple[float, float, float] | None = None, offset_quat: tuple[float, float, float, float] = (1.0, 0.0, 0.0, 0.0), visualization: bool = True, collision: bool = True, requires_jac_and_IK: bool = False, enable_custom_vverts: bool = False, file: Any = '', scale: tuple[float, float, float] | float = 1.0, decimate: bool | None = None, decimate_face_num: int = 500, decimate_aggressiveness: int = 2, watertighten: int | None = 5, convexify: bool | None = None, decompose_object_error_threshold: float = 0.15, decompose_robot_error_threshold: float = inf, coacd_options: genesis.options.misc.CoacdOptions | None = None, recompute_inertia: bool = False, align: bool | None = None, file_meshes_are_zup: bool | None = None, batch_fixed_verts: bool = False, fixed: bool = False, contype: int = 65535, conaffinity: int = 65535, group_by_material: bool = False, merge_submeshes_for_collision: bool = False, files: tuple[Any, ...] = (), poss: tuple[tuple[float, float, float], ...] = (), eulers: tuple[tuple[float, float, float], ...] = ()) None[source]#