From c1e7ed86c2192e9371b30f18c75191f49e019883 Mon Sep 17 00:00:00 2001 From: cpu Date: Fri, 28 Nov 2025 17:16:23 +0100 Subject: [PATCH] Update README and script comments for clarity and consistency --- Readme.md | 8 ++++---- svg2stl.sh | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Readme.md b/Readme.md index 36fb351..f722384 100644 --- a/Readme.md +++ b/Readme.md @@ -72,7 +72,7 @@ The process involves exporting 2D layer images from your PCB design, converting Anycubic Photon Mono 4 * Photosensitive PCB. For consistent results, a pre-sensitized board like the **Bungard positive photoresist boards** is highly recommended due to its uniform coating. A good example is [Bungard 16x100 double sided](https://www.conrad.sk/sk/p/bungard-120306z33-zakladny-material-dvojstranna-35-m-foto-vrstva-pozitiv-d-x-s-160-mm-x-100-mm-1-ks-529176.html). Bungard PCB -* UV light curing Solder Mask e.g. from Mechanic. +* UV light curing Solder Mask e.g. from Mechanic. Use green as the solder mask and white for the silkscreen. Mechanic UV Solder Mask ### Installation @@ -201,9 +201,9 @@ wget https://gitea.virtonline.eu/2HoursProject/svg2stl/raw/branch/main/pcb_to_st chmod +x svg2stl.sh nano svg2stl.sh ``` -Set the resolution `EXPORT_DPI` of your 3D printer's screen and object width `TARGET_WIDTH_MM`. The height will adjust proportionaly. The thickness `THICKNESS_MM` of the model can be adjusted as well. +Make sure you set the exact width of your model in `TARGET_WIDTH_MM`. Take the width from the outset measurement shown in the KiCad. The height will adjust itself proportionaly. The thickness `THICKNESS_MM` of the model can be adjusted as well. Set the resolution of your 3D printer's screen in `EXPORT_DPI`. ```bash -# 1. Dimensions (Millimeters) +# Dimensions (Millimeters) # Set the desired width in mm (e.g. 55.15). # Leave as "0" to keep the original size from the SVG. TARGET_WIDTH_MM="45.08" @@ -211,7 +211,7 @@ TARGET_WIDTH_MM="45.08" # Thickness of the 3D model in mm THICKNESS_MM="0.1" -# 2. Inkscape Settings +# Print resolution # DPI based on the 3D printer resolution (e.g. 1494 for Anycubic Photon Mono 4) EXPORT_DPI=1494 ``` diff --git a/svg2stl.sh b/svg2stl.sh index 152f822..a819532 100755 --- a/svg2stl.sh +++ b/svg2stl.sh @@ -2,7 +2,7 @@ # --- CONFIGURATION --- -# 1. Dimensions (Millimeters) +# Dimensions (Millimeters) # Set the desired width in mm (e.g. 55.15). # Leave as "0" to keep the original size from the SVG. TARGET_WIDTH_MM="45.08" @@ -10,7 +10,7 @@ TARGET_WIDTH_MM="45.08" # Thickness of the 3D model in mm THICKNESS_MM="0.1" -# 2. Inkscape Settings +# Print resolution # DPI based on the 3D printer resolution (e.g. 1494 for Anycubic Photon Mono 4) EXPORT_DPI=1494