OpenSCAD Tutorial for Beginners - Model a Toy Brick
ฝัง
- เผยแพร่เมื่อ 26 เม.ย. 2024
- This is a beginner level Tutorial for modeling a Toy Brick. It is part of a series that includes various CAD systems. Younger learners may want to try BlocksCAD as well. Those who want to use a Graphic based system try OnShape , Fusion or FreeCAD. They will all be in the Toy Brick Play list as they are released.
The worksheet is located here:
www.teacherspayteachers.com/P...
Yes, people are still watching your videos. Thanks for the tutorial. I even took your lesson and created a 4 peg block using my new found knowledge. THANKS!
Thanks, learned OpenSCAD tonight thanks to your clear tuts!
Well done!!!
Thank you very much for such a deliberate tutorial on this marvelous technology!
I really like your video's. Thanks a lot for the effort.
I really love your tuts. I'm thinking of getting OpenSCAD. I think this may have convinced me.
I'm glad you enjoy them. I really liked making this particular tutorial. Have fun with OpenSCAD.
if you paramaterize it, you can have a whole lego set out of it. I think the lego company might go bankrupt. :(
@@magnuswootton6181 lol that's why lawyers and copyright were invented
Adorei o seu vídeo!!! Parabéns pela explicação.
Good tutorial. Thx :)
Awesome demo thanks
Very nice video. This style of 3D CAD appeals to me since I have a drafting background followed by a software background. I could pick this up fairly quickly. I tend to think better in terms of numbers than in terms of dragging images around the screen to poorly defined locations.
I didn't see "OPENSCAD" appear on the block because TH-cam always plops a bunch of graphical links on top of the video image.
Awesome! Thanks a bunch!
I like the freecad constraint method of designing. I made a video on how to get gcode automatically after modifying the design. It really quickened my pipeline.
That's sounds terrific I'm going to check it out. I also prefer FreeCAD , but as freecad has a pretty high learning curve. Programs are great for getting started in modelling.
Thank you
Brilliant tutorial !!!
does anyone know the link to the block diagram in teachers pay teachers ?
Yes, me, I'll add to description. Soz. also here: www.teacherspayteachers.com/Product/Reverse-Engineering-Measurement-Worksheet-3817868
This video is great; purely in the interest of pedantry, I have a few notes.
1) You actually don't need to wrap the characters in an array/vector/list/whatever-they-call-it; you can index a string character by doing a regular index like "this"[0].
2) I would probably make the legs and pegs on the top into separate modulers, parameterized on width. For the peg, I would also take in the character you want to print as an argument. Then your for loop logic is greatly simplified, and you get a bit more reuse as a result.
That said, this video is still really helpful, thanks for making it!
I call you remarks refinement :)
@@mathcodeprint Out of curiosity, since you seem to use OpenSCAD a lot more than I do, have you noticed any faster rendering times if you use basic compsci optimizations? e.g. avoiding touching elements n^2 time, or using a better data structure or something?
I haven't noticed, but I he honest I haven't really payed attention. For final renders if complex designs I usually walk away. Otherwise I just reduce the facet count $fn=, for tolerable "rendering"
@@mathcodeprint Fair enough, my biggest blocker thus far (coming from a software world, not a drafting one) has been the fact that there doesn't appear to be any kind of dictionary data structure, so I've had to spoof mappings with big "if-chain" functions, which of course will be O(n) for string comparisons.
I guess for anything complicated, I'll just kick off a render and then go grocery shopping.
Hey, neat toy brick! Definitely looks very trademark non-infringing! Totally have never seen one like that.
:p thanks for the video!
But mine is yellow with red letters, certainly that is different :)
Hello. Could you help me with which program to add a mouse or a keystroke as shown in your videos.
Thank you for your help in advance.
Sorry I missed this, I use keymon. it might be linux only.
The only note, I can leave is that string itself is an array, so assigning a variable like this:
text("LEGO"[0])
Would print a letter 'L'
Good info thanks !
Thanks for the video. The link to your github is missing. Also - how do you translate from the "units" to real world dimensions?
I'll add the link, later today, sorry. So for units OpenSCAD is unit agnostic. In the case of the brick I built it considering 1 unit to be equal to 1 mm.
@@mathcodeprint At what stage is the translation done to physical unit? What if I want a unit to be a 1 meter? and Inch?
// A lego brick//
$fn=25;
//body
difference(){
cube([31.8,15.80,9.60]);
translate([1.45,1.45])
cube([28.9,12.9,8.60]);
}
translate([3.90,3.90])
for(j= [0:1]){
for(i = [0:3]){
translate([i*8,j*8,9.60])
cylinder(h=1.80,r=2.42);
}
}
translate([7.90,7.90])
for(k = [0:2]){
translate([k*8,0])
difference(){
cylinder(h=8.6,r=3.25);
cylinder(h=8.6,r=2.4);
}
}
OMG, coding and 3d modeling idk that wow
It's more than 3d modeling - It's cad
This is literally engineering re-invented
omg this is horrible, i can't imagine doing all this to make something simple like a rectangle with cylinders on top