fritzing / fritzing-app

Fritzing desktop application
http://fritzing.org
Other
4.02k stars 829 forks source link

Variable Breadboard Wire Width #3594

Open TSprech opened 4 years ago

TSprech commented 4 years ago

Problem

I am developing a sizable library of large parts for use with Fritzing. An issue that presented itself along the way is the inability to change visual wire sizes in the breadboard view. The ability to change wire "gauge" or "mils" as it is defined in the save file, would be extremely helpful to convey more accurate visuals. I did not want to just request a feature without contributing some work towards the solution, so seen below is the testing I did and what I believe could remedy the problem.

Proposed Solution

In an uncompressed .fz file composed of a simple breadboard and wires, a snippet of the code pertaining to "Wire1" can be seen:

`Wire1

` For this enhancement, we are focusing on the `Wire1 ` With the change to `
cowboydaniel commented 2 years ago

What about making the automatic PCB trace width to be user defined?

failiz commented 2 years ago

That is the issue #3195

cowboydaniel commented 2 years ago

Yes, but it should also be that way for auto routing.

cowboydaniel commented 2 years ago

Image 004 Image 003 I don't know if this is new or something, but the autorouter trace width IS setable. I just found this setting, and by selecting custom, you can change the default trace width!!!

KjellMorgenstern commented 2 years ago

The graphical display is one thing. One way to implement it could be with a wire gauge property, with default settings according to https://en.wikipedia.org/wiki/IEC_60228 .

Most of those diameters would be unfit for breadboards, but might be useful for other illustrations or circuits.

Comparison_wire_gauge_sizes

szelenka commented 2 months ago

This is possible in the PCB view in version 1.0.3:

  • super fine (8 mil)
  • extra thin (12 mil)
  • thin (16 mil)
  • standard (24 mil)
  • thick (32 mil)
  • extra thick (48 mil)

IMO, having it according to AWG would be the best to have in Breadboard view.

Is there a PR open to expose the "mils" or "width" parameter in the Inspector for wires in Breadboard view? If not, can someone point me in the right direction for which section of the code needs to be altered to add this feature?