TO_NFOLD(1)

πŸ“¦ version 0.32, in nixos 26.05, nixpkgs unstable

πŸ’… TO_NFOLD(1) β€” like, the manual, but make it make sense πŸŽ€

okay bestie, settle in, because this one is genuinely iconic. it's to_nfold from the Antiprism crew β€” a User Command, and the way it just ✨reshapes your polyhedra✨? obsessed.


🌸 NAME 🌸

to_nfold β€” change the rotational symmetry of a polyhedron. that's it, that's the whole vibe. it takes a shape with one kind of symmetry and says "no babe, we're doing a different number of folds today" πŸ’«


✨ SYNOPSIS ✨

to_nfold [options] fraction [input_file]

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea β˜• β€” to_nfold generalises an axial model by changing its rotational symmetry. it reads a model, in OFF format, that has an m-fold rotational axis sitting pretty on the z-axis, and then it creates a brand new model β€” generally non-planar, ngl, that's the whole point β€” with the same relative connections, but with an n-fold axis instead. glow-up complete πŸ’…

fraction is given as n, or n/d (where n and d are integers). real simple, no cap.

the math? vertices of a face that were originally separated by x/m of a turn around the z-axis will be separated by xd/n of a turn in the final model. πŸ”₯ literally just doing the rotation math for you so you don't have to.

the new model will be symmetrically coloured using colours from the base model β€” so your aesthetic carries over, we love continuity πŸŽ€

if input_file is not given, the program reads from standard input. classic. 😌

and fun fact for the girlies who care about lore: to_nfold is based on an idea by Bruce R. Gilson. we stan a visionary 🫢


πŸ’– Options πŸ’–

  • -h,--help β€” this help message, i.e. the little "here's what I do" moment. (and if you want the general help, run off_util -H help β€” that's the big-picture one 🧚)
  • --version β€” version information. just the numbers, ma'am πŸ’€
  • -x <idxs> β€” vertex index numbers, separated by commas. the rings including these vertices will be rotated 180 degrees before processing and rotated back afterwards. so, like, a little spin-around-and-spin-back situation πŸ™ˆ
  • -p <args> β€” transform ring of vertices of base model, and suppress normal to_nfold processing. args are two or three numbers separated by commas: the vertex index number (which specifies the ring), the scale-xy factor (that's the ring radius), and an optional translation-z (the ring height). can be used multiple times. index numbers are preserved. πŸ‘‘
  • -o <file> β€” write output to file (default: write to standard output). your choice, bestie ✨

🌈 SEE ALSO 🌈

the full documentation for to_nfold is maintained as a Texinfo manual. so if the info and to_nfold programs are properly installed at your site (fingers crossed 🀞), the command

info to_nfold

should give you access to the complete manual. go get your reading on πŸ“šπŸ’œ


⭐ little reminder babe: the manpage literally says "the full documentation is maintained as a Texinfo manual" β€” so info to_nfold is the real main character here. --help is just the appetiser πŸ“

and that's the whole page, you're welcome πŸ’– this was to_nfold from Antiprism 0.32 β€” yes, version 0.32, and the source lives at http://w... (that's literally how it shows up in the footer, don't come for me 😭). no cap, that's the sign-off, periodt. πŸ‘‘πŸ¦‹

πŸ“¦ where this page comes from