ModischFabrications / CutSolver

Webservice to determine ideal cut placement on stocks

Home Page:https://cutsolver.modisch.me

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] Zero cutting width not working with FFD

ecdlguy opened this issue · comments

Hi,

I've done a simple test, see screenshot:
Bildschirmfoto von 2023-07-19 13-06-07

Using "cutting width = 0", shouldn't this yield 10 parts per rod?

cheers,
Thorsten

Hey, sorry for missing this issue.
I agree with you, this seems like a bug. It works with a length a tiny bit over the sum, so I guess there is a greater/greaterOrEqual problem somewhere. A bandaid for now is to add a tiny amount, e.g. 1001 instead of 1000.
Could also be related to floating point errors, but I would be surprised, I used integer math wherever possible.

Is https://cutsolver.modisch.me/ already using the fix?

Bildschirmfoto vom 2024-04-03 11-04-29

Not yet, will try to release an update this week. Online version is v1.0.0, new one is v1.0.1

Just updated, check it out 😉
Out of curiosity: What are you using it for? I haven't found a use for zero width cuts yet