trimesh.interfaces.scad#
- trimesh.interfaces.scad.boolean(meshes, operation='difference', debug=False, **kwargs)#
Run an operation on a set of meshes
- trimesh.interfaces.scad.interface_scad(meshes, script, debug=False, **kwargs)#
A way to interface with openSCAD which is itself an interface to the CGAL CSG bindings. CGAL is very stable if difficult to install/use, so this function provides a tempfile- happy solution for getting the basic CGAL CSG functionality.
- Parameters:
meshes (list of Trimesh objects) –
script (string of the script to send to scad.) – Trimesh objects can be referenced in the script as $mesh_0, $mesh_1, etc.