triangle_twist
pleat.intersecting_cylinders.triangle_twist ¶
Convert curved-vertex hubs into flat-foldable triangle twists.
Useful as a post-processing step on the output of
:func:~pleat.intersecting_cylinders.pipeline.make_intersecting_cylinders when
some curved regions should instead be replaced with classical flat-foldable twists.
convert_to_triangle_twist ¶
Replace a 6-creased vertex with a flat-foldable triangle twist.
v must be an interior vertex where 3 curved (red) and 3 straight creases
meet — the typical hub produced by
:func:~pleat.intersecting_cylinders.pipeline.make_intersecting_cylinders.
The graph G is mutated in place: the curved creases are deleted, three
new edges are added forming the boundary of a flat-foldable twist, and the
central vertex is removed.
Source code in pleat/intersecting_cylinders/triangle_twist.py
convert_all_to_triangle_twists ¶
Replace every interior degree-6 vertex with a flat-foldable triangle twist.
All other vertices in intersecting-cylinder crease patterns are of smaller degree, so this targets exactly the curved hubs.