Repository navigation
Keep side-view half circles clear of strips and name turns by crease - #234
Merged
Merged
Conversation
tophcodes
force-pushed
the
side-view-names
branch
from
October 4, 2026 07:32
6eef771 to
961344d
Compare
tophcodes
force-pushed
the
side-view-names
branch
from
October 4, 2026 08:32
961344d to
a29d3da
Compare
tophcodes
force-pushed
the
side-view-names
branch
from
October 4, 2026 17:59
a29d3da to
9dff28d
Compare
tophcodes
force-pushed
the
side-view-names
branch
from
October 4, 2026 22:13
9dff28d to
9af3155
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #232
Keeps the half circles of the side view clear of the strips and names each turn after the crease the program names.
Layout. Along the line the section keeps the proportions of the paper, with one scale for the whole line, so places that lie above one another in the folded state lie above one another in the section; no strip moves along the line. A turn is a half circle on the place of its hinge, from the end of one strip to the end of the other, bulging out past them, with a radius of half the height between the two, as before #233. Where a half circle would cross a strip or the half circle of another place, the layers move closer, 2 px at a time from 34 px down to 22 px; where that is not enough, the line grows longer at the same scale, up to three times. Where turns open to both sides of one place, the section opens a gap there for both, as before #233, since the half circles of one side would otherwise cover the strips that end there from the other side at every pitch. The section grows wider than 572 px where turns bulge out past the ends of the line. A test checks on six fixtures that no strip lies inside a half circle.
Names. A folded hinge on a crease the program names carries the name the FOLD file records for its edge, written as the program writes it (
--q). It stands once for each crease at one place and side, outside the outermost turn there, and moves down where it would overlap a name placed before it. Hinges on unnamed creases carry none. A test folds a sheet along--dand again along an unnamed crease and finds--dalone.Numbers. A strip's number stands over its part, short of the part's end; where it would overlap the number before it on its level, the number moves right.
spec/CLI.mdstates the layout and the names.issue-assetsredraws the side views of #203 and #205; #230 links the new #205 files.The frog after both sides of step 13, before:
After: