fritzing / fritzing-app

Fritzing desktop application
http://fritzing.org
Other
3.97k stars 826 forks source link

Copper fill is not complet in combination with curved traces #3932

Closed ClemensGruber closed 1 year ago

ClemensGruber commented 2 years ago

I would expect a filled copper section near to the traces as done in some cases. But a lot of space is not filled out with copper:

2022-02-17 02_45_34-firebeetle2_v0 4 5 9_etch_copper_bottom pdf - Adobe Acrobat Reader DC (32-bit)

failiz commented 2 years ago

It seems that the ratsnets are blocking the copper fill. Could you also attach the file? If not, could you check if there are ratsnets around where the copper stops?

KjellMorgenstern commented 2 years ago

image

I think Bezier curves are not handled correctly.

ClemensGruber commented 2 years ago

@failiz seems not to be a problem of a ratsnet or other "special" traces but a general problem with Bezier traces as @KjellMorgenstern pointed out. Attached a realy most simple demo - *.fzz files are not allowed here, so I have packed it in a zip - but you can easily reproduce it by yourself in Fritzing: Make a trace, press CTRL and drag'n'drop the trace to make it curvy. Then use copper fill.

I wonder why it has not shown up in the past, it's so obvious! Had it worked with older versions? I'm using the latest Fritzing 0.9.9

copper-fill-demo-bezier-traces.zip

2022-02-22 12_38_08-

cgruber-uos commented 1 year ago

Do you have any hint to overcome this by a workaround - adding additional (usless) )traces, set ground points ... so my only solution would be have no ground fill at all so that the PCB shows not so "damaged".

KjellMorgenstern commented 1 year ago

Far from a solution, not even a workaround, just somewhat mitigating the issue. You can split the curve into multiple curves and lines. Here I used 2 lines and 2 curves instead of the curve in the minimal demo.

image

ClemensGruber commented 1 year ago

Many thanks @KjellMorgenstern for adding this to the 1.0.0 milestone and fixing it with the release! Looks much better now!

2023-08-13 13_41_23-firebeetle2_v0 5 2_etch_copper_bottom pdf - Adobe Acrobat Reader (64-bit)