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: 3D Surface, with Optimise StepOver Transitions enabled, doesn't calculate any path above StartDepth-Stepdown #7953

Open
2 tasks done
acp693 opened this issue Dec 4, 2022 · 1 comment
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 Dec 4, 2022

Is there an existing issue for this?

  • I have searched the existing issues

Forums discussion

https://forum.freecad.org/viewtopic.php?f=15&t=74153

Version

0.21 (Development)

Full version info

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.21.31109 (Git)
Build type: Release
Branch: master
Hash: c23ee7ad88433a0f00e84afae0a62fe738be0c09
Python 3.10.8, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: German/Germany (de_DE)
Installed mods: 
  * CurvedShapes 1.0.4
  * Curves 0.5.3
  * FeedsAndSpeeds 0.4.0
  * Marz 0.0.26-alpha
  * Silk 1.0.0

Subproject(s) affected?

Path

Issue description

In 3D Surface, when calculating a multi-pass path, with 'Optimize StepOver Transitions' enabled, everything above the height StartDepth-StepDown is ignored. Pleas see attached model.

Anything else?

TestOptimizeStepOverTransitions.zip

Code of Conduct

  • I agree to follow this project's Code of Conduct
@luzpaz luzpaz added Bug This issue or PR is related to a bug WB CAM Related to the CAM/Path Workbench labels Dec 4, 2022
@acp693
Copy link
Author

acp693 commented Jan 18, 2024

@Dimitrios2 wrote the following on the above linked forum thread about this issue:

It appears that the first step down mast be excluded of the optimization.

replace the following lines form file /Path/Op/Surface.py

line 1689 and 1710 ( At least in my file )
if optLinTrans is True:
with
if optLinTrans is True and layDep != (obj.OpStartDepth.Value - obj.StepDown.Value):

line 1837 ( At least in my file )
if obj.OptimizeStepOverTransitions:
with
if obj.OptimizeStepOverTransitions and p2.z != (obj.OpStartDepth.Value - obj.StepDown.Value):

I tried his code and it seems to be working as expected. Further testing by others would be recommended

@luzpaz luzpaz changed the title [Bug] [Path] 3D Surface, with Optimise StepOver Transitions enabled, doesn't calculate any path above StartDepth-Stepdown [Problem] CAM: 3D Surface, with Optimise StepOver Transitions enabled, doesn't calculate any path above StartDepth-Stepdown Mar 13, 2024
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: Backlog
Development

No branches or pull requests

2 participants