Skip to content

Instantly share code, notes, and snippets.

@t-paul
t-paul / signal-tower.mp4
Last active July 31, 2022 18:08
Multi-Level Signal Tower for RGB-LED Rings
This file has been truncated, but you can view the full file.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@t-paul
t-paul / 00info.txt
Last active March 3, 2019 01:51
openscad
Image link:
![My Image](https://gist.github.com/t-paul/7171783#file-openscad-freetype-4-png)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
$fa = 2; $fs = 0.2;
r = 4;
w = 50;
h = 155;
cnt = 7;
steps = 8;
space = 12;
function weave(x) = [
@t-paul
t-paul / profile1.scad
Last active October 14, 2016 12:24
CAM profile animation
function d(a) = a % 360 < 180 ? 30 + 5 * sin(3 * a) : 30;
points = [ for (a = [0 : 359]) let(t = a + $t * 360) [
d(t) * -sin(a),
d(t) * cos(a)
] ];
polygon(points);
translate([-d($t * 360 + 90) - 10, 0]) {
color("blue") square([20, 1], center = true);
@t-paul
t-paul / cura-git.sh
Last active December 25, 2015 07:19
cura-scripts
#!/bin/bash
#
# The script will fetch the latest version from github,
# compile and install CuraEngine and start the GUI.
#
# Configuration:
#
# Installation folder where the Cura and support repositories
# are cloned/updated to.
#
// Enable animation, e.g. FPS = 20, Steps = 500
$fa = 1;
$fs = 1;
$vpd = 600; // fixed distance, comment to scale the viewport
size = 20;
// --- helper functions for animation ----------------------------------------
@t-paul
t-paul / math-surface.scad
Created January 29, 2015 21:58
Math Surface
size = 20;
step = 0.5;
function f0(x, y) = sin(sqrt(pow(x, 2) + pow(y, 2)) * 180 / PI) + 2;
function f1(x, y) = sqrt(pow(x, 2) + pow(y, 2) + 3);
function f(x, y) = 20 * f0(x, y) / f1(x, y) + 4;
// see https://github.com/openscad/scad-utils
function flatten(list) = [ for (i = list, v = i) v ];
@t-paul
t-paul / branches.md
Last active August 29, 2015 13:57
openscad-branches

text-module

  • Render 2D text shapes

translation1

  • GUI translation (locales: de, ru, cz on the way)

mdi+dockable-windows