Skip to content

Instantly share code, notes, and snippets.

@Neon22
Neon22 / Flat_Actuators.scad
Last active August 7, 2019 06:44
modified version of file
part = "both"; // [first:Mold Only,second:Stencil Only,both:Mold and Stencil]
/* [Parameters] */
// Load a 100x100 pixel image. (images will be automatically stretched to fit) Simple, high contrast images like logos work best.
Image = "soft_test.png"; // [image_surface:100x100]
//Length of the sides of the square actuator
Side_Length = 50; //[1:100]
//Thickness of the first layer of silicone (Having different thicknesses on the layer will create varying effects)
Layer_1_Height = 4; //[1:4]
//Thickness of the second layer of silicone (Having different thicknesses on the layer will create varying effects)
@Neon22
Neon22 / libavcodec.py
Last active February 13, 2019 19:05
pyglet - libavcodec for ffmpeg 4
# ----------------------------------------------------------------------------
# pyglet
# Copyright (c) 2006-2008 Alex Holkner
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# * Redistributions of source code must retain the above copyright
@Neon22
Neon22 / Name_Tag-01.scad
Created July 11, 2017 21:58
nametag in OpenSCAD
// fix indenting
Name = "First Name";
Name2 = "";
Length = 40;
Height = 2;
Width = 20;
Diameter = 15;
Diameter_Hole = 5;
Corner_Radius = 4;
Text_Height = 1;
@Neon22
Neon22 / libavutil.py
Last active June 11, 2018 09:55
pyglet - libavutil for ffmpeg 4
# ----------------------------------------------------------------------------
# pyglet
# Copyright (c) 2006-2008 Alex Holkner
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# * Redistributions of source code must retain the above copyright
@Neon22
Neon22 / libavformat.py
Last active June 11, 2018 09:54
pyglet - libavformat for ffmpeg 4
# ----------------------------------------------------------------------------
# pyglet
# Copyright (c) 2006-2008 Alex Holkner
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# * Redistributions of source code must retain the above copyright
@Neon22
Neon22 / ffmpeg.py
Last active June 11, 2018 09:53
pyglet - ffmpeg.py for ffmpeg 4
# ----------------------------------------------------------------------------
# pyglet
# Copyright (c) 2006-2008 Alex Holkner
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# * Redistributions of source code must retain the above copyright
@Neon22
Neon22 / libswresample.py
Created June 9, 2018 10:30
pyglet - libswresample for ffmpeg 4
# ----------------------------------------------------------------------------
# pyglet
# Copyright (c) 2006-2008 Alex Holkner
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# * Redistributions of source code must retain the above copyright
@Neon22
Neon22 / libavscale.py
Created June 9, 2018 10:29
pyglet - libavscale for ffmpeg 4
# ----------------------------------------------------------------------------
# pyglet
# Copyright (c) 2006-2008 Alex Holkner
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# * Redistributions of source code must retain the above copyright
@Neon22
Neon22 / Motor_Wire_Clamp.scad
Created June 5, 2017 05:19
using Delta to make neater differences in OpenSCAD
thickness = 2.4;
width = 10;
wire_size = 5.8;
spacing = 2;
hole_size = 3;
bracket_width= 8;
$fn = 45;
Delta = 0.1;
@Neon22
Neon22 / Wire_Clamp.scad
Created June 5, 2017 05:06
using Delta to make neater differences in OpenSCAD
thickness = 2.4;
width = 10;
wire_size = 6;
bracket_width = 8;
hole_size = 2.5;
//
Delta = 0.1;
difference(){