Author Topic: Rounded Rectangles in KiCad?  (Read 4532 times)

0 Members and 1 Guest are viewing this topic.

Offline krivx

  • Frequent Contributor
  • **
  • Posts: 763
  • Country: ie
Rounded Rectangles in KiCad?
« on: March 04, 2015, 09:35:30 am »
I like to round off the corners of board outlines, to help fit into enclosures which often don't have sharp corners. My workflow so far has been to draw a rectangle on the outline layer as a guide, then draw curves in the corners, then delete the line segments that make up the guide rectangle and make new segments to connect the curves. Switching to the OpenGL renderer seems to help with selecting segments, I have no idea why this would make a difference though.

This is a little time-consuming and it's especially painful if I have to adjust the size of a board. Is there a better way to do this? Ideally I would like a rectangle tool that allows resize through dragging or typing lengths and has a corner radius option. I've thought of scripting this externally and editing the pcb file as the text defining the outline is quite simple but an in-program solution would be even better. Any ideas?
 

Offline stryker

  • Regular Contributor
  • *
  • Posts: 80
  • Country: au
Re: Rounded Rectangles in KiCad?
« Reply #1 on: March 04, 2015, 10:50:53 am »
Hi krivx

I found this step-by-step guide at stackexchange.  The process is actually quite straightforward and quick.

Cheers ! Geoff
 

Offline krivx

  • Frequent Contributor
  • **
  • Posts: 763
  • Country: ie
Re: Rounded Rectangles in KiCad?
« Reply #2 on: March 04, 2015, 09:49:06 pm »
Thanks, but the method in the first answer is exactly how I've been doing it. I'm finding it's a little annoying if I want to resize the board outline. The Ruby script further down is interesting, I will probably attempt something like that in Python.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf