When I was a kid, playing with a box of old toys belonging to my dad, I did found just a couple of Mobaco pieces. I never knew what to do with this, until finding the nice Mobaco retro construction game from luisman a couple of months back. There is even a very informative website about this construction toy and I especially like the simplicity of the instructions coming along.
Although luisman re-created a lot of stl files (which is an amazing job!) I prefer to laser cut all the plates and only print the pillars.
So I was looking for a way to automatically convert all those nice Mobaco stl's to dxf files, ended up by writing 2 simple macro's:
- batch file in windows, finding all stl files
- openscad script for converting to dxf
Although this is not rocket science, just like to share this very simple trick to do the job.
(OpenSCAD is able to work with more file types.)
@echo start conversion script
FOR %%f in (*.stl) DO openscad.exe -o "%%~nf.dxf" -D "mySTL=\"%%f\"" -D "height=-1.2" convert.scad
@echo ended conversion script
mySTL="no-file.dxf"; // variables must be initalized
projection( cut = true )
translate( v = [ 0, 0, height ] )
import( mySTL );
Just to mention, since OpenSCAD version seems to be important sometimes, I'm using: OpenSCAD 2018.04.06.
The part number used, are the same like listed here.
Here you only find the plates, pillars could be downloaded from luisman.
The sizes of the STL & DXF are not exactly the same, like the website is reporting:
Part #11 Solid wall panel, red:
- according website: 2" wide x 4" tall.
- measuring STL & DXF: 49.5 x 100.8 mm, which is slightly smaller.
This seems also the case for some other parts.
When using the parts (virtually) there seems to be 1.5 mm gab, while the tiles still fit nicely in the columns.
Plate thickness seems to be: 1.5 mm.
And gab in the pillars: 3.0 mm, so plenty of play.