Re: salut tous, September 09, 2014 11:28AM |
Registered: 11 years ago Posts: 239 |
Re: salut tous, September 22, 2014 02:41PM |
Registered: 12 years ago Posts: 780 |
Re: salut tous, September 22, 2014 03:10PM |
Registered: 11 years ago Posts: 239 |
width=114; depth=40; height=50; termHeight=10; termDepth=18; metalThickness=2; screwThick=3; wall=2; gras=2; //By Strofe plugWidth=46.96; plugHeight=23.85; plugOffset=9; rotate([90,0,0]) difference(){ union(){ //shell with side indents translate([0,(depth-termDepth)/2-depth/2,0]) cube([width,depth-termDepth,height], center=true); cube([width-metalThickness*2,depth,height], center=true); } translate([0,wall,0-gras]) cube([width-wall*2-metalThickness*2,depth,height-wall*(2-gras)], center=true); //hollow out translate([0,(depth-termDepth+gras)/2,(termHeight-height)/2-gras]) cube([width,termDepth+gras,termHeight], center=true); //terminal block cut out translate([-width/12,-depth/2,2]) rotate([90,0,0]) square([12,21], center=true); //cable hole31; translate([0,depth/2-termDepth/2,termHeight/2]) cube([width+10,termDepth,screwThick], center=true);//screw slot translate([width/4,-depth/2+wall/2+1,height/2-plugHeight/2-wall-plugOffset]){ cube([plugWidth,3*wall,plugHeight], center=true); //plug hole cube([plugWidth+2,wall,plugHeight], center=true); //plug hole } }
Re: salut tous, September 22, 2014 10:50PM |
Registered: 11 years ago Posts: 730 |
Re: salut tous, September 23, 2014 02:19PM |
Registered: 12 years ago Posts: 780 |
Re: salut tous, September 24, 2014 11:45AM |
Registered: 12 years ago Posts: 780 |
Re: salut tous, September 24, 2014 03:59PM |
Registered: 11 years ago Posts: 239 |
width=114; depth=40; height=50; termHeight=10; termDepth=18; metalThickness=2; screwThick=3; wall=2; gras=2; //By Strofe plugWidth=46.96; plugHeight=23.85; plugOffset=9; rotate([90,0,0]) difference(){ union(){ //shell with side indents translate([0,(depth-termDepth)/2-depth/2,0]) cube([width,depth-termDepth,height], center=true); cube([width-metalThickness*2,depth,height], center=true); } translate([0,wall,0-gras]) cube([width-wall*2-metalThickness*2,depth,height-wall*(2-gras)], center=true); //hollow out translate([0,(depth-termDepth+gras)/2,(termHeight-height)/2-gras]) cube([width,termDepth+gras,termHeight], center=true); //terminal block cut out translate([-width/12,-depth/2,2]) rotate([90,0,0]) //square([12,21], center=true); //cable hole31; //Strofe cube ([12,21,5], center=true); //Strofe translate([0,depth/2-termDepth/2,termHeight/2]) cube([width+10,termDepth,screwThick], center=true);//screw slot translate([width/4,-depth/2+wall/2+1,height/2-plugHeight/2-wall-plugOffset]){ cube([plugWidth,3*wall,plugHeight], center=true); //plug hole cube([plugWidth+2,wall,plugHeight], center=true); //plug hole } }
Re: salut tous, September 25, 2014 04:07AM |
Registered: 12 years ago Posts: 780 |
Re: salut tous, September 25, 2014 04:18AM |
Registered: 11 years ago Posts: 239 |
Re: salut tous, September 27, 2014 02:21PM |
Registered: 11 years ago Posts: 730 |
Quote
kourou
en regardant le fichier dans freecad je ne vois pas comment ajouter mon rectangle 21x13MM
Re: salut tous, September 28, 2014 07:28AM |
Registered: 12 years ago Posts: 780 |