FreeCAD: Linking and animating a set of gears by turning / adjusting drive gear angle with formula

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ก.พ. 2021
  • Linking together a number of a number of gears and controlling the rotation from one gear only, the drive gear. This tutorial teaches you how to use a formula attached to each gear to control all your gears in your setup. For ease of use we also create a simple play button to progress the animation one frame at a time with 3 lines of python code and add that to our toolbar.
    #FreeCAD #animation #tutorial
    Journey with me and
    Donate:
    ko-fi.com/mang0
    Subscribe:
    / @mangojellysolutions
    Browse my Redbubble Shop:
    MangojellyLabs.redbubble.com
  • แนวปฏิบัติและการใช้ชีวิต

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

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

    I have a suggestion/request for a video. I'd much like to see an in-depth video covering all the different causes for fillets failures, from the simple basic causes, to the more complex and subtle causes, to the corner cases. Also it would be good to have guidance on a check-list for identifying and locating the origin/source of each type of fillet problem, and a how to fix strategy for each particular type of fillet problem, so that hopefully we can learn how to get our fillets working correctly (every time) even with complex geometry. I've read about using the 'OpenSCAD refine shape' feature fix to fix fillet problems and I've read 'PartDesign refine' can also help and I've read fillet problems occur when edges meet or overlap. Yet despite this, the causes for fillet failures is still very blurry to me. Solving them is often hit and miss, like doing a lucky (or unlucky) dip! Would also be helpful to know about and cover fillet failure cases where potentially there are no solutions at all (I'm guessing certain fillet problems exist that have no solutions, but I'm not certain of this). Lastly, it would be good to get solid guidance on general best practices when creating designs to prevent fillet problems from occurring. I hope this suggestion is helpful. Cheers and thanks again for your nice videos!

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

    This is very neat. I really love seeing the programing. Thank you so much.

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

      Missed this comment. Thanks for the kind words. There will be more programming coming soon. Something a bit different this time.

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

    Marvelous video, thanks!

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

    Much thanks. I learned a lot from your video.

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

      Thank you for your comment. I always appreciate comments and feed that back into my videos to grow the content and quality of the videos.

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

    I love the videos that you do. Thank you. This particular one seems to not work on 0.20.1 -- the Placement.Rotation.Angle paramter seems never to be avilable to me. Any suggestion?

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

    Awesome

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

    Brilliant, thanks,

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

    BTW, you can just type "9 deg" and FreeCAD will sort it out.

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

    Very nice videos...

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

    Can you please show or tell me how to do something probably very simple for you, how do you make the rod rotate with the gear. Thanks much.

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

      The angle in the data tab of the rod can be linked to the angle of the gear by clicking on the angle field within the placement. A button will appear on the end of the field where you can type in the formula.

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

      @@MangoJellySolutions thanks. very nice.

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

    💕👍

  • @user-gn5hz9fb7m
    @user-gn5hz9fb7m 3 ปีที่แล้ว +1

    Nice:). But not exactly what I want. Maybe you know, Is there any way to make rotate gears as they are a physical objects? In SW the assembly uses the same approach. User just defines speeds by simple formula using the number of teeth. BUT... User can move the body and check physical penetration with another one in assembly mode. Before that, there must be some mates defined. I saw it in a video, but don't have link for it. Why do I need that? Well, imagine I designed a pair of gears with wrong geometry and I want to check it. I'm not a newbie in Freecad, but I never used a macros. So, I don't know where to start from. Anyway, thanks for sharing.

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

      Are you looking for some type of object collision so they actually mesh and affect each other? Sorry quite sure what you are looking for. If you can find the link I will do some research and experimentation.

    • @user-gn5hz9fb7m
      @user-gn5hz9fb7m 3 ปีที่แล้ว +1

      @@MangoJellySolutions Oh, Hello:) I don't know why I used this word -penetration-, maybe it's not quite the right one here. I still can't find that video, but there's another one. th-cam.com/video/444CgHqLKXo/w-d-xo.htmlm10s If someone rotates the gear very smoothly manually by mouse, the counter gear will also rotate smoothly. But if the rotation is not physically possible, then the second gear will rotate jerkily. This is how it works in SW. But you're right, I probably need to use the collision detection, and if it is found, then try to turn the second gear at the lowest possible reversed angle. But this is cheating as I think. I can't even imagine what a real algorithm for physical animation should be in complex assembly with different degrees of freedom.

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

      @@user-gn5hz9fb7m yes I thought that was what you was describing . Unfortunately this is not supported in freecad yet and I think it is one of the ultimate goals to get to. Having the ability to make sure the gears mesh correctly allowing you to find any destructive forces I think would allow freecad to catch up to the likes of solidworks.