Reproducible experiments with 3D printers

Make it better, with data. And confidence. This repo is a collection of scripts and notes for running reproducible experiments with printers. You can run a single gcode action a whole bunch of times, conveniently, and record console outputs of interest from it. You can run one of multiple pre-defined tests, or add your own in Python. You can compare the before-and-after results from a test, with statistical confidence, to see if what you did… did anything at all. Conveniently, […]

Read more

Create 3d-printable STLs from satellite elevation data

Create 3d-printable STLs from satellite elevation data Installation Usage mapa uses numpy and numba under the hood to crunch large amounts of data in little time. 1. Using the dem2stl cli The dem2stl cli lets you create a 3d-printable STL file based on your tiff file. You can run a demo computation to get a feeling of how the output STL will look like: If you have your tiff file ready, you may run something like dem2stl –input your_file.tiff –output […]

Read more

Prints values and types during compilation

Compile-Time Printer Compile-Time Printer prints values and types at compile-time in C++. Teaser test.cpp compile-time-printer — make test.cpp #include template constexpr auto func(int i) { // Formatted output. ctp::printf(“Hello {}!n”, ctp::type{I}); // Standardized output. ctp::print(I + i, sizeof(I)); return true; } constexpr    

Read more