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] CAM Dressup Tag has multiple errors #12459

Open
2 tasks done
acp693 opened this issue Feb 16, 2024 · 6 comments
Open
2 tasks done

[Problem] CAM Dressup Tag has multiple errors #12459

acp693 opened this issue Feb 16, 2024 · 6 comments
Labels
Bug This issue or PR is related to a bug WB CAM Related to the CAM/Path Workbench

Comments

@acp693
Copy link

acp693 commented Feb 16, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Problem description

Almost impossible to place a tag manually. Often the path generated when viewed from the top impinges into the model which would be catastrophic for the piece being milled. Or a proper tag isn't generated which would result in the tag being milled off. The following errors are common when placing tags manually:

Tags.ERROR: Exception during processing tag @(269.87, 83.97) (Both points are equal) - disabling the tag

Tags.ERROR: Exception during processing tag @(90.19, -73.36) (No connection to Vector (90.19480160616936, -73.35932385761461, 3.99959837273243)) - disabling the tag

Even the default settings on opening the dressup Tag dialog sometimes generates errors when using the automatically generated tag placement function and one or two tags will sometimes be disabled, especially if the model isn't straight sided but is instead composed of curves. If the default number of automatically generated tags is increased, they are not distributed evenly around the model.

'Discussion' on the forum: https://forum.freecad.org/viewtopic.php?p=737828#p737828

Full version info

[code]
OS: Windows 10 build 19045
Word size of FreeCAD: 64-bit
Version: 0.21.2.33771 (Git)
Build type: Release
Branch: (HEAD detached at 0.21.2)
Hash: b9bfa5c5507506e4515816414cd27f4851d00489
Python 3.10.13, Qt 5.15.8, Coin 4.0.0, Vtk 9.2.6, OCC 7.6.3
Locale: German/Germany (de_DE)
Installed mods: 
  * CurvedShapes 1.0.4
  * Curves 0.5.3
  * ExtremeProLight 1.4.3
  * FeedsAndSpeeds 0.5.0
  * Manipulator 1.5.0
  * Marz 0.0.26-alpha
  * Silk 1.0.0
[/code]

Subproject(s) affected?

Path

Anything else?

Tags.FCStd.gz
Tags2.FCStd.gz

Code of Conduct

  • I agree to follow this project's Code of Conduct
@maxwxyz maxwxyz added WB CAM Related to the CAM/Path Workbench Missing: tested on dev version labels Feb 16, 2024
@maxwxyz
Copy link
Collaborator

maxwxyz commented Feb 16, 2024

@acp693 Could you try it in the weekly builds. https://github.com/FreeCAD/FreeCAD-Bundle/releases/tag/weekly-builds
The PathWB had some improvements in development.

@acp693
Copy link
Author

acp693 commented Feb 16, 2024

@maxwxyz I just tried it in the latest windows dev build, it's the same behaviour, placing a tag manually nearly always fails completely, or fails to build a path around the tag position, but in the dev version, unlike the stable version, there's no way to recover from it, the dialog becomes greyed out including the 'Save' and 'Cancel' buttons, leaving no option but to force quit freecad.

One thing I've noticed in the dialog for adding tags manually is that there are three input boxes for X,Y, and Z, Z is greyed out and set to 0,000. However, after placing a tag, the Z box often shows a different value other than zero, some small value. Perhaps this has some baring on the bug?

@maxwxyz maxwxyz added Bug This issue or PR is related to a bug and removed Missing: tested on dev version labels Feb 17, 2024
@luzpaz luzpaz changed the title Path Dressup Tag has multiple errors [Problem] CAM Dressup Tag has multiple errors Mar 12, 2024
@ninao-xyz
Copy link

I've tested this on the latest weekly builds. The issue is still there. It's practically impossible to use the TagDressup when milling multiple parts in the same job.

here's the error I get in the offending tags:
02:47:13 Tags.ERROR: Exception during processing tag @(117.00, 528.84) (Both points are equal) - disabling the tag

This is a really blocking bug for people that use FreeCad CAM for milling wood parts. I hope someone can take a look into it before the next release. I've spend 2 hours in a project trying to make the tagsDressup work without success. (Not trying to bash anyone, bugs append) Right now I'm exporting my models into blenderCAM to mill them as a workaround.

FreeCad info:

OS: Pop!_OS 22.04 LTS (pop:GNOME/pop)
Word size of FreeCAD: 64-bit
Version: 0.22.0dev.37213 (Git) AppImage
Build type: Release
Branch: main
Hash: 20e7deb86a8c6c2cd2378f09f8313760933f3a5c
Python 3.11.9, Qt 5.15.13, Coin 4.0.2, Vtk 9.2.6, OCC 7.7.2
Locale: English/United Kingdom (en_GB)
Installed mods: 
  * Curves 0.6.22
  * OpenDark 2023.12.17
  * SelectorToolbar
  * FeedsAndSpeeds 0.5.0
  * CubeMenu

@ninao-xyz
Copy link

Done more digging and I've noted that some tags are affecting adjacent paths instead of just the one it is supposed to.
Uploaded a screenshot to better describe what I'm trying to tell.
Screenshot from 2024-05-10 01-46-04

OS: Pop!_OS 22.04 LTS (pop:GNOME/pop)
Word size of FreeCAD: 64-bit
Version: 0.22.0dev.37213 (Git) AppImage
Build type: Release
Branch: main
Hash: 20e7deb86a8c6c2cd2378f09f8313760933f3a5c
Python 3.11.9, Qt 5.15.13, Coin 4.0.2, Vtk 9.2.6, OCC 7.7.2
Locale: English/United Kingdom (en_GB)
Installed mods: 
  * Curves 0.6.22
  * OpenDark 2023.12.17
  * SelectorToolbar
  * FeedsAndSpeeds 0.5.0
  * CubeMenu

@mrnro
Copy link

mrnro commented Jun 2, 2024

I had the same issue on a circular path and found out that changing the angle from default 45 degrees to 90 degrees let me add the tags manually:

image
image

OS: Windows 11 build 22631 Word size of FreeCAD: 64-bit Version: 0.21.2.33771 (Git) Build type: Release Branch: releases/FreeCAD-0-21 Hash: b9bfa5c5507506e4515816414cd27f4851d00489 Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.3 Locale: Swedish/Sweden (sv_SE)

@acp693
Copy link
Author

acp693 commented Jun 5, 2024

@mrnro I cannot confirm your findings using the model I attached to this bug report. I tried 90° and didn't find it any easier to add a tag. One thing that is different with using 90° is that when a tag is generated, it no longer sometimes generates a path that sometimes impinges into the model as often happens when using the 45° angle. On further investigation, any angle above 45° avoids this serious problem (at least the handful of angles I tried). Look at the attached version of the model (Tags3). Open the Tag dialog, and look at the model from the top, one tag is generating a path that cuts into the model. If you set the angle to 46° this no longer happens.

One thing I've found that helps adding a tag is zooming in massively onto the path where the tag is to be attached so that the mouser pointer is exactly on the path line, don't click the mouse, instead tab through to highlight the 'Save' button and press return. Even then adding the tag quite often fails. (this is mainly on curved paths as far as I can see, straight sided paths seem to be unproblematic)

One other thing, if I click on a tag in the model view so that it is highlighted, I can't press delete on the keyboard to delete it, I have to click the delete button in the Tag dialog box.

Tags3.FCStd.zip

OS: Windows 10 build 19045
Word size of FreeCAD 64-bit
Version: 0.22.0dev.37645 (git)
Build type: Release
Branch: Main
Python: 3.11.9, qt 5.15.13, coin 4.0.2, Vtk 9.2.6, OCC 7.7.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This issue or PR is related to a bug WB CAM Related to the CAM/Path Workbench
Projects
Status: To Review
Development

No branches or pull requests

4 participants