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

needs some markings for orientation and coordinate frame

parent 29983cbb
No related branches found
No related tags found
No related merge requests found
include <rsp_tc20_p102_clone.scad>
SHAFT_RADIUS = 5;
TOTAL_LENGTH_WITH_CHANGER = 75;
BASE_HEIGHT = 5;
TIP_HEIGHT = 10;
$fn = 100;
module pointy_tool()
{
union() {
rsp_tc20_p102_clone();
// base
cylinder(h = BASE_HEIGHT, r1 = RSP_TC20_P102_CLONE_TOTAL_RADIUS, r2 = SHAFT_RADIUS, center = false);
translate([0, 0, BASE_HEIGHT]) {
// body
body_height = TOTAL_LENGTH_WITH_CHANGER - RSP_TC20_P102_CLONE_TOTAL_HEIGHT - TIP_HEIGHT - BASE_HEIGHT;
cylinder(h = body_height, r = SHAFT_RADIUS, center=false);
translate([0, 0, body_height])
{
// tip
cylinder(h=TIP_HEIGHT, r1 = SHAFT_RADIUS, r2 = 0);
}
}
}
}
pointy_tool();
\ No newline at end of file
// RSP TC20 p102 clone // RSP TC20 p102 clone
side = 64; RSP_TC20_P102_CLONE_TOTAL_RADIUS = 64 / 2;
sideLong = 94; RSP_TC20_P102_CLONE_HEIGHT_CHANGER = 12;
sqHeight = 12; RSP_TC20_P102_CLONE_TOTAL_HEIGHT =RSP_TC20_P102_CLONE_HEIGHT_CHANGER + 4;
cylHeight = 4;
$fn = 100; $fn = 100;
module module
cylBody(side, height) cylBody(radius, height)
{ {
$fn = 360; $fn = 360;
translate([ 0, 0, height / 2 ]) translate([ 0, 0, height / 2 ])
{ {
cylinder(h = height, r1 = side / 2, r2 = side / 2, center = true); cylinder(h = height, r1 = radius, r2 = radius, center = true);
} }
} }
...@@ -66,9 +65,7 @@ slantedCylx4() ...@@ -66,9 +65,7 @@ slantedCylx4()
module module
rsp_tc20_p102_clone() rsp_tc20_p102_clone()
{ {
translate([ 0, 0, (sqHeight + cylHeight) ]) rotate([ 0, 180, 0 ])
{
rotate([ 180, 0, 0 ])
{ {
difference() difference()
{ {
...@@ -79,9 +76,7 @@ rsp_tc20_p102_clone() ...@@ -79,9 +76,7 @@ rsp_tc20_p102_clone()
// assign($fn = 100); // assign($fn = 100);
union() union()
{ {
// sqBody(side,sqHeight); cylBody(RSP_TC20_P102_CLONE_TOTAL_RADIUS, RSP_TC20_P102_CLONE_TOTAL_HEIGHT);
// sqBodyLong(sideLong,side,sqHeight);
cylBody(side, sqHeight + cylHeight);
} }
// vvvvvvvv add these rows again for standard // vvvvvvvv add these rows again for standard
// toolchanger ^^^^^ // toolchanger ^^^^^
...@@ -109,6 +104,5 @@ rsp_tc20_p102_clone() ...@@ -109,6 +104,5 @@ rsp_tc20_p102_clone()
} }
} }
} }
}
rsp_tc20_p102_clone(); // 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