Skip to content

Cadhub OpenScad

BisecX = 5;
BisecY = 5;
BisecGap = 0.1;

//%rotate([90,0,0])
//polygon( points=[
//[0,0],[2,0],
//[2,1],
//[1,2],[1,4],
//[2,5],[2,6],
//[0,6]
//]);


//translate([0,0,0.3])
//scale([0.9,0.9,0.9])
////mirror([1,0,0])
//rotate([90,0,0])
//polygon( points=[
//[0,0],[2,0],
//[2,1],
//[1,2],[1,4],
//[2,5],[2,6],
//[0,6]
//]);

difference() {
//translate([5,5,0])
translate([0,0,0])
    rotate_extrude(angle = 360,$fn=200)
        polygon( points=[
            [0,0],[20,0],
            [20,10],
            [10,20],[10,40],
            [20,50],[20,60],
            [0,60]
            ]);

    union() {
        translate ([0,0,10]) {
            cylinder(50,6,7,$fn=200, false);
            }
        
        translate ([25,0,10])
        linear_extrude(40)
        square([50,BisecGap],true);
    }
}

https://githubmemory.com/repo/franknoirot/cadhub

https://cadhub.xyz/draft/openscad#

Published inUncategorized

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *