1. uniqx
  2. uniqxstuff

Commits

uniqx  committed 3c2bf0d

removed openscad folder

  • Participants
  • Parent commits 0336ee3
  • Branches default

Comments (0)

Files changed (12)

File .hgignore

View file
 
 ###
 
-algorithmic-oneline-music/.*.pyc$
-algorithmic-oneline-music/.*.pyo$
-algorithmic.oneline-music/.*.wav$
+^algorithmic-oneline-music/.*.pyc$
+^algorithmic-oneline-music/.*.pyo$
+^algorithmic.oneline-music/.*.wav$
 
-###
-
-openscad/faucet.stl
-openscad/faucet.gcode

File openscad/corner_screw_mount.scad

-
-// parameters
-
-screw_radius = 5;
-edge_radius = 4;
-
-hx = 30;
-hy = 30;
-hz = 30;
-
-
-// model
-
-translate( [-hx/2,-hy/2,0] ){
-  difference(){
-    minkowski(){
-      cube([hx-edge_radius,hy-edge_radius,hz-edge_radius]);
-      sphere(r=edge_radius);
-    }
-    #translate([hx/3,hy/3,-hz/2])
-      cylinder(h=hz*2,r=screw_radius);
-    #translate([-hx/2,2*hy/3,hz/3]) rotate(90,[0,1,0])
-      cylinder(h=hx*2,r=screw_radius);
-    #translate([2*hx/3,1.5*hy,2*hz/3]) rotate(90,[1,0,0])
-      cylinder(h=hy*2,r=screw_radius);
-  }
-}
-

File openscad/cube_cage/lazor_parts.scad

-
-// parameters
-
-height = 60; // length of the box in z direction
-width = 120; // length of the box in x direction
-depht = 80; // length of the box in y direction
-
-material_height = 5;
-screw_radius = 1.5;
-screw_height = 10;
-
-// position parts
-
-xy_plate(width,depht,material_height);
-#xz_plate(width,height,material_height);
-
-// shape definitions
-
-module xz_plate(width,height,material_height){
-
-  difference(){
-
-    union(){
-      square([width+2*material_height,height],center=true);
-      square([width/2,height+2*material_height],center=true);
-    }
-
-    translate([3*width/8,-height/2,0])
-      screw_socket(screw_radius,screw_height,material_height);
-    translate([-3*width/8,-height/2,0])
-      screw_socket(screw_radius,screw_height,material_height);
-
-    rotate([0,0,180]) translate([3*width/8,-height/2,0])
-      screw_socket(screw_radius,screw_height,material_height);
-    rotate([0,0,180]) translate([-3*width/8,-height/2,0])
-      screw_socket(screw_radius,screw_height,material_height);
-
-  }
-
-}
-
-module xy_plate(width,height,materiel_height){
-
-  difference(){
-    minkowski(){
-      square([width,height],center=true);
-      circle(r=material_height);
-    }
-
-    translate([width/2+material_height,0,0])
-      square([material_height*2,height/2],center=true);
-    translate([-width/2-material_height,0,0])
-      square([material_height*2,height/2],center=true);
-
-    translate([0,height/2+material_height,0])
-      square([width/2,material_height*2],center=true);
-    translate([0,-height/2-material_height,0])
-      square([width/2,material_height*2],center=true);
-
-
-    translate([3*width/8,height/2+material_height/2,0])
-      circle(r=screw_radius,$fn=25);
-    translate([-3*width/8,height/2+material_height/2,0])
-      circle(r=screw_radius,$fn=25);
-
-    translate([3*width/8,-height/2-material_height/2,0])
-      circle(r=screw_radius,$fn=25);
-    translate([-3*width/8,-height/2-material_height/2,0])
-      circle(r=screw_radius,$fn=25);
-
-  }
-
-}
-
-
-module screw_socket(screw_radius,screw_height,material_height){
-
-  union(){
-    translate([-screw_radius,0,0])
-      square([screw_radius*2,screw_height+screw_radius]);
-    translate([-2*screw_radius,screw_height-2*screw_radius,0])
-      square([screw_radius*4,screw_radius*2]);
-  }
-
-}
-
-
-
-

File openscad/cube_cage2/lazzor_parts.scad

-
-
-// parameters
-
-
-height = 90;
-width  = 100;
-depth  = 160;
-
-material_height = 5;
-screw_radius = 1.5;
-
-usb_height = 12;
-usb_width = 13;
-usb_x = 1.5;
-usb_y = 32;
-
-// arrangement
-
-
-translate([ (3*width/2) + material_height*4,0,0])
-  base_plate(width,depth,material_height,screw_radius);
-translate([ (width/2) + material_height,0,0])
-  base_plate(width,depth,material_height,screw_radius);
-
-rotate([0,0,90]) translate([ 0,height*1.6,0 ])
-  side_plate(depth,height,material_height);
-rotate([0,0,90]) translate([ 0,height*0.55,0 ])
-  side_plate(depth,height,material_height);
-
-translate( [2.85*width,height*0.55-material_height*2,0] ) rotate([0,0,90])
-  front_plate(height,width,material_height);
-translate( [2.85*width,-height*0.55-material_height,0] ) rotate([0,0,90])
-  back_plate(height,width,material_height,usb_height,usb_width,usb_x,usb_y);
-
-
-// shapes
-
-module back_plate(h,w,m,uh,uw,ux,uy){
-
-  difference(){
-
-    front_plate(h,w,m);
-
-    translate([h/2-5*m/2-uh/2-ux,w/2-uw/2-uy,0])
-      square([uh,uw],center=true);
-  }
-}
-
-module front_plate(h,w,m){
-
-  difference(){
-
-    union(){
-
-      square([h,w],center=true);
-
-      for(a=[-1,1])
-        for(b=[-1,1])
-          for( i=[0:m*2:(4-1)*m] )
-            translate([-a*i+a*h/2-a*m/2,b*w/2+b*m/2])
-              square([m,m],center=true);
-
-    }
-
-  for(i=[-1,1])
-    translate([h/2-5*m/2,i*w/2,0])
-      square([m,2*m],center=true);
-
-  }
-
-}
-
-module side_plate(h,w,m){
-
-  difference(){
-
-    square([h+2*m,w],center=true);
-
-    //translate([h/2+m/2,w/2-m/2,0])
-    //  square([m,m],center=true);
-
-    for(a=[-1,1])
-      for(b=[-1,1])
-        for( i=[m:m*2:4*m] )
-          translate([b*h/2+b*m/2,a*w/2-a*i+a*m/2,0])
-            square([m,m],center=true);
-
-    for(i=[-1,1])
-      translate([i*h/2-m/2*i,-w/2+m*5/2,0])
-        square([m,m],center=true);
-
-  }
-
-}
-
-module base_plate(h,w,m,sr){
-
-  difference(){
-
-    square([h+m*2,w+m*2],center=true);
-
-    for( a = [-1,1] )
-      for( b = [-1,1] )
-        translate([a*(h+m)/2,b*(w+m)/2]) circle(r=sr,$fn=100);
-
-  }
-
-}

File openscad/cube_cage2/mount.scad

-
-// parameter
-
-material_height = 5;
-
-electronics_height = 2.1;
-
-// place parts
-
-translate([0,0,material_height]) rotate([90,0,0])
-  mount(material_height,electronics_height);
-
-
-// shape definitions
-
-module mount(mh,eh){
-
-  difference(){
-
-    union(){
-
-      translate([0,0,-mh])
-        intersection(){
-          cylinder(r=mh,h=2*mh,$fn=300);
-          cube(mh*[1,1,2]);
-        }
-
-      translate(mh*[-1,0,-0.5])
-        cube(mh*[1,1,1]);
-      translate(mh*[-1,-1,-0.5])
-        cube(mh*[1,1,1]);
-      translate(mh*[0,-1,-0.5])
-        cube(mh*[1,1,1]);
-
-    }
-
-    translate([0,0,-eh/2])
-      cube([2*mh,2*mh,eh]);
-
-  }
-}

File openscad/faucet.scad

-/////////////////////////////////////////////////////////////////////////
-//                                                                     //
-//          DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE                //
-//                  Version 2, December 2004                           //
-//                                                                     //
-// Copyright (C) 2011 Clifford, uniqx                                  //
-//  Metalab, 1010 Vienna, Austria                                      //
-// Everyone is permitted to copy and distribute verbatim or modified   //
-// copies of this license document, and changing it is allowed as long //
-// as the name is changed.                                             //
-//                                                                     //
-//            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE              //
-//   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION   //
-//                                                                     //
-//  0. You just DO WHAT THE FUCK YOU WANT TO.                          //
-//                                                                     //
-/////////////////////////////////////////////////////////////////////////
-
-sides = 8;
-
-radius_front = 25;
-radius_rear = 20;
-recess_radius = 13;
-cog_socket_radius = 8/2;
-
-roundings = 5;
-
-cog_count = 20;
-cog_height = 2/4; 
-cog_width = 1/4;
-
-height = 50;
-recess_height = 18;
-cog_socket_height = 40;
-
-union(){
-
-  
-  for(i = [1:cog_count] ){
-
-    translate([0,0,height-cog_socket_height])
-    rotate([0,0,i*360/cog_count])
-    //cube([cog_socket_height-recess_height,cog_height,cog_width]);
-    translate([0,cog_socket_radius-cog_height])
-    linear_extrude(height=cog_socket_height-recess_height)
-    polygon(points=[[-cog_width/2,cog_height],[cog_width/2,cog_height],[0,0]], paths=[[0,1,2]]);
-
-  }
-
-  difference() {
-
-    translate([0,0,roundings]){
-      minkowski(){
-
-        cylinder(
-          r1 = radius_front - roundings,
-          r2 = radius_rear - roundings,
-          h = height - (2*roundings),
-          $fn = sides
-        );
-
-        sphere(r=roundings);
-
-      }
-    }
-
-    translate([0, 0, height - cog_socket_height])
-      cylinder(r = cog_socket_radius, h = height, $fn=50);
-    translate([0, 0, height - recess_height])
-      cylinder(r = recess_radius, h = height);
-  }
-}

File openscad/minkowski/mink.scad

-import_dxf(file="minkowski_extruded.svg.dxf",origin=[6.5,0]);

File openscad/minkowski/minkowski.svg

Removed
Old image

File openscad/minkowski/minkowski.svg.dxf

Removed
Old image

File openscad/minkowski/minkowski_extruded.svg

Removed
Old image