This file contains hidden or 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 = 32; | |
w = 0.5; | |
n = 4; | |
R = 2; | |
r = R / cos(180/n); | |
difference() { | |
// Chain hull of circles same width as filament at nozzle positions | |
for(i = [0 : n - 1]) |
This file contains hidden or 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
e=0.8338; | |
d=0.1111; | |
l=4; | |
polyhedron([ | |
[-e,l/4,-d], //0 | |
[0,l,0], //1 | |
[0,0,0], //2 | |
[e,l/2,-d], //3 | |
[2,0,0], //4 | |
[2,l,0], //5 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
module main(){ | |
difference(){ | |
cube([100,17,5],true); | |
for(i=[-2:2]) | |
translate([i*20,0,0]) | |
cube(6,true); | |
} | |
} | |
module mods(){ |
This file contains hidden or 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
//Set FPS=10 Steps=36 | |
angle=$t*360; | |
module wheel(r,a){ | |
rotate([0,0,angle+a]) | |
translate([r,0,0]) | |
rotate([0,90,0]) | |
cylinder(r=10,h=1,$fn=20); | |
} |
This file contains hidden or 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
nozzle_dia=0.4; | |
layer_height=0.3; | |
function pi() = 3.141592; | |
function width(d,h) = h-(pi()*((h*h)-(d*d)))/(4*h); | |
function arc(r,t) = 0.5*(t+sqrt((t*t)+4*(r*r))); | |
function polyhole(r,n,t) = arc(r,t)/cos(180/n); | |
function sides(d,t) = ceil(180 / acos((d-t)/d)); |
This file contains hidden or 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
module polyhole(h, d) { | |
n = max(round(2 * d),3); | |
rotate([0,0,180]) | |
cylinder(h = h, r = (d / 2) / cos (180 / n), $fn = n); | |
} | |
module main() { | |
difference() { | |
linear_extrude(5) { | |
hull(){ |
This file contains hidden or 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
union() { | |
translate([ 83.7, 77, -35]) cube(5); | |
polyhedron( points = [ | |
[153.898,59.513,-32.4658] , //0 | |
[148.845,69.513,-31.6884] , //1 | |
[148.845,74.513,-31.6884] , //2 | |
[163.961,59.513,-33.9819] , //3 | |
[162.25,59.513,-45.946] , //4 | |
[147.116,74.513,-43.7824] , //5 | |
[148.845,-74.513,-31.6884] , //6 |
This file contains hidden or 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
#include "glwrapper.h" | |
GLWrapper* GLWrapper::instance=NULL; | |
extern "C" { | |
GLvoid Q_DECL_EXPORT glClear(GLbitfield mask) | |
{ | |
GLWrapper::getInstance()->glClear(mask); | |
} |
This file contains hidden or 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
/************************************************* | |
* Superformula | |
* (c) 2014 Torsten Paul <[email protected]> | |
* License: CC-BY-SA 3.0 | |
* | |
* See http://en.wikipedia.org/wiki/Superformula | |
*/ | |
// Display configuration | |
gridx = 50; |