Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
W
wall_lamp
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Franco (nextime) Lanza
wall_lamp
Commits
8bc019f4
Commit
8bc019f4
authored
Dec 20, 2016
by
nextime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initial import
parents
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
200 additions
and
0 deletions
+200
-0
wall-lamp-mount.scad
wall-lamp-mount.scad
+117
-0
wall-lamp_cover.scad
wall-lamp_cover.scad
+20
-0
wall-lamp_cover_cleanround.scad
wall-lamp_cover_cleanround.scad
+39
-0
wall-lamp_support.scad
wall-lamp_support.scad
+24
-0
No files found.
wall-lamp-mount.scad
0 → 100644
View file @
8bc019f4
module lamp() {
$fn=128;
union() {
difference() {
union(){
cylinder(r=75, h=15);
translate([0,0,10]) cylinder(r=80, h=5);
}
translate([-90,-100,-5])cube([180,100,30]);
translate([0,0,5]) cylinder(r=65, h=40);
translate([0,40,-5]) cylinder(r=25, h=20);
translate([40,10,-5]) cylinder(r=2, h=15);
translate([40,12,-5]) cylinder(r=2, h=15);
translate([-40,10,-5]) cylinder(r=2, h=15);
translate([-40,12,-5]) cylinder(r=2, h=15);
translate([0,0,7.5]) {
translate([0,80,0])
rotate([90,0,0])cylinder(r=1.6, h=30);
}
}
difference() {
union() {
translate([-25,5,0]) cube([50,6,40]);
translate([0,11,40])
rotate([90,0,0]) cylinder(r=25, h=6);
}
translate([0,25,40]) {
rotate([90,0,0]) {
//cylinder(r=30, h=120);
cylinder(r=20, h=40);
}
}
}
} // union
}
module lamp_spaceadd()
{
$fn=128;
translate([0,25,40]) {
rotate([90,0,0]) {
cylinder(r=30, h=100);
}
}
translate([0,0,7.5]) {
translate([0,130,0])
rotate([90,0,0])cylinder(r=1.6, h=60);
}
}
module lamp_space() {
union() {
lamp();
lamp_spaceadd();
}
}
module lamp_support() {
$fn=128;
difference(){
cylinder(r=85, h=16);
translate([-95,-100,-5])cube([190,100,30]);
translate([0,0,-1]) {
cylinder(r=75.5, h=25);
translate([0,0,10]) cylinder(r=80, h=6);
}
}
}
module lamp_nopinsupport() {
$fn=128;
difference(){
lamp_support();
translate([0,0,-1]) {
translate([0,0,7.5]) {
translate([0,90,0])
rotate([90,0,0])cylinder(r=1.6, h=50);
}
}
}
}
module lamp_pinsupport() {
$fn=128;
union() {
lamp_support();
translate([0,0,-1]) {
translate([0,0,7.65]) {
translate([0,84,0])
rotate([90,0,0])cylinder(r=1.3, h=14);
}
}
}
}
// solo lampada
// lamp();
// lampada e ingombri
//lamp_space();
// supporto
lamp_nopinsupport();
// supporto con pin
//lamp_pinsupport();
wall-lamp_cover.scad
0 → 100644
View file @
8bc019f4
use <wall-lamp-mount.scad>
// tests
//color("yellow")rotate([90, 0, 180]) lamp_space();
//translate([-100,0,-100]) cube([200,100,200]);
/*
difference() {
translate([-90,2,0]) cube([180,100,80]);
translate([2,0,0]) rotate([270,0,0]) cylinder(r=70, h=200);
rotate([90, 0, 180])lamp_space();
}
*/
lamp_nopinsupport();
\ No newline at end of file
wall-lamp_cover_cleanround.scad
0 → 100644
View file @
8bc019f4
//use <wall-lamp-mount.scad>
/*
union(){
lamp_nopinsupport();
translate([80,-20,0])cube([5,50,16]);
translate([-85,-20,0])cube([5,50,16]);
}
*/
$fn=256;
LAMPH=175;
LAMPS=1;
translate([0,0,0]) {
union() {
difference() {
cylinder(r=85+LAMPS, h=LAMPH);
translate([0,0,-1])
cylinder(r=85, h=LAMPH+2);
translate([-100,0,-1])
cube([200,200,LAMPH+2]);
}
difference(){
translate([85,0,0])cube([10,20,LAMPH]);
translate([106,0,-1])
cylinder(r=20, h=LAMPH+2);
}
difference(){
translate([-95,0,0])cube([10,20,LAMPH]);
translate([-106,0,-1])
cylinder(r=20, h=LAMPH+2);
}
}
}
wall-lamp_support.scad
0 → 100644
View file @
8bc019f4
use <wall-lamp-mount.scad>
// tests
//color("yellow")rotate([90, 0, 180]) lamp_space();
//translate([-100,0,-100]) cube([200,100,200]);
/*
difference() {
translate([-90,2,0]) cube([180,100,80]);
translate([2,0,0]) rotate([270,0,0]) cylinder(r=70, h=200);
rotate([90, 0, 180])lamp_space();
}
*/
union(){
lamp_nopinsupport();
translate([80,-20,0])cube([5,50,16]);
translate([-85,-20,0])cube([5,50,16]);
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment