Skip to content

Instantly share code, notes, and snippets.

@Neon22
Neon22 / Customizable_Handle.scad
Created August 23, 2015 09:19
Customizable handle formatted for Customizer
// Customizable Parametric Handle with Grip and Guard
// Original design by Makercubed.com
// Modifications and Thingiverse customizer formatting by George W. Poulos
// further mods for shape of handle Neon22
use <utils/build_plate.scad>
/* Customizer */
//preview[view:south east,tilt:top diagonal]
@Neon22
Neon22 / chain.scad
Created August 31, 2015 02:19
Updated chain.scad - cleanup,Customizer
/**************
Chain generator
(http://www.thingiverse.com/thing:28405)
Author: Stefan Langemark
Generates open or closed chains with configurable
dimensions. Print without support.
Open chains (two ends):
@Neon22
Neon22 / mobius3a.scad
Created September 5, 2015 07:09
indexed hulls and moebius in OpenSCAD
//This generates a bunch of rods that make a twisted strip
//Resolution of Strip.
number_of_rods = 30;//[20:500]
//Thickness of the wall.
thickness = 4;//[2:0.2:10]
//Height of wall.
length = 100;//[20:200]
@Neon22
Neon22 / paths2openscad.inx
Last active September 8, 2015 04:06
Updated to work with non-closed loops
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Paths to OpenSCAD</_name>
<id>command.extrude.openscad</id>
<dependency type="extension">org.inkscape.output.svg.inkscape</dependency>
<dependency type="executable" location="extensions">paths2openscad.py</dependency>
<dependency type="executable" location="extensions">inkex.py</dependency>
<dependency type="executable" location="extensions">simpletransform.py</dependency>
<dependency type="executable" location="extensions">cubicsuperpath.py</dependency>
<dependency type="executable" location="extensions">cspsubdiv.py</dependency>
@Neon22
Neon22 / ship-not-even-wron.scad
Created April 19, 2016 11:08
random spaceship generator for openSCAD
//
// OpenSCAD version of the openCscad tool here:
// - https://github.com/smcameron/opencscad
// User editable parameters
// None yet
//---------------------------------
// Random seed control is critical.
// The seed defines all the variation. Using the same seed will give the same ship.
//=====================================
// This is public Domain Code
// Contributed by: William A Adams
//http://www.thingiverse.com/thing:8464
//=====================================
include <bezier.scad>
joinfactor = 0.125;
@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(){
@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 / 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 / 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