blendersynth.blender.boolean

Functions for boolean operations of meshes

blendersynth.blender.boolean.difference(target, *others, hide_others=True)[source]

Apply the difference boolean modifier to a collection of meshes.

Parameters:
  • target (blendersynth.blender.mesh.Mesh) – The target Mesh: this is returned by the function

  • others (blendersynth.blender.mesh.Mesh) – Other Meshes to subtract from target

  • hide_others – If True, hide all Meshes in the others list

Return type:

blendersynth.blender.mesh.Mesh

blendersynth.blender.boolean.intersect(target, *others, hide_others=True)[source]

Apply the intersect boolean modifier to a collection of meshes.

Parameters:
  • target (blendersynth.blender.mesh.Mesh) – The target Mesh: this is returned by the function

  • others (blendersynth.blender.mesh.Mesh) – Other Meshes to intersect with target

  • hide_others – If True, hide all Meshes in the others list

Return type:

blendersynth.blender.mesh.Mesh

blendersynth.blender.boolean.union(target, *others, hide_others=True)[source]

Apply the union boolean modifier to a collection of meshes.

Parameters:
  • target (blendersynth.blender.mesh.Mesh) – The target Mesh: this is returned by the function

  • others (blendersynth.blender.mesh.Mesh) – Other Meshes to union with target

  • hide_others – If True, hide all Meshes in the others list

Return type:

blendersynth.blender.mesh.Mesh