I tried it with your version as well and both assembly files still work OK for me with no error reported.
I assume you tried deleting the link and re-assembling it?
You might also try downloading from your own google drive link and see if you get the same error.
Other than that, I am out of suggestions.
Maybe Zolko can help.
I added a different file with a single body (diff_Body) and inserted that into the Assembly in my test file measure_test. I see the same results (0 distance) when trying to measure distances between diff_Body.LCS_0 and any of the other LCS’s. Measuring between the edges of any of the bodies works as expected. However, a different oddity occurred when I tried to measure between other_Body001.LCS_001.Y and diff_Body.Pad.Edge4. In this case, the distance reported (5.5mm) appears to be between the Edge4 and (I am guessing) Assembly.LCS_Origin. I have attached a screenshot with this last measurement highlighted. I have also attached the updated test file as well as the different file. Let me know if you need any additional information.
asm4_measure_test_Screenshot_20231127_010810.png
Actually, the entire handling of LCS was wrong. There is a new version out v0.50.6, can you please update and test with your files ? There are probably still some corner cases that I didn’t think of
Zolko leoheck
I had my first opportunity to use the check interference tool V0.50.6. Thank you for this valuable enhancement. It is especially useful during assembly design of mechanisms that have many moving parts. In this example it correctly picked up the interference fits with the handle pad and rivets:
Screenshot 2023-12-07 115427.jpg
’
The report view did show a number of non-fatal errors however:
ViewProviderExt.cpp(1274): Cannot compute Inventor representation for the shape of Latch_Style_Toggle_Clamp2#Common: Bnd_Box is void
```
OS: Windows 11 build 22621
Word size of FreeCAD: 64-bit
Version: 0.22.0dev.34959 (Git)
Build type: Release
Branch: main
Hash: 640018bfa7878a79e1b3c220ddd488d66464dc70
Python 3.10.13, Qt 5.15.8, Coin 4.0.0, Vtk 9.2.5, OCC 7.6.3
Locale: English/United States (en_US)
Installed mods:
Zolko
I discovered another tool which you may find useful for Assembly4. It is a utility by mnesarco which you can find here: https://github.com/mnesarco/FreeCAD_Utils.
Download the zip file and unzip in the Mod folder of the development version you are running. It will create a folder and a toolbar in the workbench. It is another way to conveniently add variables and animate them using a slider as shown in the following images.
FreeCAD_Utils-main.zip
Picture1.png
Picture3.png
Picture4.png
’
If anyone would like the assembly file please PM me for a Dropbox link. It is too large to attach.
Are you serious ? A veteran asks this question ? Did you try to use a search engine ? May-be easier in French ?
As to your question: you wouldn’t want to know my suggestion for that. This is about your computer management, it will depend on your computer, how am I supposed to know how you should install OpenCV on your system ? On my system (Debian) I installed it with :
I encounter the same problem as Vincent B when i clic on Save Button and I read the latest exchanges but I don’t know where to attach the OpenCv directory. I tried C:\Users\berna\AppData\Roaming\FreeCAD\Mod
C:\Users\berna\AppData\Roaming\FreeCAD\Mod\Assembly4
C:\Users\berna\AppData\Roaming\FreeCAD\AdditionalPythonPackages\Py310.
OpenCV is still missing
Thank you for your feedback and have a happy Christmas
Vincent B I believe you are a Windows user who possibly uses both the proper Installer LibPack build and the Weekly Conda builds. If so, this is indeed more complicated than a normal library such as ezdxf, certainly with the latest 4.8.1 version of cv2. So these are the steps to ensure you are using the latest version in different builds with different versions of Python:
(replacing G: with the drive you are using and notice the forward slashes not back slashes)
and save & close the file.
Start any version of FreeCAD and in the Python Console type:
import sys
sys.path
import cv2
cv2.__version__
You should receive no errors, just expected output for the path and version number but if you do then you need to look at the beginning of the sys.path output to ensure the folder that you entered above is in there usually the second one of the list.
I tested this using 0.21.1 LibPack build with Python 3.8.x and the Conda build: FreeCAD_weekly-builds-34387-2023-09-24-conda-Windows-x86_64-py310
Syres
Thank you for your detailed step by step
After typing in Python FreeCAD
cv2.version
I got it back
‘4.8.1’
I think Open Cv is loaded.
However, I still encounter the same problem. Unable to record animation.
It seems to be the same problem for Vincent B