Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
CyanLight
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
fxk8y
CyanLight
Commits
47866365
Commit
47866365
authored
3 years ago
by
fxk8y
Browse files
Options
Downloads
Patches
Plain Diff
Really abandoning the clip but needs a little more fine tuning to be printable
parent
ad502cc6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pcb/10W/TransportProtection.scad
+72
-15
72 additions, 15 deletions
pcb/10W/TransportProtection.scad
with
72 additions
and
15 deletions
pcb/10W/TransportProtection.scad
+
72
−
15
View file @
47866365
...
...
@@ -60,18 +60,6 @@ module body(wi, hi, ri, height=pcb_t, off=pcb_off, _str=box_str) {
}
module outerRing(w=pcb_w, h=pcb_h, r=pcb_r, off=pcb_off, _str=box_str) {
s2 = _str/2;
difference() {
pcb3D(w, h, r, off=off);
pcb3D(w-s2, h-s2, r, off=off);
}
}
translate([0, 0, 10]) outerRing();
module PCBMockUp(w=pcb_w, h=pcb_h, r=pcb_r, off_xy=pcb_sc_off) {
w2 = w / 2;
...
...
@@ -85,6 +73,11 @@ module PCBMockUp(w=pcb_w, h=pcb_h, r=pcb_r, off_xy=pcb_sc_off) {
}
// WARNIN: The clip is in an abandoned state at the time.
// Code will stay here only for reference for future projects
// reason: I don't really see my printer doing this itty-gritty kinda stuff
// TODO: is "rastnase" really "clip" in english???
// The female form of the clip connection
...
...
@@ -104,14 +97,78 @@ module clipReceptacle(w=10, h=3, d=2) {
]);
}
// clipReceptacle();
body(pcb_w, pcb_h, pcb_r);
module minkowskiDemonstration() {
translate([-100, 0, 0]) {
color([10 /255, 230 /255, 20 /255]) {
cube([50, 20, 10]);
cylinder(d1=0, d2=10, h=5);
}
translate([0, 0, 15]) minkowski() {
cube([50, 20, 10]);
cylinder(d1=0, d2=10, h=5);
}
}
}
module outerRing(w=pcb_w, h=pcb_h, r=pcb_r, off=pcb_off, _str=box_str) {
s2 = _str/2;
difference() {
pcb3D(w, h, r, off=off);
pcb3D(w-s2, h-s2, r, off=off);
}
}
module outerRingTop(w, h, r, off, _str) {
minkowski() {
outerRing(w, h, r, off, _str);
cylinder(d1=0, d2=3, h=3, $fs=1.0, $fa=0.7);
}
}
module TransportProtection(w=pcb_w, h=pcb_h, r=pcb_r, height=pcb_t, off=pcb_off, _str=box_str) {
_h = height + 2;
difference() {
body(w, h, r, _h, off, _str);
translate([0, 0, _h-2]) outerRingTop(w, h, r, off, _str);
translate([0, 0, 3]) rotate([0, 180, 0]) outerRingTop(w, h, r, _str+1, _str);
}
translate([0, 0,box_str]) PCBMockUp();
}
/*translate([0, 0, 10]) minkowski() {
outerRing();
cylinder(d1=0, d2=3, h=3, $fs=1.0, $fa=0.5);
}*/
if ($preview) {
// translate([0, 0,box_str]) PCBMockUp();
TransportProtection();
// minkowskiDemonstration();
} else {
TransportProtection();
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment