This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$fn=40; | |
module drawStar(sides, radius) | |
{ | |
for ( i = [ 0 : sides-1] ) | |
{ | |
hull() | |
{ | |
circle(radius/4); |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Expansion set for PrinkABlok | |
// by Scott Leslie (@tinkerology) | |
// Sample STLs can be found at: | |
// | |
// | |
// PrintABlok by Joe Larson | |
// Based on : https://www.thingiverse.com/thing:4171518 | |
// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$fn=60; | |
// Answer from: https://stackoverflow.com/users/1320888/cutetare | |
// https://stackoverflow.com/questions/33146741/way-to-round-edges-of-objects-openscad/33289349#33289349 | |
module roundedcube(xx, yy, height, radius) { | |
difference(){ | |
cube([xx,yy,height]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MODEL_COUNT=1; | |
function countFunc(count,numbers) = | |
(count > 0 ? count : len(numbers)); | |
function lableFunc(i, numbers) = | |
( len(numbers) > i ? numbers[i] : str(i) ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$fn=15; | |
MM_PER_INCH=25.4; | |
function calcScale(scaleFactors, count, iteration) = | |
scaleFactors[0] + | |
(( scaleFactors[1]-scaleFactors[0]))*iteration/count; | |
// General routine to make organic shapes by rotating, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$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] ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DETAIL=120; | |
module hullBetween() | |
{ | |
// Combine the hull between and the original objects | |
difference() | |
{ | |
hull() | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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; |