Anyone have skill code for placing components around circle (polar placement) ?
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)
THETA = 30DEGREE
THETA = 60DEGREE
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,
In reply to KARPCB:
How much Skill experience do you have?
Do you want some example snippets or for someone to write this code for you?
Dave Elder, Tait Communications
In reply to eDave:
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 a lot Dave.
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.
You could also consider buying the polar grid utility from Flowcad
Se video and info http://www.flowcad.com/FloWare-Polar_Grid.htm
I think that does everything you want + much more.
In reply to Ejlersen:
Thanks for given useful link.
I have written the skill file for your concept.
I have attached the encrypted il file here. (Pls advice me if i did any thing wrong regarding encrypted file)
Please take a look and give me your valuable feedback.
Thanks & Regards,
In reply to AARUPCB:
Hi Arumugam Petchi,
The code has got nice functionality for those designers needing polar placement. Good job
A few minor observations:
Thanks for your valuable feedback.
Thanks for pointing out the things that make my code robust. I will try to ignore those unnecessary things.
Few Doubts Dave, Pls clarify.
1. May i know the name of this skill language.
2. As of now i am using wordpad for coding, Is there any Software Tools for this coding.
There are several editors that are more suitable than wordpad/notepad
I mostly use notepad++ which is free and where you can enhance it with SKILL syntax
If you look at the link below it should point you to a google translated version of http://www.nordcad.dk/dk/teknik__service/e-service/e-service_nr_139.htm
I recommend Notepad++ but I use UltraEdit.