
Search articles:


IKEA's SKÅDIS is a pegboard with two diagonally overlaid grids of peg holes, with a 40cm spacing on each grid.
I have a SKÅDIS pegboard mounted in my workspace, and occasionally design and print new mounts for it. I've been working on standardising my process, so many of the following borrow from common library components, available in the SKÅDIS mount repository on Github.
SKÅDIS LEGO mount, which I used to make my
LEGO: Train board
SKÅDIS nailpolish mount
SKÅDIS pliers mount
SKÅDIS horizontal glasses mount
SKÅDIS vertical glasses mount
Inspired by the
Touchy Bugs automation, I added a
Makefile with multiple entry points. It can:
*.scad files in a directory, and for each:
*.stl (for printing) and
*.glb (for rendering).
MakefileBASE_NAME := ${basename ${FILE_NAME}}
all:
for FILE_NAME in *.scad; do \
$(MAKE) FILE_NAME=$FILE_NAME one ; \
done
one:
openscad -o $(BASE_NAME).stl ${FILE_NAME}
openscad -o ${BASE_NAME}.png ${FILE_NAME}
blender --background --python stl2glb.py -- ${BASE_NAME}
The script for Blender is straightforward. Just import a *.stl and
export as a *.glb
stl2glbimport bpy
import sys
import os
cwd = os.getcwd()
# Iterate through elements in the default scene (camera, cube, light) and delete them.
for obj in bpy.context.scene.objects:
if obj.type == 'MESH':
obj.select_set(True)
else:
obj.select_set(False)
bpy.ops.object.delete()
bpy.ops.import_mesh.stl(filepath=cwd + "/" + sys.argv[-1] + ".stl")
bpy.ops.export_scene.gltf(filepath=cwd + "/" + sys.argv[-1] + ".glb")
For more information, check out the SKÅDIS mount repository on Github.
Feedback? Questions? Email me