Natural Gaslighting is a renewable resource


Wait, I think I missed a space in there…

Good advice, Hillary!

“​…should not concede under any circumstances because I think this is going to drag out, and eventually I do believe he will win if we don’t give an inch, and if we are as focused and relentless as the other side is”

Oh, wait, you meant the other guy.

“For everything else, there’s MasterCard”

I Speak Gcode To My Dremel

#!/usr/bin/env bash
#
# Send a print job to a network-connected Dremel 3D45 printer.
# Or with no arguments, report its current status and
# remaining print time.
#
# dependencies: curl, jq

IPADDR="192.168.187.150"

COMMAND="$IPADDR/command"
UPLOAD="$IPADDR/print_file_uploads"

if [ -z "$1" ]; then
  # just report printer status and exit
  curl -s -d GETPRINTERSTATUS $COMMAND |
    jq -r '[.progress,.remaining,.status,.jobname]|@csv' | tr -d '"' |
    awk -F, '{
      s = $2;
      h = int(s/3600);
      s -= h * 3600;
      m = int(s/60);
      s -= m * 60;
      printf("%.1f%% %2d:%02d:%02d %-8s %s\n", $1, h, m, s, $3, $4)
    }'
  exit 0
fi

file="$1"
if [ ! -f "$file" ]; then
  echo "$0: file '$file' not found"
  exit 1
fi

status=$(curl -s -d GETPRINTERSTATUS $COMMAND | jq -r .status)
if [ "$status" != "ready" ]; then
  echo "Printer $IPADDR not ready, status '$status'"
  exit 1
fi
echo "Printer ready"

message=$(curl -s -F "print_file=@$file" $UPLOAD | jq -r .message)
if [ "$message" != "success" ]; then
  echo "Upload of $file failed, message '$message'"
  exit 1
fi
echo "$file uploaded"

message=$(curl -s -d "PRINT=$(basename $file)" $COMMAND | jq -r .message)
if [ "$message" != "success" ]; then
  echo "Unable to print $file, message '$message'"
  exit 1
fi
echo "$file printing"

exit 0

By the way, I printed a full-sized ABLE corner connector, just to have a model to work with for designing smaller connectors in OpenSCAD. It’s a really well-thought-out system, but the fundamental problem is that making his sample table would require five days of continuous printing and more than an entire spool of filament. Ugly metal connectors at Home Depot are faster, cheaper, sturdier, and paintable.

For the tinkertoy-takadai, I’ve decided to simplify and just use 3D-printed T connectors so I’ve got wood against wood, with the plastic keeping things aligned. I can actually just replace the pins on top of my monorail koma design with an open cube to form the T; I know this prints quickly and cheaply (although I’ll do these at 100% infill for strength).

While those are printing, I’m going to lay out the arms on the floor to set the width, calculate the minimum required height from that, and the rest of the numbers fall out of the design I did three years ago. If I’m ambitious on Saturday, I could have it ready for a test braid.

“We’re gonna need a Bigger Bird”


Comments via Isso

Markdown formatting and simple HTML accepted.

Sometimes you have to double-click to enter text in the form (interaction between Isso and Bootstrap?). Tab is more reliable.