Author Topic: Is it possible to do solid filled circles ?  (Read 14309 times)

0 Members and 1 Guest are viewing this topic.

Offline snoopyTopic starter

  • Frequent Contributor
  • **
  • Posts: 767
  • Country: au
    • Analog Precision
Is it possible to do solid filled circles ?
« on: February 19, 2017, 05:40:44 am »
In PCB library editor or PCB itself I cannot see how to do a filled circle. Sure you can do the outline of a circle but cannot see any options to solid fill it.

Is it possible ?

cheers
 

Online T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 21686
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Is it possible to do solid filled circles ?
« Reply #1 on: February 19, 2017, 06:29:37 am »
A couple of ways you can do it.  All a little hacky.

Using a circle:
- Set the Radius to half the desired radius.
- Set the Width to the desired radius.
(Thus, 1/4 and 1/2 the desired diameter.)
The width fills all the way to the center, so you get a solid circle.

This is the way I normally do it.

Alternate:
Set the radius to very nearly zero.  Perhaps 0.001 mil.
Set the width to the radius (technically, the radius minus 0.001 mil).
The width is traced around a very nearly zero radius circle, so the resulting image is very nearly diameter = Width.

Without using circles:
Place a Region or Polygon, and drag around the points to an inscribed square.  Grab one side and CTRL+SPACE until you get an arc.  Move this arc's control points until you have the desired curvature.
Repeat with an opposite side.
Move the points so that the object only has two vertices (both of them arcs), and so the arcs have 180 degree angles and radii equal to the desired circle.

This is the most piddly and special-case (special because Altium approximates the polyregion arcs with line segments), but is an important trick to remember when working with 3D bodies (which can only be expressed as polyregion outlines, extruded to the specified height).

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 
The following users thanked this post: julianhigginson

Offline DerekG

  • Frequent Contributor
  • **
  • Posts: 882
  • Country: nf
Re: Is it possible to do solid filled circles ?
« Reply #2 on: February 19, 2017, 10:13:17 am »
In PCB library editor or PCB itself I cannot see how to do a filled circle. Sure you can do the outline of a circle but cannot see any options to solid fill it.

Simply place a round SMD pad onto the layer you want.
I also sat between Elvis & Bigfoot on the UFO.
 

Offline julianhigginson

  • Frequent Contributor
  • **
  • Posts: 783
  • Country: au
Re: Is it possible to do solid filled circles ?
« Reply #3 on: February 19, 2017, 10:44:11 am »
+1 for the circle primitive at radius r/2 and track width, r. It's very easy to calculate and type into the editor, post placing in the right location

Yes a pad will also do it, but that's a pad, and well, pads are special things in Altium... so it's going to do more stuff in the design that you might not also want.
« Last Edit: February 19, 2017, 10:49:54 am by julianhigginson »
 

Offline snoopyTopic starter

  • Frequent Contributor
  • **
  • Posts: 767
  • Country: au
    • Analog Precision
Re: Is it possible to do solid filled circles ?
« Reply #4 on: February 20, 2017, 01:42:47 am »
Thanks.

I've used one of these techniques before but you would have think Altium would have added this feature as standard by now  |O

cheers
david
 

Offline mrpackethead

  • Super Contributor
  • ***
  • Posts: 2845
  • Country: nz
  • D Size Cell
Re: Is it possible to do solid filled circles ?
« Reply #5 on: February 20, 2017, 01:59:14 am »
 Draw the circle,   and select it

Tools -- > Convert -- > Create Region from Seleted Primatives.

Boom. Done.

Works with any collection of curves/lines.
On a quest to find increasingly complicated ways to blink things
 
The following users thanked this post: ludzinc, ShamilaBW

Offline julianhigginson

  • Frequent Contributor
  • **
  • Posts: 783
  • Country: au
Re: Is it possible to do solid filled circles ?
« Reply #6 on: February 21, 2017, 12:35:09 am »
Tools -- > Convert -- > Create Region from Seleted Primatives.

Seems to me that if you're creating and placing the arc anyway, may as well set r/2 and r in the arc and leave it as done.... easier to edit later, too. You can precisely reposition it and resize it numerically, or drag it by the centre. While a poly region gets dragged by its vertices. (and to engage full pedant mode, a circular poly region isn't actually circular, it's piecewise linear around the edges, at pretty fine resolution, but still....)

Agree it's absolutely the best option for more complex shapes though!

 

Offline technotronix

  • Regular Contributor
  • *
  • Posts: 210
  • Country: us
    • PCB Assembly
Re: Is it possible to do solid filled circles ?
« Reply #7 on: February 24, 2017, 10:42:22 am »
Have you change the mode "Fill to Solid"? This would help to fill the circles.
 

Offline free_electron

  • Super Contributor
  • ***
  • Posts: 8517
  • Country: us
    • SiliconValleyGarage
Re: Is it possible to do solid filled circles ?
« Reply #8 on: February 24, 2017, 07:37:51 pm »
In PCB library editor or PCB itself I cannot see how to do a filled circle. Sure you can do the outline of a circle but cannot see any options to solid fill it.

Simply place a round SMD pad onto the layer you want.

NO ! . ABSOLUTELY NOT !
Professional Electron Wrangler.
Any comments, or points of view expressed, are my own and not endorsed , induced or compensated by my employer(s).
 

Offline guillep2k

  • Contributor
  • Posts: 24
  • Country: ar
Re: Is it possible to do solid filled circles ?
« Reply #9 on: May 09, 2017, 12:34:38 am »
In PCB library editor or PCB itself I cannot see how to do a filled circle. Sure you can do the outline of a circle but cannot see any options to solid fill it.

Simply place a round SMD pad onto the layer you want.

NO ! . ABSOLUTELY NOT !

How come? Care to explain?
 

Offline julianhigginson

  • Frequent Contributor
  • **
  • Posts: 783
  • Country: au
Re: Is it possible to do solid filled circles ?
« Reply #10 on: May 09, 2017, 01:12:13 am »
How come? Care to explain?

Because a pad is much more than a metal layer shape. It effects other things, and basically, you should not use a pad unless you want it to actually provide connectivity of some sort.

And in that case, you should really have it drawn in the schematic and import the pad from there into the PCB inside a footprint. Even if the footprint only contains the one pad and even if the pad doesn't connect to other nets.

 

Offline guillep2k

  • Contributor
  • Posts: 24
  • Country: ar
Re: Is it possible to do solid filled circles ?
« Reply #11 on: May 09, 2017, 01:28:14 am »
Because a pad is much more than a metal layer shape. It effects other things, and basically, you should not use a pad unless you want it to actually provide connectivity of some sort.

And in that case, you should really have it drawn in the schematic and import the pad from there into the PCB inside a footprint. Even if the footprint only contains the one pad and even if the pad doesn't connect to other nets.

Well, we use pads for mounting holes and other kinds of NPTH, and they're not that special, are they? Even for slots, like for mounting USB connectors. ::)

The way I see it, pads are simply powerful objects. For instance, a pad can exist in a non-copper layer (as much as any other shape), so it's handy for drawing a disc in the overlay. If you use one in any copper layers they will follow the electrical rules as well. It's not like they'll be corrupting your gerber files or anything. They're more efficient and compact than a set of segments which won't really form a disk (as in regions) nor they are a hack as with the circle with 1/2 a radius and a thick trace.

Granted, conceptually they're not meant for drawing "discs" and they could become the target for rules not intended for them, but that doesn't look like enough reason for NEVER EVER use them.  ;)
 

Offline julianhigginson

  • Frequent Contributor
  • **
  • Posts: 783
  • Country: au
Re: Is it possible to do solid filled circles ?
« Reply #12 on: May 09, 2017, 01:40:53 am »
Well, we use pads for mounting holes and other kinds of NPTH, and they're not that special, are they? Even for slots, like for mounting USB connectors. ::)

The way I see it, pads are simply powerful objects. For instance, a pad can exist in a non-copper layer (as much as any other shape), so it's handy for drawing a disc in the overlay. If you use one in any copper layers they will follow the electrical rules as well. It's not like they'll be corrupting your gerber files or anything. They're more efficient and compact than a set of segments which won't really form a disk (as in regions) nor they are a hack as with the circle with 1/2 a radius and a thick trace.

Granted, conceptually they're not meant for drawing "discs" and they could become the target for rules not intended for them, but that doesn't look like enough reason for NEVER EVER use them.  ;)

Mounting holes are fine to make from pads - Even if not electrical, and not connected to a component like a USB socket, they are still a connection to the board (and speaking of PCB mounting holes,  they are also very conceptually easy to include in the schematic. then you also have the option of defining one to be PTH, and tying it to GND for a chassis connection if you want... And if you use a parts database you can easily define and manage the exact mounting hole designs your boards have!)

The issue with pads isn't that they *can't* be used ad-hoc for different things. I've certainly done lots of things with free pads in the past that I wouldn't do now..... but I learned from my mistakes.  :blah: :blah: :blah:

The issue is though,  if you use them to draw a circle, then from that point on, the responsibility is on the board designer to manage the side effects of a "circle" on some layer actually being a pad... you are buying yourself or at least your customer/employer a possibility of future headaches when you misuse pad primitives for something that isn't a pad. This is why it's better to just create any non-pad things you need without using pads - because then you don't have that future source of mistakes lurking in your design forever, waiting for someone to trip up.

« Last Edit: May 09, 2017, 01:42:33 am by julianhigginson »
 

Offline guillep2k

  • Contributor
  • Posts: 24
  • Country: ar
Re: Is it possible to do solid filled circles ?
« Reply #13 on: May 09, 2017, 01:51:04 am »
The issue is though,  if you use them to draw a circle, then from that point on, the responsibility is on the board designer to manage the side effects of a "circle" on some layer actually being a pad... you are buying yourself or at least your customer/employer a possibility of future headaches when you misuse pad primitives for something that isn't a pad. This is why it's better to just create any non-pad things you need without using pads - because then you don't have that future source of mistakes lurking in your design forever, waiting for someone to trip up.

Can you give me an example of the kind of headache we're dealing with here? Electrical? Mechanical? Do they mistakenly appear in the BOM? I'm not trying to argue here; just trying to learn from other people's experience.

One use I give pads is to make fiducials. They have their own footprints so they're not technically "free pads", however they are pads used as discs and for pure "graphical" reasons. I've thought most people did them like that.
 

Online T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 21686
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Is it possible to do solid filled circles ?
« Reply #14 on: May 09, 2017, 02:04:42 am »
Pads and circles (of suitable width) are both circular graphics features.

They don't make any difference in the Gerbers, or the PCB fab*.  None at all.

*With suitable pathological exceptions, like building a shape out of a gazillion thin or small shapes that get optimized out by the fab.  I've had that happen before, on bitmaps. :(  So, assuming thick, proper, intended shapes here.

So what's the point?  Why have either, anyway?

It's all about the EDA data, and the process.

If you're taking more time constructing copper shapes out of inconvenient entities, that's your wasted time.
If you're taking more time setting the design rules to allow for all the exceptions to the entity types used, that's your wasted time.
If your use of primitives has resulted in a confusing mess on the testpoint output, that's your PCB fab's and test house's wasted time.
If your customer requests the files (or a compatible export format), and finds they're behaving goofy because of weird shapes or buggy export/import, that's their wasted time.

So, for a basic fab -- no, it won't matter.  For a full production process, it can matter.

(A lot of these can be addressed very easily, like in Altium, for any "IsPad" rule, use "AND OnCopper" with it.  Or for test data, place a few pads on random layers and export some IPC and ODB++ files, and see if they show up or not.  I've never tried but I wouldn't be surprised if only copper pads are enumerated by Altium.)

Me, I only use pads for electrical connections, and fiducials (which are, in a sense, a visual connection, that the fab or assy needs to know, so should be exported with the test data that they will also need).  This makes sense to me, and avoids the bother of qualifying "IsPad" anywhere.

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 
The following users thanked this post: ShamilaBW

Offline guillep2k

  • Contributor
  • Posts: 24
  • Country: ar
Re: Is it possible to do solid filled circles ?
« Reply #15 on: May 09, 2017, 03:11:15 am »
Tim

OK, thanks for the explanation.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf