change project structure
This commit is contained in:
parent
e6d067623e
commit
92055b77d7
BIN
3dPrintFiles/DPS5005 housing v2.stl
Normal file
BIN
3dPrintFiles/DPS5005 housing v2.stl
Normal file
Binary file not shown.
14478
3dPrintFiles/WDI3_9a1cf087-09f0-4f9b-99c5-f5a380075cbf.stl
Normal file
14478
3dPrintFiles/WDI3_9a1cf087-09f0-4f9b-99c5-f5a380075cbf.stl
Normal file
File diff suppressed because it is too large
Load Diff
72
3dPrintFiles/dinrailclips.scad
Normal file
72
3dPrintFiles/dinrailclips.scad
Normal file
@ -0,0 +1,72 @@
|
||||
width = 8;
|
||||
strength = 2;
|
||||
hole_diameter = 2.3;
|
||||
//hole_space = 45.5; // adafruit pwm module
|
||||
//hole_space = 15.3; // adafruit 3-axis accelerometer
|
||||
//hole_space = 49; // raspberry pi 3 model b
|
||||
//hole_space = 46; // 2 channel relais card
|
||||
//hole_space = 66.5; // 8-ch ssr relais card
|
||||
//hole_space = 30; // 12 to 5v dc-dc converter
|
||||
//hole_space = 46.5; // 8-ch relais card (mechanical)
|
||||
//hole_space = 42; // orange pi
|
||||
hole_space = 28; // DPS5005
|
||||
|
||||
if (width < 5) {
|
||||
base(5);
|
||||
} else {
|
||||
base(width);
|
||||
}
|
||||
|
||||
module base(width) {
|
||||
linear_extrude(height = width, center = true, convexity = 10) import(file = "dxfimporttest.dxf", layer = "lower");
|
||||
mountinghole(width);
|
||||
|
||||
if (hole_space > 31 && hole_space < 36.5) {
|
||||
|
||||
linear_extrude(height = width, center = true, convexity = 10) import(file = "dxfimporttest.dxf", layer = "upper");
|
||||
// upper connections of release mechanism with mounting hole
|
||||
translate([-strength, 36, -width/2]) cube([strength, hole_diameter + 2 + 1, width]);
|
||||
translate([-8, 36, -width/2]) cube([1, hole_diameter + 2 + 1, width]);
|
||||
translate([-6, hole_diameter * 2, -width/2]) cube([6, 34 - hole_diameter * 2, width]);
|
||||
|
||||
translate([0, hole_space, 0]) mountinghole(width);
|
||||
|
||||
} else {
|
||||
|
||||
if (hole_space > 36) {
|
||||
difference() {
|
||||
union() {
|
||||
translate([0, hole_space - 34]) linear_extrude(height = width, center = true, convexity = 10) import(file = "dxfimporttest.dxf", layer = "upper");
|
||||
// upper connections of release mechanism with mounting hole
|
||||
translate([-strength, 34, -width/2]) cube([strength, hole_diameter + hole_space - 29, width]);
|
||||
translate([-8, 36, -width/2]) cube([1, hole_diameter + hole_space - 31, width]);
|
||||
translate([-6, hole_diameter * 2, -width/2]) cube([6, 34 - hole_diameter * 2, width]);
|
||||
translate([0, hole_space, 0]) mountinghole(width);
|
||||
}
|
||||
translate([-6, hole_diameter + hole_space, 0]) rotate([0, 90, 0]) cylinder(15, d=hole_diameter, d=hole_diameter, $fn=25);
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
translate([0, hole_space, 0]) mountinghole(width);
|
||||
translate([0, -5, 0]) linear_extrude(height = width, center = true, convexity = 10) import(file = "dxfimporttest.dxf", layer = "upper");
|
||||
translate([-6, hole_diameter * 2, -width/2]) cube([6, 35 - hole_diameter * 4, width]);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
module mountinghole(width) {
|
||||
difference() {
|
||||
union() {
|
||||
// lower cube and mounting hole
|
||||
translate([-6, 0, -width/2]) cube([6, hole_diameter * 2, width]);
|
||||
translate([-2, hole_diameter, 0]) rotate([0, 90, 0]) cylinder(4, d=hole_diameter + 2, d=hole_diameter + 2, $fn=25);
|
||||
}
|
||||
translate([-10, hole_diameter, 0]) rotate([0, 90, 0]) cylinder(15, d=hole_diameter, d=hole_diameter, $fn=25);
|
||||
}
|
||||
}
|
||||
|
||||
|
4594
3dPrintFiles/dps5005-din-clips.stl
Normal file
4594
3dPrintFiles/dps5005-din-clips.stl
Normal file
File diff suppressed because it is too large
Load Diff
5294
3dPrintFiles/dps5005housing-2.stl
Normal file
5294
3dPrintFiles/dps5005housing-2.stl
Normal file
File diff suppressed because it is too large
Load Diff
1126
3dPrintFiles/dxfimporttest.dxf
Normal file
1126
3dPrintFiles/dxfimporttest.dxf
Normal file
File diff suppressed because it is too large
Load Diff
84
3dPrintFiles/dxfimporttest.svg
Normal file
84
3dPrintFiles/dxfimporttest.svg
Normal file
@ -0,0 +1,84 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="210mm"
|
||||
height="297mm"
|
||||
viewBox="0 0 210 297"
|
||||
version="1.1"
|
||||
id="svg8"
|
||||
inkscape:version="0.92.3 (2405546, 2018-03-11)"
|
||||
sodipodi:docname="dxfimporttest.svg">
|
||||
<defs
|
||||
id="defs2" />
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="7.9195959"
|
||||
inkscape:cx="-26.705398"
|
||||
inkscape:cy="119.42768"
|
||||
inkscape:document-units="mm"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="false"
|
||||
inkscape:window-width="1269"
|
||||
inkscape:window-height="1413"
|
||||
inkscape:window-x="652"
|
||||
inkscape:window-y="25"
|
||||
inkscape:window-maximized="0" />
|
||||
<metadata
|
||||
id="metadata5">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:groupmode="layer"
|
||||
id="layer2"
|
||||
inkscape:label="rail">
|
||||
<path
|
||||
style="fill:#ffffff;stroke:#000000;stroke-width:0.2;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m -6.9627346,261.32705 v 5.49992 h -5.2833984 -2.200383 v 0.89142 22.21466 0.89401 h 2.200383 5.2833984 v 5.49992 h 0.9999371 v -6.39651 h -0.9999371 v 0.003 h -5.2833984 v -22.21466 h 5.2833984 0.6934967 0.3064404 v -6.39135 z"
|
||||
id="rect909"
|
||||
inkscape:connector-curvature="0" />
|
||||
</g>
|
||||
<g
|
||||
inkscape:label="lower"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1">
|
||||
<path
|
||||
style="fill:#ff00ff;fill-opacity:1;stroke:none;stroke-width:0.7512365;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m -31.9375,982.18554 h -6.191406 l 6.191406,8.34962 5.568359,-3.17383 h 6.525391 v 0.004 h 16.1601562 v 2.84961 h -11.2929682 -7.560547 v 130.27346 h -3.779297 l -5.566406,-3.1738 v 9.2148 h 28.9804682 l 2.89412437,-5.1998 -14.96834457,-1.2787 V 996.69336 H 0.03515625 v -6.47852 -8.0293 H -19.84375 -28.046875 Z"
|
||||
transform="scale(0.26458333)"
|
||||
id="rect926"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cccccccccccccccccccccccc" />
|
||||
</g>
|
||||
<g
|
||||
inkscape:groupmode="layer"
|
||||
id="layer3"
|
||||
inkscape:label="upper">
|
||||
<path
|
||||
style="fill:#808000;fill-opacity:1;stroke:none;stroke-width:0.19963665;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M -8.5291667,252.86427 V 256 H 0 v -1.05575 -0.016 c -2.4624876,-0.001 -4.924974,-0.007 -7.3874625,-0.007 v -0.97048 h 0.6542421 v -1.08624 z"
|
||||
id="path1003"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cccccccccc" />
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 3.2 KiB |
Loading…
x
Reference in New Issue
Block a user