logo

cursed 3D animation pipeline with OpenSCAD, ydotool, and screenshots

time7 mo agoview3 views

FOR THE RECORD! I did not take all the screenshots myself, ydotool is a tool that lets me write a script to press keys to automate changing the angle and taking a screenshot:

#!/bin/bash ydotool key alt+tab for i in {0..90}; do ydotool type "$i" ydotool key F6 sleep 2 ydotool key ctrl+shift+f11 sleep 0.5 ydotool key Enter sleep 0.5 ydotool key Backspace #if the number has 2 digits, backspace again if [ $i -ge 10 ]; then ydotool key Backspace fi done

Loading comments...