Ontwerp voor efficiente opslag electro koffertjes

This commit is contained in:
Ward Wouts 2014-11-23 21:05:59 +01:00
parent 0e51b2ba6e
commit fb89d5364d
11 changed files with 252 additions and 0 deletions

3
Koffertjes_opslag/partlist.sh Executable file
View file

@ -0,0 +1,3 @@
#!/bin/sh
openscad -o blup.dxf assembly.scad 2>&1|grep '####'|sort|awk 'BEGIN{count=0;prevline=""}{if(prevline == $0){count += 1} else {print(count, "x ", prevline);count=1;prevline=$0; }}END{print(count, "x ", prevline)}'