Replace author tag with footer

This commit is contained in:
hasecilu 2024-09-08 21:20:18 -06:00
commit e3b25803a7
No known key found for this signature in database
GPG key ID: 87E51D5092D98C51
9 changed files with 10 additions and 10 deletions

View file

@ -1,6 +1,6 @@
--- ---
title: 3D MODELING title: 3D MODELING
author: MADE BY STEVEN MOHR & STEPH PIPER - MAKERQUEEN AU footer: MADE BY STEVEN MOHR & STEPH PIPER - MAKERQUEEN AU
row: row:
0: 0:
- Know how to check size in 3D software - Know how to check size in 3D software

View file

@ -1,6 +1,6 @@
--- ---
title: MODELADO 3D title: MODELADO 3D
author: HECHO POR STEVEN MOHR & STEPH PIPER - MAKERQUEEN AU, TRADUCIDO POR HASECILU footer: HECHO POR STEVEN MOHR & STEPH PIPER - MAKERQUEEN AU, TRADUCIDO POR HASECILU
row: row:
0: 0:
- Saber cómo comprobar el tamaño en el software 3D - Saber cómo comprobar el tamaño en el software 3D

View file

@ -1,6 +1,6 @@
--- ---
title: 3D PRINTING title: 3D PRINTING
author: MADE BY STEPH PIPER - MAKERQUEEN AU footer: MADE BY STEPH PIPER - MAKERQUEEN AU
row: row:
0: 0:
- Print something with multiple parts and assemble - Print something with multiple parts and assemble

View file

@ -1,6 +1,6 @@
--- ---
title: IMPRESIÓN 3D title: IMPRESIÓN 3D
author: HECHO POR STEPH PIPER - MAKERQUEEN AU, TRADUCIDO POR HASECILU footer: HECHO POR STEPH PIPER - MAKERQUEEN AU, TRADUCIDO POR HASECILU
row: row:
0: 0:
- Imprimir algo con varias partes y ensamblarlo - Imprimir algo con varias partes y ensamblarlo

View file

@ -1,6 +1,6 @@
--- ---
title: 3D PRINTING %amp; MODELLING title: 3D PRINTING %amp; MODELLING
author: MADE BY STEPH PIPER - MAKERQUEEN AU footer: MADE BY STEPH PIPER - MAKERQUEEN AU
row: row:
0: 0:
- Print something from Thingiverse - Print something from Thingiverse

View file

@ -1,6 +1,6 @@
--- ---
title: IMPRESIÓN 3D Y MODELADO title: IMPRESIÓN 3D Y MODELADO
author: HECHO POR STEPH PIPER - MAKERQUEEN AU, TRADUCIDO POR HASECILU footer: HECHO POR STEPH PIPER - MAKERQUEEN AU, TRADUCIDO POR HASECILU
row: row:
0: 0:
- Imprimir algo de Thingiverse - Imprimir algo de Thingiverse

View file

@ -39,9 +39,9 @@ def make_text_multiline(text: list, length1: int = 18, length2: int = 25) -> str
def process_svg(template, data): def process_svg(template, data):
# Replace title and author # Replace title and footer
processed = template.replace("{{ title }}", data["title"]) processed = template.replace("{{ title }}", data["title"])
processed = processed.replace("{{ author }}", data["author"]) processed = processed.replace("{{ footer }}", data["footer"])
displacement = (0, 9, 19, 29, 39, 49, 59, 69) displacement = (0, 9, 19, 29, 39, 49, 59, 69)
for i in range(10): for i in range(10):

View file

@ -1,6 +1,6 @@
--- ---
title: Some Interesting Title title: Some Interesting Title
author: John Doe footer: John Doe
row: row:
0: 0:
- 0a - 0a

View file

@ -658,7 +658,7 @@ text#credits {
<text class="cls-15" transform="translate(731.19 1146.12)" font-family="Uniform-Condensed6">CC BY-NC-SA 4.0</text> <text class="cls-15" transform="translate(731.19 1146.12)" font-family="Uniform-Condensed6">CC BY-NC-SA 4.0</text>
<text class="cls-16" transform="translate(9.88 1177)" font-family="Uniform-Condensed6">github.com/sjpiper145/MakerSkillTree</text> <text class="cls-16" transform="translate(9.88 1177)" font-family="Uniform-Condensed6">github.com/sjpiper145/MakerSkillTree</text>
<text id="credits" class="cls-8" y="0" x="0" font-family="Uniform-Condensed6" aria-expanded="false" style="font-size: 16px !important"> <text id="credits" class="cls-8" y="0" x="0" font-family="Uniform-Condensed6" aria-expanded="false" style="font-size: 16px !important">
<tspan y="1177.5" x="420.95" text-anchor="middle" xml:space="preserve">{{ author }}</tspan> <tspan y="1177.5" x="420.95" text-anchor="middle" xml:space="preserve">{{ footer }}</tspan>
</text> </text>
<g id="score" transform="translate(-1,0)"> <g id="score" transform="translate(-1,0)">
<path class="cls-22" d="M842.18,1067.05v53c-.3,0-.6,0-.91,0H754.49c-7,0-12.76-5.1-12.76-11.4v-30.23c0-6.3,5.71-11.4,12.76-11.4h86.78C841.58,1067,841.88,1067,842.18,1067.05Z"/> <path class="cls-22" d="M842.18,1067.05v53c-.3,0-.6,0-.91,0H754.49c-7,0-12.76-5.1-12.76-11.4v-30.23c0-6.3,5.71-11.4,12.76-11.4h86.78C841.58,1067,841.88,1067,842.18,1067.05Z"/>

Before

Width:  |  Height:  |  Size: 72 KiB

After

Width:  |  Height:  |  Size: 72 KiB

Before After
Before After