Great video thank you. My problem is resetting the axis of the pivot. I tried your way but it is not working. What to do? Can you describe the steps for my? Thanks.
Difficult but satisfying to get there in the end. If you stop the animation with comment, remember to remove the comment after! Also have to be carefull applying the constraints correctly. Not sure I would use this function much but good to know and interesting tuttorial. Thanks!
Since my last comment, I managed to run my engine with its piston and all its components by making some modification to the macro "Animation Gui" not without difficulty. Even today it's not perfect but it works, the problem is, when my cam has made a complete turn it goes back 🤔😉
Awesome video series! I've learned a great deal and love how you explain the details and gotcha's that are usually glossed over by others. I am having a couple difficulties and was hoping you could provide insight. Firstly -- I have the animation working just fine per the simple python script. However when I save and exit FreeCAD upon re-entering and loading the animation demo, i get unresolved constraint errors. I have to reset everything back using the master script, setting the pivot point to false and back to true. Once I've done these things the animation works. Second issue has to to do with the timer script you posted above. I've changed "Box" to "BODY001_001" which is correct for my model. After executing, the pivot point just spins around while the crankshaft is stationary. The pivot-point to crankshaft constraints are active and the fixed position is set to "True". Thanks for taking the time to share your knowledge. Oh, and not sure if it matters but I'm running v20 latest build.
Thank you for the comments lately I have been seeing a few issues with this workbench and I am not 109% sure if there are some issues. I am going to investigate the reasons why. A2Plus is not the best workbench to use for animation as since this tutorial a few others have come onto my radar, it takes a long time to reprocess everything and can seem to break easily as you experience. I am looking to redo this tutorial on a couple of the other assembly workbenches and compare the results . As with the script it sounds like the solve command is either missing from your code or again not working. I will have a look to see what I can find out.
Great video series . I was curious if you could have multiple master sketches with parts on different planes connected together for complex assemblies ? with automation simultaneously ?
Glad your enjoying. In freecad you are able to import the geometry from a sketch on another plane so you would be able to make two sketches that connect. I do this quite often in the curves workweek when I want to trace two sides of a 3d object and project the result into 3d space. Using these as a master sketch should work. I have never been in the situation where I have needed to do this but thinking back to past projects this workflow would of been an alternative route.
I don't know what I did wrong in the previous lessons. After spending 45 minutes here to get to 16:12, I give up. Either the PivotPoint constraint doesn't work or it's conflicting, and the problem doesn't seem consistent. FixedPosition, constraints enabled, nothing I change has an expected effect. I restarted 5 times because my FreeCad 0.19 wasn't doing what you were showing. Manually resetting the assembly to bottom dead center (where I started) was a 10 minute chore.
@@MangoJellySolutions That one always worked. I think the problem lies elsewhere in the assembly because it didn't turn consistently or repeatably, and at one point the small end of the con rod was not where it was supposed to be.
The video indicates that hitting the Space bar on the master sketch disables the constraints, but I found this does not always work. There is a property on constraints called "Suppressed" this must be set to true to actually disable the constraint. Unfortunately, the Suppressed property cannot be manually changed, but toggling the visibility on, then back off seemed to set Suppressed back to true. It appears that if the document is saved, the Suppressed state is not saved and defaults to False, so has to be reset when the document is opened again. Seems a bit of a bug.
Found my stupid mistake! Put a champfer on the end of the crankshaft. I had then made the disc to the inner diam. Hence the line on the crankshaft were not on same axis and so I was trying to make an axial constraint for the pivot disc to the shaft but the pivot disc is fixed. Hence the error. Now works snd moves as per video.! Next on to animation!
Thanks to your video channel I am starting to get my head around FreeCAD, BUT I Keep getting this error. (: module 'FreeCAD' has no attribute 'AvtiveDocument') I have absolutely no idea what it means, would appreciate ay advice. Also can you increase the Font size in the Macro and Pyhton consoles? If so how :)
I finally finished this 3.0 tutorial! Thank you for posting it!
Great video thank you. My problem is resetting the axis of the pivot. I tried your way but it is not working. What to do? Can you describe the steps for my? Thanks.
Difficult but satisfying to get there in the end. If you stop the animation with comment, remember to remove the comment after! Also have to be carefull applying the constraints correctly. Not sure I would use this function much but good to know and interesting tuttorial. Thanks!
Great to hear you got through it. I am going to compare this workbench with the others to see if I can find anything quicker and easier to work with.
Thank you so much, exactly what I was looking to do and with the workbench I wanted to use.
Great to hear, glad it's what you wanted. 😁👍
@@MangoJellySolutions Yes, it falls "pile poil" as we say in French. I don't know how to say it in English "pile poil", I'm sorry😉👍
Since my last comment, I managed to run my engine with its piston and all its components by making some modification to the macro "Animation Gui" not without difficulty. Even today it's not perfect but it works, the problem is, when my cam has made a complete turn it goes back 🤔😉
Awesome video series! I've learned a great deal and love how you explain the details and gotcha's that are usually glossed over by others. I am having a couple difficulties and was hoping you could provide insight. Firstly -- I have the animation working just fine per the simple python script. However when I save and exit FreeCAD upon re-entering and loading the animation demo, i get unresolved constraint errors. I have to reset everything back using the master script, setting the pivot point to false and back to true. Once I've done these things the animation works.
Second issue has to to do with the timer script you posted above. I've changed "Box" to "BODY001_001" which is correct for my model. After executing, the pivot point just spins around while the crankshaft is stationary. The pivot-point to crankshaft constraints are active and the fixed position is set to "True".
Thanks for taking the time to share your knowledge. Oh, and not sure if it matters but I'm running v20 latest build.
Thank you for the comments lately I have been seeing a few issues with this workbench and I am not 109% sure if there are some issues. I am going to investigate the reasons why. A2Plus is not the best workbench to use for animation as since this tutorial a few others have come onto my radar, it takes a long time to reprocess everything and can seem to break easily as you experience. I am looking to redo this tutorial on a couple of the other assembly workbenches and compare the results . As with the script it sounds like the solve command is either missing from your code or again not working. I will have a look to see what I can find out.
Brillant! Thank you
Great video series . I was curious if you could have multiple master sketches with parts on different planes connected together for complex assemblies ? with automation simultaneously ?
Glad your enjoying. In freecad you are able to import the geometry from a sketch on another plane so you would be able to make two sketches that connect. I do this quite often in the curves workweek when I want to trace two sides of a 3d object and project the result into 3d space. Using these as a master sketch should work. I have never been in the situation where I have needed to do this but thinking back to past projects this workflow would of been an alternative route.
I don't know what I did wrong in the previous lessons. After spending 45 minutes here to get to 16:12, I give up. Either the PivotPoint constraint doesn't work or it's conflicting, and the problem doesn't seem consistent. FixedPosition, constraints enabled, nothing I change has an expected effect. I restarted 5 times because my FreeCad 0.19 wasn't doing what you were showing. Manually resetting the assembly to bottom dead center (where I started) was a 10 minute chore.
Does the red magnification icon reveal the constraint?
@@MangoJellySolutions That one always worked. I think the problem lies elsewhere in the assembly because it didn't turn consistently or repeatably, and at one point the small end of the con rod was not where it was supposed to be.
The video indicates that hitting the Space bar on the master sketch disables the constraints, but I found this does not always work. There is a property on constraints called "Suppressed" this must be set to true to actually disable the constraint. Unfortunately, the Suppressed property cannot be manually changed, but toggling the visibility on, then back off seemed to set Suppressed back to true. It appears that if the document is saved, the Suppressed state is not saved and defaults to False, so has to be reset when the document is opened again. Seems a bit of a bug.
Me too. Started again 4 times. Finished lesson 3 OK. All moving Ok. But can't constrain crank to pivot body. Will try for last time
Found my stupid mistake! Put a champfer on the end of the crankshaft. I had then made the disc to the inner diam. Hence the line on the crankshaft were not on same axis and so I was trying to make an axial constraint for the pivot disc to the shaft but the pivot disc is fixed. Hence the error. Now works snd moves as per video.! Next on to animation!
Thanks to your video channel I am starting to get my head around FreeCAD, BUT I Keep getting this error. (: module 'FreeCAD' has no attribute 'AvtiveDocument') I have absolutely no idea what it means, would appreciate ay advice. Also can you increase the Font size in the Macro and Pyhton consoles? If so how :)
Looks like you have a typo in the macro. I had the same issue.
Hello !why when I choose a surface and then I press sketch the body disappears?
Are you sketching in the assembly or in the original file you imported the parts from?
what is attribute error?
What Version of freecad are you using?
@@MangoJellySolutions FreeCAD 0.19, I try to animate my drawn mechanisms according to your script, there always comes an attribute error. why is it?