3D surface hangs when choosing the "Spiral" cut pattern.

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!
Post Reply
Anon
Posts: 12
Joined: Wed Oct 29, 2014 9:42 am

3D surface hangs when choosing the "Spiral" cut pattern.

Post by Anon »

Hi,
when I try to run the "Spiral" cut pattern on this test file it just consumes 100% of 1 CPU core. After like 16 hours I terminated the process. Could someone please check if this is reproducible?
opencamlib-git from AUR

Code: Select all

2023.01.11.6.g7149b04
freecad-git from AUR

Code: Select all

OS: Arch Linux (GNOME/gnome)
Word size of FreeCAD: 64-bit
Version: 0.21.0.32468 (Git)
Build type: None
Branch: master
Hash: 30e815a69d339421367ad7b5ef0391833ba8e497
Python 3.10.10, Qt 5.15.8, Coin 4.0.1, Vtk 9.2.6, OCC 7.6.3
Locale: English/United States (en_US)
Installed mods: 
  * fasteners 0.4.55
Maybe I'm just missing something and Spiral shouldn't work anyway.
Attachments
test.FCStd
(442.26 KiB) Downloaded 16 times
xemul
Posts: 393
Joined: Tue Mar 21, 2023 9:35 pm

Re: 3D surface hangs when choosing the "Spiral" cut pattern.

Post by xemul »

It work (with some glitches on trajectory). You can try with your model scaled down by 100 or by 10.
(You miss settings for TC's movement speeds and for rapid movement speeds in SetupSheet)
(StepDown = ToolDiameter and single pass usually suitable for foam or for air cutting; StepOver = ToolDiameter for ball end? why not when you know what you doing)
Russ4262
Posts: 941
Joined: Sat Jun 30, 2018 3:22 pm
Location: Oklahoma
Contact:

Re: 3D surface hangs when choosing the "Spiral" cut pattern.

Post by Russ4262 »

Anon wrote: Sat Mar 25, 2023 12:18 pm Hi,
when I try to run the "Spiral" cut pattern on this test file it just consumes 100% of 1 CPU core. After like 16 hours I terminated the process. Could someone please check if this is reproducible? ...
As stated by xemul, it works. Source file is attached. The Spiral cut pattern is more computationally intensive than most of the other patterns. This, in combination with the size of the work piece and other characteristics of the Surface op increase the computational time very much.

Russell

Code: Select all

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.21.0.32532 (Git)
Build type: Release
Branch: master
Hash: 20e44eba50e1365b9e7bb9c5c244afe96a627a28
Python 3.10.10, Qt 5.15.8, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: English/United States (en_US)
Installed mods: 
  * FC_SU
  * freecad.gears 1.0.0
  * PathExp
  * Z_MacroStartup
Attachments
Snip macro screenshot-367f6b.png
Snip macro screenshot-367f6b.png (104.95 KiB) Viewed 361 times
test - Copy.FCStd
Source file for attached screenshot. Surface op with Spiral cut pattern.
(154.89 KiB) Downloaded 11 times
Post Reply