diff --git a/README.md b/README.md index aedb2ad..ae1d520 100644 --- a/README.md +++ b/README.md @@ -8,3 +8,211 @@ The models come with * a `.stl` file with the exported model, * a `.png` file with a preview, and sometimes * a `.3mf` file with a Bambu Lab printer profile. + +## brio-tracks + +![buffer-stops-v2.png](brio-tracks/buffer-stops-v2.png) + +Model files: + +* ascending_n_v1.scad +* ascending_n_v2.scad +* buffer-stops-v1.scad +* buffer-stops-v2.scad +* train_tracks_generator.scad + +## cube-with-round-hole + +![cube-with-round-hole.png](cube-with-round-hole/cube-with-round-hole.png) + +Model files: + +* cube-with-round-hole.scad + +## cube-with-square-hole + +![cube-with-square-hole.png](cube-with-square-hole/cube-with-square-hole.png) + +Model files: + +* cube-with-square-hole.scad + +## cutlery-organizer + +![cutlery-organizer-180x80x25.png](cutlery-organizer/cutlery-organizer-180x80x25.png) +![cutlery-organizer-240x80x40.png](cutlery-organizer/cutlery-organizer-240x80x40.png) +![cutlery-organizer-60x60x25.png](cutlery-organizer/cutlery-organizer-60x60x25.png) + +Model files: + +* cutlery-organizer.scad + +## duct-coupler + +![duct-coupler.png](duct-coupler/duct-coupler.png) + +Model files: + +* duct-coupler.scad + +## exhaust-vent-wall-plate + +![exhaust-vent-wall-plate.png](exhaust-vent-wall-plate/exhaust-vent-wall-plate.png) + +Model files: + +* exhaust-vent-wall-plate.scad + +## fenix-e35r-wall-clip + +![fenix-e35r-wall-clip-double.png](fenix-e35r-wall-clip/fenix-e35r-wall-clip-double.png) +![fenix-e35r-wall-clip-single.png](fenix-e35r-wall-clip/fenix-e35r-wall-clip-single.png) + +Model files: + +* fenix-e35r-wall-clip.scad + +## fluke-lead-holder-hsw + +![fluke-lead-holder-hsw.png](fluke-lead-holder-hsw/fluke-lead-holder-hsw.png) + +Model files: + +* fluke-lead-holder-hsw.scad + +## glow-in-the-dark + + +Model files: + + +## home-assistant-voice-wall-mount + +![home-assistant-voice-wall-mount.png](home-assistant-voice-wall-mount/home-assistant-voice-wall-mount.png) + +Model files: + +* home-assistant-voice-wall-mount.scad + +## korg-piano-volume-knob + +![korg-piano-volume-knob-bottom.png](korg-piano-volume-knob/korg-piano-volume-knob-bottom.png) +![korg-piano-volume-knob.png](korg-piano-volume-knob/korg-piano-volume-knob.png) + +Model files: + +* korg-piano-volume-knob.scad + +## lovevery-coin + +![lovevery-coin-one-sided.png](lovevery-coin/lovevery-coin-one-sided.png) +![lovevery-coin-raised.png](lovevery-coin/lovevery-coin-raised.png) +![lovevery-coin-stencil.png](lovevery-coin/lovevery-coin-stencil.png) + +Model files: + +* lovevery-coin-one-sided.scad +* lovevery-coin-raised.scad +* lovevery-coin-stencil.scad + +## m5-atom-echo-hsw-mount + +![m5-atom-echo-hsw-mount.png](m5-atom-echo-hsw-mount/m5-atom-echo-hsw-mount.png) + +Model files: + +* m5-atom-echo-hsw-mount.scad + +## magnet-mount + + +Model files: + +* magnet-mount.scad + +## map-wall-clamp + +![map-wall-clamp.png](map-wall-clamp/map-wall-clamp.png) + +Model files: + +* map-wall-clamp.scad + +## nvidia-server-gpu-fan-shroud + +![nvidia-a2-fan-shroud.png](nvidia-server-gpu-fan-shroud/nvidia-a2-fan-shroud.png) +![nvidia-t4-fan-shroud.png](nvidia-server-gpu-fan-shroud/nvidia-t4-fan-shroud.png) + +Model files: + +* nvidia-a2-fan-shroud.scad +* nvidia-t4-fan-shroud.scad + +## server-air-shield + +![server-air-shield-525bay.png](server-air-shield/server-air-shield-525bay.png) + +Model files: + +* server-air-shield.scad + +## simple-figurine + + +Model files: + +* simple-figurine.scad + +## simple-rounded-s-hook + +![simple-rounded-s-hook.png](simple-rounded-s-hook/simple-rounded-s-hook.png) + +Model files: + +* simple-rounded-s-hook.scad + +## slim-rpi-wall-holder + +![slim-rpi-wall-holder.png](slim-rpi-wall-holder/slim-rpi-wall-holder.png) +![slim-rpi-wall-holder-zero.png](slim-rpi-wall-holder/slim-rpi-wall-holder-zero.png) + +Model files: + +* slim-rpi-wall-holder.scad + +## spice-rack-organizer + + +Model files: + +* spice-rack-organizer.scad + +## spiral-cable-wrap + + +Model files: + +* spiral-cable-wrap.scad + +## thirdreality-zigbee-sensor-mount + +![thirdreality-zigbee-sensor-mount.png](thirdreality-zigbee-sensor-mount/thirdreality-zigbee-sensor-mount.png) + +Model files: + +* thirdreality-zigbee-sensor-mount.scad + +## toy-pylon + + +Model files: + +* toy-pylon.scad + +## tree-stand-floor-protector + +![tree-stand-floor-protector.png](tree-stand-floor-protector/tree-stand-floor-protector.png) + +Model files: + +* tree-stand-floor-protector.scad diff --git a/generate-readme.sh b/generate-readme.sh new file mode 100755 index 0000000..679527b --- /dev/null +++ b/generate-readme.sh @@ -0,0 +1,26 @@ +#!/bin/bash + +HEADER_FILE="readme-header.md" +README_FILE="README.md" + +# Create or truncate the README file +> $README_FILE + +# Add the header to the README file +cat $HEADER_FILE >> $README_FILE + +# Loop through each directory in the current working directory +for dir in */; do + # Extract and print the directory name without the trailing slash + echo -e "\n## ${dir%/}\n" >> $README_FILE + + # Loop through all PNG files in the directory and embed them in the README file + for png in "$dir"*.png; do + [ -f "$png" ] || break # Break if no more PNG files are found + echo "![${png##*/}](${png})" >> $README_FILE + done + + # Print a list of .scad files in the directory + echo -e "\nModel files:\n" >> $README_FILE + find "$dir" -type f -name '*.scad' | sed "s|$dir||g" | awk '{ print "* " $0 }' >> $README_FILE +done diff --git a/readme-header.md b/readme-header.md new file mode 100644 index 0000000..aedb2ad --- /dev/null +++ b/readme-header.md @@ -0,0 +1,10 @@ +# 3D Printer Models + +Various models that I developed for my 3D printer. + +The models come with + +* a `.scad` file with the OpenSCAD source code, +* a `.stl` file with the exported model, +* a `.png` file with a preview, and sometimes +* a `.3mf` file with a Bambu Lab printer profile.