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...

ความคิดเห็น • 37

  • @CraftyEnelrad
    @CraftyEnelrad 2 ปีที่แล้ว +3

    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!

  • @AntonyHart
    @AntonyHart 3 ปีที่แล้ว +4

    Thanks, learned OpenSCAD tonight thanks to your clear tuts!

  • @vadimemelin9068
    @vadimemelin9068 3 ปีที่แล้ว +3

    Thank you very much for such a deliberate tutorial on this marvelous technology!

  • @HendrieBosch
    @HendrieBosch 5 ปีที่แล้ว +5

    I really like your video's. Thanks a lot for the effort.

  • @freeelectron8261
    @freeelectron8261 5 ปีที่แล้ว +5

    I really love your tuts. I'm thinking of getting OpenSCAD. I think this may have convinced me.

    • @mathcodeprint
      @mathcodeprint  5 ปีที่แล้ว +2

      I'm glad you enjoy them. I really liked making this particular tutorial. Have fun with OpenSCAD.

    • @magnuswootton6181
      @magnuswootton6181 3 ปีที่แล้ว +2

      if you paramaterize it, you can have a whole lego set out of it. I think the lego company might go bankrupt. :(

    • @ethanmay4385
      @ethanmay4385 2 ปีที่แล้ว +2

      @@magnuswootton6181 lol that's why lawyers and copyright were invented

  • @novahost2010
    @novahost2010 5 ปีที่แล้ว +1

    Adorei o seu vídeo!!! Parabéns pela explicação.

  • @Power-Wiesel
    @Power-Wiesel 4 ปีที่แล้ว +1

    Good tutorial. Thx :)

  • @deemdoubleu
    @deemdoubleu 3 หลายเดือนก่อน

    Awesome demo thanks

  • @maxquigley9524
    @maxquigley9524 ปีที่แล้ว +2

    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.

  • @SiebeBosch
    @SiebeBosch ปีที่แล้ว

    Awesome! Thanks a bunch!

  • @TheRainHarvester
    @TheRainHarvester 5 ปีที่แล้ว +3

    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.

    • @mathcodeprint
      @mathcodeprint  5 ปีที่แล้ว +1

      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.

  • @esd9058
    @esd9058 5 ปีที่แล้ว +1

    Thank you

  • @EurekasFigMedia
    @EurekasFigMedia 5 ปีที่แล้ว +1

    Brilliant tutorial !!!
    does anyone know the link to the block diagram in teachers pay teachers ?

    • @mathcodeprint
      @mathcodeprint  5 ปีที่แล้ว

      Yes, me, I'll add to description. Soz. also here: www.teacherspayteachers.com/Product/Reverse-Engineering-Measurement-Worksheet-3817868

  • @tombert512
    @tombert512 3 ปีที่แล้ว +1

    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!

    • @mathcodeprint
      @mathcodeprint  3 ปีที่แล้ว +1

      I call you remarks refinement :)

    • @tombert512
      @tombert512 3 ปีที่แล้ว +1

      @@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?

    • @mathcodeprint
      @mathcodeprint  3 ปีที่แล้ว

      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"

    • @tombert512
      @tombert512 3 ปีที่แล้ว +1

      @@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.

  • @3dadventures792
    @3dadventures792 3 ปีที่แล้ว +1

    Hey, neat toy brick! Definitely looks very trademark non-infringing! Totally have never seen one like that.
    :p thanks for the video!

    • @mathcodeprint
      @mathcodeprint  3 ปีที่แล้ว +2

      But mine is yellow with red letters, certainly that is different :)

  • @feru7201
    @feru7201 5 ปีที่แล้ว +1

    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.

    • @mathcodeprint
      @mathcodeprint  3 ปีที่แล้ว +1

      Sorry I missed this, I use keymon. it might be linux only.

  • @vadimemelin9068
    @vadimemelin9068 3 ปีที่แล้ว +1

    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'

  • @YigalBZ
    @YigalBZ 3 ปีที่แล้ว +1

    Thanks for the video. The link to your github is missing. Also - how do you translate from the "units" to real world dimensions?

    • @mathcodeprint
      @mathcodeprint  3 ปีที่แล้ว +1

      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.

    • @YigalBZ
      @YigalBZ 3 ปีที่แล้ว

      @@mathcodeprint At what stage is the translation done to physical unit? What if I want a unit to be a 1 meter? and Inch?

  • @jeffersonsanchez1374
    @jeffersonsanchez1374 3 ปีที่แล้ว +2

    // 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);
    }
    }

  • @Rabianurguven
    @Rabianurguven 3 ปีที่แล้ว +1

    OMG, coding and 3d modeling idk that wow

    • @vadimemelin9068
      @vadimemelin9068 3 ปีที่แล้ว +1

      It's more than 3d modeling - It's cad
      This is literally engineering re-invented

  • @lifehackertips
    @lifehackertips ปีที่แล้ว

    omg this is horrible, i can't imagine doing all this to make something simple like a rectangle with cylinders on top