JTechPhotonics / J-Tech-Photonics-Laser-Tool

MIT License
171 stars 73 forks source link

Problem with path generated and warnings #4

Closed JuPrgn closed 4 years ago

JuPrgn commented 4 years ago

Hi, I have same warning than #2 with Inkscape 1.0 fresh install and corresponding pluggin 1.0 beta (win7 64). image

In my case the preview is very far from the original drawing : image

I had already reported this bug with this file to JTP with previous 0.92 extension.

The source file is a part from another complex SVG and I only extracted the part that make this bug happen : drawing_initial.zip image

Please let me know if you need some more details.

PadLex commented 4 years ago

Thanks for reporting this bug. I'm prioritizing resolving new bugs (1.0 only) because I'm better equipped to fix them. In the next release we'll try to improve the script's structure and readability so that we can try and tackle older bugs like this one.

PadLex commented 4 years ago

Didn't mean to close this issue. I think it was automatically closed because the deprecation warnings should have been fixed in the master branch (I'll add a new minor release after some testing).

PadLex commented 4 years ago

Nevermind, all of thesee issues should have been fixed with the drewler's commit. You can now download the latest 1.1 patch.

JuPrgn commented 4 years ago

Thank you @drewler and @PadLex.

JuPrgn commented 4 years ago

There is still a problem with the exported G-code but the warnings are fixed.

After trying to engrave this again, I still have Y-axis move really far to the left (outside endstop) and I get following G-code :

M42 P44 S0
G90
G21
G1 F1000
G1  X6.8919 Y25.5831
G4 P0 
M42 P44 S50
G4 P5
G1 F750.000000
G3 X15.2372 Y20.7465 I8.4334 J4.9334
G3 X21.4962 Y21.0806 I0.4537 J50.2928
G3 X19.4889 Y21.3192 I-6.1956 J-43.5601
G3 X17.4152 Y21.5162 I-153.7409 J-1607.7261
G3 X17.0695 Y21.5075 I-0.1367 J-1.4469
G3 X14.1653 Y21.0812 I142.1802 J-978.8123
G1  X15.2655 Y21.3236
G1  X16.3593 Y21.6198
G3 X16.0136 Y21.5978 I-0.1076 J-1.0371
G2 X15.6699 Y21.5773 I-0.2313 J0.9864
G3 X14.4872 Y21.5462 I-0.479 J-4.2801
G2 X13.3149 Y21.5227 I-0.6668 J4.0258
G3 X-5.5687 Y-125.139 I-9.148 J-73.3687
G3 X14.5617 Y21.8352 I9.7669 J73.528
G2 X14.2565 Y21.8797 I4.611 J32.7031
G2 X13.9553 Y21.9266 I4.444 J29.5215
G2 X13.6807 Y21.9723 I4.2797 J26.5791
G2 X13.4098 Y22.0203 I4.2549 J24.7889
G2 X12.92 Y22.1154 I4.0813 J22.3271
G2 X12.4443 Y22.2195 I3.8585 J18.766
G2 X9.231 Y23.4354 I2.9185 J12.5673
G2 X6.892 Y25.5831 I3.0802 J5.7022
G1  X6.8919 Y25.5831
G4 P0 
M42 P44 S0
G1 F1000
G1 X0 Y0

This line seems to be the problem : G3 X-5.5687 Y-125.139 I-9.148 J-73.3687

Could you reopen the issue please ?