STL_BOOLEAN(1)

πŸ“¦
version 1.2 Β· 3 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– 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