Baltor Get started

Gallery / Mesh algorithms

Threaded rod with a trapezoidal helical thread

In your harnessMesh algorithmMIT

Generate a closed threaded rod whose radius follows a trapezoidal thread profile along a helix, with flat crest and root. Use it for bolts, screws, jar necks and lead screws.

Render of Threaded rod with a trapezoidal helical thread
The render its check recorded in Godot 4.7.2, 256 by 256 pixels.

What it takes and gives

Entry points
thread_profile, screw_thread, main
Parameters
major_radius, minor_radius, pitch, length, crest, root, segments, samples_per_pitch
Complexity
O(segments * length / pitch * samples_per_pitch)
Axes
+Y up, metres

Limits. A single right-hand start; the ends are cut flat through the thread without a chamfer. The flanks are sampled on a fixed grid, so the crest and root corners are only as sharp as the axial sampling. Dimensions are free numbers, not tied to a thread standard.

Details

Kind
Mesh algorithm
Engine
Python 3.10 or later
Files
10 files, 282.6 KB
Licence
MIT
Declared effects
reads files, runs commands, writes files
Checked with
Godot 4.7.2, gl_compatibility, OpenGL 3 driver, Mesa llvmpipe under Xvfb
Checks
generator runs system python, generator runs verifier python, gltf strict structure, interpreters agree, example matches generator, godot headless gltf load, godot compatibility render
Techniques
Helical radius function r(theta, y) = minor + depth * profile(y / pitch - theta / 2 pi), Trapezoidal thread profile
Tags
screw, thread, helix, bolt, mechanical, cad
Identity
library.supply.creative_originals.9f495cf4918f6d8c4967f1c0.ea4c8ade91e67451
Version
ea4c8ade91e674511278b378d74d5bd26e01dcf8a5a0c10efb92d1c594d7cfcb

The version is the SHA-256 of the item your harness downloads; every file in it names its own checksum.

Something wrong with this item, its rights or its safety? Report it on the support page, or from your harness after a download.