Skip to content

Instantly share code, notes, and snippets.

View tinkerology's full-sized avatar

Scott Leslie tinkerology

View GitHub Profile
@tinkerology
tinkerology / HullSweep.scad
Created February 17, 2019 17:10
OpenSCAD module to sweep a shape with XYZ offset and rotation
$fn=30;
function calcScale(scaleFactors, count, iteration) =
scaleFactors[0] +
(( scaleFactors[1]-scaleFactors[0]))*iteration/count;
module hullSweep(steps, rotation, offsetTo, scaleFactors)
{
for ( i= [0:steps-2] )
@tinkerology
tinkerology / HullBetweenIssue.scad
Created June 6, 2016 04:39
Issue with not pre-rendering difference
DETAIL=120;
module hullBetween()
{
// Combine the hull between and the original objects
difference()
{
hull()
{
@tinkerology
tinkerology / index.html
Created April 13, 2015 04:48
JS Bin Background Generator V1.2 // source http://jsbin.com/jufoxi
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-2.1.1.min.js"></script>
<meta name="description" content="Background Generator V1.2">
<meta charset="utf-8">
<title>JS Bin</title>
<style id="jsbin-css">
a.export, a.export:visited {
text-decoration: none;