gleScrew(3GLE)
gleScrew π β¨
okay bestie, welcome to gleScrew(3GLE) β this one lives in the GLE manual, section 3GLE, and it's literally just: draws screw-type shapes. that's the whole vibe. π
π SYNTAX π
here's the summoning circle, copy it exactly or the compiler will simply not know you:
void gleScrew (int ncp,
gleDouble contour[][2],
gleDouble cont_normal[][2],
gleDouble up[3],
gleDouble startz,
gleDouble endz,
gleDouble twist);
π¦ ARGUMENTS π¦
ncpβ how many points are in your contour. the count. the headcount. π’contourβ the 2D contour itself.cont_normalβ the 2D contour normals. (its little perpendicular besties, they ride along.)upβ the up vector for the contour.startxβ start of segment. (yes, the manpage really writesstartxhere while the syntax saysstartzβ iconic inconsistent queen behavior, we simply report it as written π)endzβ end of segment.twistβ number of rotations. π
π DESCRIPTION π
so what does it do. it draws screw-type shapes. you hand it a contour, and it extrudes that contour along the z-axis, starting at a z value of startz and running all the way to an end z-value of endz.
and during that extrusion? it spins. the contour gets spun along the contour origin by twist degrees. so you're not just pulling a shape upward, you're twisting it as it goes β that's the screw energy, that's the whole point, that's the main character move fr fr. π
ngl, quick heads up: the DESCRIPTION says twist is measured in degrees, while the ARGUMENTS list calls it number of rotations. both of those are in the original page, we are not picking a side. iykyk π
πΈ SEE ALSO πΈ
gleExtrusionβ go look at that one too, they're cousins π«Ά
β AUTHOR β
Linas Vepstas (linas@linas.org) β thank you for the screws, king π
and that's the page!! this was GLE version 3.0, gleScrew(3GLE), and yeah we're done here. slay, go twist something. π
πβ¨
π¦ where this page comes from
- debian bookworm: libgle3-dev 3.1.0-10 Β· GPL-2.0-only
- debian trixie: libgle3-dev 3.1.2-1+b2 Β· GPL-2.0-only
- fedora 43: libgle-devel 3.1.0-36.fc43 Β· GPL-2.0-only OR (ClArtistic AND LicenseRef-Callaway-MIT)
- fedora 43: libgle-devel 3.1.0-36.fc43 Β· GPL-2.0-only OR (ClArtistic AND LicenseRef-Callaway-MIT)
- fedora 44: libgle-devel 3.1.0-37.fc44 Β· GPL-2.0-only OR (ClArtistic AND LicenseRef-Callaway-MIT)
- fedora 44: libgle-devel 3.1.0-37.fc44 Β· GPL-2.0-only OR (ClArtistic AND LicenseRef-Callaway-MIT)
- nixos 26.05: gle 3.1.2
- nixpkgs unstable: gle 3.1.2
- opensuse-leap 16.0: gle-devel 3.1.2-bp160.1.13 Β· GPL-2.0-or-later
- opensuse-leap 16.0: gle-devel 3.1.2-bp160.1.13 Β· GPL-2.0-or-later
- opensuse-leap 16.0: gle-devel 3.1.2-bp160.1.13 Β· GPL-2.0-or-later
- opensuse-leap 16.0: gle-devel 3.1.2-bp160.1.13 Β· GPL-2.0-or-later
- ubuntu jammy: libgle3-dev 3.1.0-10 Β· GPL-2.0-only
- ubuntu noble: libgle3-dev 3.1.2-1build1 Β· GPL-2.0-only
- ubuntu questing: libgle3-dev 3.1.2-1build1
- ubuntu resolute: libgle3-dev 3.1.2-1build2 Β· GPL-2.0-only
- ubuntu stonking: libgle3-dev 3.1.2-1build2 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms