From 3c7df0e98983620a4f5475a4de80a919254eb96d Mon Sep 17 00:00:00 2001 From: Sergio Date: Fri, 28 Nov 2025 12:49:51 +0100 Subject: [PATCH] afegides formes per als numeros i simbols --- data/shapes/char_0.shp | 25 +++++++++++++++++++++++++ data/shapes/char_1.shp | 13 +++++++++++++ data/shapes/char_2.shp | 22 ++++++++++++++++++++++ data/shapes/char_3.shp | 22 ++++++++++++++++++++++ data/shapes/char_4.shp | 19 +++++++++++++++++++ data/shapes/char_5.shp | 22 ++++++++++++++++++++++ data/shapes/char_6.shp | 25 +++++++++++++++++++++++++ data/shapes/char_7.shp | 16 ++++++++++++++++ data/shapes/char_8.shp | 28 ++++++++++++++++++++++++++++ data/shapes/char_9.shp | 25 +++++++++++++++++++++++++ data/shapes/char_colon.shp | 12 ++++++++++++ data/shapes/char_comma.shp | 9 +++++++++ data/shapes/char_dot.shp | 9 +++++++++ data/shapes/char_minus.shp | 9 +++++++++ 14 files changed, 256 insertions(+) create mode 100644 data/shapes/char_0.shp create mode 100644 data/shapes/char_1.shp create mode 100644 data/shapes/char_2.shp create mode 100644 data/shapes/char_3.shp create mode 100644 data/shapes/char_4.shp create mode 100644 data/shapes/char_5.shp create mode 100644 data/shapes/char_6.shp create mode 100644 data/shapes/char_7.shp create mode 100644 data/shapes/char_8.shp create mode 100644 data/shapes/char_9.shp create mode 100644 data/shapes/char_colon.shp create mode 100644 data/shapes/char_comma.shp create mode 100644 data/shapes/char_dot.shp create mode 100644 data/shapes/char_minus.shp diff --git a/data/shapes/char_0.shp b/data/shapes/char_0.shp new file mode 100644 index 0000000..b954940 --- /dev/null +++ b/data/shapes/char_0.shp @@ -0,0 +1,25 @@ +# char_0.shp - Dígito 0 +# Display de 7 segmentos: a,b,c,e,f,g (sin d) +# Dimensiones: 10×20 (escalable) + +name: char_0 +scale: 1.0 +center: 5, 10 + +# Segmento a (horizontal superior) +line: 1,0 9,0 + +# Segmento b (vertical izquierda superior) +line: 0,1 0,9 + +# Segmento c (vertical derecha superior) +line: 10,1 10,9 + +# Segmento e (vertical izquierda inferior) +line: 0,11 0,19 + +# Segmento f (vertical derecha inferior) +line: 10,11 10,19 + +# Segmento g (horizontal inferior) +line: 1,20 9,20 diff --git a/data/shapes/char_1.shp b/data/shapes/char_1.shp new file mode 100644 index 0000000..b9a5847 --- /dev/null +++ b/data/shapes/char_1.shp @@ -0,0 +1,13 @@ +# char_1.shp - Dígito 1 +# Display de 7 segmentos: c,f +# Dimensiones: 10×20 (escalable) + +name: char_1 +scale: 1.0 +center: 5, 10 + +# Segmento c (vertical derecha superior) +line: 10,1 10,9 + +# Segmento f (vertical derecha inferior) +line: 10,11 10,19 diff --git a/data/shapes/char_2.shp b/data/shapes/char_2.shp new file mode 100644 index 0000000..2cc43cb --- /dev/null +++ b/data/shapes/char_2.shp @@ -0,0 +1,22 @@ +# char_2.shp - Dígito 2 +# Display de 7 segmentos: a,c,d,e,g +# Dimensiones: 10×20 (escalable) + +name: char_2 +scale: 1.0 +center: 5, 10 + +# Segmento a (horizontal superior) +line: 1,0 9,0 + +# Segmento c (vertical derecha superior) +line: 10,1 10,9 + +# Segmento d (horizontal medio) +line: 1,10 9,10 + +# Segmento e (vertical izquierda inferior) +line: 0,11 0,19 + +# Segmento g (horizontal inferior) +line: 1,20 9,20 diff --git a/data/shapes/char_3.shp b/data/shapes/char_3.shp new file mode 100644 index 0000000..7205699 --- /dev/null +++ b/data/shapes/char_3.shp @@ -0,0 +1,22 @@ +# char_3.shp - Dígito 3 +# Display de 7 segmentos: a,c,d,f,g +# Dimensiones: 10×20 (escalable) + +name: char_3 +scale: 1.0 +center: 5, 10 + +# Segmento a (horizontal superior) +line: 1,0 9,0 + +# Segmento c (vertical derecha superior) +line: 10,1 10,9 + +# Segmento d (horizontal medio) +line: 1,10 9,10 + +# Segmento f (vertical derecha inferior) +line: 10,11 10,19 + +# Segmento g (horizontal inferior) +line: 1,20 9,20 diff --git a/data/shapes/char_4.shp b/data/shapes/char_4.shp new file mode 100644 index 0000000..91fc6de --- /dev/null +++ b/data/shapes/char_4.shp @@ -0,0 +1,19 @@ +# char_4.shp - Dígito 4 +# Display de 7 segmentos: b,c,d,f +# Dimensiones: 10×20 (escalable) + +name: char_4 +scale: 1.0 +center: 5, 10 + +# Segmento b (vertical izquierda superior) +line: 0,1 0,9 + +# Segmento c (vertical derecha superior) +line: 10,1 10,9 + +# Segmento d (horizontal medio) +line: 1,10 9,10 + +# Segmento f (vertical derecha inferior) +line: 10,11 10,19 diff --git a/data/shapes/char_5.shp b/data/shapes/char_5.shp new file mode 100644 index 0000000..ee9083c --- /dev/null +++ b/data/shapes/char_5.shp @@ -0,0 +1,22 @@ +# char_5.shp - Dígito 5 +# Display de 7 segmentos: a,b,d,f,g +# Dimensiones: 10×20 (escalable) + +name: char_5 +scale: 1.0 +center: 5, 10 + +# Segmento a (horizontal superior) +line: 1,0 9,0 + +# Segmento b (vertical izquierda superior) +line: 0,1 0,9 + +# Segmento d (horizontal medio) +line: 1,10 9,10 + +# Segmento f (vertical derecha inferior) +line: 10,11 10,19 + +# Segmento g (horizontal inferior) +line: 1,20 9,20 diff --git a/data/shapes/char_6.shp b/data/shapes/char_6.shp new file mode 100644 index 0000000..2bf9154 --- /dev/null +++ b/data/shapes/char_6.shp @@ -0,0 +1,25 @@ +# char_6.shp - Dígito 6 +# Display de 7 segmentos: a,b,d,e,f,g +# Dimensiones: 10×20 (escalable) + +name: char_6 +scale: 1.0 +center: 5, 10 + +# Segmento a (horizontal superior) +line: 1,0 9,0 + +# Segmento b (vertical izquierda superior) +line: 0,1 0,9 + +# Segmento d (horizontal medio) +line: 1,10 9,10 + +# Segmento e (vertical izquierda inferior) +line: 0,11 0,19 + +# Segmento f (vertical derecha inferior) +line: 10,11 10,19 + +# Segmento g (horizontal inferior) +line: 1,20 9,20 diff --git a/data/shapes/char_7.shp b/data/shapes/char_7.shp new file mode 100644 index 0000000..6646b28 --- /dev/null +++ b/data/shapes/char_7.shp @@ -0,0 +1,16 @@ +# char_7.shp - Dígito 7 +# Display de 7 segmentos: a,c,f +# Dimensiones: 10×20 (escalable) + +name: char_7 +scale: 1.0 +center: 5, 10 + +# Segmento a (horizontal superior) +line: 1,0 9,0 + +# Segmento c (vertical derecha superior) +line: 10,1 10,9 + +# Segmento f (vertical derecha inferior) +line: 10,11 10,19 diff --git a/data/shapes/char_8.shp b/data/shapes/char_8.shp new file mode 100644 index 0000000..525f056 --- /dev/null +++ b/data/shapes/char_8.shp @@ -0,0 +1,28 @@ +# char_8.shp - Dígito 8 +# Display de 7 segmentos: a,b,c,d,e,f,g (todos) +# Dimensiones: 10×20 (escalable) + +name: char_8 +scale: 1.0 +center: 5, 10 + +# Segmento a (horizontal superior) +line: 1,0 9,0 + +# Segmento b (vertical izquierda superior) +line: 0,1 0,9 + +# Segmento c (vertical derecha superior) +line: 10,1 10,9 + +# Segmento d (horizontal medio) +line: 1,10 9,10 + +# Segmento e (vertical izquierda inferior) +line: 0,11 0,19 + +# Segmento f (vertical derecha inferior) +line: 10,11 10,19 + +# Segmento g (horizontal inferior) +line: 1,20 9,20 diff --git a/data/shapes/char_9.shp b/data/shapes/char_9.shp new file mode 100644 index 0000000..d7abe1a --- /dev/null +++ b/data/shapes/char_9.shp @@ -0,0 +1,25 @@ +# char_9.shp - Dígito 9 +# Display de 7 segmentos: a,b,c,d,f,g +# Dimensiones: 10×20 (escalable) + +name: char_9 +scale: 1.0 +center: 5, 10 + +# Segmento a (horizontal superior) +line: 1,0 9,0 + +# Segmento b (vertical izquierda superior) +line: 0,1 0,9 + +# Segmento c (vertical derecha superior) +line: 10,1 10,9 + +# Segmento d (horizontal medio) +line: 1,10 9,10 + +# Segmento f (vertical derecha inferior) +line: 10,11 10,19 + +# Segmento g (horizontal inferior) +line: 1,20 9,20 diff --git a/data/shapes/char_colon.shp b/data/shapes/char_colon.shp new file mode 100644 index 0000000..3130d8b --- /dev/null +++ b/data/shapes/char_colon.shp @@ -0,0 +1,12 @@ +# char_colon.shp - Símbolo : (dos puntos) +# Dimensiones: 10×20 (escalable) + +name: char_colon +scale: 1.0 +center: 5, 10 + +# Punto superior (Y=6) +line: 4,6 6,6 + +# Punto inferior (Y=14) +line: 4,14 6,14 diff --git a/data/shapes/char_comma.shp b/data/shapes/char_comma.shp new file mode 100644 index 0000000..2760384 --- /dev/null +++ b/data/shapes/char_comma.shp @@ -0,0 +1,9 @@ +# char_comma.shp - Símbolo , (coma) +# Dimensiones: 10×20 (escalable) + +name: char_comma +scale: 1.0 +center: 5, 10 + +# Coma en esquina inferior derecha (con cola hacia abajo) +polyline: 9,18 10,20 diff --git a/data/shapes/char_dot.shp b/data/shapes/char_dot.shp new file mode 100644 index 0000000..684314c --- /dev/null +++ b/data/shapes/char_dot.shp @@ -0,0 +1,9 @@ +# char_dot.shp - Símbolo . (punto) +# Dimensiones: 10×20 (escalable) + +name: char_dot +scale: 1.0 +center: 5, 10 + +# Punto en esquina inferior derecha +line: 9,19 10,20 diff --git a/data/shapes/char_minus.shp b/data/shapes/char_minus.shp new file mode 100644 index 0000000..be49ea0 --- /dev/null +++ b/data/shapes/char_minus.shp @@ -0,0 +1,9 @@ +# char_minus.shp - Símbolo - (menos/guión) +# Dimensiones: 10×20 (escalable) + +name: char_minus +scale: 1.0 +center: 5, 10 + +# Línea horizontal en el medio +line: 2,10 8,10