svenhb / GRBL-Plotter

A GCode sender (not only for lasers or plotters) for up to two GRBL controller. SVG, DXF, HPGL import. 6 axis DRO.
https://grbl-plotter.de/
GNU General Public License v3.0
696 stars 176 forks source link

The new version of the software (V1.7.1.1) does not display points in the dxf file #373

Closed lianzaozi closed 8 months ago

lianzaozi commented 10 months ago

Thank you very much for updating the software and adding new features

The software version v1.7.1.1 can correctly parse points in dxf files but will not display points

Plotter software display Snipaste_2024-01-25_16-27-17

CAD software display 123

Test dxf 1.zip

svenhb commented 10 months ago

Yes, the problem is again your scaling: this drawing has an width of 479842 mm, the point marker has a size of 4 mm. If you zoom in you find the point markers. Any idea how to fix it? Set point marker-size to x% of complete graphics-width?

lianzaozi commented 10 months ago

Yes, the problem is again your scaling: this drawing has an width of 479842 mm, the point marker has a size of 4 mm. If you zoom in you find the point markers. Any idea how to fix it? Set point marker-size to x% of complete graphics-width?

I found that in CAD software, when zooming in and out on point entities, the size of the displayed points in CAD does not change with scaling and is a fixed value.Zooming in and out only changes the distance displayed between points (the display size of points does not change with the scaling ratio, and this feature only applies to point entities)

Screenshot of reduced point display 123

Screenshot of enlarged point display image

lianzaozi commented 10 months ago

Yes, as you described, I enlarged the graphics to a large size and indeed saw the plotter software displaying the points

lianzaozi commented 10 months ago

I have tested using different methods in CAD software many times and found that when I draw a few points on a large drawing and then scale the drawing to a very small size, the points cannot be seen in CAD. Therefore,I think there is no need to improve the function of displaying points in the plotter software

I'm sorry, my incorrect consideration and lax verification have wasted your time

svenhb commented 10 months ago

I will mark the point with the same size as the pen-up path arrows and numbers:

image

lianzaozi commented 10 months ago

Thank you for your hard work

lianzaozi commented 10 months ago

The software version of the plotter used for testing is V1.7.1.1

I have a question that I don't understand. I would like to ask you a question. My understanding is that whether arcs and circles generate G01 or G02/G03 is determined by the checkbox "Average G2/3 (Arc Move) commands, draw arcs/circles with line segments". After testing, checking and unchecking "Average G2/3 (Arc Move) commands, draw arcs/circles with line segments", the G code for generating arcs and circles is the same

But after verification, I found that after checking "Process Dashed Line Pattern", arcs and circles will generate G01, while unchecking "Process Dashed Line Pattern" will generate G02/G03

After selecting "Process Dashed Line Pattern", the arc and circle will generate screenshots of G01 1

Uncheck the "Process Dashed Line Pattern" to generate screenshots of G02/G03 for arcs and circles 2

Checking and unchecking "Average G2/3 (Arc Move) commands, draw arcs/circles with line segments" The G code generated by arcs and circles is the same 3

Dxf file for testing

1.zip

svenhb commented 10 months ago

After selecting "Process Dashed Line Pattern",

There is no other way to draw a circle with dashed line pattern then using G01 commands. G02/G03 will draw an arc or circle with no interruption.

lianzaozi commented 10 months ago

The circles used for testing are drawn using solid lines instead of dashed lines image

Is the cause of this problem an error in determining the line type when reading arcs and circles?

svenhb commented 10 months ago

If this option is enabled, all possible G02/G03 code will be converted to G01: image

lianzaozi commented 10 months ago

"Average G2/3 (Arc Move) commands, draw arcs/circles with line segments"

What does the "Average G2/3 (Arc Move) commands, draw arcs/circles with line segments" check box do?

svenhb commented 10 months ago

image If you have no other options enabled: You may want G02/G03 code for short program (scaling aspect ratio must be 1:1) or you may want G01 for circles to be able to scale the graphics independed from fixed aspect ratio 1:1 image

svenhb commented 10 months ago

Try update: https://github.com/svenhb/GRBL-Plotter/releases/download/v1.7.1.1/GRBL-Plotter_Setup_1711a.exe

lianzaozi commented 10 months ago

Try update: https://github.com/svenhb/GRBL-Plotter/releases/download/v1.7.1.1/GRBL-Plotter_Setup_1711a.exe

Thank you for your hard work. I will conduct some tests