Assembly Workbench/fr: Difference between revisions
(Created page with "====Déplacer les pièces dans le conteneur d'assemblage====") |
(Created page with "Dans la vue en arborescence, glissez et déposez les pièces sur l'objet Assemblage. Elles peuvent maintenant être traitées par le solveur de l'assemblage.") |
||
Line 105: | Line 105: | ||
====Déplacer les pièces dans le conteneur d'assemblage==== |
====Déplacer les pièces dans le conteneur d'assemblage==== |
||
Dans la [[Tree_view/fr|vue en arborescence]], glissez et déposez les pièces sur l'objet Assemblage. Elles peuvent maintenant être traitées par le solveur de l'assemblage. |
|||
<div lang="en" dir="ltr" class="mw-content-ltr"> |
|||
In the [[Tree_view|Tree view]] drag and drop the parts on the Assembly object. Now they can be handled by the Assembly's solver. |
|||
</div> |
|||
[[Image:Assembly_KinematicExample-02.png|200px]] |
[[Image:Assembly_KinematicExample-02.png|200px]] |
Revision as of 14:52, 25 May 2024
Introduction
L' atelier Assembly est le nouvel atelier d'assemblage intégré de FreeCAD.
Outils
Les fonctions expérimentales ne sont pas disponibles par défaut. Pour les activer, voir Réglage fin.
Assemblage
Liaisons
Exemple
Cet exemple est temporaire et pourra être supprimé lorsque des descriptions/tutoriels appropriés seront disponibles.
Un assemblage cinématique
L'assemblage cinématique que nous allons créer se compose de quatre parties : une base, un curseur, une manivelle et une bielle. Ils sont reliés par quatre liaisons.
Pièces assemblées : la base (ambre), le curseur (bleu clair), la manivelle (rouge), la bielle (vert)
Préparation des pièces
Dans cet exemple, toutes les pièces et l'assemblage sont créés dans un seul document.
De gauche à droite : la base, le curseur, la manivelle, la bielle
Les géométries cylindriques sont soit parallèles, soit perpendiculaires. Le reste des formes n'est pas pertinent pour cet exemple, à moins qu'il n'entraîne des collisions. En gardant cela à l'esprit, modélisez vos propres formes.
Ajouter un assemblage racine
Assemblage ajoute un assemblage racine à un document. (cet outil peut également ajouter un sous-assemblage à un assemblage sélectionné existant).
Arborescence des pièces et des assemblages dans un document
Déplacer les pièces dans le conteneur d'assemblage
Dans la vue en arborescence, glissez et déposez les pièces sur l'objet Assemblage. Elles peuvent maintenant être traitées par le solveur de l'assemblage.
The Parts are in the Assembly container now
Ground a part
To keep the assembly at the desired position, the base part should be locked, or grounded as it is called here. Select the Base in the Tree view or in the 3D view and use the Toggle grounded command. This fixes the position of the Base in relation to the local coordinate system (LCS) of the Assembly container. This (also suffixes a lock icon to the label of the Base object and (before weekly build 0.22 - 37213)) adds a GroundedJoint object in the Joints container.
Expand the Joints container to find the GroundedJoint object
(The GroundedJoint object cannot be unhidden and has no representation in the 3D view (before weekly build 0.22 - 37213))
Apply joints
A joint connects exactly two elements of different parts. They can optionally be selected before the desired joint tool is invoked (any number of selected elements other than two results in an empty selection).
The elements define the position and orientation of a LCS represented by a filled circle on the local XY plane and three lines along the local X (red), Y (green), and Z (blue) axes.
- A Revolute joint between Base and Crank
Selected elements + Create Revolute Joint → rearranged Crank
- A Cylindrical joint between Base and Slider
Selected elements + Create Cylindrical Joint → rearranged Slider
- A Revolute joint between Crank and Rod
Selected elements + Create Revolute Joint → rearranged Rod
Now there are several joints in a line and we have to help the solver to find a sensible solution.
Click and drag the parts → into an easier to compute position.
- A Cylindrical joint between Rod and Slider
Selected elements + Create Cylindrical Joint → finished Assembly
In the finished assembly use the mouse pointer to drag the parts according to the used joints.
Drive the crank
To control the layout of the assembly by the angle between the Base and the Crank we have to change the Revolute joint to a Fixed joint.
To do so double-click on the Revolute object in the Tree view. In the dialog change Revolute to Fixed and change the Rotation value as desired (the movement should follow the mouse wheel action).
Now only the Label of the joint was changed but not its Name! (Each change of the joint type will also change the Label)
The Rotation property of the Fixed joint can be controlled via macro or from the python console (just copy and paste the following lines):
actuator = FreeCAD.ActiveDocument.getObject('Revolute')
for angle in range(0,361,10):
# A full rotation of the Crank in steps of 10°
actuator.Rotation = angle
App.activeDocument().recompute(None,True,True)
Or alternatively:
actuator = FreeCAD.ActiveDocument.getObject('Revolute')
for angle in range(0,361,10):
# A full rotation of the Crank in steps of 10°
actuator.Rotation = angle
Gui.runCommand('Assembly_SolveAssembly',0)
(The Name of the joint is still Revolute while its Label has changed to Fixed, and the end of the range must be greater than 360 to also include this angle as a valid result.)
- Joints: Toggle Grounded, Create a Fixed Joint, Create Revolute Joint, Create Cylindrical Joint, Create Slider Joint, Create Ball Joint, Create Distance Joint, Create Parallel Joint, Create Perpendicular Joint, Create Angle Joint, Create Rack and Pinion Joint, Create Screw Joint, Create Gears Joint, Create Belt Joint
- Démarrer avec FreeCAD
- Installation : Téléchargements, Windows, Linux, Mac, Logiciels supplémentaires, Docker, AppImage, Ubuntu Snap
- Bases : À propos de FreeCAD, Interface, Navigation par la souris, Méthodes de sélection, Objet name, Préférences, Ateliers, Structure du document, Propriétés, Contribuer à FreeCAD, Faire un don
- Aide : Tutoriels, Tutoriels vidéo
- Ateliers : Std Base, Arch, Assembly, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Surface, TechDraw, Test