OpenSCAD - Model a Bearing in less than ten minutes.

Поділитися
Вставка
  • Опубліковано 21 жов 2024

КОМЕНТАРІ • 52

  • @ironnoriboi
    @ironnoriboi 3 роки тому +18

    Hi, can you make a video where you create {whatever I need}?

  • @NavySturmGewehr
    @NavySturmGewehr 6 років тому +8

    Thank you very much for the video, it was the first think I made with openscad! I believe I improved on yours slightly and it didn't add too much complexity to include the radius'd edges. I look forward to following more of your videos!
    //X,Y,Z
    //Another attempt at a bearing
    //Render Options
    $fn = 50;
    //variables
    rw = 08.00; //Race width
    r = 00.50; //Radius
    id = 20.00; //Inside diameter of bearing
    od = id+(rw*2); //Outside diamter of bearing
    c_rw = rw-(r*2); //Corrected racewidth after minkowski
    d_bb = 05.00; //Diameter of the ball bearing
    r_o = d_bb*0.50; //race opening for lubrication
    //Bearing race assembly
    rotate_extrude() {
    difference() {
    //bearing races
    translate([((od/2)-(rw/2)),0,0]) {
    minkowski() {
    square (c_rw, center = true);
    circle (r = r);
    }
    }
    //bearing path
    translate([((od/2)-(rw/2)),0,0]) {
    circle (d = d_bb);
    }
    //cut out for bearing lubrication
    translate([((od/2)-(rw/2)),0,0]) {
    square([r_o,rw+r], center = true);
    }
    }
    }
    //Ball bearings
    for (ball = [0:30:360]) {
    rotate([0,0,ball])
    translate([((od/2)-(rw/2)),0,0])
    sphere(d = d_bb);
    }

  • @250-25x
    @250-25x 6 років тому +4

    That was slicker then Eel doody! a 3 minute roller bearing! badass my man!

  • @patrickrombaut9469
    @patrickrombaut9469 2 роки тому +1

    Very nice video, learned a lot in a small amount of time. Thanks, Patrick

  • @tbtitans21
    @tbtitans21 7 місяців тому +1

    Everything I print is directly converted to millimeters so I would say the units are millimeters and thats a nice thing to count on without having to scale

  • @marcinjakubowski6010
    @marcinjakubowski6010 4 роки тому +1

    Nice and simple subtraction and circular extrusion.

  • @kevinbowker2385
    @kevinbowker2385 Рік тому +1

    FANTASTIC!! Thank you for sharing this

  • @dragade101
    @dragade101 2 роки тому +1

    I dont know if a newer version solved this better but the rotate_extrude() function might be missing parameters of how it defaults. You had the shapes on the XY plane and they extruded while rotating about the Y axis and maybe thats a logical though process by the dev. I don’t think its too unusually. I would first think you stay within a plane, say your objects are within XY and you rotate about X but this is cleaner to think about (that you are drawing your cross section)

  • @Hermiel
    @Hermiel 4 роки тому +4

    How WOULD one add a bevel or a chamfer to the outer edge of the ring? Would it have to be cut using a separate piece of geometry?

    • @mathcodeprint
      @mathcodeprint  4 роки тому +1

      Yes. Generally speaking you would use a difference to remove the material. In another video I try to build the raceway starting with 2d geometry and rotate_extrude. In that case you can include the chanfer in the 'sketch'. Chamfer and Fillet can be difficult. There are also various libraries that can help with this.

    • @Hermiel
      @Hermiel 4 роки тому

      @@mathcodeprint I've been doing some digging on forums. It seems that this is simply one of OpenSCAD's natural shortcomings. It's hard to bevel an edge when it can't be selected explicitly, and as an edge grows in complexity, beveling it becomes more difficult and expensive.

    • @robertnusser1984
      @robertnusser1984 4 роки тому +1

      It's quite easy to bevel. I drew another square and a difference between that and a circle to create the bevel shape, then moved it to the correct location, then a difference with the rest:
      rotate_extrude(){
      difference(){
      difference(){
      union(){
      translate([10.5,0,0]) square([5,7], center = true);
      translate([19.5,0,0]) square([5,7], center = true);
      };
      translate([14.75,0,0]) circle(3.5);
      }
      translate([-19,0,0]){
      difference(){
      translate([40,0,0]) square([5,9], center = true);
      translate([37,0,0]) circle(5);
      }
      }
      }
      }

  • @iModel-ft6kh
    @iModel-ft6kh 7 років тому

    Hi Do you use an external editor for openscad. If not why not.

  • @caveman42
    @caveman42 6 років тому +2

    How did the height of the object change when you did Rotate_Extrude() ? it was a flat 1mm piece. But after you did the Rotate_Extrude, it was all of a suddenly 10mm tall?

    • @alttrashpoubelle7602
      @alttrashpoubelle7602 3 роки тому

      I would like to know too

    • @zxxvcc
      @zxxvcc 2 роки тому

      @@alttrashpoubelle7602 according to the docs (top Google result for rotate_extrude) the 2d shapes get automatically rotated 90 degrees round the X axis before being extruded round z. Kinda weird.

    • @zxxvcc
      @zxxvcc 2 роки тому

      Actually that's mentioned at the 9 minute mark ☺️

  • @proterotype
    @proterotype Рік тому +1

    Thanks from 6 years in the future.

  • @nathanielkwak3307
    @nathanielkwak3307 7 років тому +3

    Thanks for the video, there are a few things I'm confused about.
    the halfway point between 10.5 &19.5 is 15, not 14.75. I don' understand why the finished product looks right yet this non centered point is painfully apparent when taken one step at time?
    rotate_extrude(){
    difference(){
    union(){
    translate([10.5,0,0]) square([5,7],center=true);
    translate([19.5,0,0]) square([5,7],center=true);
    }
    translate([15,0,0])circle(r=3.5,center=true);
    }
    }
    yet this works exactly the same.
    //rotate_extrude(){
    //difference(){
    //union(){
    //translate([10.5,0,0]) square([5,7],center=true);
    //translate([19.5,0,0]) square([5,7],center=true);
    // }
    // translate([14.75,0,0]) circle (3.5);
    // }
    //}
    just put this in and you can see it's not centered?
    union(){
    translate([10.5,0,0]) square([5,7],center=true);
    translate([19.5,0,0]) square([5,7],center=true);
    }
    translate([14.75,0,0]) circle (3.5);
    But I finished your final and it appears to be centered? Very confused by this?

    • @kaio37k
      @kaio37k 7 років тому

      The reason for the measurement difference is because of the limited vertices in a single sphere correct? Given the sphere was perfectly round, they would be touch at 15?

    • @AndersJackson
      @AndersJackson 7 років тому

      Add comments, and you will remember for later. :-)

    • @maxscott3349
      @maxscott3349 2 роки тому

      The races are not the same thickness I guess. The sphere is right where he subtracted the circle from the two squares.

  • @dartme18
    @dartme18 4 роки тому

    Hi, there, just getting started in SCAD, and this is a super helpful tutorial to get acquainted with the language!
    4:40 did you mean for that circle to be off-center of the rectangles? Maybe the circle should be translate[15,0,0]) circle(3.5)? Or am I ignorant of good bearing design?

    • @dartme18
      @dartme18 4 роки тому

      Oh yeah, it seems to be a mistake because 4:25 "that's the centerpoint between these two...". The center point is 15.

    • @dartme18
      @dartme18 4 роки тому

      Same with the balls at 7:55 ... rotate([0,0,ball]) translate([15,0,0]) sphere (r=3.25)

    • @mathcodeprint
      @mathcodeprint  4 роки тому +1

      No, I think this was addressed in the comments quite some time ago. I was just going for an approach.

    • @dartme18
      @dartme18 4 роки тому +1

      @@mathcodeprint Okay, thanks! This was very helpful, and I've been able to use openscad for a couple drawings already. Thank you!

    • @1islam1
      @1islam1 Рік тому

      @@dartme18 🔴 What Is Islam?
      🔴 Islam is not just another religion.
      🔵 It is the same message preached by Moses, Jesus and Abraham.
      🔴 Islam literally means ‘submission to God’ and it teaches us to have a direct relationship with God.
      🔵 It reminds us that since God created us, no one should be worshipped except God alone.
      🔴 It also teaches that God is nothing like a human being or like anything that we can imagine.
      🌍 The concept of God is summarized in the Quran as:
      📖 { “Say, He is God, the One. God, the Absolute. He does not give birth, nor was He born, and there is nothing like Him.”} (Quran 112:1-4) 📚
      🔴 Becoming a Muslim is not turning your back to Jesus.
      🔵 Rather it’s going back to the original teachings of Jesus and obeying him.

  •  5 років тому +1

    Pare ser una herramienta de diseño 3D muy buena.
    Trataré de usarla para ver si la adopto.
    Saludos desde El Salvador.

  • @YigalBZ
    @YigalBZ 2 роки тому

    at 4:43: why is the center 14.75 and not 15? which is the center between 10.5 and 19.5?

    • @mathcodeprint
      @mathcodeprint  2 роки тому +1

      Because i am a little careless at times :)

    • @YigalBZ
      @YigalBZ 2 роки тому +1

      @@mathcodeprint Thanks god, you are human !

  • @YigalBZ
    @YigalBZ 2 роки тому

    Thank you !! impressive and simple.

  • @yksnimus
    @yksnimus 6 років тому

    can you create joints in openscad? (i think theyre called mates on solidworks)

  • @tobiasrabelink7733
    @tobiasrabelink7733 7 років тому +2

    Can you make a video of how to design a mechanica siren rotor And stator???

  • @nathanconder7235
    @nathanconder7235 6 років тому +1

    $fn = 50;
    rotate_extrude(){
    difference(){
    union(){
    translate([10.5,0,0]) square([5,7], center=true );
    translate([19.5,0,0]) square([5,7], center=true );
    }
    translate([14.75,0,0]) circle( 3.5 );
    }
    }
    for ( ball = [0:30:360] ) {
    rotate([0,0,ball])
    translate([14.75,0,0])
    sphere( r=3.25 );
    }

  • @jesuschal3802
    @jesuschal3802 3 роки тому

    Why the need of union?

    • @mathcodeprint
      @mathcodeprint  3 роки тому +1

      So the difference is applied to the union in one operation. Otherwise you would need to apply difference to each square separately.

  • @YigalBZ
    @YigalBZ 2 роки тому

    Can it be printed without support? the balls would be floating.

  • @chizhang3263
    @chizhang3263 6 років тому +3

    notice something is wrong with the codes but its always a damn typo lolol

    • @loekwous
      @loekwous Рік тому

      And every time I saw it coming haha

  • @JeffsTravels
    @JeffsTravels Рік тому +1

    pretty underwhelming until six minutes 20 seconds in. Then I saw the light.

  • @iModel-ft6kh
    @iModel-ft6kh 7 років тому

    I understand thanks

  • @wave5342
    @wave5342 6 років тому +1

    can u fakin give link

    • @mathcodeprint
      @mathcodeprint  6 років тому

      Absofakinlutely :) , look in description, just added.

    • @wave5342
      @wave5342 6 років тому +1

      @@mathcodeprint
      ❤️❤️❤️

  • @bobbobless522
    @bobbobless522 6 років тому +5

    Openscad has got to be the most stupidest 3d software out there.

    • @malloott
      @malloott 4 роки тому +1

      @Robert Slackware no because a modern 3d cad is way better at everything this is trying to do. I am really hard pressed to find what makes someone use this.

    • @malloott
      @malloott 4 роки тому

      @Robert Slackware If someone uses the machine that controls the CNC to draw in 2020 they are stupid. A 3D cad capable machine (for simple drawings and assemblies) can be had for under 400euro easily(not even taking 2nd hand into account). When cnc machines and their components cost many times that.
      But this would have been a valid point about 10 years ago for sure.

    • @jameshowse300
      @jameshowse300 Місяць тому

      Has anyone's feelings changed after 6 years?