TO_NFOLD(1)
π 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, runoff_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 normalto_nfoldprocessing. args are two or three numbers separated by commas: the vertex index number (which specifies the ring), thescale-xyfactor (that's the ring radius), and an optionaltranslation-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" β soinfo to_nfoldis the real main character here.--helpis 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
- nixos 26.05: antiprism 0.32
- nixpkgs unstable: antiprism 0.32
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms