relevante Datei für 2D Library Erzeugung

This commit is contained in:
2025-07-08 12:42:47 +02:00
parent 4fe0ef4936
commit c6a8a4a63b
8 changed files with 275 additions and 294 deletions
+1 -1
View File
@@ -375,7 +375,7 @@ def optimize_svg(input_path, output_path):
elem.set('stroke', '#ffe31b')
elif stroke == '#000' or stroke == 'rgb(255,0,0)'or stroke == 'rgb(0,0,0)':
elem.set('stroke', '#ffe31b')
elem.set('stroke-width', '1')
elem.set('stroke-width', f'{1}px')
# Generate final XML
rough_string = ET.tostring(root, encoding='utf-8', xml_declaration=True)