mfx-inria / curvislicer

CurviSlicer: Slightly curved slicing for 3-axis printers
GNU Affero General Public License v3.0
215 stars 25 forks source link

Unresponsiveness at objective #8

Closed snajeebz closed 3 years ago

snajeebz commented 3 years ago

Hi, I have been trying to slice one of my models using curvislicer. but it stops proceeding during the slicing operation;

here's what it shows when curvislicer.bat is executed as follows;

C:\Users\zaidi\Downloads\curvislice>curvislice.bat test.stl C:/Users/zaidi/Downloads/curvislice/Test

Generate tetmesh "from C:/Users/zaidi/Downloads/curvislice/Test.stl" ...
'findstr' is not recognized as an internal or external command,
operable program or batch file.
'findstr' is not recognized as an internal or external command,
operable program or batch file.
'findstr' is not recognized as an internal or external command,
operable pr
[curvi.zip](https://github.com/mfx-inria/curvislicer/files/6032271/curvi.zip)
ogram or batch file.
'findstr' is not recognized as an internal or external command,
operable program or batch file.
Done!
Optimize...
Mesh has 47416 tets.
Compute all matrices... 47416
done !

Normal threshold: 0.866025

<<Fabricable emptyness (for supports)>>

CSTRT_FOLDOVER
CSTRT_THICKNESS 0.05 < 0.3 < 0.3
CSTRT_COLLISION_SLOPE -30 < ? < 30
CSTRT_ANCHOR_LAYER
OBJ_SURFACE_SLOPE angle = 0
TARGET_NUM_LAYERS -1

Creating the model ... OSQP doesn't allow multithreading
removed 110 tiny or isolated flattened areas.
area check: expected = 1029.69 found = 0
objective
optimize
-----------------------------------------------------------------
           OSQP v0.6.0  -  Operator Splitting QP Solver
              (c) Bartolomeo Stellato,  Goran Banjac
        University of Oxford  -  Stanford University 2019
-----------------------------------------------------------------
problem:  variables n = 8465, constraints m = 248410
          nnz(P) + nnz(A) = 985007
settings: linear system solver = qdldl,
          eps_abs = 1.0e-03, eps_rel = 1.0e-03,
          eps_prim_inf = 1.0e-04, eps_dual_inf = 1.0e-04,
          rho = 1.00e-01 (adaptive),
          sigma = 1.00e-06, alpha = 1.60, max_iter = 4000
          check_termination: on (interval 25),
          time_limit: 3.60e+03 sec,
          scaling: on, scaled_termination: off
          warm start: on, polish: off, time_limit: 3.60e+03 sec

iter  objective    pri res    dua res    rho        time
   1  -5.3970e-04   1.09e+00   2.75e+00   1.00e-01   1.02e+00s
 200  -1.0396e-02   1.14e+01   6.01e-04   1.11e-03   4.21e+00s
 400  -1.5956e-02   7.51e-01   1.15e-04   1.11e-03   6.97e+00s
 600  -1.8211e-02   1.44e+00   5.10e-05   2.17e-04   9.80e+00s
 800  -2.0371e-02   5.02e-01   2.82e-05   2.17e-04   1.25e+01s
1000  -2.0996e-02   2.78e-01   2.18e-05   2.17e-04   1.53e+01s
1200  -2.1394e-02   3.11e-01   1.73e-05   2.17e-04   1.81e+01s
1400  -2.1629e-02   1.81e-01   1.36e-05   2.17e-04   2.09e+01s
1600  -2.1777e-02   1.02e-01   9.63e-06   2.17e-04   2.36e+01s
1800  -2.1821e-02   9.86e-02   3.51e-06   2.17e-04   2.64e+01s
2000  -2.1832e-02   9.65e-02   1.15e-06   2.17e-04   2.91e+01s
2200  -2.1837e-02   9.55e-02   4.27e-07   2.17e-04   3.18e+01s
2400  -2.1840e-02   9.54e-02   1.74e-07   2.17e-04   3.46e+01s
2600  -2.1843e-02   9.51e-02   1.32e-07   2.17e-04   3.74e+01s
2800  -2.1842e-02   9.42e-02   1.24e-07   2.17e-04   4.02e+01s
3000  -2.1844e-02   9.36e-02   6.27e-08   2.17e-04   4.29e+01s
3200  -2.1844e-02   9.30e-02   4.26e-08   2.17e-04   4.57e+01s
3400  -2.1844e-02   9.24e-02   4.63e-08   2.17e-04   4.84e+01s
3600  -2.1844e-02   9.18e-02   6.58e-08   2.17e-04   5.13e+01s
3800  -2.1844e-02   9.12e-02   3.48e-08   2.17e-04   5.40e+01s
4000  -2.1845e-02   9.07e-02   2.22e-08   2.17e-04   5.68e+01s

status:               solved inaccurate
number of iterations: 4000
optimal objective:    -0.0218
run time:             5.68e+01s
optimal rho estimate: 3.96e-04

num flattening 'constraints' 2241
num flattening 'constraints' after relaxation 2241
removed 0 tiny or isolated flattened areas.
alignment objectives
shape_bottom = 7.81721
[flat    ]  alignement error: 0.144923 26.1-26.2449 (A = 693.174 w = 0.673188)
[flat    ]  alignement error: 0.094938 19.8-19.8949 (A = 252.891 w = 0.2456)
[flat    ]  alignement error: 5.1732e-05 -0--5.1732e-05 (A = 83.6237 w = 0.0812126)
area check: expected = 1029.69 found = 1029.69
objective

I have also attached the zipped curvi folder, I modified the files in that to suit my printer settings and copied these to %appData folder mentioned in curvislicer.bat.

snajeebz commented 3 years ago

it doesn't generate any file or proceed after this I waited for hours.

snajeebz commented 3 years ago

Hi please find the files attached generated by another process on the same STL file. these are 2 msh files 1 csv and 1 obj extension files

Log is attached as a text file Test1_Log.txt

test1-files generated by the process.zip

JuDePom commented 3 years ago

Hey, sorry for the long time.

Can you try running curvislice.bat models/wing.stl ? It should be done in a few minutes.

And if it fails there, try to send me all the generated files.

Jimmy

snajeebz commented 3 years ago

Hi, yes It got solved, there were two problems firstly, my design is taking longer to convert around 5-6hrs.

Secondly, I ran this time as an administrator, so it did the task.