Home > Community > Forums > PCB Design > Radial/polar placement !

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 Radial/polar placement ! 

Last post Tue, Feb 4 2014 6:21 AM by Alicia. 4 replies.
Started by phandinh1508 04 Sep 2013 11:46 PM. Topic has 4 replies and 3072 views
Page 1 of 1 (5 items)
Sort Posts:
  • Wed, Sep 4 2013 11:46 PM

    • phandinh1508
    • Top 500 Contributor
    • Joined on Wed, Nov 28 2012
    • Ho Chi Minh, Vietnam
    • Posts 21
    • Points 345
    Radial/polar placement ! Reply

    Hi all,

    I have a circular board and the placement need to be arranged symmetrically. In PADs we have radial move that allows us to adjust radius/angle of the circular grid that snap components.

    'Polar' command seems not feasible to place more than 1 component at one time.

    Can you please suggest me some idea ?

    Thanks, 

    • Post Points: 50
  • Thu, Sep 5 2013 9:07 AM

    • steve
    • Top 10 Contributor
    • Joined on Fri, Jul 18 2008
    • Woking, Surrey
    • Posts 1,211
    • Points 19,710
    Re: Radial/polar placement ! Reply
    • Post Points: 5
  • Thu, Sep 5 2013 9:26 AM

    • Randy R
    • Top 50 Contributor
    • Joined on Wed, Jul 16 2008
    • Dupont, WA
    • Posts 192
    • Points 3,025
    Re: Radial/polar placement ! Reply

    Some suggestions:

    Idea #1:  Place one symbol, copy it using the polar option, then swap in the real symbols.

    Idea #2:  Create a placement script, edit it for the symbols/locations you need, then replay it.

    Good Day, R².
    • Post Points: 20
  • Thu, Sep 5 2013 11:04 PM

    • phandinh1508
    • Top 500 Contributor
    • Joined on Wed, Nov 28 2012
    • Ho Chi Minh, Vietnam
    • Posts 21
    • Points 345
    Re: Radial/polar placement ! Reply

    Hi Steve and RR,

    It's quite complicated to copy/replace refdes symbols as video demonstration. I would prefer writing a placement script but how to make it more flexibilty is my current question (changable coordinate instead of 0x0 as default, changable radius, angle,...). I am leaning to a Skill that getting selected components's coordinate XY then filling into Script format and excute it.

    Unfortunately, i am not familiar with the Skill language yet . :(.

    Regard, 

    • Post Points: 5
  • Tue, Feb 4 2014 6:21 AM

    • Alicia
    • Not Ranked
    • Joined on Mon, Jul 21 2008
    • Posts 7
    • Points 80
    Re: Radial/polar placement ! Reply

     To place component as you desire, I tried "Import > Placement" command

    I calculated coordinates X and Y, setting: a RADIUS value (I used mils for the distance from origin),  an ANGLE (degrees between a symbol and the next one), an initial PHASE (degrees, you may want to place the first symbol shifted from 0°).

    X=RADIUS*COS((PI()/180)*((M2*ANGLE)+PHASE))

    Y=RADIUS*SIN((PI()/180)*((M2*ANGLE)+PHASE))

    "Import > Placement" requires a text (.txt) file with follwing structure:

    UUNITS = UNITS      
    REFDES X Y angle <mirror>  SYMBOLNAME

     

    Then I compose a file like this:

    UUNITS = MILS            
    C1 1000.00 0.00 0  SMDCAP
    C2 819.15 573.58 35  SMDCAP
    C3 342.02 939.69 70  SMDCAP
    C4 -258.82 965.93 105  SMDCAP
    C6 -766.04 642.79 140  SMDCAP
    C7 -996.19 87.16 175  SMDCAP
    C9 -866.03 -500.00 210  SMDCAP
    C10 -422.62 -906.31 245  SMDCAP
    C12 173.65 -984.81 280  SMDCAP
    C13 707.11 -707.11 315  SMDCAP

    Running "Import > Placement" command I place automaticallu 10 of my SMDCAP symbols, one 35° degrees apart from the next one.

    Try it!

     Bye,

    Alicia 

    • Post Points: 5
Page 1 of 1 (5 items)
Sort Posts:
Started by phandinh1508 at 04 Sep 2013 11:46 PM. Topic has 4 replies.