KiKit icon indicating copy to clipboard operation
KiKit copied to clipboard

Possibility to offset the alternated PCB's in a row/column.

Open TweetyDaBird opened this issue 1 year ago • 4 comments

Prerequisites

  • [X] I have read the documentation and the proposed feature is not implemented.

Description

I just happen to be working with triangle shaped PCB's for once, and it would save tremendous space on the panel, if the PCB's could be offset to overlap the tip part. Adding a negative spacing doesn't really work, as it breaks the rendering on the mouse bites.

TweetyDaBird avatar May 24 '23 10:05 TweetyDaBird

You can write a Layout plugin for that: https://yaqwsx.github.io/KiKit/v1.3/panelization/plugins/

yaqwsx avatar May 24 '23 11:05 yaqwsx

You can write a Layout plugin for that: https://yaqwsx.github.io/KiKit/v1.3/panelization/plugins/

Yeah... I don't doubt it... Someone could, but not me. I do hardware, and I'm good at it. Someone else gets to do the software.

Thanks though, and I might actually do it one day if I feel masochistic enough.

TweetyDaBird avatar May 24 '23 12:05 TweetyDaBird

Thanks though, and I might actually do it one day if I feel masochistic enough.

You could ask @yaqwsx how much it will charge you to solve your problem.

set-soft avatar May 24 '23 12:05 set-soft

So I do a bit of hardware and software and have a need for this. I wrote a very simple plugin that simply takes an offset in the form of rowoffset and coloffset that I placed in layout as seen below

"layout": {
        "hspace": "2.2mm",
        "vspace": "10mm",
        "rowoffset":"42mm",
        "coloffset":"7mm",
        "rows": "4",
        "cols": "2",
        "alternation":"cols",
        "type":"plugin",
        "code":"staggered_layout.py.StaggeredLayout"
    },
However, if I change my offset I tend to get no tabs/mouse bites to render except those near the frame and get the following error
shapely/set_operations.py:133: RuntimeWarning: invalid value encountered in intersection
  return lib.intersection(a, b, **kwargs)

As I increase or decrease the offset sometimes some tabs internally will render on one side of the board but not the other side of the board. Image example given. Do I need to also make a custom tab annotation ? image

whinis avatar Aug 02 '23 02:08 whinis