DarwinNE / FidoCadJ

FidoCadJ is a free user-friendly vector graphic editor for MacOSX, Linux, Windows and Android with a library of electronic symbols.
http://darwinne.github.io/FidoCadJ/
GNU General Public License v3.0
111 stars 40 forks source link

PCB track join & cap (was Thickness Line) #145

Open Pietro54 opened 6 years ago

Pietro54 commented 6 years ago

Is it possible to implement the thickness of each individual line and not for all? Using a track is not the same as a thick line. Best regards Pietro54

DarwinNE commented 6 years ago

Hi and thanks for the suggestion. This has already been discussed in the past (see issue #79). Fractional width for PCB tracks are available since version 0.24.6. Graphically there are no differences between a "line" and a PCB track with the same width apart the dashing and the arrows. You need them for your drawings? Kind regards, D.

Pietro54 commented 6 years ago

Hi Davide

The difference between a "line" and a PCB track with the same width is the rounded part that protrudes for the length of the beam.

I currently use a solid rectangle when I need a thicker line, but this is more difficult to modify or change when you need to move the vertices (rectangle cannot rotate with any angle like line, only horizontal or vertical). Even this solution is not perfect on the vertices, see this example:

[FIDOCAD]

FJC B 0.5

PL 40 15 150 15 5 0

LI 150 15 150 90 0

EV 170 25 135 5 0

LI 40 45 115 45 0

LI 115 45 115 90 0

EV 130 55 95 35 0

RP 40 65 85 68 0

LI 85 66 85 90 0

EV 91 71 78 61 0

I am not able to programme in Java and then cannot help you to modify Fidocadj source. Sorry.

Best regards.

Pierino Moro

Da: Davide Bucci [mailto:notifications@github.com] Inviato: venerdì 3 agosto 2018 00:32 A: DarwinNE/FidoCadJ Cc: Pietro54; Author Oggetto: Re: [DarwinNE/FidoCadJ] Thickness Line (#145)

Hi and thanks for the suggestion. This has already been discussed in the past (see issue #79 https://github.com/DarwinNE/FidoCadJ/issues/79 ). Fractional width for PCB tracks are available since version 0.24.6. Graphically there are no differences between a "line" and a PCB track with the same width apart the dashing and the arrows. You need them for your drawings? Kind regards, D.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/DarwinNE/FidoCadJ/issues/145#issuecomment-410088342 , or mute the thread https://github.com/notifications/unsubscribe-auth/AoAtwFqXRl_ERJUg5DGNZIq5wI2PTEzPks5uM33agaJpZM4VoHTY . https://github.com/notifications/beacon/AoAtwEJrQ4mwOUaKQXFPZJKL_K01wAWLks5uM33agaJpZM4VoHTY.gif

DarwinNE commented 6 years ago

Hi Pierino, thank you for your explanation. I see what you mean. It seems more reasonable to me to let to choose the "join and cap" style for PCB tracks in a future version of FidoCadJ:

https://docs.oracle.com/javase/tutorial/2d/geometry/strokeandfill.html

(look at the "line style" paragraph)

I'll have a look at it and I leave this issue open for that.

Cheers,

D.