Home > Community > Forums > PCB SKILL > skill code for placing components around circle (polar placement)

## Email

Recipients email * (separate multiple addresses with commas)

Message *

 Send yourself a copy

## Subscribe

Intro copy of the newsletter section here, some intro copy of the newsletter. Instruction of how to subscribe to this newsletter.

First Name *

Last Name *

Email *

Company / Institution *

 Send Yourself A Copy

# skill code for placing components around circle (polar placement)

Last post Wed, Aug 6 2014 4:23 AM by KARPCB. 8 replies.
 Started by KARPCB 28 Apr 2014 03:00 AM. Topic has 8 replies and 3157 views
• #### Mon, Apr 28 2014 3:00 AM

• KARPCB
• Joined on Fri, Sep 30 2011
• Posts 67
• Points 1,030
skill code for placing components around circle (polar placement)
 Hi , Anyone have  skill code for placing components around circle (polar placement) ?   Thanks,Karthik
• Post Points: 5
• #### Fri, May 2 2014 3:47 AM

• KARPCB
• Joined on Fri, Sep 30 2011
• Posts 67
• Points 1,030
Re: skill code for placing components around circle (polar placement)
 Hi All, i need skill code for following concept. Experts please help me. Step1 : select the required components in layout Step2 :Calculate the orgin of the components Step3 : enter the radius and angle Step3 : find the x and y location on the circle using below formula X = R cos(theta) Y = R sin(theta) P(X1,Y1) R=200 THETA = 30DEGREE P(X2,Y2) R=200 THETA = 60DEGREE . . . P(X12,Y12) R=200 THETA = 0DEGREE Step4: move the component(orgin) and place into the x and y location of the circle plesae see the attached image.Thanks in advance,karthik. polar.jpg
• Post Points: 20
• #### Sun, May 4 2014 4:17 PM

• eDave
• Joined on Sun, Jul 13 2008
• Christchurch, 00-NZ
• Posts 744
• Points 16,115
Re: skill code for placing components around circle (polar placement)
 How much Skill experience do you have?Do you want some example snippets or for someone to write this code for you?Regards,Dave  Dave Elder, Tait Communications
• Post Points: 20
• #### Sun, May 4 2014 11:03 PM

• KARPCB
• Joined on Fri, Sep 30 2011
• Posts 67
• Points 1,030
Re: skill code for placing components around circle (polar placement)
 Dave,Thanks for reply Im 1 month experience in skill language. im not expert like you.some examples(step1 and 2) its enough for me to do that skill code.Thanks,Karthik.
• Post Points: 20
• #### Mon, May 5 2014 3:34 PM

• eDave
• Joined on Sun, Jul 13 2008
• Christchurch, 00-NZ
• Posts 744
• Points 16,115
Re: skill code for placing components around circle (polar placement)
• Post Points: 35
• #### Fri, May 9 2014 4:31 AM

• KARPCB
• Joined on Fri, Sep 30 2011
• Posts 67
• Points 1,030
Re: skill code for placing components around circle (polar placement)
 Thanks a lot Dave.- karthik.
• Post Points: 5
• #### Fri, Aug 1 2014 3:49 AM

• KARPCB
• Joined on Fri, Sep 30 2011
• Posts 67
• Points 1,030
Re: skill code for placing components around circle (polar placement)
 Really you are great.what i am thinking its there in given your code. now i am adding some feature(cw and ccw) and form creation after that i will put a final code here.Thanks a lot dave.
• Post Points: 20
• #### Sun, Aug 3 2014 4:50 AM

• Ejlersen
• Joined on Mon, Jul 28 2008
• Aalborg, Copenhagen
• Posts 569
• Points 10,080
Re: skill code for placing components around circle (polar placement)
 Hi You could also consider buying the polar grid utility from FlowcadSe video and info http://www.flowcad.com/FloWare-Polar_Grid.htm I think that does everything you want + much more. Best regardsOle  Best regards Ole
• Post Points: 20
• #### Wed, Aug 6 2014 4:23 AM

• KARPCB
• Joined on Fri, Sep 30 2011