tool goes up during profile

Here's the place for discussion related to CAM/CNC and the development of the Path module.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
matttgic
Posts: 4
Joined: Fri Mar 31, 2023 1:05 pm

tool goes up during profile

Post by matttgic »

Hello,
You can see the pretty simple profiling path as per picture attached.
However, on a particular location the machine won't follow the path and will goes up (diagonally), as you can see in following attached picture.
What could be the reason ?
Attachments
Capture d’écran 2023-03-31 à 15.02.33.png
Capture d’écran 2023-03-31 à 15.02.33.png (91.35 KiB) Viewed 670 times
IMG_0808.jpg
IMG_0808.jpg (761.59 KiB) Viewed 670 times
chrisb
Veteran
Posts: 53919
Joined: Tue Mar 17, 2015 9:14 am

Re: tool goes up during profile

Post by chrisb »

File? Without it looks like an issue on your machine.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
GeneFC
Veteran
Posts: 5373
Joined: Sat Mar 19, 2016 3:36 pm
Location: Punta Gorda, FL

Re: tool goes up during profile

Post by GeneFC »

matttgic wrote: Fri Mar 31, 2023 1:09 pm However, on a particular location the machine won't follow the path and will goes up (diagonally), as you can see in following attached picture.
What could be the reason ?
It appears to be a red line signifying a rapid path to a different location. It does not appear to be cutting anything.

The order of cutting steps is decided in various ways. It is not always clear to a human how the strategy was created for a specific shape.

If you include the actual model file and/or g-code file someone may be able to offer a bit more detail.

Gene
matttgic
Posts: 4
Joined: Fri Mar 31, 2023 1:05 pm

Re: tool goes up during profile

Post by matttgic »

Sure ! Sorry for not including these files. Here it is.
Attachments
nose_third.FCStd
(29.87 KiB) Downloaded 14 times
parametric_ski - mold_nose.step
(23.39 KiB) Downloaded 11 times
matttgic
Posts: 4
Joined: Fri Mar 31, 2023 1:05 pm

Re: tool goes up during profile

Post by matttgic »

And the knc (rename with .txt extension because this forum won't accept .knc file)
Attachments
nose_third_tag_12.txt
(12.68 KiB) Downloaded 13 times
GeneFC
Veteran
Posts: 5373
Joined: Sat Mar 19, 2016 3:36 pm
Location: Punta Gorda, FL

Re: tool goes up during profile

Post by GeneFC »

I took a close look at the files you posted. Everything looks perfect.

As chrisb said, this looks like some sort of problem due to your machine or controller.

Gene
matttgic
Posts: 4
Joined: Fri Mar 31, 2023 1:05 pm

Re: tool goes up during profile

Post by matttgic »

Thank you for your reply. Do you ave any idea what I should look into ?
I have a Heiz machine, using WinPC-NC software to control it.
This is the first time I see this issue.
GeneFC
Veteran
Posts: 5373
Joined: Sat Mar 19, 2016 3:36 pm
Location: Punta Gorda, FL

Re: tool goes up during profile

Post by GeneFC »

matttgic wrote: Fri Mar 31, 2023 4:07 pm
I am not familiar with either the machine or the controller. Perhaps some other reader will recognize those items.

I should have added previously that I ran your g-code in Camotics, a cutting simulator that is completely separate and independent from FreeCAD. The cut pattern looked perfect.

Gene
chrisb
Veteran
Posts: 53919
Joined: Tue Mar 17, 2015 9:14 am

Re: tool goes up during profile

Post by chrisb »

GeneFC wrote: Fri Mar 31, 2023 3:53 pm I took a close look at the files you posted. Everything looks perfect.
This is a bit off topic: That means you don't see any errors on recomputing the file? I have errors in 0.21 after migrating with the JobFixer script.

Code: Select all

10:54:29  Invalid type Path::PropertyTool for property nose_third_current#Tool.Tool
10:54:29  Traceback (most recent call last):
  File "/Users/cb/Desktop/FreeCAD.app/Contents/Resources/Mod/Path/Path/Dressup/Gui/Tags.py", line 477, in updateData
    self.updatePositions(obj.Positions, obj.Disabled)
  File "/Users/cb/Desktop/FreeCAD.app/Contents/Resources/Mod/Path/Path/Dressup/Gui/Tags.py", line 467, in updatePositions
    self.obj.Proxy.pointAtBottom(self.obj, p), self.colors
  File "/Users/cb/Desktop/FreeCAD.app/Contents/Resources/Mod/Path/Path/Dressup/Tags.py", line 1350, in pointAtBottom
    self.setup(obj)
  File "/Users/cb/Desktop/FreeCAD.app/Contents/Resources/Mod/Path/Path/Dressup/Tags.py", line 1314, in setup
    self.toolRadius = float(PathDressup.toolController(obj.Base).Tool.Diameter) / 2
<class 'AttributeError'>: 'FeaturePython' object has no attribute 'Tool'
10:54:29  Traceback (most recent call last):
  File "/Users/cb/Desktop/FreeCAD.app/Contents/Resources/Mod/Path/Path/Tool/Gui/Controller.py", line 122, in claimChildren
    if obj and obj.Proxy and obj.Tool:
<class 'AttributeError'>: 'FeaturePython' object has no attribute 'Tool'
10:54:29  Traceback (most recent call last):
  File "/Users/cb/Desktop/FreeCAD.app/Contents/Resources/Mod/Path/Path/Tool/Gui/Controller.py", line 122, in claimChildren
    if obj and obj.Proxy and obj.Tool:
<class 'AttributeError'>: 'FeaturePython' object has no attribute 'Tool'
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
chrisb
Veteran
Posts: 53919
Joined: Tue Mar 17, 2015 9:14 am

Re: tool goes up during profile

Post by chrisb »

matttgic wrote: Fri Mar 31, 2023 1:09 pm What could be the reason ?
Can you please retry - I recommend a dry run! - without the tags dressup.
Further tests which could help to identify the problem:
- mill only the front line
- do it in one stepdown
- do a straight line.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Post Reply