Tracing builder now save centered points

This commit is contained in:
Laurent Tourte
2023-12-20 17:34:01 +01:00
parent 153ac4e4bc
commit d14dfa434c
65 changed files with 165 additions and 162 deletions
@@ -1,2 +1,2 @@
972 712,886 464,578 688,784 996,986 848,972 714
974 624,972 824
94 65,8 -183,-300 41,-94 349,108 201,94 67
96 -23,94 177
1 972 712,886 464,578 688,784 996,986 848,972 714 94 65,8 -183,-300 41,-94 349,108 201,94 67
2 974 624,972 824 96 -23,94 177
@@ -1,3 +1,3 @@
876 1274,758 1602
876 1270,996 1600
798 1504,960 1504
-2 -142,-120 186
-2 -146,118 184
-80 88,82 88
1 876 1274 -2 -142 758 1602 -120 186
2 876 1270 -2 -146 996 1600 118 184
3 798 1504 -80 88 960 1504 82 88
@@ -1,2 +1,2 @@
784 486,778 832
790 670,832 620,892 572,972 592,1016 662,1002 742,1034 834,916 882,820 856,792 778
-94 -161,-100 185
-88 23,-46 -27,14 -75,94 -55,138 15,124 95,156 187,38 235,-58 209,-86 131
1 784 486,778 832 -94 -161,-100 185
2 790 670,832 620,892 572,972 592,1016 662,1002 742,1034 834,916 882,820 856,792 778 -88 23,-46 -27,14 -75,94 -55,138 15,124 95,156 187,38 235,-58 209,-86 131
@@ -1,3 +1,3 @@
792 1284,790 1604
794 1284,908 1274,996 1278,992 1350,992 1418,932 1450,878 1428,796 1434
790 1434,914 1426,1012 1416,1016 1516,992 1610,930 1604,794 1600
-86 -132,-88 188
-84 -132,30 -142,118 -138,114 -66,114 2,54 34,0 12,-82 18
-88 18,36 10,134 0,138 100,114 194,52 188,-84 184
1 792 1284,790 1604 -86 -132,-88 188
2 794 1284,908 1274,996 1278,992 1350,992 1418,932 1450,878 1428,796 1434 -84 -132,30 -142,118 -138,114 -66,114 2,54 34,0 12,-82 18
3 790 1434,914 1426,1012 1416,1016 1516,992 1610,930 1604,794 1600 -88 18,36 10,134 0,138 100,114 194,52 188,-84 184
@@ -1 +1 @@
962 648,932 598,860 592,794 600,794 666,762 734,760 800,822 870,912 842,950 824
84 1,54 -49,-18 -55,-84 -47,-84 19,-116 87,-118 153,-56 223,34 195,72 177
1 962 648 84 1 932 598 54 -49 860 592 -18 -55 794 600 -84 -47 794 666 -84 19 762 734 -116 87 760 800 -118 153 822 870 -56 223 912 842 34 195 950 824 72 177
@@ -1 +1 @@
990 1326,926 1240,834 1260,770 1284,756 1376,732 1462,756 1558,790 1652,898 1654,950 1588,998 1548
112 -90,48 -176,-44 -156,-108 -132,-122 -40,-146 46,-122 142,-88 236,20 238,72 172,120 132
1 990 1326 112 -90 926 1240 48 -176 834 1260 -44 -156 770 1284 -108 -132 756 1376 -122 -40 732 1462 -146 46 756 1558 -122 142 790 1652 -88 236 898 1654 20 238 950 1588 72 172 998 1548 120 132
@@ -1,2 +1,2 @@
972 484,974 830
972 674,920 594,832 578,756 616,714 704,744 802,778 858,854 866,932 846,972 784
94 -163,96 183
94 27,42 -53,-46 -69,-122 -31,-164 57,-134 155,-100 211,-24 219,54 199,94 137
1 972 484,974 830 94 -163,96 183
2 972 674,920 594,832 578,756 616,714 704,744 802,778 858,854 866,932 846,972 784 94 27,42 -53,-46 -69,-122 -31,-164 57,-134 155,-100 211,-24 219,54 199,94 137
@@ -1,2 +1,2 @@
770 1282,774 1606
782 1284,866 1280,1010 1276,1078 1440,998 1614,874 1604,780 1596
-108 -134,-104 190
-96 -132,-12 -136,132 -140,200 24,120 198,-4 188,-98 180
1 770 1282,774 1606 -108 -134,-104 190
2 782 1284,866 1280,1010 1276,1078 1440,998 1614,874 1604,780 1596 -96 -132,-12 -136,132 -140,200 24,120 198,-4 188,-98 180
@@ -1,2 +1,2 @@
776 720,976 718
982 718,964 634,900 536,768 598,712 716,734 824,878 912,976 794
-102 73,98 71
104 71,86 -13,22 -111,-110 -49,-166 69,-144 177,0 265,98 147
1 776 720,976 718 -102 73,98 71
2 982 718,964 634,900 536,768 598,712 716,734 824,878 912,976 794 104 71,86 -13,22 -111,-110 -49,-166 69,-144 177,0 265,98 147
@@ -1,4 +1,4 @@
808 1282,806 1602
808 1284,972 1284
808 1432,938 1432
804 1602,976 1600
-70 -134,-72 186
-70 -132,94 -132
-70 16,60 16
-74 186,98 184
1 808 1282 -70 -134 806 1602 -72 186
2 808 1284 -70 -132 972 1284 94 -132
3 808 1432 -70 16 938 1432 60 16
4 804 1602 -74 186 976 1600 98 184
@@ -1,2 +1,2 @@
870 830,868 680,866 582,854 510,888 472,930 486
834 620,934 618
-8 183,-10 33,-12 -65,-24 -137,10 -175,52 -161
-44 -27,56 -29
1 870 830,868 680,866 582,854 510,888 472,930 486 -8 183,-10 33,-12 -65,-24 -137,10 -175,52 -161
2 834 620,934 618 -44 -27,56 -29
@@ -1,3 +1,3 @@
816 1286,814 1608
816 1282,982 1282
820 1436,944 1436
-62 -130,-64 192
-62 -134,104 -134
-58 20,66 20
1 816 1286 -62 -130 814 1608 -64 192
2 816 1282 -62 -134 982 1282 104 -134
3 820 1436 -58 20 944 1436 66 20
@@ -1,2 +1,2 @@
974 618,972 820,976 864,976 914,930 940,882 946,798 930
972 676,922 592,830 580,762 626,714 716,750 820,806 864,914 864,958 784
96 -29,94 173,98 217,98 267,52 293,4 299,-80 283
94 29,44 -55,-48 -67,-116 -21,-164 69,-128 173,-72 217,36 217,80 137
1 974 618,972 820,976 864,976 914,930 940,882 946,798 930 96 -29,94 173,98 217,98 267,52 293,4 299,-80 283
2 972 676,922 592,830 580,762 626,714 716,750 820,806 864,914 864,958 784 94 29,44 -55,-48 -67,-116 -21,-164 69,-128 173,-72 217,36 217,80 137
@@ -1,2 +1,2 @@
978 1334,938 1272,880 1218,760 1260,724 1324,702 1488,714 1628,828 1692,974 1644,1010 1534,992 1464
984 1464,894 1462
100 -82,60 -144,2 -198,-118 -156,-154 -92,-176 72,-164 212,-50 276,96 228,132 118,114 48
106 48,16 46
1 978 1334,938 1272,880 1218,760 1260,724 1324,702 1488,714 1628,828 1692,974 1644,1010 1534,992 1464 100 -82,60 -144,2 -198,-118 -156,-154 -92,-176 72,-164 212,-50 276,96 228,132 118,114 48
2 984 1464,894 1462 106 48,16 46
@@ -1,2 +1,2 @@
788 480,790 834
790 838,786 674,790 608,886 552,994 630,962 670,964 824
-90 -167,-88 187
-88 191,-92 27,-88 -39,8 -95,116 -17,84 23,86 177
1 788 480,790 834 -90 -167,-88 187
2 790 838,786 674,790 608,886 552,994 630,962 670,964 824 -88 191,-92 27,-88 -39,8 -95,116 -17,84 23,86 177
@@ -1,3 +1,3 @@
766 1282,762 1608
774 1436,990 1436
992 1280,990 1606
-112 -134,-116 192
-104 20,112 20
114 -136,112 190
1 766 1282 -112 -134 762 1608 -116 192
2 774 1436 -104 20 990 1436 112 20
3 992 1280 114 -136 990 1606 112 190
@@ -1,2 +1,2 @@
878 610,878 832
878 526,878 550
0 -37,0 185
0 -121,0 -97
1 878 610 0 -37 878 832 0 185
2 878 526 0 -121 878 550 0 -97
@@ -1,3 +1,3 @@
876 1284,874 1600
838 1284,920 1282
834 1600,918 1600
-2 -132,-4 184
-40 -132,42 -134
-44 184,40 184
1 876 1284 -2 -132 874 1600 -4 184
2 838 1284 -40 -132 920 1282 42 -134
3 834 1600 -44 184 918 1600 40 184
@@ -1,2 +1,2 @@
876 620,878 822,890 894,880 928,806 938
876 522,876 550
-2 -27,0 175,12 247,2 281,-72 291
-2 -125,-2 -97
1 876 620,878 822,890 894,880 928,806 938 -2 -27,0 175,12 247,2 281,-72 291
2 876 522,876 550 -2 -125,-2 -97
@@ -1 +1 @@
946 1304,940 1516,974 1584,902 1630,824 1622,776 1554
68 -112,62 100,96 168,24 214,-54 206,-102 138
1 946 1304 68 -112 940 1516 62 100 974 1584 96 168 902 1630 24 214 824 1622 -54 206 776 1554 -102 138
@@ -1,3 +1,3 @@
812 492,814 834
818 740,950 620
874 704,962 836
-66 -155,-64 187
-60 93,72 -27
-4 57,84 189
1 812 492 -66 -155 814 834 -64 187
2 818 740 -60 93 950 620 72 -27
3 874 704 -4 57 962 836 84 189
@@ -1,3 +1,3 @@
796 1284,790 1606
796 1498,982 1276
854 1438,990 1612
-82 -132,-88 190
-82 82,104 -140
-24 22,112 196
1 796 1284 -82 -132 790 1606 -88 190
2 796 1498 -82 82 982 1276 104 -140
3 854 1438 -24 22 990 1612 112 196
@@ -1 +1 @@
878 494,878 838
0 -153,0 191
1 878 494 0 -153 878 838 0 191
@@ -1,2 +1,2 @@
814 1274,814 1604
808 1602,984 1602
-64 -142,-64 188
-70 186,106 186
1 814 1274 -64 -142 814 1604 -64 188
2 808 1602 -70 186 984 1602 106 186
@@ -1,3 +1,3 @@
722 614,724 834
730 832,734 682,720 636,830 534,890 620,880 688,878 824
880 828,884 702,880 596,960 554,1056 616,1040 708,1026 836
-156 -33,-154 187
-148 185,-144 35,-158 -11,-48 -113,12 -27,2 41,0 177
2 181,6 55,2 -51,82 -93,178 -31,162 61,148 189
1 722 614,724 834 -156 -33,-154 187
2 730 832,734 682,720 636,830 534,890 620,880 688,878 824 -148 185,-144 35,-158 -11,-48 -113,12 -27,2 41,0 177
3 880 828,884 702,880 596,960 554,1056 616,1040 708,1026 836 2 181,6 55,2 -51,82 -93,178 -31,162 61,148 189
@@ -1,4 +1,4 @@
720 1604,734 1290
736 1286,868 1602
878 1602,1020 1288
1026 1286,1030 1602
-158 188,-144 -126
-142 -130,-10 186
0 186,142 -128
148 -130,152 186
1 720 1604 -158 188 734 1290 -144 -126
2 736 1286 -142 -130 868 1602 -10 186
3 878 1602 0 186 1020 1288 142 -128
4 1026 1286 148 -130 1030 1602 152 186
@@ -1,2 +1,2 @@
788 618,788 840
790 840,778 720,792 660,830 562,954 580,976 642,954 712,964 836
-90 -29,-90 193
-88 193,-100 73,-86 13,-48 -85,76 -67,98 -5,76 65,86 189
1 788 618,788 840 -90 -29,-90 193
2 790 840,778 720,792 660,830 562,954 580,976 642,954 712,964 836 -88 193,-100 73,-86 13,-48 -85,76 -67,98 -5,76 65,86 189
@@ -1,3 +1,3 @@
764 1606,768 1286
768 1278,984 1606
986 1604,984 1282
-114 190,-110 -130
-110 -138,106 190
108 188,106 -134
1 764 1606 -114 190 768 1286 -110 -130
2 768 1278 -110 -138 984 1606 106 190
3 986 1604 108 188 984 1282 106 -134
@@ -1 +1 @@
978 736,990 586,876 562,712 602,696 744,764 852,886 908,978 838,978 736
100 89,112 -61,-2 -85,-166 -45,-182 97,-114 205,8 261,100 191,100 89
1 978 736 100 89 990 586 112 -61 876 562 -2 -85 712 602 -166 -45 696 744 -182 97 764 852 -114 205 886 908 8 261 978 838 100 191 978 736 100 89
@@ -1 +1 @@
1010 1454,1042 1284,864 1150,642 1262,646 1526,764 1680,906 1698,998 1576,1010 1454
132 38,164 -132,-14 -266,-236 -154,-232 110,-114 264,28 282,120 160,132 38
1 1010 1454 132 38 1042 1284 164 -132 864 1150 -14 -266 642 1262 -236 -154 646 1526 -232 110 764 1680 -114 264 906 1698 28 282 998 1576 120 160 1010 1454 132 38
@@ -1,2 +1,2 @@
782 624,780 942
784 684,832 618,892 556,986 598,1082 720,1018 848,908 882,832 850,782 774
-96 -23,-98 295
-94 37,-46 -29,14 -91,108 -49,204 73,140 201,30 235,-46 203,-96 127
1 782 624,780 942 -96 -23,-98 295
2 784 684,832 618,892 556,986 598,1082 720,1018 848,908 882,832 850,782 774 -94 37,-46 -29,14 -91,108 -49,204 73,140 201,30 235,-46 203,-96 127
@@ -1,2 +1,2 @@
800 1276,800 1606
800 1282,940 1280,976 1280,1042 1362,996 1494,916 1464,804 1466
-78 -140,-78 190
-78 -134,62 -136,98 -136,164 -54,118 78,38 48,-74 50
1 800 1276,800 1606 -78 -140,-78 190
2 800 1282,940 1280,976 1280,1042 1362,996 1494,916 1464,804 1466 -78 -134,62 -136,98 -136,164 -54,118 78,38 48,-74 50
@@ -1,2 +1,2 @@
970 622,970 940
966 678,930 604,874 576,806 596,756 640,732 710,732 788,782 862,852 872,948 840,964 780
92 -25,92 293
88 31,52 -43,-4 -71,-72 -51,-122 -7,-146 63,-146 141,-96 215,-26 225,70 193,86 133
1 970 622,970 940 92 -25,92 293
2 966 678,930 604,874 576,806 596,756 640,732 710,732 788,782 862,852 872,948 840,964 780 88 31,52 -43,-4 -71,-72 -51,-122 -7,-146 63,-146 141,-96 215,-26 225,70 193,86 133
@@ -1,2 +1,2 @@
1014 1448,1006 1380,1010 1234,886 1234,790 1236,728 1312,688 1384,712 1508,750 1586,812 1656,902 1662,980 1618,1010 1536,1014 1448
910 1522,1000 1614
136 32,128 -36,132 -182,8 -182,-88 -180,-150 -104,-190 -32,-166 92,-128 170,-66 240,24 246,102 202,132 120,136 32
32 106,122 198
1 1014 1448,1006 1380,1010 1234,886 1234,790 1236,728 1312,688 1384,712 1508,750 1586,812 1656,902 1662,980 1618,1010 1536,1014 1448 136 32,128 -36,132 -182,8 -182,-88 -180,-150 -104,-190 -32,-166 92,-128 170,-66 240,24 246,102 202,132 120,136 32
2 910 1522,1000 1614 32 106,122 198
@@ -1,2 +1,2 @@
840 616,840 838
840 828,838 762,832 684,878 614,948 614
-38 -31,-38 191
-38 181,-40 115,-46 37,0 -33,70 -33
1 840 616,840 838 -38 -31,-38 191
2 840 828,838 762,832 684,878 614,948 614 -38 181,-40 115,-46 37,0 -33,70 -33
@@ -1,3 +1,3 @@
786 1604,788 1276
788 1284,898 1282,992 1264,1034 1360,974 1476,872 1446,794 1446
894 1444,980 1604
-92 188,-90 -140
-90 -132,20 -134,114 -152,156 -56,96 60,-6 30,-84 30
16 28,102 188
1 786 1604,788 1276 -92 188,-90 -140
2 788 1284,898 1282,992 1264,1034 1360,974 1476,872 1446,794 1446 -90 -132,20 -134,114 -152,156 -56,96 60,-6 30,-84 30
3 894 1444,980 1604 16 28,102 188
@@ -1 +1 @@
948 650,910 576,834 572,758 626,754 710,764 764,846 774,990 634,1034 712,1012 824,946 864,896 850,818 852,794 790
70 3,32 -71,-44 -75,-120 -21,-124 63,-114 117,-32 127,112 -13,156 65,134 177,68 217,18 203,-60 205,-84 143
1 948 650 70 3 910 576 32 -71 834 572 -44 -75 758 626 -120 -21 754 710 -124 63 764 764 -114 117 846 774 -32 127 990 634 112 -13 1034 712 156 65 1012 824 134 177 946 864 68 217 896 850 18 203 818 852 -60 205 794 790 -84 143
@@ -1 +1 @@
986 1324,948 1260,888 1254,822 1252,746 1272,724 1360,744 1434,810 1488,900 1440,990 1428,1036 1452,1052 1534,1014 1636,940 1640,862 1628,830 1596,766 1560
108 -92,70 -156,10 -162,-56 -164,-132 -144,-154 -56,-134 18,-68 72,22 24,112 12,158 36,174 118,136 220,62 224,-16 212,-48 180,-112 144
1 986 1324 108 -92 948 1260 70 -156 888 1254 10 -162 822 1252 -56 -164 746 1272 -132 -144 724 1360 -154 -56 744 1434 -134 18 810 1488 -68 72 900 1440 22 24 990 1428 112 12 1036 1452 158 36 1052 1534 174 118 1014 1636 136 220 940 1640 62 224 862 1628 -16 212 830 1596 -48 180 766 1560 -112 144
@@ -1,2 +1,2 @@
870 532,868 840
818 622,932 622
-8 -115,-10 193
-60 -25,54 -25
1 870 532 -8 -115 868 840 -10 193
2 818 622 -60 -25 932 622 54 -25
@@ -1,2 +1,2 @@
880 1292,880 1606
764 1282,996 1282
2 -124,2 190
-114 -134,118 -134
1 880 1292 2 -124 880 1606 2 190
2 764 1282 -114 -134 996 1282 118 -134
@@ -1,2 +1,2 @@
792 614,788 730,768 880,862 884,966 856,970 752,964 620
968 620,966 830
-86 -33,-90 83,-110 233,-16 237,88 209,92 105,86 -27
90 -27,88 183
1 792 614,788 730,768 880,862 884,966 856,970 752,964 620 -86 -33,-90 83,-110 233,-16 237,88 209,92 105,86 -27
2 968 620,966 830 90 -27,88 183
@@ -1 +1 @@
766 1282,768 1364,762 1502,690 1616,874 1764,1092 1598,988 1502,982 1374,982 1280
-112 -134,-110 -52,-116 86,-188 200,-4 348,214 182,110 86,104 -42,104 -136
1 766 1282 -112 -134 768 1364 -110 -52 762 1502 -116 86 690 1616 -188 200 874 1764 -4 348 1092 1598 214 182 988 1502 110 86 982 1374 104 -42 982 1280 104 -136
@@ -1,2 +1,2 @@
794 616,876 830
882 828,962 618
-84 -31,-2 183
4 181,84 -29
1 794 616 -84 -31 876 830 -2 183
2 882 828 4 181 962 618 84 -29
@@ -1,2 +1,2 @@
754 1274,872 1594
872 1598,1000 1278
-124 -142,-6 178
-6 182,122 -138
1 754 1274 -124 -142 872 1594 -6 178
2 872 1598 -6 182 1000 1278 122 -138
@@ -1,4 +1,4 @@
716 616,794 834
798 828,878 626
880 622,952 826
954 832,1028 616
-162 -31,-84 187
-80 181,0 -21
2 -25,74 179
76 185,150 -31
1 716 616 -162 -31 794 834 -84 187
2 798 828 -80 181 878 626 0 -21
3 880 622 2 -25 952 826 74 179
4 954 832 76 185 1028 616 150 -31
@@ -1,4 +1,4 @@
686 1276,776 1598
782 1600,876 1292
882 1290,972 1594
974 1602,1060 1280
-192 -140,-102 182
-96 184,-2 -124
4 -126,94 178
96 186,182 -136
1 686 1276 -192 -140 776 1598 -102 182
2 782 1600 -96 184 876 1292 -2 -124
3 882 1290 4 -126 972 1594 94 178
4 974 1602 96 186 1060 1280 182 -136
@@ -1,2 +1,2 @@
802 618,954 834
802 832,946 620
-76 -29,76 187
-76 185,68 -27
1 802 618 -76 -29 954 834 76 187
2 802 832 -76 185 946 620 68 -27
@@ -1,2 +1,2 @@
770 1278,978 1606
974 1278,770 1608
-108 -138,100 190
96 -138,-108 192
1 770 1278 -108 -138 978 1606 100 190
2 974 1278 96 -138 770 1608 -108 192
@@ -1,2 +1,2 @@
976 610,848 944
788 612,882 842
98 -37,-30 297
-90 -35,4 195
1 976 610 98 -37 848 944 -30 297
2 788 612 -90 -35 882 842 4 195
@@ -1,3 +1,3 @@
768 1274,876 1462
986 1278,878 1468
876 1468,876 1608
-110 -142,-2 46
108 -138,0 52
-2 52,-2 192
1 768 1274 -110 -142 876 1462 -2 46
2 986 1278 108 -138 878 1468 0 52
3 876 1468 -2 52 876 1608 -2 192
@@ -1,3 +1,3 @@
794 622,952 626
954 618,794 832
796 834,958 832
-84 -25,74 -21
76 -29,-84 185
-82 187,80 185
1 794 622 -84 -25 952 626 74 -21
2 954 618 76 -29 794 832 -84 185
3 796 834 -82 187 958 832 80 185
@@ -1,3 +1,3 @@
778 1282,982 1282
986 1286,784 1596
786 1598,974 1598
-100 -134,104 -134
108 -130,-94 180
-92 182,96 182
1 778 1282 -100 -134 982 1282 104 -134
2 986 1286 108 -130 784 1596 -94 180
3 786 1598 -92 182 974 1598 96 182
@@ -1,3 +1,3 @@
968 618,970 832
962 666,910 588,822 580,732 614,710 744,746 846,842 882,928 848,968 778
918 556,828 516
90 -29,92 185
84 19,32 -59,-56 -67,-146 -33,-168 97,-132 199,-36 235,50 201,90 131
40 -91,-50 -131
1 968 618,970 832 90 -29,92 185
2 962 666,910 588,822 580,732 614,710 744,746 846,842 882,928 848,968 778 84 19,32 -59,-56 -67,-146 -33,-168 97,-132 199,-36 235,50 201,90 131
3 918 556,828 516 40 -91,-50 -131
@@ -1,4 +1,4 @@
872 1290,760 1602
880 1282,1000 1602
804 1504,956 1502
932 1236,826 1190
-6 -126,-118 186
2 -134,122 186
-74 88,78 86
54 -180,-52 -226
1 872 1290 -6 -126 760 1602 -118 186
2 880 1282 2 -134 1000 1602 122 186
3 804 1504 -74 88 956 1502 78 86
4 932 1236 54 -180 826 1190 -52 -226
@@ -1,3 +1,3 @@
968 650,914 600,832 588,768 622,734 720,780 852,850 872,930 842,964 804
888 848,872 888
884 888,984 912,894 940,840 938
90 3,36 -47,-46 -59,-110 -25,-144 73,-98 205,-28 225,52 195,86 157
10 201,-6 241
6 241,106 265,16 293,-38 291
1 968 650,914 600,832 588,768 622,734 720,780 852,850 872,930 842,964 804 90 3,36 -47,-46 -59,-110 -25,-144 73,-98 205,-28 225,52 195,86 157
2 888 848,872 888 10 201,-6 241
3 884 888,984 912,894 940,840 938 6 241,106 265,16 293,-38 291
@@ -1,3 +1,3 @@
992 1342,954 1284,882 1218,832 1256,768 1330,738 1386,764 1446,738 1526,774 1600,886 1692,950 1590,994 1542
898 1622,872 1658
874 1656,994 1672,898 1714,850 1706
114 -74,76 -132,4 -198,-46 -160,-110 -86,-140 -30,-114 30,-140 110,-104 184,8 276,72 174,116 126
20 206,-6 242
-4 240,116 256,20 298,-28 290
1 992 1342,954 1284,882 1218,832 1256,768 1330,738 1386,764 1446,738 1526,774 1600,886 1692,950 1590,994 1542 114 -74,76 -132,4 -198,-46 -160,-110 -86,-140 -30,-114 30,-140 110,-104 184,8 276,72 174,116 126
2 898 1622,872 1658 20 206,-6 242
3 874 1656,994 1672,898 1714,850 1706 -4 240,116 256,20 298,-28 290
@@ -1,3 +1,3 @@
766 722,982 720
982 716,958 576,842 568,756 630,706 720,778 862,870 886,970 802
916 558,832 510
-112 75,104 73
104 69,80 -71,-36 -79,-122 -17,-172 73,-100 215,-8 239,92 155
38 -89,-46 -137
1 766 722,982 720 -112 75,104 73
2 982 716,958 576,842 568,756 630,706 720,778 862,870 886,970 802 104 69,80 -71,-36 -79,-122 -17,-172 73,-100 215,-8 239,92 155
3 916 558,832 510 38 -89,-46 -137
@@ -1,5 +1,5 @@
812 1280,812 1600
814 1276,978 1278
810 1438,936 1438
816 1598,970 1598
946 1228,844 1190
-66 -136,-66 184
-64 -140,100 -138
-68 22,58 22
-62 182,92 182
68 -188,-34 -226
1 812 1280 -66 -136 812 1600 -66 184
2 814 1276 -64 -140 978 1278 100 -138
3 810 1438 -68 22 936 1438 58 22
4 816 1598 -62 182 970 1598 92 182
5 946 1228 68 -188 844 1190 -34 -226
@@ -1,3 +1,3 @@
774 716,976 716
980 720,972 618,882 550,802 602,742 658,732 732,760 820,808 866,902 868,940 826,968 796
856 560,940 520
-104 69,98 69
102 73,94 -29,4 -97,-76 -45,-136 11,-146 85,-118 173,-70 219,24 221,62 179,90 149
-22 -87,62 -127
1 774 716,976 716 -104 69,98 69
2 980 720,972 618,882 550,802 602,742 658,732 732,760 820,808 866,902 868,940 826,968 796 102 73,94 -29,4 -97,-76 -45,-136 11,-146 85,-118 173,-70 219,24 221,62 179,90 149
3 856 560,940 520 -22 -87,62 -127
@@ -1,5 +1,5 @@
810 1282,804 1600
812 1282,970 1278
822 1438,940 1438
816 1602,974 1604
842 1230,938 1186
-68 -134,-74 184
-66 -134,92 -138
-56 22,62 22
-62 186,96 188
-36 -186,60 -230
1 810 1282 -68 -134 804 1600 -74 184
2 812 1282 -66 -134 970 1278 92 -138
3 822 1438 -56 22 940 1438 62 22
4 816 1602 -62 186 974 1604 96 188
5 842 1230 -36 -186 938 1186 60 -230
@@ -1,3 +1,3 @@
788 616,792 768,760 852,846 874,944 866,980 792,966 740,968 618
970 618,968 832
906 554,832 512
-90 -31,-86 121,-118 205,-32 227,66 219,102 145,88 93,90 -29
92 -29,90 185
28 -93,-46 -135
1 788 616,792 768,760 852,846 874,944 866,980 792,966 740,968 618 -90 -31,-86 121,-118 205,-32 227,66 219,102 145,88 93,90 -29
2 970 618,968 832 92 -29,90 185
3 906 554,832 512 28 -93,-46 -135
@@ -1,2 +1,2 @@
766 1282,770 1490,744 1568,774 1620,870 1644,966 1638,1002 1576,990 1502,998 1280
928 1230,834 1186
-112 -134,-108 74,-134 152,-104 204,-8 228,88 222,124 160,112 86,120 -136
50 -186,-44 -230
1 766 1282,770 1490,744 1568,774 1620,870 1644,966 1638,1002 1576,990 1502,998 1280 -112 -134,-108 74,-134 152,-104 204,-8 228,88 222,124 160,112 86,120 -136
2 928 1230,834 1186 50 -186,-44 -230
+6 -9
View File
@@ -44,9 +44,9 @@ func _process(_delta: float) -> void:
current_button = null
if is_instance_valid(current_button):
var ind: = current_segment.remove_point(current_button.global_position)
var ind: = current_segment.remove_point(current_button.global_position - lines.global_position)
current_button.global_position = get_global_mouse_position()
current_segment.add_point_at(current_button.global_position, ind)
current_segment.add_point_at(current_button.global_position - lines.global_position, ind)
func draw_segment(segment: SegmentBuild) -> void:
@@ -55,11 +55,8 @@ func draw_segment(segment: SegmentBuild) -> void:
var ind_seg: = segments_container.get_children().find(segment)
var line: Line2D = lines.get_child(ind_seg)
var relative_points: = []
for point in segment.points:
relative_points.append(point - line.global_position)
line.points = Bezier.bezier_sampling(relative_points, max(points_per_lines, relative_points.size()))
line.points = Bezier.bezier_sampling(segment.points, max(points_per_lines, segment.points.size()))
func draw_all_segments() -> void:
@@ -81,7 +78,7 @@ func match_segment_with_buttons() -> void:
button.point_up.connect(_on_button_point_up.bind(button))
button.minus_pressed.connect(_on_button_minus_pressed.bind(button))
buttons[i].global_position = points[i]
buttons[i].global_position = points[i] + lines.global_position
buttons[i].set_index(i + 1)
for i in range(buttons.size() - 1, points.size() - 1, -1):
@@ -99,7 +96,7 @@ func _on_button_point_up(_button: SegmentPointButton) -> void:
func _on_button_minus_pressed(button: SegmentPointButton) -> void:
if is_instance_valid(current_segment):
current_segment.remove_point(button.global_position)
current_segment.remove_point(button.global_position - lines.global_position)
buttons.erase(button)
button.queue_free()
@@ -107,7 +104,7 @@ func _on_button_minus_pressed(button: SegmentPointButton) -> void:
func _on_place_point_button_pressed() -> void:
if is_instance_valid(current_segment):
current_segment.add_point(get_global_mouse_position())
current_segment.add_point(get_global_mouse_position() - lines.global_position)
func _on_add_segment_button_pressed() -> void:
+2 -2
View File
@@ -36,8 +36,8 @@ func _next_letter() -> void:
Database.db.query("Select LowerTracingPath, UpperTracingPath FROM LettersTracingData WHERE Letter = '" + grapheme[current_letter] + "'")
if not Database.db.query_result.is_empty():
var lower_path: = grapheme[current_letter] + "_lower"
var upper_path: = grapheme[current_letter] + "_upper"
var lower_path: String = Database.db.query_result[0]["LowerTracingPath"]
var upper_path: String = Database.db.query_result[0]["UpperTracingPath"]
_load_segments(lower_container, lower_path)
_load_segments(upper_container, upper_path)
+7 -1
View File
@@ -43,13 +43,19 @@ theme_override_constants/margin_bottom = 20
[node name="HBoxContainer2" type="HBoxContainer" parent="VBoxContainer/PanelContainer/MarginContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="VBoxContainer/PanelContainer/MarginContainer/HBoxContainer2"]
[node name="Title" type="Label" parent="VBoxContainer/PanelContainer/MarginContainer/HBoxContainer2"]
layout_mode = 2
size_flags_horizontal = 3
theme_override_colors/font_color = Color(1, 1, 1, 1)
theme_override_font_sizes/font_size = 128
text = "Tracing Builder"
[node name="Help" type="Label" parent="VBoxContainer/PanelContainer/MarginContainer/HBoxContainer2"]
layout_mode = 2
text = "- Right click to add and move points
- Left click on a point to delete it
- Save to move to the next letter"
[node name="SaveButton" parent="VBoxContainer/PanelContainer/MarginContainer/HBoxContainer2" instance=ExtResource("1_kgjbj")]
layout_mode = 2