I,J, and K missed interpretation

More
30 Jan 2024 01:52 #291949 by Routerworks
I recently ran across this problem.  I converted a picture to an svg file and imported it into Freecad.  I then extruded the outline and created a path for my Linux controlled cnc.  Long story short.  It converted all of the lines perfectly except two.  There were 2 arc segments that it converted to 2 extremely large complete circles.  The only (and major) difference between those two I,J, K lines was that the difference in the endpoint of the arc from the start point of the arc was only 0.001" and 0.0015 inches.  All the other I,J,K lines had significantly greater differences.  The radius of many of the arcs were very large on the order hundreds to thousands of inches but all the others works out fine.  I am wondering if there is a setting for how many decimal places or what the cut off factor is for recognizing this difference in beginning and end points.Has anyone else run into this.Thanks in advance for any help.

Please Log in or Create an account to join the conversation.

More
03 Feb 2024 10:14 #292293 by andypugh
Which version of LinuxCNC are you using? I thought that I had fixed that.

github.com/LinuxCNC/linuxcnc/issues/1528

Please Log in or Create an account to join the conversation.

More
03 Feb 2024 13:47 #292307 by Routerworks
OS: Windows 10 build 19045
Word size of FreeCAD: 64-bit
Version: 0.21.0.33668 +7 (Git)
Build type: Release
Branch: (HEAD detached at 0.21)
Hash: 41b058e2087de60dc8fef3d3e68c7d0129e13abf
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.3
Locale: English/United States (en_US)
Installed mods: 
  * Assembly4 0.50.2
  * fasteners 0.4.56
  * FeedsAndSpeeds 0.5.0
  * FEMbyGEN 1.2.0
  * FEM_FrontISTR 0.1.0
  * freecad.gears 1.0.0
  * kicadStepUpMod 10.19.4
  * sheetmetal 0.2.63
  * Silk 0.1.3

Please Log in or Create an account to join the conversation.

More
03 Feb 2024 13:53 #292308 by Routerworks
I checked out your link. Looks like the same exact problem. Now that I understand it it's not a big deal to correct when it occurs but it would be great if it wasn't there.

thanks for your attention.

Please Log in or Create an account to join the conversation.

More
03 Feb 2024 19:10 #292324 by Routerworks
Below is the code if you would like to see it.
Lines: N10340 and N10090
Compared to the previous lines the beginning and end offset is 0.001 and 0.0015 inches.
These lines make two complete extremely large circles. Once removed the increment was so small the program continues on.

thanks again

N10060 G0 X9.1564 Z0.9000
N10070 G1 X9.1564 Y-7.9935 Z0.6000
N10080 G1 X9.5081 Y-7.9935 Z0.6000
N10090 G2 X9.5081 Y-11.2236 Z0.6000 I-107001.1201 J-0.8075
N10100 G3 X9.3249 Y-11.3826 Z0.6000 I39678.7422 J-45743.8246
N10110 G3 X9.1568 Y-11.2329 Z0.6000 I-0.8135 J-0.7441
N10120 G1 X9.1564 Y-7.9935 Z0.6000
N10130 G0 Z0.9500
N10140 G0 Z0.9500
N10150 G0 X9.1564 Y-7.9935
N10160 G0 X9.8990 Y-7.9940
N10170 G0 X9.8990 Y-7.9940 Z0.9000
N10180 G1 X9.8990 Y-7.9940 Z0.6000
N10190 G2 X9.8990 Y-7.9935 Z0.6000 I1069.3593 J-0.7547
N10200 G1 X10.2509 Y-7.9935 Z0.6000
N10210 G1 X10.2459 Y-10.8882 Z0.6000
N10220 G1 X10.0841 Y-10.9440 Z0.6000
N10230 G1 X10.0841 Y-10.9440 Z0.6000
N10240 G3 X9.9106 Y-11.0070 Z0.6000 I1.0798 J-3.2431
N10250 G2 X9.9080 Y-10.9965 Z0.6000 I0.0037 J0.0065
N10260 G2 X9.9001 Y-10.4145 Z0.6000 I13.5622 J0.4763
N10270 G2 X9.8990 Y-7.9940 Z0.6000 I1069.3583 J1.6659
N10280 G0 Z0.9500
N10290 G0 Z0.9500
N10300 G0 X9.8990 Y-7.9940
N10310 G0 X10.6417 Y-7.9945
N10320 G0 X10.6417 Y-7.9945 Z0.9000
N10330 G1 X10.6417 Y-7.9945 Z0.6000
N10340 G2 X10.6417 Y-7.9935 Z0.6000 I1008.8173 J-0.6928
N10350 G1 X10.9935 Y-7.9935 Z0.6000
N10360 G1 X10.9935 Y-10.6291 Z0.6000
N10370 G2 X10.6454 Y-10.7687 Z0.6000 I-1.5407 J3.3378
N10380 G2 X10.6421 Y-9.8064 Z0.6000 I37.0310 J0.6097
N10390 G2 X10.6417 Y-7.9945 Z0.6000 I1008.8169 J1.1191
N10400 G0 Z0.9500
N10410 G0 Z0.9500
N10420 G0 X10.6417 Y-7.9945
N10430 G0 X11.3831 Y-7.9935
N10440 G0 X11.3831 Y-7.9935 Z0.9000
N10450 G1 X11.3831 Y-7.9935 Z0.6000
N10460 G1 X11.5478 Y-7.9935 Z0.6000
N10470 G3 X11.6529 Y-8.6972 Z0.6000 I5.3628 J0.4410
N10480 G2 X11.6960 Y-9.2032 Z0.6000 I-2.6727 J-0.4827
N10490 G2 X11.5303 Y-10.0437 Z0.6000 I-2.4489 J0.0462
N10500 G2 X11.5068 Y-10.0939 Z0.6000 I-1.0321 J0.4528
N10510 G1 X11.5068 Y-10.0939 Z0.6000
N10520 G2 X11.3871 Y-10.2996 Z0.6000 I-2.3550 J1.2323
N10530 G1 X11.3831 Y-7.9935 Z0.6000
N10540 G0 Z0.9500
N10550 G0 Z0.9500
N10560 (finish operation: Profile0
N10580 G17 G5

Please Log in or Create an account to join the conversation.

More
03 Feb 2024 19:28 #292325 by PCW
I don't think you answered Andys question:

What LinuxCNC version are you running?
 

Please Log in or Create an account to join the conversation.

More
03 Feb 2024 19:36 #292327 by Routerworks
Oops. Sorry about that, wrong software.

LinuxCNC/Axis V2.8.4-1-gb7824717b

Please Log in or Create an account to join the conversation.

Time to create page: 0.088 seconds
Powered by Kunena Forum