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

0 Members and 1 Guest are viewing this topic.

Offline krivxTopic starter

  • Frequent Contributor
  • **
  • Posts: 765
  • Country: ie
Rounded Rectangles in KiCad?
« on: March 03, 2015, 10:35:30 pm »
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: 99
  • Country: au
Re: Rounded Rectangles in KiCad?
« Reply #1 on: March 03, 2015, 11:50:53 pm »
Hi krivx

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

Cheers ! Geoff
 

Offline krivxTopic starter

  • Frequent Contributor
  • **
  • Posts: 765
  • Country: ie
Re: Rounded Rectangles in KiCad?
« Reply #2 on: March 04, 2015, 10:49:06 am »
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