Unfortunately, openjscad.org is not currently functional, so the link will not work. I'll paste the code below for anyone who wants to obtain and locally run openjscad to do so. I'm hoping to find another way to host it as an online tool in the future. // Define user editable parameters: function getParameterDefinitions() { return [ { name: 'od1', type: 'float', initial: 1, caption: "Outer diameter of notched tube:" }, { name: 't2', type: 'float', initial: 0.050, caption: "Wall thickness of notched tube:" }, { name: 'od2', type: 'float', initial: 1, caption: "Outer diameter of mating tube (must be equal to or larger than notched tube):" }, { name: 'angle', type: 'float', initial: 90.0, caption: "Angle between tubes:" }, { name: 't1', type: 'float', initial: 0.100, caption: "Wall thickness of template:" }, { name: 'h', type: 'float', initial: 2, caption: "Height of template from base to intersection point of tube center lines:" }, { name: 'clearance', type: 'float', initial: 0.015, caption: "Radial clearance between tube and template:" }, ]; } function main(params) { // tube diameter error checking if(params.od2 < params.od1) throw new Error("Mating tube must be the same size or larger than notched tube"); //define variables var r1 = params.od1/2 + params.clearance; //inner radius of template var t2 = params.t2; //wall thickness of notched tube var r2 = params.od2/2; //outer radius of mating tube var theta = params.angle - 90; //angle from perpendicular var t1 = params.t1; //thickness of template var h = params.h; //height of notched tubing var vertices = []; //array to hold xyz coordinates of each vertex var nv = 4 * 360; //used for convenience in calculation, equal to number of vertices var indices = []; //array to index vertices in each polyhedron //define cross sectional vertices at each 1 degree of resolution for (i = 0; i < 360; i++){ vertices[4*i] = [(r1+t1)*cos(i), (r1+t1)*sin(i), 0], vertices[4*i + 1] = [(r1+t1)*cos(i), (r1+t1)*sin(i), h + (r1*cos(i)*tan(theta)) - sqrt(pow(r2,2)-pow((r1-t2)*sin(i),2))/cos(theta)], vertices[4*i + 2] = [(r1)*cos(i), (r1)*sin(i), h + (r1*cos(i)*tan(theta)) - sqrt(pow(r2,2)-pow((r1-t2)*sin(i),2))/cos(theta)], vertices[4*i + 3] = [(r1)*cos(i), (r1)*sin(i), 0]; } //define vertex indices for each quadrilateral facet bounding the resulting polyhedron for (i = 0; i < 360; i++){ indices[4*i] = [(4*i+0)%nv, (4*i+1)%nv, (4*i+5)%nv, (4*i+4)%nv], indices[4*i + 1] = [(4*i+1)%nv, (4*i+2)%nv, (4*i+6)%nv, (4*i+5)%nv], indices[4*i + 2] = [(4*i+2)%nv, (4*i+3)%nv, (4*i+7)%nv, (4*i+6)%nv], indices[4*i + 3] = [(4*i+3)%nv, (4*i+0)%nv, (4*i+4)%nv, (4*i+7)%nv]; } //build polyhedron based on vertices and indices return polyhedron({ points: vertices, polygons: indices }); }
this is exactly what I was looking for to mark tubes to be made into dodecahedron and other polyhedron sides. The code posted above works perfectly with the online version of OpenJSCAD. I know this is not a programming tutorial, but how can I modify your code to be able to work with more precision on the angels? It seems it only takes integers as values; but I would need at least 1 decimal point to get a more perfect angle. Is there a way?
I wish RUclips had a "Love" button, that is a great idea! In the absence of a tubing cutter or an exceptionally cramped shop (where one has to make choices on what kind of equipment to get) this is gold. Thanks for sharing.
Great idea Tim, from one engineer to another! Another solution we came up with back in college was to use the sheet metal feature in solidworks (I assume other packages have similar features). Once tube diameters and notch angle were established we’d flatten the feature and create a 1:1 scaled drawing to print out. Then we’d cut it out, fold around tube and tape it together. You can also add reference lines to the templates as needed.
Tim, you made me feel really silly. I have been struggling with pipe notching but never had idea of 3d printing templates and I do 3d print a lot. It is very easy to do template model in any CAD (eg. FreeCAD). 👍👍👍👍👍
Good idea, especially for frequently used angles. I guess you could include a small indicator of the ‘clocking line’ on the sleeve of the printed template - if you need precision.
thanks for sharing your file for the 3d printing AND the paper printing. This relatively simple device clearly helps many private beginners, non-3d owners to practice coping tubes right away. Also, its a lot more flexible as to diameter than the "PIPEMASTER" (1x dia/set), the ready made or diy-notchers (1x dia/hole saw) and of course any purpose built notch-only machines. Sharing knowledge probably is the most efficient way to unite across borders, far more than any politician can. Thanks and Shalom.
Hi Tim, thanks for the super-helpful videos! Can you make videos on the pitfalls of welding, like HAZ/cracking, warping, undercut, etc. Things that cause harm instead of good. Thanks from Norway!
Dude!!! this is awesome! New on the channel, Looking forward to see more material like this: 3D modeling + Metal Fabrication! B). Cheers from Baja, Mexico!
Tim your page does not no longer exist for your coping tool for tubing notching for download . if you no longer have this site. where do you sell these pieces or where can I buy coping tools. This really could help me out something like this could you help me out. I don't have a computer or a way to download it anyway. can you help me out. oh by the way you have the best welding site on RUclips I just wanted to tell you that .God bless you your family and all your friends. Thank you walt
Hola espero que me entiendas actualmente se puede usar el programa para cortes de tubos? podrías mostrar como hacerlo funcionar muchas gracias y saludos desde Argentina.
this is exactly what I was looking for to mark tubes to be made into dodecahedron and other polyhedron sides. The code posted above works perfectly with the online version of OpenJSCAD. I know this is not a programming tutorial, but how can I modify your code to be able to work with more precision on the angels? It seems it only takes integers as values; but I would need at least 1 decimal point to get a more perfect angle. Is there a way?
Since the website is down, I downloaded the app from the windows store and pasted in the code from the comment you left. Seems to work fine. It would be helpful if there could be an offset so the notched tube didn't need to be in the center of the mating tube. I want to do a 1.25" tube flush with one edge of a 1.5" tube. Could this be added?
Thanks for watching and for the comment! That has been done by several others. If you google 'tube cope template', you will find some online calculators. One hit was www.blocklayer.com/pipe-notch.aspx . I haven't used these, but they probably work just as well. Maybe I'll make a video in the future comparing different methods such as paper templates, 3d printed templates, centurial templates, measured setbacks, double miters and traditional notchers.
Hola amigo, por favor, checkea www.etubespro.com - Plantillas de corte de tubos de cualquier diámetro y espesor que se corten con otros tubos, en cualquier ángulo. Las plantillas se generan en un plano en formato DXF o DWG (Autocad) y luego se imprimen en escala real. Hi folk, please, visit www.etubespro.com Saddle templates for tubes/pipes of any size and thickness intersecting any other tubes/pipes at any angle. Templates are generated in DXF / DWG format and then printed at real scale.
Wow! I thought I invented something, thinking to make 3D printed guide, man you nailed it! I have a prusa MK4, I use onshape free version and Sketchup, do you know how I could get that done? My struggle is the software part in your video, I didn’t get it well. Very nice work, I started following you! Thank you
Hey this is great! I can easily generate these while I am generating a full cad model of a part and I’ve got lots of 3D printers! I’m just learning and I was wondering how to do round tubes so it’s nice not to need to buy anything!
Good information. Earlier in the video you stated that you were a welding engineer, I am intrested in becoming one myself. And advice on becoming one???
this is exactly what I was looking for to mark tubes to be made into dodecahedron and other polyhedron sides. The code posted works perfectly with the online version of OpenJSCAD. I know this is not a programming tutorial, but how can I modify your code to be able to work with more precision on the angles? It seems it only takes integers as values; but I would need at least 1 decimal (69.095 or 69.1 if easier) point to get a more perfect angle. Is there a way?
Any chance you could provide instructions on how to get this working locally? I could reall use this tool . I did get the chance to use it when it was still working but I am not very familiar with jscad and running it locally.
Tim, This code is awesome. Is there some "Hot Keys" to minimize the code? The OpenJSCAD doesn't have the radio button on the right side of the screen as yours does, just the left. And a radio button in the top labeled "Blocks". Aside from that, your code works like a champ!
Ummm.. My cura had some serious issues with the scaling. A 1" piece of tube shouldn't come up as the size of a pencil eraser. 1" in mm is 25.4.. I think in my case, I need to adjust to 2540, not 25.40.. That seems to work. But this is really cool and should be able to be used to generate the gcode to cut tube on a cnc plasma table with a 4th axis..
Great video and great idea. Just described to your channel. I am just about to start welding and my first project will be a welding table. I have a bunch of tubes laying around and those are planned to be used for the rack. I was thinking about a way of notching the ends without some fancy, expensive tools. I am happy I found this video. My first template just came out from my 3D printer and it looks great. There is only one thing, I would like to have in the template and that is a groove or somthing else for easy alignment of the template on the tube, so you don't have to estimate the lowest part of the notch and mark it with a sharpy, but have it accurately marked by the 3D printer. I am not familiar with the scripting language used to create the template. Could someone point me to a small piece of code, that makes a little groove or ridge or something like that?
Thanks! I added lines 33-35 in the code below to put in a notch like you're describing. Just go to openjscad.org, clear the code in the window on the right, paste in this code and press F5. Hope this works for you! // Define user editable parameters: function getParameterDefinitions() { return [ { name: 'od1', type: 'float', initial: 1, caption: "Outer diameter of notched tube:" }, { name: 't2', type: 'float', initial: 0.050, caption: "Wall thickness of notched tube:" }, { name: 'od2', type: 'float', initial: 1, caption: "Outer diameter of mating tube (must be equal to or larger than notched tube):" }, { name: 'angle', type: 'float', initial: 90.0, caption: "Angle between tubes:" }, { name: 't1', type: 'float', initial: 0.100, caption: "Wall thickness of template:" }, { name: 'h', type: 'float', initial: 2, caption: "Height of template from base to intersection point of tube center lines:" }, { name: 'clearance', type: 'float', initial: 0.015, caption: "Radial clearance between tube and template:" }, ]; } function main(params) { // tube diameter error checking if(params.od2 < params.od1) throw new Error("Mating tube must be the same size or larger than notched tube"); //define variables var r1 = params.od1/2 + params.clearance; //inner radius of template var t2 = params.t2; //wall thickness of notched tube var r2 = params.od2/2; //outer radius of mating tube var theta = params.angle - 90; //angle from perpendicular var t1 = params.t1; //thickness of template var h = params.h; //height of notched tubing var vertices = []; //array to hold xyz coordinates of each vertex var nv = 4 * 360; //used for convenience in calculation, equal to number of vertices var indices = []; //array to index vertices in each polyhedron //define cross sectional vertices at each 1 degree of resolution for (i = 0; i < 360; i++){ vertices[4*i] = [(r1+t1)*cos(i), (r1+t1)*sin(i), 0], vertices[4*i + 1] = [(r1+t1)*cos(i), (r1+t1)*sin(i), h + (r1*cos(i)*tan(theta)) - sqrt(pow(r2,2)-pow((r1-t2)*sin(i),2))/cos(theta)], vertices[4*i + 2] = [(r1)*cos(i), (r1)*sin(i), h + (r1*cos(i)*tan(theta)) - sqrt(pow(r2,2)-pow((r1-t2)*sin(i),2))/cos(theta)], vertices[4*i + 3] = [(r1)*cos(i), (r1)*sin(i), 0]; } //place recessed notch in template vertices[0] = [(r1+t1*0.6)*cos(0), (r1+t1/2)*sin(0), 0]; vertices[1] = [(r1+t1*0.6)*cos(0), (r1+t1/2)*sin(0), h + (r1*cos(0)*tan(theta)) - sqrt(pow(r2,2)-pow((r1-t2)*sin(0),2))/cos(theta)]; //define vertex indices for each quadrilateral facet bounding the resulting polyhedron for (i = 0; i < 360; i++){ indices[4*i] = [(4*i+0)%nv, (4*i+1)%nv, (4*i+5)%nv, (4*i+4)%nv], indices[4*i + 1] = [(4*i+1)%nv, (4*i+2)%nv, (4*i+6)%nv, (4*i+5)%nv], indices[4*i + 2] = [(4*i+2)%nv, (4*i+3)%nv, (4*i+7)%nv, (4*i+6)%nv], indices[4*i + 3] = [(4*i+3)%nv, (4*i+0)%nv, (4*i+4)%nv, (4*i+7)%nv]; } //build polyhedron based on vertices and indices return polyhedron({ points: vertices, polygons: indices }); }
@@TimWelds Wow, many thanks for that. 👍 Just tried it and it works. I just have to figure out what I have to change, to change the width of the notch, to be sure it comes out good visible in the print. Will play around with it.
Thanks! It was fun to come up with it. If you don't have a 3d printer, you can also find template makers online to print 2d versions on paper and wrap them around tubing.
Great content Tim , I agree with Cory , you have a side business idea , I would be interested in a few templates . I probably won't build a 3d printer soon . there ore only so many hours left for me , lol.
I have several of the miller helmets at all levels and I really like them. I haven't tried many of the less expensive helmets that are out there today. The same hood will be good for pretty much any process, but if you're going to be running flux core, I would look for one with replaceable lens covers. I do have a YesWelder helmet on the way that I'll be trying in an upcoming TIG welder review, so that may be a good option, but I can't say for sure since I haven't tried it.
A few people have created websites that do this. One that I am familiar with is www.blocklayer.com/pipe-notch.aspx . I have no affiliation with them, but it seems to do the job you're looking for. Thanks!
I'd rather just print the shape onto paper, cut out the shape, wrap it around the tube, and trace the outline. Paper printing takes a lot less time than 3D printing, it's a lot less expensive, and it's just as easy to use.
There are some websites out there that will create the paper templates you are talking about, which kind of inspired coming up with this. I find these quite a bit easier to use and they can be reused many times, however there are 7 ways that I know of to notch tubing and everyone will have their preference. No worries if it's different than mine. Thanks for watching and for the comment!
That’s a shame since I’m not very good of writing program so understanding what you wrote there is no way for me to even look at it well I guess subscribing to your side it’s nice but it doesn’t help thank you
Unfortunately, openjscad.org is not currently functional, so the link will not work. I'll paste the code below for anyone who wants to obtain and locally run openjscad to do so. I'm hoping to find another way to host it as an online tool in the future.
// Define user editable parameters:
function getParameterDefinitions() {
return [
{ name: 'od1', type: 'float', initial: 1, caption: "Outer diameter of notched tube:" },
{ name: 't2', type: 'float', initial: 0.050, caption: "Wall thickness of notched tube:" },
{ name: 'od2', type: 'float', initial: 1, caption: "Outer diameter of mating tube (must be equal to or larger than notched tube):" },
{ name: 'angle', type: 'float', initial: 90.0, caption: "Angle between tubes:" },
{ name: 't1', type: 'float', initial: 0.100, caption: "Wall thickness of template:" },
{ name: 'h', type: 'float', initial: 2, caption: "Height of template from base to intersection point of tube center lines:" },
{ name: 'clearance', type: 'float', initial: 0.015, caption: "Radial clearance between tube and template:" },
];
}
function main(params) {
// tube diameter error checking
if(params.od2 < params.od1) throw new Error("Mating tube must be the same size or larger than notched tube");
//define variables
var r1 = params.od1/2 + params.clearance; //inner radius of template
var t2 = params.t2; //wall thickness of notched tube
var r2 = params.od2/2; //outer radius of mating tube
var theta = params.angle - 90; //angle from perpendicular
var t1 = params.t1; //thickness of template
var h = params.h; //height of notched tubing
var vertices = []; //array to hold xyz coordinates of each vertex
var nv = 4 * 360; //used for convenience in calculation, equal to number of vertices
var indices = []; //array to index vertices in each polyhedron
//define cross sectional vertices at each 1 degree of resolution
for (i = 0; i < 360; i++){
vertices[4*i] = [(r1+t1)*cos(i), (r1+t1)*sin(i), 0],
vertices[4*i + 1] = [(r1+t1)*cos(i), (r1+t1)*sin(i), h + (r1*cos(i)*tan(theta)) - sqrt(pow(r2,2)-pow((r1-t2)*sin(i),2))/cos(theta)],
vertices[4*i + 2] = [(r1)*cos(i), (r1)*sin(i), h + (r1*cos(i)*tan(theta)) - sqrt(pow(r2,2)-pow((r1-t2)*sin(i),2))/cos(theta)],
vertices[4*i + 3] = [(r1)*cos(i), (r1)*sin(i), 0];
}
//define vertex indices for each quadrilateral facet bounding the resulting polyhedron
for (i = 0; i < 360; i++){
indices[4*i] = [(4*i+0)%nv, (4*i+1)%nv, (4*i+5)%nv, (4*i+4)%nv],
indices[4*i + 1] = [(4*i+1)%nv, (4*i+2)%nv, (4*i+6)%nv, (4*i+5)%nv],
indices[4*i + 2] = [(4*i+2)%nv, (4*i+3)%nv, (4*i+7)%nv, (4*i+6)%nv],
indices[4*i + 3] = [(4*i+3)%nv, (4*i+0)%nv, (4*i+4)%nv, (4*i+7)%nv];
}
//build polyhedron based on vertices and indices
return polyhedron({
points: vertices,
polygons: indices
});
}
this is exactly what I was looking for to mark tubes to be made into dodecahedron and other polyhedron sides. The code posted above works perfectly with the online version of OpenJSCAD. I know this is not a programming tutorial, but how can I modify your code to be able to work with more precision on the angels? It seems it only takes integers as values; but I would need at least 1 decimal point to get a more perfect angle. Is there a way?
not sure how to use this. i copy and paste and nothing happens
@@industrialmechanicalworker2417 same i cant get it to work
I wonder if this can be done in Fusion 360? I just started using it.
@@industrialmechanicalworker2417 you have to render it. hit f5 the purple arrow on the left will show you additional tools
I wish RUclips had a "Love" button, that is a great idea! In the absence of a tubing cutter or an exceptionally cramped shop (where one has to make choices on what kind of equipment to get) this is gold. Thanks for sharing.
Great idea Tim, from one engineer to another! Another solution we came up with back in college was to use the sheet metal feature in solidworks (I assume other packages have similar features). Once tube diameters and notch angle were established we’d flatten the feature and create a 1:1 scaled drawing to print out. Then we’d cut it out, fold around tube and tape it together. You can also add reference lines to the templates as needed.
Tim, you made me feel really silly. I have been struggling with pipe notching but never had idea of 3d printing templates and I do 3d print a lot. It is very easy to do template model in any CAD (eg. FreeCAD). 👍👍👍👍👍
How did you get the code to work in FreeCAD?
@@cultex I did not use Tim's code, I created my own FreeCAD models from scratch
@@VladekR oh! Thanks!
Good idea, especially for frequently used angles.
I guess you could include a small indicator of the ‘clocking line’ on the sleeve of the printed template - if you need precision.
thanks for sharing your file for the 3d printing AND the paper printing. This relatively simple device clearly helps many private beginners, non-3d owners to practice coping tubes right away. Also, its a lot more flexible as to diameter than the "PIPEMASTER" (1x dia/set), the ready made or diy-notchers (1x dia/hole saw) and of course any purpose built notch-only machines. Sharing knowledge probably is the most efficient way to unite across borders, far more than any politician can. Thanks and Shalom.
Tim you are a genius, thanks for this tip, its more cheaper, i dont need to buy the expensive metal adapted for this, thanks
Hi Tim, thanks for the super-helpful videos! Can you make videos on the pitfalls of welding, like HAZ/cracking, warping, undercut, etc. Things that cause harm instead of good. Thanks from Norway!
Dude!!! this is awesome! New on the channel, Looking forward to see more material like this: 3D modeling + Metal Fabrication! B). Cheers from Baja, Mexico!
You should make them for different size of pipes and sell them with different degrees of angles like 90s and 45s 👍😁
Cool idea
Hi
Can you make me 1.5", 1.75", 2" in both 90° & 45°?
rverheeck@gmail.com
@@JEEPLIFE121 no I can't
Tim your page does not no longer exist for your coping tool for tubing notching for download . if you no longer have this site. where do you sell these pieces or where can I buy coping tools. This really could help me out something like this could you help me out. I don't have a computer or a way to download it anyway. can you help me out. oh by the way you have the best welding site on RUclips I just wanted to tell you that .God bless you your family and all your friends. Thank you walt
Hola espero que me entiendas actualmente se puede usar el programa para cortes de tubos? podrías mostrar como hacerlo funcionar muchas gracias y saludos desde Argentina.
Anyway a slot can be added on both sides to the template for lining up the center lines?
this is exactly what I was looking for to mark tubes to be made into dodecahedron and other polyhedron sides. The code posted above works perfectly with the online version of OpenJSCAD. I know this is not a programming tutorial, but how can I modify your code to be able to work with more precision on the angels? It seems it only takes integers as values; but I would need at least 1 decimal point to get a more perfect angle. Is there a way?
Since the website is down, I downloaded the app from the windows store and pasted in the code from the comment you left. Seems to work fine. It would be helpful if there could be an offset so the notched tube didn't need to be in the center of the mating tube. I want to do a 1.25" tube flush with one edge of a 1.5" tube. Could this be added?
Tim id like to see a good video on rod selections for ARC welding.
This is perfect!!! I'm going to build my own headers now
Could you modify that to print out on a flat sheet of paper for those of us who don't have 3d printers?
Thanks for watching and for the comment! That has been done by several others. If you google 'tube cope template', you will find some online calculators. One hit was www.blocklayer.com/pipe-notch.aspx . I haven't used these, but they probably work just as well. Maybe I'll make a video in the future comparing different methods such as paper templates, 3d printed templates, centurial templates, measured setbacks, double miters and traditional notchers.
@@TimWelds Thanks for the response. I see the value in the printed templates as far as reuse. It's just that all of us don't have 3d printers.
Hola amigo, por favor, checkea www.etubespro.com - Plantillas de corte de tubos de cualquier diámetro y espesor que se corten con otros tubos, en cualquier ángulo. Las plantillas se generan en un plano en formato DXF o DWG (Autocad) y luego se imprimen en escala real.
Hi folk, please, visit www.etubespro.com Saddle templates for tubes/pipes of any size and thickness intersecting any other tubes/pipes at any angle. Templates are generated in DXF / DWG format and then printed at real scale.
Wow! I thought I invented something, thinking to make 3D printed guide, man you nailed it!
I have a prusa MK4, I use onshape free version and Sketchup, do you know how I could get that done? My struggle is the software part in your video, I didn’t get it well.
Very nice work, I started following you!
Thank you
Hey this is great! I can easily generate these while I am generating a full cad model of a part and I’ve got lots of 3D printers! I’m just learning and I was wondering how to do round tubes so it’s nice not to need to buy anything!
Good information. Earlier in the video you stated that you were a welding engineer, I am intrested in becoming one myself. And advice on becoming one???
Can I buy a set off 1” templates?
this is exactly what I was looking for to mark tubes to be made into dodecahedron and other polyhedron sides. The code posted works perfectly with the online version of OpenJSCAD. I know this is not a programming tutorial, but how can I modify your code to be able to work with more precision on the angles? It seems it only takes integers as values; but I would need at least 1 decimal (69.095 or 69.1 if easier) point to get a more perfect angle. Is there a way?
Any chance you could provide instructions on how to get this working locally? I could reall use this tool .
I did get the chance to use it when it was still working but I am not very familiar with jscad and running it locally.
Tim,
This code is awesome. Is there some "Hot Keys" to minimize the code? The OpenJSCAD doesn't have the radio button on the right side of the screen as yours does, just the left. And a radio button in the top labeled "Blocks". Aside from that, your code works like a champ!
Tim I want the code for the notching.
Do you have a code for this, great vid by the way..
Ummm..
My cura had some serious issues with the scaling. A 1" piece of tube shouldn't come up as the size of a pencil eraser. 1" in mm is 25.4.. I think in my case, I need to adjust to 2540, not 25.40.. That seems to work. But this is really cool and should be able to be used to generate the gcode to cut tube on a cnc plasma table with a 4th axis..
It has been good to watch can I get the link
Great video and great idea. Just described to your channel. I am just about to start welding and my first project will be a welding table. I have a bunch of tubes laying around and those are planned to be used for the rack. I was thinking about a way of notching the ends without some fancy, expensive tools. I am happy I found this video. My first template just came out from my 3D printer and it looks great. There is only one thing, I would like to have in the template and that is a groove or somthing else for easy alignment of the template on the tube, so you don't have to estimate the lowest part of the notch and mark it with a sharpy, but have it accurately marked by the 3D printer. I am not familiar with the scripting language used to create the template. Could someone point me to a small piece of code, that makes a little groove or ridge or something like that?
Thanks! I added lines 33-35 in the code below to put in a notch like you're describing. Just go to openjscad.org, clear the code in the window on the right, paste in this code and press F5. Hope this works for you!
// Define user editable parameters:
function getParameterDefinitions() {
return [
{ name: 'od1', type: 'float', initial: 1, caption: "Outer diameter of notched tube:" },
{ name: 't2', type: 'float', initial: 0.050, caption: "Wall thickness of notched tube:" },
{ name: 'od2', type: 'float', initial: 1, caption: "Outer diameter of mating tube (must be equal to or larger than notched tube):" },
{ name: 'angle', type: 'float', initial: 90.0, caption: "Angle between tubes:" },
{ name: 't1', type: 'float', initial: 0.100, caption: "Wall thickness of template:" },
{ name: 'h', type: 'float', initial: 2, caption: "Height of template from base to intersection point of tube center lines:" },
{ name: 'clearance', type: 'float', initial: 0.015, caption: "Radial clearance between tube and template:" },
];
}
function main(params) {
// tube diameter error checking
if(params.od2 < params.od1) throw new Error("Mating tube must be the same size or larger than notched tube");
//define variables
var r1 = params.od1/2 + params.clearance; //inner radius of template
var t2 = params.t2; //wall thickness of notched tube
var r2 = params.od2/2; //outer radius of mating tube
var theta = params.angle - 90; //angle from perpendicular
var t1 = params.t1; //thickness of template
var h = params.h; //height of notched tubing
var vertices = []; //array to hold xyz coordinates of each vertex
var nv = 4 * 360; //used for convenience in calculation, equal to number of vertices
var indices = []; //array to index vertices in each polyhedron
//define cross sectional vertices at each 1 degree of resolution
for (i = 0; i < 360; i++){
vertices[4*i] = [(r1+t1)*cos(i), (r1+t1)*sin(i), 0],
vertices[4*i + 1] = [(r1+t1)*cos(i), (r1+t1)*sin(i), h + (r1*cos(i)*tan(theta)) - sqrt(pow(r2,2)-pow((r1-t2)*sin(i),2))/cos(theta)],
vertices[4*i + 2] = [(r1)*cos(i), (r1)*sin(i), h + (r1*cos(i)*tan(theta)) - sqrt(pow(r2,2)-pow((r1-t2)*sin(i),2))/cos(theta)],
vertices[4*i + 3] = [(r1)*cos(i), (r1)*sin(i), 0];
}
//place recessed notch in template
vertices[0] = [(r1+t1*0.6)*cos(0), (r1+t1/2)*sin(0), 0];
vertices[1] = [(r1+t1*0.6)*cos(0), (r1+t1/2)*sin(0), h + (r1*cos(0)*tan(theta)) - sqrt(pow(r2,2)-pow((r1-t2)*sin(0),2))/cos(theta)];
//define vertex indices for each quadrilateral facet bounding the resulting polyhedron
for (i = 0; i < 360; i++){
indices[4*i] = [(4*i+0)%nv, (4*i+1)%nv, (4*i+5)%nv, (4*i+4)%nv],
indices[4*i + 1] = [(4*i+1)%nv, (4*i+2)%nv, (4*i+6)%nv, (4*i+5)%nv],
indices[4*i + 2] = [(4*i+2)%nv, (4*i+3)%nv, (4*i+7)%nv, (4*i+6)%nv],
indices[4*i + 3] = [(4*i+3)%nv, (4*i+0)%nv, (4*i+4)%nv, (4*i+7)%nv];
}
//build polyhedron based on vertices and indices
return polyhedron({
points: vertices,
polygons: indices
});
}
@@TimWelds Wow, many thanks for that. 👍 Just tried it and it works. I just have to figure out what I have to change, to change the width of the notch, to be sure it comes out good visible in the print. Will play around with it.
Great tool and video Tim! just wondering where/how you select inches or mm?
Could you/have you uploaded the STL files anywhere, by chance???
Wonderful Channel Tim; been following you for about 1 year. Enjoy the content. Could not get your link to work.
AWESOME solution and awesome video. Yep, now I a going to get a 3D printer...
Thanks! It was fun to come up with it. If you don't have a 3d printer, you can also find template makers online to print 2d versions on paper and wrap them around tubing.
Great content Tim , I agree with Cory , you have a side business idea , I would be interested in a few templates . I probably won't build a 3d printer soon . there ore only so many hours left for me , lol.
Have you started selling the templates
Can this be printed on paper - I dont have a 3D printer.
There are paper template creators online if you Google ‘tube cope template’.
Brilliant idea
What budget auto darkening helmet do you like for flux core welding? Thanks
I have several of the miller helmets at all levels and I really like them. I haven't tried many of the less expensive helmets that are out there today. The same hood will be good for pretty much any process, but if you're going to be running flux core, I would look for one with replaceable lens covers. I do have a YesWelder helmet on the way that I'll be trying in an upcoming TIG welder review, so that may be a good option, but I can't say for sure since I haven't tried it.
Damm you have a gifted mind
How much would you charge for the templates you made? Those would be handy in my line of work!
What kind of work you do
Pretty sick thanks
Is there an option to export to pdf and print to paper?
A few people have created websites that do this. One that I am familiar with is www.blocklayer.com/pipe-notch.aspx . I have no affiliation with them, but it seems to do the job you're looking for. Thanks!
The link for the software to notch tubing it’s not working
Unfortunately, openjscad.org is not currently functional. I'm hoping to find another way to host it in the future.
A fabricator who is also into 3d printing?
I got some people you need to meet if you have one more hobby/interest....
What does 2A mean to you?
😅
Link pembeliannya mana ini ?
Thank you :)
Very cool!
Nice .
What’s a “welding engineer”
It just return to the time. Many tools you have to use to make it ready.😂
I have tried the link to openjscad.org and it doesn't seem to be working. Is there an issue with it or with openjscad.org in general. Thanks
Looks like openjscad is down. Hopefully they get it back up and running in the future.
This tool no longer seems to work.
Maybe the link is broken.
It is a shame because it was very useful.
There's plenty others on Google just look 3d tube cutting guide or similar
I'd rather just print the shape onto paper, cut out the shape, wrap it around the tube, and trace the outline. Paper printing takes a lot less time than 3D printing, it's a lot less expensive, and it's just as easy to use.
There are some websites out there that will create the paper templates you are talking about, which kind of inspired coming up with this. I find these quite a bit easier to use and they can be reused many times, however there are 7 ways that I know of to notch tubing and everyone will have their preference. No worries if it's different than mine. Thanks for watching and for the comment!
The only real question is how did you become a God among men?
Tim MAKE AND SELL, I'm a buyer. (and I don't 3d print!!)
That’s a shame since I’m not very good of writing program so understanding what you wrote there is no way for me to even look at it well I guess subscribing to your side it’s nice but it doesn’t help thank you
In this modern day, why on earth is the US still messing about with feet and inches?
So that tool companies can sell twice as many wrenches and sockets, I suppose.
IMHO: FORGET THE "COMPUTER", AND "3D PRINTER"!!!!....JUST DRAW OUT YOUR "PATTERN, ON PAPER!!!!!!!!...
That’s fine too.
Just buy a tube notcher , jeez!!
I have a tube notcher. This gives a better result for high precision work.