-
Notifications
You must be signed in to change notification settings - Fork 37
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
Problem in big files, and modificate in grbl files. #54
Comments
Hi! Log:
|
Hi, About the big files - I noticed this before, the problem seem to be in CNCjs socket API, upload of big files to CNCjs via socket API seem to fail (above certain file size). Maybe there is a setting in CNCjs to remove this limit - to be checked if this becomes a problem for normal use. There is also an option (-o) to define the output directory where the output auto-leveled file is stored - so if the automatic upload to CNCjs fails, you can always manually load the output file into CNCjs. As for copper cleaning paths - I did not find the copper cleaning gcode file in the attached zip to check what may be the problem: About removing the comments/notes - I created a fix so that full line comments are preserved i.e. comment like BR, |
Hi! Yes the cleaning file is left out. in the attachment has 2. With multi tool and a one tool version The multi tool version is looks like an one tool but no. Flatcam error. Thanks the fix. |
Hi! A question... While your program modify the cnc file, put someone a modified grbl? So the program do that, i can download, and upload manulally to cncjs avoided the cncjs socket api problem. I created an 5 pass 2 level isolation routing, then (of course) the AL is not succes that file :) Thanks Again! |
Hi, There is an -o <path_to_output_folder> command line option --> if this option is set to some existing folder it will put there modified gcode file. BR |
Sorry, if i'm stupid... This command line option is where? This is not working:
|
Hi, this works for me:
maybe you have no write rights to "/home/root/" or that folder does not exist (did you mean actually to use /root/)? Note also that the file is created there after whole process is completed. BR, |
Yes, i'm run all with root to be avoided all permission problem. So this command need to run after applying AL in the console? I'm Trying. Thanks! |
No, you need to start the cncjs-kt-ext with that option -o before using AL (and keep it running, as you would normally use it). The program will automaticaly write the file to that defined output folder as soon as AL is finished (but nothing will be written to that file while AL is still being executed). |
Hi! Sorry but i'm bother again. After a long pause, i'm try to create a new board. I reclone the kt-ext from github, and try to re apply the height map, that previously saved. But "no previous autolevel points" i try to open heightmap then close and overwrite the saved height map but no success. I'm can't create a new height map, because the PCB milling is started and always has some point on the milled route. How can i resolve this? Thanks! |
Hi! I have a question. Witch point is the zero? Where measure the initial point, the origin of autoleveling? Thanks! |
Hi, The lower left corner (xmin, ymin) is where the Z0 is set --> this is the first point that is probed i.e.
BR, |
Hi! Thanks the reply. But then i don't understand. I'm loaded a 0.3 mm circular tool, then set the zero. I'm loaded the copper cleaning grbl, started the autoleveler, with heightmap saving. When the autoleveler is done, i'm load the isolation map, apply the height map, then start milling. The milling is perfect. After that, i change the tool a 0.8 circular, then set the zero on x0,y0. After loaded the copper cleaning map, i'm applyed the height map, and start the milling. But this milling is horrible. Why working on isolation milling, and why not on copper cleaning? |
Can you try to zero second tool on lower left corner ==> xmin, ymin (i.e. at X4.77 Y-51.3 Z0 , the tool should be touching surface of the board). It seems x0,y0 is actually upper left corner for your pcb, based files provided |
Hi! Thanks! I'm trying! Aubete |
Hi! Sorry, but something not clear. My board (the ncc) lover left corner is is x-0.6 y-51.7. The heightmap is created from ncc file. So use that coordinates? |
It should be OK to zero it anywhere close to that point (i.e. +-3mm), it does not have to be 100% exactly the same point as the height does not change significantly |
Thanks! |
Hi! I'm again... Sorry. So I'm upgraded the cncjs to 1.10.3 and tryed to use. but the extension works odd. The scanning is done, The height map file looks good, The appliing is done look like without error But the result is: 32M03S300.0 there is no god for the PCB to be so straight, at least based on manual touches On the attachment is a scanned height map, modified cnc file and the unmodified cnc file.. |
Hi! Ok i'm doing wrong. Sorry. A have another problem. But thats a next issue. Sorry again. |
Hi!
Sorry about this new bothering. I'm created a copper removal GRBL. The file (because the 8.99 flatcam is buggy, and only one thin tool is used) is a little big (33mb). Unfortunately, i'm deleted after unsuccessful auto leveling. The autoleveler, is got the file and the logs shows the working on it. 0-to ~150000 lines. Then Printed in the log the reloading message, but the modified file is not loaded to cncjs. It is not a big problem, the file is big because the flatcam is do something wrong. i'm cant reproduce this big file.
Now created a smaller multi tool GRBL on this, the work is done. But looks like something not ok. See the attached picture. The isolation routing dreamy nice and precise, but the copper cleaning is odd. I'm attached the original grbl if you testing it. Im attached the height map, but i'm can't known where is the uploaded or modified GRBL in cncjs,
And another problem, when the program is modify the GRBL why delete the notes? When comes a toolchange routine, i not see what tool is need, because the tool dia message is vanished.
"
M6
(MSG, Change to Tool Dia = 1.9600)
M0
"
in a two tool GRBL is not a big problem, but in a 10 tool GRBL is mutch bigger.
Thank you for work!
heightmap.txt
cnc_7z.zip
The text was updated successfully, but these errors were encountered: