Macro Constraint Draft/fr: Difference between revisions

From FreeCAD Documentation
(Created page with "Macro Constraint Draft")
 
(Created page with "{{Macro/fr|Icon=Text-x-python|Name/fr=Constraint Draft|Description=Crée une simulation en utilisant les expressions qui servent à lier les objets entre eu...")
Line 1: Line 1:
{{Macro|Icon=Text-x-python|Name=Constraint Draft|Description=Create simulation using the [[Expressions|expressions]] for link all objects.|Author=Mario52|Version=1.0}}
{{Macro/fr|Icon=Text-x-python|Name/fr=Constraint Draft|Description=Crée une simulation en utilisant les [[Expressions/fr|expressions]] qui servent à lier les objets entre eux.|Author=Mario52|Version=1.0}}
==Description==
==Description==
Simple example animation Draft wires by use the [[Expressions|expressions]] for associate many wires and simulate or verify the movement. Here the circle rotation create the movement for all objects connected
Simple example animation Draft wires by use the [[Expressions|expressions]] for associate many wires and simulate or verify the movement. Here the circle rotation create the movement for all objects connected

Revision as of 17:56, 19 April 2017

File:Text-x-python {{{Name}}}

Description
Crée une simulation en utilisant les expressions qui servent à lier les objets entre eux.

Version macro : 1.0
Auteur: Mario52
Auteur
Mario52
Téléchargement
None
Liens
Version Macro
1.0
Dernière modification
None
Version(s) FreeCAD
None
Raccourci clavier
None
Voir aussi
None

Description

Simple example animation Draft wires by use the expressions for associate many wires and simulate or verify the movement. Here the circle rotation create the movement for all objects connected Animation use the constraint expression

Uses

Download the file example Constraint_Draft00.FCStd, open it in FreeCAD

Script

Select the Line005_with_Code object in the Combo View Select Data tab > Memo code > Code for rotation > ...

Select the complete code and paste in the Python Console

(If do not have the Python console: Menu > View > Panels > select Python console)

How copy the code snippet How copy the animation code

Rotation with FreeCAD tools

Rotation with FreeCAD tools

Link

The forum discussion Sketch Feature to create linkage mechanism simulator <language>