Création des premiers seed shurikens pour 8bsag

L’emporte-pièce

[kento_3dmv width= »500″ height= »400″ source= »http://leresteux.net/wp-content/uploads/hana.obj » ]

Effectué avec OpenSCAD

le code basé sur cookie cutter pris depuis thinkniverse

// General settings

filename = « dessin.dxf »;

cutter_height = 30;

cutter_thickness = 10;

cutter_lip = 5 + cutter_thickness;

hana_height = cutter_height/2;

linear_extrude(height = hana_height)

translate([580,-20,])

rotate([0,180,45])

scale(3)

import (file = « hana1_2.dxf »);

translate([170,160,0])

rotate([0,0,45])

cube([130,60,5]);

render() slim_cookie_cutter();

render() blocky_cookie_cutter();

module slim_cookie_cutter()

{

difference()

{

union()

{

// Cookie Cutter Lip

minkowski()

{

linear_extrude(height=0.001, center=false) render_exterior();

translate([0,0,cutter_thickness/2])

cube([cutter_lip,cutter_lip,cutter_thickness], center=true);

}

// Cookie Cutter Height

minkowski()

{

linear_extrude(height=0.001, center=false) render_cutout();

translate([0,0,cutter_height/2])

cube([cutter_thickness,cutter_thickness,cutter_height], center=true);

}

}

// Cut out the shape

translate([0,0,-1]) linear_extrude(height=cutter_height*2, center=false) render_cutout();

}

}

 

module blocky_cookie_cutter()

{

difference()

{

union()

{

// Cookie Cutter Lip

minkowski()

{

linear_extrude(height=0.001, center=false) render_exterior();

translate([0,0,cutter_thickness/2])

cube([cutter_lip,cutter_lip,cutter_thickness], center=true);

}

// Cookie Cutter Height

minkowski()

{

linear_extrude(height=0.001, center=false) render_cutout();

translate([0,0,cutter_height/2])

cube([cutter_thickness,cutter_thickness,cutter_height], center=true);

}

}

// Cut out the shape

translate([0,0,-1]) linear_extrude(height=cutter_height*2, center=false) render_cutout();

}

}

// Module for rendering DXF

module render_exterior(name = filename)

{ render() hull ()

import(file = name);

// Module for rendering DXF

module render_cutout(name = filename)

{ render() import(file = name); }