STL_BOOLEAN(1)
π STL_BOOLEAN π
okay bestie, gather round, because this one is literally the mesh math girlie of your dreams β¨
πΈ NAME πΈ
stl_boolean β she does CSG operations on two STL files, no cap π
π¦ DESCRIPTION π¦
stl_boolean performs CSG operations on two STL files. that's the whole vibe, that's the assignment, she ate π
usage, and yes you need both A and B, this is a two-hander:
stl_boolean -a <stl file A> -b <stl file B> [ -i ] [ -u ] [ -d ] <output file>
so like. you hand her file A with -a, file B with -b, tell her which flavour of boolean you want with one of the little flags, and then the output file sits at the end being the main character it is π
under the hood she's doing a mesh CSG boolean operation on STL files A and B using BSP trees. BSP trees!! binary space partitioning!! she's not just pretty, she's smart π§ β¨
now the flags, bestie, there's only three, you got this:
-iβ performs the intersection of A and B π like, only the part where they overlap? that lil shared slice? iconic-uβ performs the union of A and B β¨ and this is the default, so if you're lazy (same) you don't even have to type it-dβ performs 'A minus B', which produces the volume present in A but not present in B π think of it like carving B's shape out of A, subtraction core
lowkey important: -u is the default, so if you pass nothing, you're getting a union whether you asked for it or not. she's decisive like that π
and that's it!! that's the whole page!! short and sweet and she does exactly what she says she does π«Ά
kisses, bestie β this was stl_boolean v1.2, from June 2025, sitting pretty in the User Commands section of your manual. go boolean something cute πβ¨π
π¦ where this page comes from
- ubuntu resolute: stlcmd 1.2-1 Β· GPL-3.0-or-later
- ubuntu stonking: stlcmd 1.2-1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms