FreeCAD: Animating Gears with Python

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 เม.ย. 2020
  • Tutorial explaining the steps to create and animate gears using the part design in FreeCAD.
    This technique covers creating the gear bodies and using python macros to drive the rotation animation by rotating the actual bodies. We cover working with macros, programming in python code, using the part design workbench and generally interpreting and planing the movement of the mechanics and converting these to a CAD solution, working out gear ratio's etc
    #freeCAD #tutorial #3DPrinting #CNC
    Journey with me and
    Subscribe:
    / @mangojellysolutions
    Browse my Redbubble Shop:
    MangojellyLabs.redbubble.com
  • แนวปฏิบัติและการใช้ชีวิต

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

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

    I greatly appreciated this tutorial. Specially the animation integration with python. Thanks a lot

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

      Thanks for your comments. Glad you found the video useful. Please have a look through the channel to find more videos on animation. I have also updated a few more on python and will be uploading more shortly that go more in depth with python scripting. Anything you want to know please hit me up with a question and I will try my best to answer it.

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

    Right on the spot I was looking for
    clear video, easy to follow, got the expected result, thanks for doing
    I actually used gears from the FCGear workbench, worked just the same

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

      Thanks for your comments and support. I need to explore to FCGears workbench one day.

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

    Fantastic. First simulation for me :)

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

    Hi D. I think this kind of macro should be apart of an include in the Horology WB. This would be an awesome plug for it.

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

    Thank you. Really clear tutorial. I want to learn to make parametric assemblies, do you have any tips?
    (Eg. 600mm wide cupboard has 1 door, when changed to 800w it gets 2 doors)

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

      Thanks, glad you enjoyed. I am sorry I have never tried doing these kinds of assemblies in freecad. I will do some research and come back to you.

  • @harrismike6874
    @harrismike6874 2 ปีที่แล้ว

    Center diameter distance must be equal to module*(aithmetic average of sum of number of teeths)
    Rotation angle =360/number of teeths

  • @kissingfrogs
    @kissingfrogs 2 ปีที่แล้ว

    This is awesome. But how do you make it stop. I ran my sketch animation macro in the editor, but I dont know how to make it stop. I had to quit freecad so I could restart it with an added timer.stop statement. Maybe thats the only way.

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

    It can't run,
    " Traceback (most recent call last):
    File "", line 1, in
    NameError: name 'timer' is not defined
    How can I solve this problem? Thank you.

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

    What's happening?
    The python console is writing
    Traceback (most recent call last):
    File "", line 1, in
    NameError: name 'QtCore' is not defined

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

      Please post your code and let us know what version of freeCAD you are using.

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

    Is an animation possible in A2plus workbench with gears?

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

    i was following the video then just after 12:16 your python console popped up? mine did not, what did you do ?

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

      If you go to view, panels python console you be able to access it from there.

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

      Ah looking back, I think that was a video edit.

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

      @@MangoJellySolutions thanks

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

    It's unfortunate that you have to animate all the constituents parts yourself, it would've been nice if it were like in Inventor where all the part interactions are calculated automatically.

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

      It's a weak area for FreeCAD and I really hope that a Develoer somewhere will fill the gap. Like you I am used to other applications that apply these automatically.

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

      @@MangoJellySolutions Do you have any examples of programs that apply collisions automatically? Solidworks perhaps?

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

      @@Mooskislide I looking for the same on free software usable with python probably -> openscad i found this www.thingiverse.com/thing:2978555