fix: Improve labeling of line segments #54

Merged
glen merged 1 commits from BookFive into main 2024-01-17 23:14:02 +00:00
Showing only changes of commit 50a489ebb9 - Show all commits

View File

@ -378,7 +378,8 @@ function jToG(
when 'line'
(`Midpoint(${name})`
+ ` + Rotate(Direction(${name})`
+ `*Length(${name})*0.02, pi/2)`)
+ `*Length(${name})*0.025/Length(Direction(${name})),`
+ `pi/2)`)
when 'circle'
(`Center(${name})`
+ ` + Radius(${name})*Vector((12/13,5/13))*1.03`)