unreal.GeometryScript_MeshBooleans¶
- class unreal.GeometryScript_MeshBooleans(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
BlueprintFunctionLibraryGeometry Script Library Mesh Boolean Functions
C++ Source:
Plugin: GeometryScripting
Module: GeometryScriptingCore
File: MeshBooleanFunctions.h
- classmethod apply_mesh_boolean(target_mesh, target_transform, tool_mesh, tool_transform, operation, options, debug=None) DynamicMesh¶
Applies a Boolean operation (such as, Union, Intersect, and Subtract) to the Target Dynamic Mesh based on a Tool Dynamic Mesh.
- Parameters:
target_mesh (DynamicMesh) – Dynamic Mesh to be acted upon
target_transform (Transform) – used to position the TargetMesh
tool_mesh (DynamicMesh) – Dynamic Mesh that acts as the cutting tool
tool_transform (Transform) – used to position the ToolMesh
operation (GeometryScriptBooleanOperation) – selects the specific boolean operation
options (GeometryScriptMeshBooleanOptions) – selects additional options that are applied to the result
debug (GeometryScriptDebug)
- Return type:
- classmethod apply_mesh_iso_curves(target_mesh, options, per_vertex_value, iso_value=0.500000, debug=None) DynamicMesh¶
Insert edges along the curve where the interpolated per-vertex values match a given isovalue
- Parameters:
target_mesh (DynamicMesh) – Dynamic Mesh to be updated.
options (GeometryScriptMeshIsoCurveOptions) – Settings for processing to perform after inserting the curve edges
per_vertex_value (GeometryScriptScalarList) – Values to interpolate, must be one per vertex
iso_value (float) – Value at which to insert the new curve
debug (GeometryScriptDebug)
- Return type:
- classmethod apply_mesh_mirror(target_mesh, mirror_frame, options, debug=None) DynamicMesh¶
Mirrors a mesh across a plane, with optional cutting and welding of triangles.
- Parameters:
target_mesh (DynamicMesh) – Dynamic Mesh to be updated by the mirror operation.
mirror_frame (Transform) – defines the plane used to mirror the TargetMesh.
options (GeometryScriptMeshMirrorOptions) – selects additional clean-up operations performed after the mirror.
debug (GeometryScriptDebug)
- Return type:
- classmethod apply_mesh_plane_cut(target_mesh, cut_frame, options, debug=None) DynamicMesh¶
Applies a plane cut to a mesh, optionally filling any holes created.
- Parameters:
target_mesh (DynamicMesh) – Dynamic Mesh to updated with the cut
cut_frame (Transform) – defines the plane used to cut the TargetMesh
options (GeometryScriptMeshPlaneCutOptions) – selects additional clean-up operations performed after the cut.
debug (GeometryScriptDebug)
- Return type:
- classmethod apply_mesh_plane_slice(target_mesh, cut_frame, options, debug=None) DynamicMesh¶
Slices a mesh into two halves, with optional hole filling.
- Parameters:
target_mesh (DynamicMesh) – Dynamic Mesh to be updated by the slice.
cut_frame (Transform) – defines the plane used to slice the TargetMesh.
options (GeometryScriptMeshPlaneSliceOptions) – selects additional clean-up operations performed after the cut.
debug (GeometryScriptDebug)
- Return type:
- classmethod apply_mesh_self_union(target_mesh, options, debug=None) DynamicMesh¶
Mesh-Boolean-Union an object with itself to repair self-intersections, remove floating geometry, etc.
- Parameters:
target_mesh (DynamicMesh)
options (GeometryScriptMeshSelfUnionOptions)
debug (GeometryScriptDebug)
- Return type: