From 1e826d924456f12a125e8b35d566aac4e58e8f97 Mon Sep 17 00:00:00 2001 From: Guillaume Piolat Date: Sat, 22 Mar 2025 12:34:13 +0100 Subject: [PATCH] Final voiture pattern, identical output on voiture rouge --- .../patterns/classic_complete_48x48.json | 73 ++++++++++++++----- 1 file changed, 56 insertions(+), 17 deletions(-) diff --git a/tools/decoupe-voiture/patterns/classic_complete_48x48.json b/tools/decoupe-voiture/patterns/classic_complete_48x48.json index 1c8b0a4..7e2b159 100644 --- a/tools/decoupe-voiture/patterns/classic_complete_48x48.json +++ b/tools/decoupe-voiture/patterns/classic_complete_48x48.json @@ -1,25 +1,64 @@ { - "input-size": "3984x2160", - "output-size": "3456x960", + "input-size": "3984x2160", + "output-size": "3456x960", - "default-size": "288x240", + "default-size": "288x240", - "copyRects": [ + "copyRects": [ - { "from": "32+240*0,224 -- (240-31) x 168", "to": "288*0-14,34 -- 288 x 240" }, - { "from": "32+240*1,224 -- (240-31) x 168", "to": "288*1-14,34 -- 288 x 240" }, - { "from": "32+240*2,224 -- (240-31) x 168", "to": "288*2-14,34 -- 288 x 240" }, - { "from": "32+240*3,224 -- (240-31) x 168", "to": "288*3-14,34 -- 288 x 240" }, - { "from": "32+240*4,224 -- (240-31) x 168", "to": "288*4-14,34 -- 288 x 240" }, - { "from": "32+240*5,224 -- (240-31) x 168", "to": "288*5-14,34 -- 288 x 240" }, + { "from": "32+240*0,224 -- (240-31) x 168", "to": "288*0-14,34 -- 288 x 240" }, + { "from": "32+240*1,224 -- (240-31) x 168", "to": "288*1-14,34 -- 288 x 240" }, + { "from": "32+240*2,224 -- (240-31) x 168", "to": "288*2-14,34 -- 288 x 240" }, + { "from": "32+240*3,224 -- (240-31) x 168", "to": "288*3-14,34 -- 288 x 240" }, + { "from": "32+240*4,224 -- (240-31) x 168", "to": "288*4-14,34 -- 288 x 240" }, + { "from": "32+240*5,224 -- (240-31) x 168", "to": "288*5-14,34 -- 288 x 240" }, + { "from": "2016+240*0,222 -- 214 x130", "to": "288*0+14,240+11 -- 288 x 240" }, + { "from": "2016+240*1,222 -- 214 x130", "to": "288*1+12,240+11 -- 288 x 240" }, + { "from": "2016+240*2,222 -- 214 x130", "to": "288*2+12,240+11 -- 288 x 240" }, + { "from": "2016+240*3,222 -- 214 x130", "to": "288*3+12,240+11 -- 288 x 240" }, + { "from": "2016+240*4,222 -- 214 x130", "to": "288*4+12,240+11 -- 288 x 240" }, + { "from": "2016+240*5,222 -- (214-25)x130", "to": "288*5+ 0,240+11 -- 288 x 240" }, - { "from": "2016+240*0,222 -- 214 x130", "to": "288*0+14,240+11 -- 288 x 240" }, - { "from": "2016+240*1,222 -- 214 x130", "to": "288*1+12,240+11 -- 288 x 240" }, - { "from": "2016+240*2,222 -- 214 x130", "to": "288*2+12,240+11 -- 288 x 240" }, - { "from": "2016+240*3,222 -- 214 x130", "to": "288*3+12,240+11 -- 288 x 240" }, - { "from": "2016+240*4,222 -- 214 x130", "to": "288*4+12,240+11 -- 288 x 240" }, - { "from": "2016+240*5,222 -- (214-25)x130", "to": "288*5+ 0,240+11 -- 288 x 240" }, + { "from": "1440+96*0,210 -- 96 x 201", "to": "288*6+288*0+2 ,240*0+14 -- 288 x 240" }, + { "from": "1440+96*1,210 -- 96 x 201", "to": "288*6+288*1+2 ,240*0+14 -- 288 x 240" }, + { "from": "1440+96*2,210 -- 96 x 201", "to": "288*6+288*2+2 ,240*0+11 -- 288 x 240" }, + { "from": "1440+96*3,210 -- 96 x 201", "to": "288*6+288*3+2 ,240*0+14 -- 288 x 240" }, + { "from": "1440+96*4,210 -- 96 x 201", "to": "288*6+288*4+2 ,240*0+14 -- 288 x 240" }, + { "from": "1440+96*5,210 -- 96 x 201", "to": "288*6+288*5+2 ,240*0+11 -- 288 x 240" }, - ] + { "from": "3408+96*0,231 -- 96 x 201", "to": "288*6+288*0 ,240*1-4 -- 288 x 240" }, + { "from": "3408+96*1,231 -- 96 x 201", "to": "288*6+288*1 ,240*1-4 -- 288 x 240" }, + { "from": "3408+96*2,231 -- 96 x 201", "to": "288*6+288*2 ,240*1-7 -- 288 x 240" }, + { "from": "3408+96*3,231 -- 96 x 201", "to": "288*6+288*3 ,240*1-4 -- 288 x 240" }, + { "from": "3408+96*4,231 -- 96 x 201", "to": "288*6+288*4 ,240*1-4 -- 288 x 240" }, + { "from": "3408+96*5,231 -- 96 x 201", "to": "288*6+288*5 ,240*1-7 -- 288 x 240" }, + + { "from": "0+192*0,453 -- 192 x 150", "to": "0+288*0-6,240*2+12 -- 288 x 240" }, + { "from": "0+192*1,453 -- 192 x 150", "to": "0+288*1-6,240*2+12 -- 288 x 240" }, + { "from": "0+192*2,453 -- 192 x 150", "to": "0+288*2-6,240*2+12 -- 288 x 240" }, + { "from": "0+192*3,453 -- 192 x 150", "to": "0+288*3-6,240*2+12 -- 288 x 240" }, + { "from": "0+192*4,453 -- 192 x 150", "to": "0+288*4-6,240*2+12 -- 288 x 240" }, + { "from": "0+192*5,453 -- 192 x 150", "to": "0+288*5-6,240*2+12 -- 288 x 240" }, + { "from": "0+192*6,453 -- 192 x 150", "to": "0+288*6-6,240*2+12 -- 288 x 240" }, + { "from": "0+192*7,453 -- 192 x 150", "to": "0+288*7-6,240*2+12 -- 288 x 240" }, + { "from": "0+192*8,453 -- 192 x 150", "to": "0+288*8-6,240*2+12 -- 288 x 240" }, + { "from": "0+192*9,453 -- 192 x 150", "to": "0+288*9-6,240*2+12 -- 288 x 240" }, + { "from": "0+192*0,453 -- 192 x 150", "to": "0+288*10-6,240*2+12 -- 288 x 240" }, + + { "from": "0+192*10,453 -- 192 x 150", "to": "0+288*0+2,240*3+12 -- 288 x 240" }, + { "from": "0+192*11,453 -- 192 x 150", "to": "0+288*1+2,240*3+12 -- 288 x 240" }, + { "from": "0+192*12,453 -- 192 x 150", "to": "0+288*2+2,240*3+12 -- 288 x 240" }, + { "from": "0+192*13,453 -- 192 x 150", "to": "0+288*3+2,240*3+12 -- 288 x 240" }, + { "from": "0+192*14,453 -- 192 x 150", "to": "0+288*4+2,240*3+12 -- 288 x 240" }, + { "from": "0+192*15,453 -- 192 x 150", "to": "0+288*5+2,240*3+12 -- 288 x 240" }, + { "from": "0+192*16,453 -- 192 x 150", "to": "0+288*6+2,240*3+12 -- 288 x 240" }, + { "from": "0+192*17,453 -- 192 x 150", "to": "0+288*7+2,240*3+12 -- 288 x 240" }, + { "from": "0+192*18,453 -- 192 x 150", "to": "0+288*8+2,240*3+12 -- 288 x 240" }, + { "from": "0+192*19,453 -- 192 x 150", "to": "0+288*9+2,240*3+12 -- 288 x 240" }, + { "from": "0+192*10,453 -- 192 x 150", "to": "0+288*10+2,240*3+12 -- 288 x 240" }, + + { "from": "192,18 -- 96x171", "to": "0+288*11,240*2+2 -- 288 x 240" }, + { "from": "480,18 -- 96x171", "to": "0+288*11,240*3+8 -- 288 x 240" }, + ] } \ No newline at end of file