SIMARRANGE(1)
π SIMARRANGE(1) π
okay so bestie, pull up a chair, we're reading a General Commands Manual page together and honestly? it's a good one. this is simarrange, and it's about to become your new fave.
β¨ NAME β¨
simarrange β STL 2D plate packer with collision simulation
π¦ SYNOPSIS π¦
simarrange [-x WIDTH] [-y HEIGHT] [-c] [-m] [-s SPACING] [-r ROTSTEP]
[-p POSSTEP] [-n PATH+N] [-o OUTDIR] [-d] [-j THREADS] [-q]
πΈ DESCRIPTION πΈ
so basically, simarrange is that girl who simulates collisions between STL meshes in 2D so you get tightly packed sets of parts. like, no wasted plate space, no awkward gaps, just vibes and geometry.
you feed it a directory of STL files as input, and it hands you back STL files with combined plates of parts. and the parts? they're assumed to already be in the correct printable orientation. so don't come to it crooked, it will not fix you. fix yourself first, then get packed. π
π OPTIONS π
-x,--widthβ the x dimension of the build plate, in mm. default is200. must be a positive integer, no exceptions, no decimals, no chaos. π-y,--heightβ the y dimension of the build plate, in mm. default is200. also must be a positive integer. math is math.-c,--circleβ the build plate is circular now, and its diameter comes from-x. it's giving β¨roundβ¨ energy.-m,--middleβ puts the first part smack in the middle of the plate and packs around it. highkey the main character treatment. heads up though: it's slower.-s,--spacingβ minimal spacing between parts, in mm. default is1. must be a positive integer. personal space is a right, not a privilege. π«Ά-r,--rotstepβ rotational granularity of the search space, in degrees. default is10. lower it for tighter packing, but it'll be slower. tighter = slower, that's just the deal. π-p,--posstepβ positional granularity of the search space, in mm. default is5. same story: reduce it for tighter, slower packing.-n,--repeat PATH+Nβ addsNcopies of the file atPATHto the plate job. or, ifPATHis a directory, it addsNcopies of the files in that directory. multiply the things, fill the plates.-o,--outputdirβ output directory. default is".". yes, right here, in your business.-d,--dryrunβ dry run only. it computes the placement but produces no output file at all. all the thinking, none of the writing. it's giving "I'll tell you what I would do" energy. π-j,--threadsβ how many threads to use. default is as many as possible. set it to1for single-threaded operation, if you're feeling minimalist.-q,--quietβ output as little noise as possible on stdout. shhh. π€«-l,--limitβ stop after this many plates are filled. know your limits bestie, literally.
π EXAMPLES π
every one of these is a real move. copy, paste, slay.
simarrange -x 200 -y 150 -o output input Convert all files from the directory "input" into plates of size 200x150mm and save to directory "output", creating it if necessary.
simarrange -x 179 -c input Convert all files from the directory "input" into circular plates of 170mm diameter and save to directory "output", creating it if necessary.
simarrange -s 10 input Convert all files from the directory "input" into plates of size 200x200mm with 10mm spacing between parts.
simarrange -m input Convert all files from the directory "input" into plates of size 200x200mm, packing from the middle.
simarrange -n input+10 -n input2+10 Convert all files from the directories "input" and "input2" into plates of size 200x200mm, with 10 copies of each object.
simarrange -x60 -y60 -s3 blah -p 2 Convert all files from the directory "blah" into plates of size 60x60mm with 3mm spacing between parts and 2mm search grid.
simarrange file1.stl file1.stl file2.stl file2.stl file2.stl file2.stl Place two copies of file1.stl and four copies of file2.stl into plates of size 200x200mm.
simarrange input file1.stl file1.stl file2.stl file2.stl file2.stl file2.stl Place all STL files in the directory "input" as well as two copies of file1.stl and four copies of file2.stl into plates of size 200x200mm.
π COPYRIGHT π
Copyright (c) 2013 Kliment Yanev
Simarrange is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
ngl that's the legal stuff and you do have to actually read it, bestie. no skipping. π
and that's the whole page, fr fr. this one lives in the User Commands section, dated 19/10/2013, and it's SIMARRANGE(1) β the icon, the moment, the plate packer. go pack something cute. πβ¨π¦π
π¦ where this page comes from
- fedora 43: simarrange 0.0^20170316git8238ce5-9.fc43 Β· AGPL-3.0-or-later
- fedora 44: simarrange 0.0^20170316git8238ce5-12.fc44 Β· AGPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms