Menu

Tutorial: Fast Mesh Booleans in Python

#tutorial#python#mesh#booleans#trueform
Reading 0:00
15s threshold

We wrote a tutorial on performing mesh boolean operations (union, intersection, difference) in Python using trueform. One pip install, NumPy arrays in and out.

python (result_faces, result_points), labels, face_labels = tf.boolean_union(dragon, translated)

The tutorial covers loading meshes, transformations, precomputed structures for repeated booleans on moving geometry, and intersection curve extraction.

Tutorial: https://polydera.com/tutorials/fast-mesh-booleans-in-python

If you'd like to play with it in the browser: https://trueform.polydera.com/live-examples/boolean

Examples and Source: https://github.com/polydera/trueform