Update README and script comments for clarity and consistency

This commit is contained in:
cpu
2025-11-28 17:16:23 +01:00
parent 18793a8a27
commit c1e7ed86c2
2 changed files with 6 additions and 6 deletions

View File

@@ -72,7 +72,7 @@ The process involves exporting 2D layer images from your PCB design, converting
<img src="images/Anycubic_Photon_Mono4.png" alt="Anycubic Photon Mono 4" width="400"/>
* 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).
<img src="images/Bungard_PCB.png" alt="Bungard PCB" width="400"/>
* 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.
<img src="images/Mechanic_UV_Solder_Mask.png" alt="Mechanic UV Solder Mask" width="400"/>
### 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
```

View File

@@ -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