Polygon outline width

Asked by Fredrik Atmer

I just (re-)discovered the fp_poly item in the kicad_mod format. And I thought it would be splendid if the width parameter actually drew an outline with the specified value (0 for no outline in that case). This would do away with a bunch of lines in my component definitions.

  (fp_poly (pts (xy -1.5 1.5) (xy 1.5 1.5) (xy 1.5 -1.5) (xy -1.5 -1.5)) (layer F.Cu) (width 0.6))

would replace

  (fp_poly (pts (xy -1.5 1.5) (xy 1.5 1.5) (xy 1.5 -1.5) (xy -1.5 -1.5)) (layer F.Cu) (width 0.6))
  (fp_line (start -1.5 -1.5) (end 1.5 -1.5) (layer F.Cu) (width 0.6))
  (fp_line (start 1.5 -1.5) (end 1.5 1.5) (layer F.Cu) (width 0.6))
  (fp_line (start 1.5 1.5) (end -1.5 1.5) (layer F.Cu) (width 0.6))
  (fp_line (start -1.5 1.5) (end -1.5 -1.5) (layer F.Cu) (width 0.6))

The outline only shows up in the pcbnew editor, in the plot it is gone. Is this the intended behavior or is it a bug?

Question information

Language:
English Edit question
Status:
Open
For:
KiCad Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Fredrik Atmer (fredrikatmer) said :
#1

By the way it would be nifty if consecutive line segments could be defined in the same manner as polygons. It's very common for the next segment to start where the previous one ended. This creates a lot of redundacy as well. This would be almost like a non-closing, non-filled polygon. Perhaps line segments and polygons shouldn't be such separate beings all together?..

Can you help with this problem?

Provide an answer of your own, or ask Fredrik Atmer for more information if necessary.

To post a message you must log in.