Assembly3 problem

Discussion about the development of the Assembly workbench.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
Boo
Posts: 43
Joined: Fri Jul 24, 2020 12:38 pm

Assembly3 problem

Post by Boo »

Hi,

I am trying to follow the How To / Get Started example at https://wiki.freecadweb.org/Assembly3_Workbench but am having problems.

Using:

Code: Select all

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.20.1.29410 (Git)
Build type: Release
Branch: releases/FreeCAD-0-20
Hash: f5d13554ecc7a456fb6e970568ae5c74ba727563
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.3
Locale: English/United Kingdom (en_GB)
Installed mods: 
  * A2plus 0.4.60g
  * Assembly3 0.11.4
  * Assembly4 0.12.5
  * BOLTSFC
  * Curves 0.6.5
  * fasteners 0.4.27
  * fcgear 1.0.0
  * kicadStepUpMod 10.16.5
  * MakerWorkbench
  * Manipulator 1.4.9
  * parts_library
  * Plot 2022.4.17
  * ThreadProfile 1.84.0
  * WebTools
I am able to follow the example readily up to the point that I add the Plane Coincidence constraint as in this pic :
assembly3_001.jpg
assembly3_001.jpg (32.05 KiB) Viewed 1381 times
but although this can be added it does not have the desired effect, see attached following :
assembly3_002.jpg
assembly3_002.jpg (56.57 KiB) Viewed 1381 times
I've attached the FCStd file to this.

Thanks in advance for any assistance or pointers anyone is able to give me,

Boo
Attachments
assembly3_03.FCStd
(10.16 KiB) Downloaded 46 times
catman
Posts: 412
Joined: Fri Jan 11, 2019 10:42 pm

Re: Assembly3 problem

Post by catman »

Hi

when trying on my version it asked me to update the file. I said yes and then hit the solve button and it worked fine.
This update is a bit strange, since your version 0.20 does not seem to be very old. Its hard to say what is the problem with that info. it might help if you post any output on the ReportView.

I've see this before when the solver method was not set (AssemblyIcon Property SolverType. My was set to "SolveSpace". You may want to check that.



Code: Select all

OS: Ubuntu 18.04.6 LTS (XFCE/xubuntu)
Word size of FreeCAD: 64-bit
Version: 0.21.29457 (Git) AppImage
Build type: Release
Branch: development/toponaming
Hash: 18ff9bcf2610a04e07b87fa077abedeb4b2b2761
Python 3.10.6, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: English/United States (en_US)
Installed mods: 
  * TabBar
  * dodo
  * Assembly3 0.11.3
  * DynamicData 2.46.0
  * Assembly4 0.12.3
  * Defeaturing
  * kicadStepUpMod 10.14.5
  * ExplodedAssembly
  * Manipulator 1.4.9
  * MeshRemodel 1.8919.0
  * ArchTextures
  * Trails 2022.1.0
  * ThreadProfile 1.84.0
  * Help 1.0.3
  * SelectorToolbar
  * Behave-Dark-Colors 0.1.1
  * LCInterlocking
  * InventorLoader 1.3.0
  * InventorUbuntuInstallScript
  * 3D_Printing_Tools
  * PieMenu 1.1.10
  * Animation
  * workfeature
  * lattice2 1.0.0
  * MakerWorkbench
  * Reporting
  * Curves 0.5.2
  * sheetmetal 0.2.58
  * IconThemes
  * fasteners 0.4.1
  * Render 2022.2.0
  * PreferencesPresets
  * Design456 0.0.1
  * exportOffline.sh
  * Pyramids-and-Polyhedrons
  * CurvedShapes 1.0.4
  * offline-documentation 1.0.0-alpha
  * Glass
  * Sample
  * fcgear 1.0.0
  * FCGear
  * BIM 2021.12.0
Boo
Posts: 43
Joined: Fri Jul 24, 2020 12:38 pm

Re: Assembly3 problem

Post by Boo »

catman wrote: Fri Dec 23, 2022 11:52 am ...I've see this before when the solver method was not set (AssemblyIcon Property SolverType. My was set to "SolveSpace". You may want to check that...
Yes, it's set to SolveSpace:
assembly3_003.jpg
assembly3_003.jpg (31.26 KiB) Viewed 1344 times
I just re-ran the process and got nothing at all in the Report view window.

Thanks,

Boo
catman
Posts: 412
Joined: Fri Jan 11, 2019 10:42 pm

Re: Assembly3 problem

Post by catman »

Boo wrote: Fri Dec 23, 2022 12:18 pm Yes, it's set to SolveSpace:
I just re-ran the process and got nothing at all in the Report view window.
Ideed, that looks ok. You pressed the "Solve" button, correct? Usually Asm3 is very outspoken, so I get loads of outputs when things are wrong. Here is the output in the report view I get when I press the "Solve Constraints" button on your file.
FreeCADScreen.png
FreeCADScreen.png (52.76 KiB) Viewed 1325 times

Right now I have no more advice really.
On Linux I would say try an AppImage which is a complete installation to rule out any setup issues, but i don't think there is something similar on windows.
Boo
Posts: 43
Joined: Fri Jul 24, 2020 12:38 pm

Re: Assembly3 problem

Post by Boo »

catman wrote: Fri Dec 23, 2022 12:38 pm ...You pressed the "Solve" button, correct? ...
Doh! :oops:

In my defence, that vital step is not present at the end of the text in the example I posted above :
Now Drag&Drop with the mouse both Cylinder and Cube onto the Parts folder. They are moved into that folder.

That is the quickest way and suitable for simple cases like this. A better way is via the use of link objects:
Select Cube and Cylinder and then Std LinkMake.svg Make link either from the Context menu (-> LinkActions -> MakeLink) or the Structure panel.
This adds two link objects. Then Drag&Drop the link objects to the Parts folder.

Click both top surfaces of Cylinder and Cube (keep Ctrl pressed (Cmd on a Mac))
Change to Assembly3 workbench icon.svg Assembly3 workbench
Select Assembly ConstraintCoincidence.svg Plane Coincidence from the Main constraints toolbar.


Now the parts should be joined into each other and your tree should look like this (0.20.pre and Link Branch):
Thanks very much for your help,

Boo
catman
Posts: 412
Joined: Fri Jan 11, 2019 10:42 pm

Re: Assembly3 problem

Post by catman »

Boo wrote: Fri Dec 23, 2022 2:19 pm Doh! :oops:
Glad you solved it.

I might be wrong wrong, but I recall that this button had a toggle function and kept solving automatically. I did not find a hint that they changed it in a recently, but in the current version I find it a bit cumbersome to press it each time. So if I am not wrong, that sample was before that change.
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Assembly3 problem

Post by Kunda1 »

Moved to Assembly subforum
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Post Reply