โ† All examples

mesh algorithms

Moebius strip and twisted bands

Build a band around a circle with any number of half twists: one gives a one-sided Moebius strip with a single edge, even counts give two-sided bands. Use it for sculpture, puzzles and topology tests.

Recorded render of Moebius strip and twisted bands

What this component contains

  • ATTRIBUTION.md
  • LICENSE
  • README.md
  • component.json
  • example.gltf
  • meshkit.py
  • mobius_strip.py
  • preview.png
  • test_package.py
  • verification/native.json

How it works

Entry points
band_point, mobius_strip, main
Parameters
radius, width, half_twists, segments, strips
Complexity
O(segments * strips)
Axes
+Y up, metres

Recorded checks

godot 4.7.2.stable.official.ed1daf0bf

  • generator_runs_system_python
  • generator_runs_verifier_python
  • gltf_strict_structure
  • interpreters_agree
  • example_matches_generator
  • godot_headless_gltf_load
  • godot_compatibility_render

Limits to consider

A one-sided surface has no consistent winding: faces disagree across one seam column and the normals there flip, so render it double-sided (the material is marked so). Very wide bands (width near twice the radius) self-intersect. The area check tolerance covers the flat-quad approximation.