Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Problem] New unified measurement tool doesn't work properly in the Integrated Assembly WB #14559

Open
2 tasks done
MiqCG opened this issue Jun 8, 2024 · 6 comments · May be fixed by #14918
Open
2 tasks done

[Problem] New unified measurement tool doesn't work properly in the Integrated Assembly WB #14559

MiqCG opened this issue Jun 8, 2024 · 6 comments · May be fixed by #14918
Labels
1.0 for the v1.0 development cycle Bug This issue or PR is related to a bug Core Issue or PR touches core sections (App, Gui, Base) of FreeCAD
Milestone

Comments

@MiqCG
Copy link

MiqCG commented Jun 8, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Problem description

When trying to measure (eg. distances, angles...) between two bodies of an assembly file or even trying to measure over a body inside the assembly, the results are incorrect.
The old distance measuring tool (in the Edit menu) works in those situations.

I have searched in:

  • Github with [is:issue is:open measure label:"WB Assembly" ], with no results.
  • FreeCAD forum with [Integrated Assembly workbench measure] and [Integrated Assembly workbench measurement] with no relevant results.

Full version info

OS: Devuan GNU/Linux 5 (daedalus) (XFCE/xfce)
Word size of FreeCAD: 64-bit
Version: 0.22.0dev.37668 (Git) AppImage
Build type: Release
Branch: main
Hash: ea68c5e88cdc80044ede482f6ad908820f4c1c82
Python 3.11.9, Qt 5.15.13, Coin 4.0.2, Vtk 9.2.6, OCC 7.7.2
Locale: Catalan/Spain (ca_ES)
Installed mods: 
  * Movie 2024.2.15
  * freecad.gears 1.2.0
  * A2plus 0.4.64a
  * FreeCAD-motion-workbench-master
  * dodo 1.0.1
  * Trails 2022.1.0
  * PieMenu 1.2.7
  * fasteners 0.5.21
  * Render 2024.1.23

Subproject(s) affected?

Assembly

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
GH_3.mp4
GH_2.mp4
GH_1.mp4

Ass_test_Github_3.FCStd.zip

@maxwxyz
Copy link
Collaborator

maxwxyz commented Jun 8, 2024

Please provide a demo file or screenshots how to reproduce this.

@MiqCG
Copy link
Author

MiqCG commented Jun 8, 2024

Please provide a demo file or screenshots how to reproduce this.

Done. Sorry.

This screencasts has been made with an assembly file with the bodies copied inside but happens the same inserting files with the insert component tool of the Assembly WB. File attached too.

@maxwxyz
Copy link
Collaborator

maxwxyz commented Jun 8, 2024

@hlorus @PaddleStroke any idea why the measurement fails in assemblies?

@maxwxyz maxwxyz added Bug This issue or PR is related to a bug Core Issue or PR touches core sections (App, Gui, Base) of FreeCAD labels Jun 8, 2024
@WandererFan
Copy link
Contributor

Sample does not load. Missing link targets for 210-005 Barra compas and 210-007 Barra corredora-compàs.

09:42:39 6.1e-08 Document.cpp(2205): Ass_test_Github#_10_005_Barra_compas.LinkedObject: Link not restored
Linked object: Body
Linked file: #210-005 Barra compàs.FCStd
09:42:39 0.00010554 Document.cpp(2205): Ass_test_Github#_10_007_Barra_corredora_comp__s.LinkedObject: Link not restored
Linked object: Body
Linked file: #210-007 Barra corredora-compàs.FCStd

@MiqCG
Copy link
Author

MiqCG commented Jun 8, 2024

Sample does not load.

Sorry, I get lost in between several tests and I attached a file with linked bodies. Now I have changed it with one with copied bodies inside. Almost the same (bad) results but take into consideration that screencasts were made with the linked bodies one.

@furgo16
Copy link
Contributor

furgo16 commented Jun 16, 2024

I just noticed too that assemblies cannot be measured with the new measurement tool

Steps to reproduce:

  1. Open attached file with FreeCAD: SimpleAsy.zip
  2. Double-click on the Assembly object to activate the Assembly workbench
  3. Click on the measure tool
  4. Click on one edge of the cube
  5. Expected: a measurement is shown (10 mm)
  6. Actual: no measurement is shown
OS: Ubuntu Core 22 (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 0.22.0dev.37731 (Git) Snap 1052
Build type: Release
Branch: main
Hash: 6623b605282aa5ae61ae3df0adff2f6c857477fa
Python 3.10.12, Qt 5.15.10, Coin 4.0.0, Vtk 7.1.1, OCC 7.7.1
Installed mods: 
  * OpenTheme 2024.5.16
  * Curves 0.6.39
  * ezydxf
  * ExplodedAssembly
  * BillOfMaterials 0.0.8.5
  * Ondsel-Lens 2024.5.6.01
  * Assembly4 0.50.13

@hlorus hlorus linked a pull request Jun 24, 2024 that will close this issue
@maxwxyz maxwxyz added the 1.0 for the v1.0 development cycle label Jun 24, 2024
@maxwxyz maxwxyz added this to the 1.0 milestone Jul 1, 2024
@maxwxyz maxwxyz added Blocker and removed Blocker labels Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.0 for the v1.0 development cycle Bug This issue or PR is related to a bug Core Issue or PR touches core sections (App, Gui, Base) of FreeCAD
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants