Skip to content
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

Replace G2/3 by lines function #415

Open
yang-shaoxiong opened this issue Sep 4, 2024 · 13 comments
Open

Replace G2/3 by lines function #415

yang-shaoxiong opened this issue Sep 4, 2024 · 13 comments
Labels

Comments

@yang-shaoxiong
Copy link

The Replace G2/3 by lines in the G-Code Transform in 1.7.3.1 will report an out of memory error when used, but the actual computer still has a lot of memory. What is the reason for this?

@svenhb
Copy link
Owner

svenhb commented Sep 4, 2024

What are your settings here?
To reduce data amount:

  • Try to decrease "Number of line segments in curves"
  • Try to increase "Step width on circumference of arcs"
    image

@yang-shaoxiong
Copy link
Author

Isn't this a file import? I'm
Uploading Replace.png…
talking about the Replace G2/3 by lines function in the G-Code Transform menu

@svenhb
Copy link
Owner

svenhb commented Sep 4, 2024

I checked the code, it will use this parameter - also for [Menu - G-Code Transform - Replace G2/3]:
image

@yang-shaoxiong
Copy link
Author

Ok, thanks for your reply

@svenhb
Copy link
Owner

svenhb commented Sep 4, 2024

You may experiment with a simple G-Code and check the amount of lines after replacing G2/3 with different step-widths...
With step width 0.01 more than 6000 code lines,
with step width 0.5 less than 150 code lines and it is acurate enough.

(<Figure Id="1" Geometry="Shape" >)
G00 X-10.000 Y0.000  
G01 Z-1.000 F400 
G02 X-10.000 Y0.000 I10.000 J0.000  F500 
G00 Z2.000 
(</Figure>)

@yang-shaoxiong
Copy link
Author

That's all. Thank you for your explanation.

@yang-shaoxiong
Copy link
Author

Hello, can we pay you to customize some features for us? It can be modified on the basis of the original.

@svenhb
Copy link
Owner

svenhb commented Sep 5, 2024

No paid orders. List the features, let's see what I can implement and donate ;-)

@yang-shaoxiong
Copy link
Author

I want to customize the path and the cutting point, and use PLT to represent, not G-Code.

@svenhb
Copy link
Owner

svenhb commented Sep 6, 2024

Then it is probably easier to use Inkscape https://www.inkscape.org/ (very good for path editing) and export there to *.plt

@yang-shaoxiong
Copy link
Author

Good. Thanking

@yang-shaoxiong
Copy link
Author

Hello author, I try to use Win32_ API for USB communication in GRBL project, but can not get USB device, can get it in other projects. Is this what permissions are set for the project?

@svenhb
Copy link
Owner

svenhb commented Sep 21, 2024

No idea what the problem could be. Longer time ago I run GRBL-Plotter on Win-XP but PC was too weak...
Did you install the correct USB driver for your hardware? (e.g. CH 340 -> https://www.google.de/search?q=arduino+ch340)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants