-
Notifications
You must be signed in to change notification settings - Fork 30
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
bunny crash #10
Comments
fiddled with with the command: ./interface.exe obj:../autoknit-tests/models/bunny.obj constraints:../autoknit-tests/constraints/bunny.cons stitch-width:2.0 stitch-height:2.0 peel-step:-1 save-traced:bunny.st the program runs for a long time again (still running, will update, but hasn't crashed yet) <—UPDATE: just finished running (took ~30-40 minutes), and bunny.st was successfully generated. and then with the command: ./interface.exe obj:../autoknit-tests/models/bunny.obj constraints:../autoknit-tests/constraints/bunny.cons obj-scale:0.5 save-traced:bunny.st ^TODO: try this <—UPDATE: just finished running (took ~1 min); bunny.st was also successfully generated with this combination of args. |
might be worth adding documentation on which |
obj-scale and stitch-width/height values are based on the fabrication setup, the object is measured in mms and stitch-width and height values in mms should be measured for a half-gauge swatch. (If the system fails for any combination of these values, it is a bug) |
(I strongly agree; well said, @vid8687) |
sounds reasonable to be. this command with UPDATE: so looks like it does work for some scale/stitch combinations, but not all. |
I fixed the tracing code to avoid tucking on empty needles that fixes this (haven't extensively tested this, so not closing yet), @gabrielle-ohlson does the most recent version of the code fix all the problematic cases you found? |
The code still hits an assertion when running:
(Use The assertion is:
Looks like this is a different error, but causing the same problem (bunny not working). |
I was met with the following assert() failure when attempting to save the traced stitches generated using the bunny.obj file:
Assertion failed: vertices[vertices[at].col_in[0]].col_out[0] != -1U && vertices[vertices[at].col_in[0]].col_out[1] != -1U, file ak-trace_graph.cpp, line 152
here's the full command I ran:
./interface.exe obj:../autoknit-tests/models/bunny.obj constraints:../autoknit-tests/constraints/bunny.cons peel-step:-1 save-traced:bunny.st
(note: it ran for a long time and outputted a good deal of messages before crashing with an error number [9])
The text was updated successfully, but these errors were encountered: