Pivot objects

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
überfuzz
Posts: 91
Joined: Tue Feb 09, 2016 7:16 am

Pivot objects

Post by überfuzz »

I have designed a mechanical device with 3 moving parts. All these objects are pivoting different axis. Is it possible to pivot these object separately? Kind of like Edit - Placement - (set rotation).

Edit, or have some kind of linked motion happening..?
chrisb
Veteran
Posts: 54213
Joined: Tue Mar 17, 2015 9:14 am

Re: Pivot objects

Post by chrisb »

There is an animation workbench which you may try. If you want to do it directly:
You can change the values of constraints with python with something like

Code: Select all

  obj.setDatum(constraintNr,App.Units.Quantity(str(nw-angle/2.0)+' deg'))
  ...
  doc.recompute()
You will find more about this if you search for animation in the Macro recipes
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
überfuzz
Posts: 91
Joined: Tue Feb 09, 2016 7:16 am

Re: Pivot objects

Post by überfuzz »

Thanks! I'll do that.
User avatar
microelly2
Veteran
Posts: 4688
Joined: Tue Nov 12, 2013 4:06 pm
Contact:

Re: Pivot objects

Post by microelly2 »

chrisb wrote:There is an animation workbench which you may try.
http://freecadbuch.de/doku.php?id=story ... ut_gelenke
Post Reply