there is a lot of stuff to digest here but is over the top useful. I will have to re-watch this show a few times. thanks for helping me learn something new
Irv, you are such a dedicated brilliant teacher that watching your videos is so much fun while educational at the same time. An at first look daunting task like "programming" even a simple 3D model, yet with a few intricacies like the inclined supporting bar, that prompted an instant recap detour into trigonometry basics, makes your little construction demo in OpenSCAD appear so effortless and easy. I also appreciate your modesty because as every engineer knows, that if you have a degree in mechanical engineering where you were pestered with Fourier transforms (viz. trigonometric polynomial approximations) that you for sure won't have to hesitate for a second to identify which sides of a right angle triangle need to be related to define sine, cosine, and tangent.
Thanks for this video. I took a look at OpenSCAD a while ago, and thought "Wow, this is way too involved to just whip out a quick model." You'd have to have the intent to create a 'family' of parts, to want to torture yourself with learning all this. You confirmed this. This is basically anything but 'graphical CAD'. Now if you could import or sketch the part and have the software create a script for you, then, we'd have something to work with, for the everyday guy :) I use OneCNC cadcam software.....mainly for the cam aspect. However, I do tons of reverse engineering of parts, and this requires the cad end (OneCNC Creator) It is not free, and is not parametric and it is NURBS (so very accurate models can be made, not STL approximations). But honestly, I can redraw a model faster than I made it the first time (if I botch it up), and so I am content to not use a parametric CAD. Most of my models are unique, get ONE use and then are machined, so I cannot spend hours and hours. I say this so that onlookers may not come up with the notion that CAD has to look and operate like OpenSCAD.
Hi, I'm a big fan of your channel. I've been using openscad for a while, and as a programmer, I love it. I just discovered something really cool, that I don't think you mentioned in any of your openscad videos. The import function. I just realized that I can download an STL file from Thingaverse, and manulipulate it with openscad. This was a real eye opener for me.
Great tutorial! Thank you! One of your earlier videos is what got me into OpenSCAD and I've already designed a few thing! Wanted to share a couple of cool, in my opinion, tips: 1) I find the OpenSCAD's editor somewhat difficult to use. So, I would open the scad file in my Visual Studio Code and edit my model there. When I save my file, OpenSCAD would auto-redraw the model for me! As a bonus side-effect, since I get to hide the editor, OpenSCAD has more room on screen to render the model! Also, VSCode has an OpenSCAD! 2) Instead of duplicating your code for debugging purposes, you can use symbols such as "#" and "%". The "#" is going to highlight the object I am augmenting. The "%" will do the same, with a big difference - whatever's behind a "%" will NOT get rendered. I find it useful if I am trying to align some components to an external model, but do not want to include the external model in my final STL. 3) I am all for reusable code. If I find myself repeating the same thing multiple times, I would move it out into a "module" and then reference that module every time I need a shape produced by that module! Example use of a module in your bracket: make your holes countersunk. For that, you would use something like this: module countersunkScrew() { union() { cylinder(5, d=2); translate([0, 0, 3]) cylinder(2, d=3); } } difference() { cube([10, 5, 4]); translate([5, 2.5, 0]) countersunkScrew(); }
Excellent Video! I single stepped through your opening "slide show" and was QUITE entertained! Is that portrait of you an actual drawing, and if so, who is the artist? Looks wonderful, even if it IS just a Photoshop Filter... lol
I want to add treaded support rods to my Ender3V2 and this gives me all the building blocks to design the more complicated brackets to connect these rods to the frame.
I personally would've created two cylinders of height "width" and diameter of "thickness" in the middle of your braces and then created a hull() around them. But that's mostly because I'm too lazy to do the maths ;) BTW. I'm a huge fan of the BOSL library. It allows you to use e.g. up()/down() for translations on the z axis or you can use (x/y/z)spread to copy and distribute objects (for instance your holes) along an axis. It also brings functions with it to skew things or do fillets/chamfers. Oh, btw. the way you do your screw holes they're undersized. You'll need to multiply the radius with a "fudge factor": fudge = 1/cos(180/$fn);
Irv just a slight nit pic---- is it possible to change your cursor to either a bigger size and/or a different color than black?. When trying to follow along it is difficult to quickly ascertain where you are pointing to. Don't lose track of the fact that, like you, some of your viewers are older and may have diminished vision or visual acuity. I really enjoy your delivery style and explanations.
How often should I have to print a raft with PLA? I would like to try to find some PLA sources that do not require a raft for successful printing. HELP! Thanks !
Hi Doc, Please could you help. On my Ender 3 Pro, whenever i am printing sizes the print always comes out smaller than what was set in . For eg, I want a tube 10mm dia with a hole of 5mmdia. When its printed the hole is usually out, giving me a dia of approx. 4.6mm The 10mm is also out by approx. the same. What am I doing wrong Why when i build an object in Tinker cad ,transfer to Cura ,using your profiles, does this happen Cheers
I checked it out. I prefer software that runs on at least Windows and MacOS. I also think that going forward the move to web based solutions is going to continue to accelerate. I would love to see a web version of OpenSCAD that was integrated with TinkerCAD for home and hobby users.
why openscad?????? for the love of god why,why,why??? its a pain compared to onshape!! and onshape is free and onshape has great extenions for laser cutting!!!
As Irv stated, though OpenSCAD may not be suited for complex models or really be a pain in the arse, for the purpose demonstrated it is quite nifty. By introducing variables in the code you can easily share your model with people who are totally uninitiated to CAD. You just send them your source code as plain ASCII email attachment, give them in the mail body the download link to OpenSCAD and a few instructions how to load your source file and which settings to tweak in order to open the right pane (blimey, have forgotten what the name was of that tool) where they can enter the required values to resize your model to their needs. To accomplish this they don't have to know anything about the CAD software that was used to create the model. And it's OpenSource and doesn't require any registration or that your models only remain stored on some proprietary cloud file servers.
@@IronMan-yg4qw I haven't given OnShape a try yet. I should have visited their website first, before asking you. Is it one of those CAD programs that are executed in a browser?
@@IronMan-yg4qw It didn't take long to recheck why Onshape wasn't an option for me. I think it would be hard for me to reconcile with their business model. It's a _Software as a Service_ which to use would cost 1500 bucks a year ( haven't inquired what they would charge for German users ) which I cannot afford ( it's only a hobby for me ). Though one might be able to register a feature restricted educational licence ( but then my college days are some 30 years passed why I wouldn't qualify as student anymore, student card wise ) but they can at any time cripple that further or revoke it altogether. See what happened to the student version of Fusion360.
Excellent intro to OpenSCAD. Many Thanks!
there is a lot of stuff to digest here but is over the top useful. I will have to re-watch this show a few times. thanks for helping me learn something new
Nicely done. As you pretty much said, Open Scad is having users write C code - very clever!
Irv, you are such a dedicated brilliant teacher that watching your videos is so much fun while educational at the same time.
An at first look daunting task like "programming" even a simple 3D model, yet with a few intricacies like the inclined supporting bar, that prompted an instant recap detour into trigonometry basics, makes your little construction demo in OpenSCAD appear so effortless and easy.
I also appreciate your modesty because as every engineer knows, that if you have a degree in mechanical engineering where you were pestered with Fourier transforms (viz. trigonometric polynomial approximations) that you for sure won't have to hesitate for a second to identify which sides of a right angle triangle need to be related to define sine, cosine, and tangent.
This 1 video was enough to get me hooked into scad. Thanks!
Oh my god. So detail, so good!
Oh thank you!
Just WOW! Thumbs up as always Irv!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
This is an excellent video. You have wonderful teaching skills. Thanks so much for making this tutorial.
Thanks for this video. I took a look at OpenSCAD a while ago, and thought "Wow, this is way too involved to just whip out a quick model." You'd have to have the intent to create a 'family' of parts, to want to torture yourself with learning all this. You confirmed this.
This is basically anything but 'graphical CAD'. Now if you could import or sketch the part and have the software create a script for you, then, we'd have something to work with, for the everyday guy :)
I use OneCNC cadcam software.....mainly for the cam aspect. However, I do tons of reverse engineering of parts, and this requires the cad end (OneCNC Creator) It is not free, and is not parametric and it is NURBS (so very accurate models can be made, not STL approximations). But honestly, I can redraw a model faster than I made it the first time (if I botch it up), and so I am content to not use a parametric CAD. Most of my models are unique, get ONE use and then are machined, so I cannot spend hours and hours. I say this so that onlookers may not come up with the notion that CAD has to look and operate like OpenSCAD.
Amazing lesson! I always enjoy watching and learning something new.
Very well explained, many thanks!
Hi, I'm a big fan of your channel. I've been using openscad for a while, and as a programmer, I love it. I just discovered something really cool, that I don't think you mentioned in any of your openscad videos. The import function. I just realized that I can download an STL file from Thingaverse, and manulipulate it with openscad. This was a real eye opener for me.
Excellent video, nicely explained.
Great tutorial! Thank you!
One of your earlier videos is what got me into OpenSCAD and I've already designed a few thing!
Wanted to share a couple of cool, in my opinion, tips:
1) I find the OpenSCAD's editor somewhat difficult to use. So, I would open the scad file in my Visual Studio Code and edit my model there. When I save my file, OpenSCAD would auto-redraw the model for me! As a bonus side-effect, since I get to hide the editor, OpenSCAD has more room on screen to render the model! Also, VSCode has an OpenSCAD!
2) Instead of duplicating your code for debugging purposes, you can use symbols such as "#" and "%". The "#" is going to highlight the object I am augmenting. The "%" will do the same, with a big difference - whatever's behind a "%" will NOT get rendered. I find it useful if I am trying to align some components to an external model, but do not want to include the external model in my final STL.
3) I am all for reusable code. If I find myself repeating the same thing multiple times, I would move it out into a "module" and then reference that module every time I need a shape produced by that module! Example use of a module in your bracket: make your holes countersunk. For that, you would use something like this:
module countersunkScrew() {
union() {
cylinder(5, d=2);
translate([0, 0, 3]) cylinder(2, d=3);
}
}
difference() {
cube([10, 5, 4]);
translate([5, 2.5, 0]) countersunkScrew();
}
Excellent tips. There are a bunch of folks using OpenSCAD who talk about it on the drvax discussion group at forum.drvax.com
Brilliant, you nailed this one, best video!
Excellent Video! I single stepped through your opening "slide show" and was QUITE entertained! Is that portrait of you an actual drawing, and if so, who is the artist? Looks wonderful, even if it IS just a Photoshop Filter... lol
I want to add treaded support rods to my Ender3V2 and this gives me all the building blocks to design the more complicated brackets to connect these rods to the frame.
Super video :-)
I personally would've created two cylinders of height "width" and diameter of "thickness" in the middle of your braces and then created a hull() around them. But that's mostly because I'm too lazy to do the maths ;) BTW. I'm a huge fan of the BOSL library. It allows you to use e.g. up()/down() for translations on the z axis or you can use (x/y/z)spread to copy and distribute objects (for instance your holes) along an axis. It also brings functions with it to skew things or do fillets/chamfers.
Oh, btw. the way you do your screw holes they're undersized. You'll need to multiply the radius with a "fudge factor": fudge = 1/cos(180/$fn);
Thank you
@23:30 - Instead of nesting diference commands, you could have grouped your 2 cylinders. ;-)
Irv just a slight nit pic---- is it possible to change your cursor to either a bigger size and/or a different color than black?. When trying to follow along it is difficult to quickly ascertain where you are pointing to. Don't lose track of the fact that, like you, some of your viewers are older and may have diminished vision or visual acuity. I really enjoy your delivery style and explanations.
How often should I have to print a raft with PLA? I would like to try to find some PLA sources that do not require a raft for successful printing. HELP! Thanks !
Thank you.
Hi Doc, Please could you help. On my Ender 3 Pro, whenever i am printing sizes the print always comes out smaller than what was set in . For eg, I want a tube 10mm dia with a hole of 5mmdia. When its printed the hole is usually out, giving me a dia of approx. 4.6mm The 10mm is also out by approx. the same. What am I doing wrong Why when i build an object in Tinker cad ,transfer to Cura ,using your profiles, does this happen
Cheers
You should check out Alibre Atom3D. It’s cheap, powerful, and not subscription based.
I checked it out. I prefer software that runs on at least Windows and MacOS. I also think that going forward the move to web based solutions is going to continue to accelerate. I would love to see a web version of OpenSCAD that was integrated with TinkerCAD for home and hobby users.
why openscad?????? for the love of god why,why,why??? its a pain compared to onshape!! and onshape is free and onshape has great extenions for laser cutting!!!
As Irv stated, though OpenSCAD may not be suited for complex models or really be a pain in the arse, for the purpose demonstrated it is quite nifty.
By introducing variables in the code you can easily share your model with people who are totally uninitiated to CAD.
You just send them your source code as plain ASCII email attachment, give them in the mail body the download link to OpenSCAD and a few instructions how to load your source file and which settings to tweak in order to open the right pane (blimey, have forgotten what the name was of that tool) where they can enter the required values to resize your model to their needs.
To accomplish this they don't have to know anything about the CAD software that was used to create the model.
And it's OpenSource and doesn't require any registration or that your models only remain stored on some proprietary cloud file servers.
@@othernicksweretaken meh! onshape is for easy/simple parts to and is still way way way way way.... easier!!!
@@IronMan-yg4qw
I haven't given OnShape a try yet.
I should have visited their website first, before asking you.
Is it one of those CAD programs that are executed in a browser?
@@IronMan-yg4qw
It didn't take long to recheck why Onshape wasn't an option for me.
I think it would be hard for me to reconcile with their business model.
It's a _Software as a Service_ which to use would cost 1500 bucks a year ( haven't inquired what they would charge for German users ) which I cannot afford ( it's only a hobby for me ).
Though one might be able to register a feature restricted educational licence ( but then my college days are some 30 years passed why I wouldn't qualify as student anymore, student card wise )
but they can at any time cripple that further or revoke it altogether.
See what happened to the student version of Fusion360.
@@othernicksweretaken yes its browser baser. and free