Assembly2 Workbench: Difference between revisions
mNo edit summary |
|||
(6 intermediate revisions by 4 users not shown) | |||
Line 2: | Line 2: | ||
<translate> |
<translate> |
||
⚫ | |||
{{VeryImportantMessage|The Assembly2 workbench is obsolete. Its author no longer maintains it, so it may not work with FreeCAD versions 0.17 and above. The information in this page is not maintained |
{{VeryImportantMessage|The Assembly2 workbench is obsolete. Its author no longer maintains it, so it may not work with FreeCAD versions 0.17 and above. The information in this page is not maintained; it is just kept for historical purposes.}} |
||
{{Message|For an alternative, see [[A2plus Workbench|A2plus]]. This workbench is a fork of Assembly2, but it is not compatible with it. If you have older models that you need to open, you should stay with FreeCAD 0.16 and Assembly2. Newer models should be created entirely and opened with A2plus.<br/> |
{{Message|For an alternative, see [[A2plus Workbench|A2plus]]. This workbench is a fork of Assembly2, but it is not compatible with it. If you have older models that you need to open, you should stay with FreeCAD 0.16 and Assembly2. Newer models should be created entirely and opened with A2plus.<br/> |
||
⚫ | |||
For other options see [[Assembly3_Workbench|Assembly3]] or [[Assembly4_Workbench|Assembly4]]. These workbenches are also inspired by Assembly2, but are not compatible with it either.}} |
For other options see [[Assembly3_Workbench|Assembly3]] or [[Assembly4_Workbench|Assembly4]]. These workbenches are also inspired by Assembly2, but are not compatible with it either.}} |
||
==Introduction== |
==Introduction== <!--T:9--> |
||
<!--T:1--> |
<!--T:1--> |
||
[[Assembly2 Workbench|Assembly2]] is an assembly workbench for FreeCAD v0.15 with support for importing parts from external files. |
[[Assembly2 Workbench|Assembly2]] is an assembly workbench for FreeCAD v0.15 with support for importing parts from external files. |
||
⚫ | |||
As stated by its author [https://forum.freecadweb.org/viewtopic.php?f=17&t=16591 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|A2plus Workbench]] is a good alternative. |
As stated by its author [https://forum.freecadweb.org/viewtopic.php?f=17&t=16591 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|A2plus Workbench]] is a good alternative. |
||
Line 17: | Line 20: | ||
[[Image:Assembly2_example.jpg]] |
[[Image:Assembly2_example.jpg]] |
||
== Usage == |
== Usage == <!--T:11--> |
||
⚫ | |||
Intended work-flow: |
Intended work-flow: |
||
* each part in the assembly is designed in its own FreeCAD file |
* each part in the assembly is designed in its own FreeCAD file |
||
Line 25: | Line 29: | ||
* spacial constraints are then added to assemble the imported parts |
* spacial constraints are then added to assemble the imported parts |
||
<!--T:13--> |
|||
Features |
Features |
||
* circular edge constraint |
* circular edge constraint |
||
Line 32: | Line 37: | ||
* updating of parts already imported |
* updating of parts already imported |
||
<!--T:14--> |
|||
Limitations |
Limitations |
||
* Poor constraint solver which may fail or take excessively long for complicated assemblies |
* Poor constraint solver which may fail or take excessively long for complicated assemblies |
||
* undo and other similar features not supported |
* undo and other similar features not supported |
||
==References== |
==References== <!--T:15--> |
||
<!--T:16--> |
|||
* Author: hamish |
* Author: hamish |
||
* Home page: [https://github.com/hamish2014/FreeCAD_assembly2 Assembly2] |
* Home page: [https://github.com/hamish2014/FreeCAD_assembly2 Assembly2] |
||
* Source code on github: [https://github.com/hamish2014/FreeCAD_assembly2 Assembly2] |
* Source code on github: [https://github.com/hamish2014/FreeCAD_assembly2 Assembly2] |
||
==Tools== |
==Tools== <!--T:17--> |
||
<!--T:18--> |
|||
Toolbar |
Toolbar |
||
<!--T:19--> |
|||
[[Image:Assembly2-menu-orizz.png]] |
[[Image:Assembly2-menu-orizz.png]] |
||
<!--T:20--> |
|||
Drop down menu |
Drop down menu |
||
<!--T:21--> |
|||
[[Image:Assembly2-menu-vert.png]] |
[[Image:Assembly2-menu-vert.png]] |
||
<!--T:22--> |
|||
* [[Image:Assembly2_ImportPart.png|32px]] Import a part from another FreeCAD document |
* [[Image:Assembly2_ImportPart.png|32px]] Import a part from another FreeCAD document |
||
* [[Image:Assembly2_UpdatePart.png|32px]] Update parts imported into the assembly |
* [[Image:Assembly2_UpdatePart.png|32px]] Update parts imported into the assembly |
||
Line 66: | Line 78: | ||
* [[Image:Assembly2_Ceck.png|32px]] Ceck assembly for part overlap/interferance |
* [[Image:Assembly2_Ceck.png|32px]] Ceck assembly for part overlap/interferance |
||
<!--T:23--> |
|||
Other |
Other |
||
<!--T:24--> |
|||
* [[Image:Assembly2_BoltMultipleCircularEdges.png|32px]] Bolt multiple circular edges |
* [[Image:Assembly2_BoltMultipleCircularEdges.png|32px]] Bolt multiple circular edges |
||
* [[Image:Assembly2_FlipConstraint.png|32px]] Flip constraint |
* [[Image:Assembly2_FlipConstraint.png|32px]] Flip constraint |
||
Line 75: | Line 89: | ||
==Installation== |
==Installation== <!--T:25--> |
||
===Automatic installation=== |
===Automatic installation=== <!--T:26--> |
||
<!--T:27--> |
|||
See [[Installing|Installing]] |
|||
This workbench can be installed from the [[Std_AddonMgr|Addon Manager]]. |
|||
===From GitHub=== |
===From GitHub=== <!--T:28--> |
||
<!--T:29--> |
|||
To use this workbench clone this git repository under your FreeCAD Mod directory, and install the pyside and numpy |
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 |
||
<!--T:30--> |
|||
{{Code|code= |
{{Code|code= |
||
sudo apt-get install git python-numpy python-pyside |
sudo apt-get install git python-numpy python-pyside |
||
Line 92: | Line 109: | ||
}} |
}} |
||
<!--T:31--> |
|||
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 |
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 |
||
<!--T:32--> |
|||
{{Code|code= |
{{Code|code= |
||
cd ~/.FreeCAD/Mod/FreeCAD_assembly2 |
cd ~/.FreeCAD/Mod/FreeCAD_assembly2 |
||
Line 100: | Line 119: | ||
}} |
}} |
||
<!--T:33--> |
|||
Alternatilvely, on an Ubuntu system the freecad-community PPA can be used: |
Alternatilvely, on an Ubuntu system the freecad-community PPA can be used: |
||
<!--T:34--> |
|||
{{Code|code= |
{{Code|code= |
||
Add ppa:freecad-community/ppa to your software sources |
Add ppa:freecad-community/ppa to your software sources |
||
Line 108: | Line 129: | ||
}} |
}} |
||
<!--T:35--> |
|||
In Windows |
In Windows |
||
* download the git repository as ZIP |
* download the git repository as ZIP |
||
Line 114: | Line 136: | ||
* unzip downloaded repository in "C:\PortableApps\FreeCAD 0_15\Mod\assembly2" |
* unzip downloaded repository in "C:\PortableApps\FreeCAD 0_15\Mod\assembly2" |
||
<!--T:36--> |
|||
FreeCAD will now have a new workbench-entry called "Assembly 2". |
FreeCAD will now have a new workbench-entry called "Assembly 2". |
||
<!--T:37--> |
|||
Pyside and Numpy are integrated in the FreeCAD 0.15 dev-Snapshots, so these Python packages do not need to be installed individually |
Pyside and Numpy are integrated in the FreeCAD 0.15 dev-Snapshots, so these Python packages do not need to be installed individually |
||
<!--T:38--> |
|||
To update to the latest version, delete the assembly2 folder and redownload the git repository. |
To update to the latest version, delete the assembly2 folder and redownload the git repository. |
||
==Links== |
==Links== <!--T:39--> |
||
<!--T:40--> |
|||
* Workbench Wiki: |
* Workbench Wiki: |
||
* FreeCAD Wiki: |
* FreeCAD Wiki: |
||
* FreeCAD Forum: http://forum.freecadweb.org/viewtopic.php?f=10&t=8577 |
* FreeCAD Forum: http://forum.freecadweb.org/viewtopic.php?f=10&t=8577 |
||
* Tutorials: |
* Tutorials: |
||
* Videos: [https://www.youtube.com/watch?v=dhaYJKDk4GI], [http://youtu.be/ufhyUxQkeC0], |
* Videos: [https://www.youtube.com/watch?v=dhaYJKDk4GI video 1], [http://youtu.be/ufhyUxQkeC0 video 2], |
||
* Files: |
* Files: |
||
* Report bugs: Please report bugs at https://github.com/hamish2014/FreeCAD_assembly2/issues |
* Report bugs: Please report bugs at https://github.com/hamish2014/FreeCAD_assembly2/issues |
||
==Other useful links== |
==Other useful links== <!--T:41--> |
||
<!--T:42--> |
|||
* [http://www.freecadweb.org/wiki/index.php?title=Sandbox:Animation Animation]: |
* [http://www.freecadweb.org/wiki/index.php?title=Sandbox:Animation Animation]: This Workbench can be used to create sequences of pictures. |
||
* [http://www.freecadweb.org/wiki/index.php?title=Sandbox:ExplodedAnimation ExplodedAnimation]: FreeCAD workbench to create exploded views and animations of assemblies. |
* [http://www.freecadweb.org/wiki/index.php?title=Sandbox:ExplodedAnimation ExplodedAnimation]: FreeCAD workbench to create exploded views and animations of assemblies. |
||
* [[External workbenches]] |
* [[External_workbenches|External workbenches]] |
||
* [[External_workbench_list|External workbench list]] |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
</translate> |
</translate> |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ |
Latest revision as of 14:51, 14 January 2023
For other options see Assembly3 or Assembly4. These workbenches are also inspired by Assembly2, but are not compatible with it either.
Introduction
Assembly2 is an assembly workbench for FreeCAD v0.15 with support for importing parts from external files.
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
Installation
Automatic installation
This workbench can be installed from the Addon Manager.
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
- Workbench Wiki:
- FreeCAD Wiki:
- FreeCAD Forum: http://forum.freecadweb.org/viewtopic.php?f=10&t=8577
- Tutorials:
- Videos: video 1, video 2,
- Files:
- Report bugs: Please report bugs at https://github.com/hamish2014/FreeCAD_assembly2/issues
Other useful links
- Animation: This Workbench can be used to create sequences of pictures.
- ExplodedAnimation: FreeCAD workbench to create exploded views and animations of assemblies.
- External workbenches
- Getting started
- Installation: Download, Windows, Linux, Mac, Additional components, Docker, AppImage, Ubuntu Snap
- Basics: About FreeCAD, Interface, Mouse navigation, Selection methods, Object name, Preferences, Workbenches, Document structure, Properties, Help FreeCAD, Donate
- Help: Tutorials, Video tutorials
- Workbenches: Std Base, Arch, Assembly, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Surface, TechDraw, Test Framework
- Hubs: User hub, Power users hub, Developer hub