Skip to content
Snippets Groups Projects
Verified Commit 29983cbb authored by Anton Tetov Johansson's avatar Anton Tetov Johansson
Browse files

p102

parent 886fe4ee
No related branches found
No related tags found
No related merge requests found
// RSP TC20 p102 clone
side = 64;
sideLong = 94;
sqHeight = 12;
cylHeight = 4;
$fn = 100;
module
cylBody(side, height)
{
$fn = 360;
translate([ 0, 0, height / 2 ])
{
cylinder(h = height, r1 = side / 2, r2 = side / 2, center = true);
}
}
module
lockCyl()
{
translate([ 0, 0, 8 ])
{
cylinder(h = 12 + 1, r1 = 8 / 2, r2 = 8 / 2, center = true);
}
}
module
slantedCylx4()
{
rr = 35 / 2;
union()
{
translate([ rr, 0, 0 ])
{
rotate([ 0, -17, 0 ])
{
lockCyl();
}
}
translate([ 0, rr, 0 ])
{
rotate([ 17, 0, 0 ])
{
lockCyl();
}
}
translate([ -rr, 0, 0 ])
{
rotate([ 0, 17, 0 ])
{
lockCyl();
}
}
translate([ 0, -rr, 0 ])
{
rotate([ -17, 0, 0 ])
{
lockCyl();
}
}
}
}
// adapterplate and toolchanger
module
rsp_tc20_p102_clone()
{
translate([ 0, 0, (sqHeight + cylHeight) ])
{
rotate([ 180, 0, 0 ])
{
difference()
{
union()
{
difference()
{
// assign($fn = 100);
union()
{
// sqBody(side,sqHeight);
// sqBodyLong(sideLong,side,sqHeight);
cylBody(side, sqHeight + cylHeight);
}
// vvvvvvvv add these rows again for standard
// toolchanger ^^^^^
// rotate([0,0,45]){
// holeM5x4();
// }
// rotate([0,0,0]){
// hole4x2();
// }
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
translate([ 0, 0, 16 - (12) / 2 ]) cylinder(
h = 12, r1 = 32 / 2, r2 = 34.5 / 2, center = true);
rotate([ 0, 0, 0 ])
{
slantedCylx4();
}
}
translate([ 0, 0, 4 / 2 ])
{
cylinder(
h = 4, r1 = 42 / 2, r2 = 42 / 2, center = true);
}
}
}
}
}
}
rsp_tc20_p102_clone();
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment