hello !
Just an other use of sketcher making kinetics animation, ruled with a GUI slider.
I start from https://wiki.freecadweb.org/PySide_Inte ... xamples/fr
Howto
- open FCStd file
- enter stekcher, edit sketch
- in python console type : execfile("/home/doul/menu2.py") <with your own file path>
- slide the slider !
Sketcher as kinetic amination, ruled by GUI
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Sketcher as kinetic amination, ruled by GUI
FreeCAD is cool
Re: Sketcher as kinetic amination, ruled by GUI
Cant test right now but shouldnt the sketch be fully constrained? In the screenshot it is not green.
Re: Sketcher as kinetic amination, ruled by GUI
Works for me without fully constrained sketch. The slider just rule a constraint among other, like drawn manually.
FreeCAD is cool
Re: Sketcher as kinetic amination, ruled by GUI
After checking the sketch, you have 1 DOF which is the relative position piston/cylinder. As it should be
Please edit the subject of your first post to fix the typo - aNiMation instead of aMiNation.
Please edit the subject of your first post to fix the typo - aNiMation instead of aMiNation.
Re: Sketcher as kinetic amination, ruled by GUI
More serious project : truck hook lift simulation.
https://duckduckgo.com/?q=hook+lift+sys ... &ia=images
left blue line is a hydraulic cylinder, right blue lines are dump body, center green hook lift system
I loaded file "hook_lift.py" with macro menu.
This simulation helps me get sized all arms, check cylinder stroke and dump body max load angle
https://duckduckgo.com/?q=hook+lift+sys ... &ia=images
left blue line is a hydraulic cylinder, right blue lines are dump body, center green hook lift system
I loaded file "hook_lift.py" with macro menu.
This simulation helps me get sized all arms, check cylinder stroke and dump body max load angle
FreeCAD is cool