Atelier Assembly2

From FreeCAD Documentation
Revision as of 10:56, 9 June 2020 by FuzzyBot (talk | contribs) (Updating to match new version of source page)
Other languages:
L'atelier Assembly2 est obsolète. Son auteur ne le maintient plus, il peut donc ne pas fonctionner avec les versions FreeCAD 0.17 et supérieures. Les informations de cette page ne sont pas conservées et sont simplement conservées pour des raisons historiques.
Pour une alternative, voir A2plus. Cet établi est une fourche de Assembly2, mais il n'est pas compatible avec lui. Si vous avez des modèles plus anciens que vous devez ouvrir, vous devriez rester avec FreeCAD 0.16 et Assembly2. Les nouveaux modèles doivent être entièrement créés et ouverts avec A2plus.
Pour d'autres options, voir Assembly3 ou Assembly4. Ces ateliers sont également inspirés de Assembly2 mais ne sont pas compatibles avec lui non plus.


Introduction

L' atelier Assembly2 fournit des outils pour créer des assemblages multi-pièces à l'aide de contraintes, une fonctionnalité qui manque toujours à FreeCAD. Cet atelier n'est plus maintenu depuis 2016 (cf. la déclaration de l'auteur sur le forum anglais). L'atelier A2plus, plus récent et développé activement, est une bonne alternative.

As stated by its author on the forum, it is no longer maintained since 2016, therefore it may have issues with FreeCAD 0.17 and above. The newer and actively maintained A2plus Workbench is a good alternative.

Usage

Intended work-flow:

  • each part in the assembly is designed in its own FreeCAD file
  • a separate assembly FreeCAD file is created
  • parts are imported to this assembly file using the Assembly 2 workbench
  • spacial constraints are then added to assemble the imported parts

Features

  • circular edge constraint
  • axial constraint
  • plane constraint
  • part importing
  • updating of parts already imported

Limitations

  • Poor constraint solver which may fail or take excessively long for complicated assemblies
  • undo and other similar features not supported

References

Tools

Toolbar

Drop down menu

  • Import a part from another FreeCAD document
  • Update parts imported into the assembly
  • Move
  • Add circular edge constraint
  • Add plane constraint
  • Add axial constraint
  • Create an angular constraint between two planes
  • Add Spherical surface constraint
  • Animate degrees of freedom
  • Solve Assembly2 constraint
  • Combine assembly into a single object (use to create a drawing of the assembly, and so on...)
  • Create a parts list from the objects imported using the assembly2 workbench
  • Ceck assembly for part overlap/interferance

Other

  • Bolt multiple circular edges
  • Flip constraint
  • Lock rotation
  • Preferences
  • Assembly2 WB icon


Installation

Automatic installation

See Installing

From GitHub

To use this workbench clone this git repository under your FreeCAD Mod directory, and install the pyside and numpy python libraries. On a Linux Debian based system such as Ubuntu, installation can be done through BASH as follows

sudo apt-get install git python-numpy python-pyside
mkdir ~/.FreeCAD/Mod
cd ~/.FreeCAD/Mod
git clone https://github.com/hamish2014/FreeCAD_assembly2.git

In FreeCAD you will now have a new workbench-entry called "Assembly 2". Once installed, use git to upgrade to the latest version through BASH as follows

cd ~/.FreeCAD/Mod/FreeCAD_assembly2
git pull
rm *.pyc

Alternatilvely, on an Ubuntu system the freecad-community PPA can be used:

Add ppa:freecad-community/ppa to your software sources
sudo apt-get update
sudo apt-get install freecad-extras-assembly2

In Windows

  • download the git repository as ZIP
  • assuming FreeCAD is installed in "C:\PortableApps\FreeCAD 0_15", go to "C:\PortableApps\FreeCAD 0_15\Mod" within Windows Explorer
  • create new directory named "assembly2"
  • unzip downloaded repository in "C:\PortableApps\FreeCAD 0_15\Mod\assembly2"

FreeCAD will now have a new workbench-entry called "Assembly 2".

Pyside and Numpy are integrated in the FreeCAD 0.15 dev-Snapshots, so these Python packages do not need to be installed individually

To update to the latest version, delete the assembly2 folder and redownload the git repository.

Links

Other useful links