[PCB_FORUM] Re: How to create a spiral pattern?

  • From: Jan Blückert <jan.bluckert@xxxxxxxxxxxx>
  • To: "icu-pcb-forum@xxxxxxxxxxxxx" <icu-pcb-forum@xxxxxxxxxxxxx>
  • Date: Wed, 21 Jul 2010 13:24:16 +0200

Hi,

I have used the Skill code below to create spiral etch patterns:

let((turns width spac point_per_turn center_x center_y pi_val point_ang 
point_rad end_ang rad_inc ang_inc l_vertices point_x point_y direct)
;
; Edit following six lines
turns = 6.0
width = 100.0 ; Width of spirals line (dbu's)
spac = 100.0 ; Spacing between turns, edge to edge (dbu's)
point_per_turn = 32 ; Resolution
center_x = 5000.0 ; Center x coordinate of spiral (dbu's)
center_y = 5000.0 ; Center y coordinate of spiral (dbu's)
direct = "CCW" ; "CW" for clockwise, "CCW" for counterclockwise
;
; Don't edit below this line
pi_val = (4.0 * atan(1.0))
point_ang = 0.0
point_rad = (spac + (width / 2))
end_ang = (turns * 2 * pi_val)
rad_inc = ((width + spac) / point_per_turn)
ang_inc = ((2 * pi_val) / point_per_turn)
if(direct != "CCW" ang_inc = (0 - ang_inc))
l_vertices = list(list((center_x + point_rad) center_y))
while(end_ang > 0.0
point_ang = (point_ang + ang_inc)
point_rad = (point_rad + rad_inc)
point_x = (point_rad * cos(point_ang) + center_x)
point_y = (point_rad * sin(point_ang) + center_y)
l_vertices = cons(list(point_x point_y) l_vertices)
end_ang = (end_ang - abs(ang_inc))
)
axlDBCreateLine(l_vertices width "ETCH/TOP")
)

Copy the code lines into a file (e.g: spiral.il)
Edit the file (line 5-11) acc. to the spiral pattern you like to create
Load the file in Allegro. (skill load "spiral.il")

/Jan

________________________________
From: icu-pcb-forum-bounce@xxxxxxxxxxxxx 
[mailto:icu-pcb-forum-bounce@xxxxxxxxxxxxx] On Behalf Of EricGraser
Sent: den 19 juli 2010 17:28
To: icu-pcb-forum@xxxxxxxxxxxxx
Subject: [PCB_FORUM] Re: How to create a spiral pattern?

Hi !

did anyone try Allegro RF PCB, if you just need a spiral pattern.
[cid:594481411@21072010-12B1]


Eric Chen

From: icu-pcb-forum-bounce@xxxxxxxxxxxxx 
[mailto:icu-pcb-forum-bounce@xxxxxxxxxxxxx] On Behalf Of Macindoe, Gary
Sent: Monday, July 19, 2010 10:13 PM
To: icu-pcb-forum@xxxxxxxxxxxxx
Subject: [PCB_FORUM] Re: How to create a spiral pattern?

No takers? The only way I know of to create a spiral pattern (not with variable 
trace widths) is add connect and use arcs. If you do need variable width, 
creating a shape with arcs should do it.

Regards,

Gary MacIndoe
Senior PCB Layout Designer
Contract - Kelly Services
Covidien
EbD R&D
5920 Longbow Drive
Boulder, CO 80301

303.476.7458
www.covidien.com

From: icu-pcb-forum-bounce@xxxxxxxxxxxxx 
[mailto:icu-pcb-forum-bounce@xxxxxxxxxxxxx] On Behalf Of O Migs
Sent: Friday, July 16, 2010 11:57 AM
To: icu-pcb-forum@xxxxxxxxxxxxx
Subject: [PCB_FORUM] How to create a spiral pattern?

Does anyone have a method to create a spiral cline pattern in Allegro?

-oscar


__________ Information from ESET NOD32 Antivirus, version of virus signature 
database 5291 (20100719) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com


__________ Information from ESET NOD32 Antivirus, version of virus signature 
database 5291 (20100719) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com


__________ Information from ESET NOD32 Antivirus, version of virus signature 
database 5291 (20100719) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com

JPEG image

Other related posts: