← Back to team overview

kicad-developers team mailing list archive

Re: [FEATURE] Eeschema Line Styles

 

Niiiiice! I've wanted this for ages, thank you so much!

Can I make a minor feature request? It'd be really nice if I could set
the color and style before placing lines, so I can place arbitrarily
many without having to change the style for each segment. Some editors
do this by adding a style dropdown to the toolbar button (and displaying
the selected style on the button). I can't remember how hard wx makes it
to add dropdowns to toolbar buttons, but this sounds like a nice way to
do it.

--
Chris

On Fri, Nov 10, 2017 at 06:50:26PM +0000, Seth Hillbrand wrote:
> One of the Eeschema features that has been requested for a while is
> customizable graphic line styles that allow greater differentiation in
> schematic documentation.  c.f.
> https://bugs.launchpad.net/kicad/+bug/594059
> https://bugs.launchpad.net/kicad/+bug/1405026
> 
> The limitation has been not wanting to change the existing schematic format.
> 
> I propose a way around this while implementing the desired feature.
> Specifically, the attached patch allows the user to customize graphic lines
> (schematic wires are disallowed), with the extra wire data being stored at
> the end of the wire line.  This change should be transparent to the
> existing schematic format as the trailing characters are ignored in the
> legacy file reader.  Thus customization will be ignored if you are sharing
> files between versions.
> 
> Second, to avoid large, useless diffs in versioning storage, the patch does
> not store any additional formatting data unless it has been changed from
> the default.
> 
> I'm attaching an image showing the line edit dialog as well as the patch
> implementing this.  Please let me know if there are any questions or
> suggestions for improvement.
> 
> Best-
> Seth



References