vilemduha / blendercam

Automatically exported from code.google.com/p/blendercam
GNU General Public License v3.0
468 stars 119 forks source link

stuck in sorting path #8

Closed emmanuelcohenlaroque closed 8 years ago

emmanuelcohenlaroque commented 8 years ago

first of all, thank you so much for this wonderful work you are doing with blendercam!

after using the latest commit, it gets stuck in sorting paths (parallel strategy) - I am using blender 2.70 (under ubuntu 15.10). any ideas where this comes from?

all the best and thank you again for providing what is probably the best CAM option for linux so far!

ghost commented 8 years ago

Yup, getting the same thing. I have a fix for it in my fork of Blendercam and will generate a pull request soon.

vilemduha commented 8 years ago

Thanks for a very nice feedback - the last commit is largely unfinished, I wanted to commit it at least in this state. P nfz - if you have a fix, please upload it, or if you believe it is the right one, commit it directly...

ghost commented 8 years ago

I am not getting the infinite loop in sortChunks() with with the most recent updates in Master.

emmanuelcohenlaroque commented 8 years ago

Hi Guy, I'm still getting this problem using the latest update (checked out today) and Blender 2.70. Here is the output of the program, cutting a 80x120x30mm object with a 3mm end cutter:

Operation_1 sampling paths 93.0% Operation_1 sampling paths 94.0% Operation_1 sampling paths 95.0% Operation_1 sampling paths 96.0% Operation_1 sampling paths 97.0% Operation_1 sampling paths 98.0% Operation_1 sampling paths 99.0% Operation_1 checking relations between paths Operation_1 sorting paths

How long should it take (I've been waiting for 30 minutes now, on a very fast computer (Intel® Core™ i7-4710HQ CPU @ 2.50GHz × 8 , 16Gb RAM on Ubuntu 15.10 and Samsung SSD)?

emmanuelcohenlaroque commented 8 years ago

Hello again,

Just for info, my model has about 5540 chunks.

Sorting issue seems to only occurs when calculating path in background, but not when using the normal calculate mode...

Hope that helps!

emmanuelcohenlaroque commented 8 years ago

Also occurs in normal calculate mode (i.e. not background) when using layers in parallel strategy...

ghost commented 8 years ago

30 minutes is way too long. Definitely a problem. Do you have a .blend that I could test? The other thing you could try is to uncomment(remove the leading #) the following lines in utils.py: 1576 1583 1584 1585 Make sure you use the latest from github.

emmanuelcohenlaroque commented 8 years ago

Hi Jeff,

Here is the .blend.

I am using the lastes from github and indeed already tried to comment those lines in utils.py

Cheers, Emmanuel

On 26. 12. 15 21:42, Jeff Doyle wrote:

30 minutes is way too long. Definitely a problem. Do you have a .blend that I could test? The other thing you could try is to uncomment(remove the leading #) the following lines in utils.py: 1576 1583 1584 1585 Make sure you use the latest from github.

— Reply to this email directly or view it on GitHub https://github.com/vilemnovak/blendercam/issues/8#issuecomment-167361163.

ghost commented 8 years ago

The .blend file does not seem to be attached to your last comment.

ghost commented 8 years ago

Try the latest, there was a fix for sorting chunks.

vilemduha commented 8 years ago

this one was obviously fixed, closing.