CN103902289A - Method for quickly adjusting text direction - Google Patents

Method for quickly adjusting text direction Download PDF

Info

Publication number
CN103902289A
CN103902289A CN201410111862.1A CN201410111862A CN103902289A CN 103902289 A CN103902289 A CN 103902289A CN 201410111862 A CN201410111862 A CN 201410111862A CN 103902289 A CN103902289 A CN 103902289A
Authority
CN
China
Prior art keywords
text
axlvisiblelayer
pcb
loc
words
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410111862.1A
Other languages
Chinese (zh)
Inventor
范晓丽
赵亚民
李鹏翀
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN201410111862.1A priority Critical patent/CN103902289A/en
Publication of CN103902289A publication Critical patent/CN103902289A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Medicines Containing Antibodies Or Antigens For Use As Internal Diagnostic Agents (AREA)
  • Plural Heterocyclic Compounds (AREA)
  • Heterocyclic Carbon Compounds Containing A Hetero Ring Having Oxygen Or Sulfur (AREA)

Abstract

The invention discloses a method for quickly adjusting text direction. The method includes that on the basis of PCB (printed circuit board) design software of CadenceAllegro, CadenceSkill language is used to develop a Skill design program for quickly adjusting the text direction to serve as a plugin capable of adjusting direction of all text to be needed direction by one key, and troublesome text direction adjusting in the past is enabled to be completed by one key; the Skill design program is used, only one instruction needs to be executed, and the PCB design software of CadenceAllegro is called out to adjust all text on a PCB to be in the needed direction. By the method, a function of adjusting the text direction by one key is realized, so that working efficiency of PCB engineers is improved, and design time of the whole PCB is reduced.

Description

A kind of method of rapid adjustment words direction
Technical field
The present invention relates to electronic applications PCB design and make, using Cadence Allegro PCB design and Cadence Skill development language to design.
Technical background
At present, when we use Cadence Allegro design modifying words direction, there is repetition, loaded down with trivial details, and the feature of length consuming time.Under the shorter and shorter trend of design cycle, we should simplify each link of work as far as possible.So we need one to adjust accurately words direction method.
Conventionally in the time of the large-scale electronic product PCB of design, the direction of adjusting word during if any the PCB of several thousand devices is a troubling thing.And shorter and shorter in the design cycle in the situation that, require us can carry out accurately fast PCB design.If adopt the method for traditional adjustment words direction, the direction of adjusting all words of the PCB of 3,000 devices probably needs 0.5 day/people's labor capacity, and easily occurs the situation of omitting.
Summary of the invention
The technical problem to be solved in the present invention is: based on the current PCB design software with Cadence Allegro, the repetition running in the time adjusting word face, loaded down with trivial details, and long problem consuming time.
The technical solution adopted in the present invention is:
The Skill design formula of a rapid adjustment words direction that used Cadence Skill language development.Make original loaded down with trivial details adjustment words direction become one-key operation, we utilize the design formula of Skill, only need to carry out an instruction, recall the PCB design software of Cadence Allegro, and words all on pcb board is adjusted into the direction that we need.Realize a key and adjust words direction function, thereby improved PCB slip-stick artist's work efficiency, reduce the design time of whole PCB.
A method for rapid adjustment words direction, the PCB design software based on Cadence Allegro, uses the Skill of a rapid adjustment words direction of Cadence Skill language development to design formula, and described Skill design formula is:
Defun(text_r ()
axlVisibleDesign(nil)
axlVisibleLayer(″Ref Des/Silkscreen_Top″ t)
axlVisibleLayer(″Ref Des/Silkscreen_Bottom″ t)
axlVisibleLayer(″Ref Des/Assembly_Top″ t)
axlVisibleLayer(″Ref Des/Assembly_Bottom″ t)
axlSetFindFilter( enabled list(″noall″ ″text″)
onButtons list(″noall″ ″text″))
axlAddSelectAll()
text_db_list = axlGetSelSet()
foreach(text_db text_db_list
xy=text_db->bBox
dx=caar(xy)
dy=cadar(xy)
ux=caadr(xy)
uy=cadadr(xy)
loc_x=(ux+dx)/2
loc_y=(uy+dy)/2
loc=list(loc_x loc_y)
ang=0
ang = text_db->rotation
if((ang>90 && ang<=270) then
axlTransformObject(text_db, angle 180 origin Ioc)
)
axlVisibleDesign(nil)
axlVisibleLayer(″Ref Des/Silkscreen_Top″ t)
axlVisibleLayer(″Ref Des/Silkscreen_Bottom″ t)
axlVisibleLayer(″Ref Des/Assembly_Top″ t)
axlVisibleLayer(″Ref Des/Assembly_Bottom″ t)
))
axlCmdRegister(″text_rotate″ text_r)
Described method execution step is as follows:
1) Skill that carries out rapid adjustment words direction designs formula;
2) the PCB design software of operation Cadence Allegro;
3) adjust words direction according to the aspect at word place;
4) direction of all words of PCB is adjusted into the direction needing.
Beneficial effect of the present invention is:
Adopt the inventive method, can a key all words directions be adjusted into the plug-in unit of the direction that we need by Skill language compilation is this, realize and adjust accurately and efficiently words direction.Realize and at utmost got profit with manpower and shorten the research and development time, and improved the accuracy of work.Not only greatly improve PCB slip-stick artist's work efficiency, also improved the accuracy of adjusting words direction simultaneously.Shorten the R&D cycle of design, improved the designing quality of product and reduced the input of manpower.Cost control in PCB design has certain meaning with shortening on the R&D cycle.
Brief description of the drawings
Fig. 1 is workflow diagram of the present invention;
Fig. 2 is operation chart of the present invention.
Embodiment
With reference to the accompanying drawings, by embodiment, the present invention is further described:
A method for rapid adjustment words direction, the PCB design software based on Cadence Allegro, the Skill design formula of a rapid adjustment words direction that used Cadence Skill language development, described Skill design formula is:
Defun(text_r ()
axlVisibleDesign(nil)
axlVisibleLayer(″Ref Des/Silkscreen_Top″ t)
axlVisibleLayer(″Ref Des/Silkscreen_Bottom″ t)
axlVisibleLayer(″Ref Des/Assembly_Top″ t)
axlVisibleLayer(″Ref Des/Assembly_Bottom″ t)
axlSetFindFilter( enabled list(″noall″ ″text″)
onButtons list(″noall″ ″text″))
axlAddSelectAll()
text_db_list = axlGetSelSet()
foreach(text_db text_db_list
xy=text_db->bBox
dx=caar(xy)
dy=cadar(xy)
ux=caadr(xy)
uy=cadadr(xy)
loc_x=(ux+dx)/2
loc_y=(uy+dy)/2
loc=list(loc_x loc_y)
ang=0
ang = text_db->rotation
if((ang>90 && ang<=270) then
axlTransformObject(text_db, angle 180 origin Ioc)
)
axlVisibleDesign(nil)
axlVisibleLayer(″Ref Des/Silkscreen_Top″ t)
axlVisibleLayer(″Ref Des/Silkscreen_Bottom″ t)
axlVisibleLayer(″Ref Des/Assembly_Top″ t)
axlVisibleLayer(″Ref Des/Assembly_Bottom″ t)
))
axlCmdRegister(″text_rotate″ text_r)
Described method execution step is as follows:
1) Skill that carries out rapid adjustment words direction designs formula;
2) the PCB design software of operation Cadence Allegro;
3) adjust words direction according to the aspect at word place: carry out Check silkscreen ... Corrective all refdes angle instruction, as shown in Figure 2;
4) direction of all words of PCB is adjusted into the direction needing.

Claims (2)

1. the method for a rapid adjustment words direction, PCB design software based on Cadence Allegro, use the Skill design formula of a rapid adjustment words direction of Cadence Skill language development, as a key, all words directions are adjusted into the plug-in unit that needs direction, it is characterized in that, described Skill design formula is:
Defun(text_r ()
axlVisibleDesign(nil)
axlVisibleLayer(″Ref Des/Silkscreen_Top″ t)
axlVisibleLayer(″Ref Des/Silkscreen_Bottom″ t)
axlVisibleLayer(″Ref Des/Assembly_Top″ t)
axlVisibleLayer(″Ref Des/Assembly_Bottom″ t)
axlSetFindFilter( enabled list(″noall″ ″text″)
onButtons list(″noall″ ″text″))
axlAddSelectAll()
text_db_list = axlGetSelSet()
foreach(text_db text_db_list
xy=text_db->bBox
dx=caar(xy)
dy=cadar(xy)
ux=caadr(xy)
uy=cadadr(xy)
loc_x=(ux+dx)/2
loc_y=(uy+dy)/2
loc=list(loc_x loc_y)
ang=0
ang = text_db->rotation
if((ang>90 && ang<=270) then
axlTransformObject(text_db, angle 180 origin Ioc)
)
axlVisibleDesign(nil)
axlVisibleLayer(″Ref Des/Silkscreen_Top″ t)
axlVisibleLayer(″Ref Des/Silkscreen_Bottom″ t)
axlVisibleLayer(″Ref Des/Assembly_Top″ t)
axlVisibleLayer(″Ref Des/Assembly_Bottom″ t)
))
axlCmdRegister(″text_rotate″ text_r)
2. the method for a kind of rapid adjustment words direction according to claim 1, is characterized in that, described method execution step is as follows:
1) Skill that carries out rapid adjustment words direction designs formula;
2) the PCB design software of operation Cadence Allegro;
3) adjust words direction according to the aspect at word place;
4) direction of all words of PCB is adjusted into the direction needing.
CN201410111862.1A 2014-03-25 2014-03-25 Method for quickly adjusting text direction Pending CN103902289A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410111862.1A CN103902289A (en) 2014-03-25 2014-03-25 Method for quickly adjusting text direction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410111862.1A CN103902289A (en) 2014-03-25 2014-03-25 Method for quickly adjusting text direction

Publications (1)

Publication Number Publication Date
CN103902289A true CN103902289A (en) 2014-07-02

Family

ID=50993632

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410111862.1A Pending CN103902289A (en) 2014-03-25 2014-03-25 Method for quickly adjusting text direction

Country Status (1)

Country Link
CN (1) CN103902289A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107145689A (en) * 2017-06-12 2017-09-08 郑州云海信息技术有限公司 A kind of method that words direction is checked in PCB design
CN107220439A (en) * 2017-05-27 2017-09-29 郑州云海信息技术有限公司 A kind of method for moving assembling layer word in PCB design in batches
CN109857453A (en) * 2018-11-30 2019-06-07 济南浪潮高新科技投资发展有限公司 A kind of method for the text that automatically resets in Allegro software

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1549671A (en) * 2003-05-21 2004-11-24 华为技术有限公司 Method for automatic generating device mark in printed circuit board design
CN101165692A (en) * 2006-10-19 2008-04-23 英业达股份有限公司 Design drawing information rotation system and method
CN101739477A (en) * 2008-11-27 2010-06-16 英业达股份有限公司 Method for setting marking words of printed circuit board
CN101968822A (en) * 2009-07-27 2011-02-09 鸿富锦精密工业(深圳)有限公司 Printed circuit board wiring system and character direction adjustment method
CN103577026A (en) * 2013-11-15 2014-02-12 浪潮(北京)电子信息产业有限公司 Method for inspecting direction of words on single board

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1549671A (en) * 2003-05-21 2004-11-24 华为技术有限公司 Method for automatic generating device mark in printed circuit board design
CN101165692A (en) * 2006-10-19 2008-04-23 英业达股份有限公司 Design drawing information rotation system and method
CN101739477A (en) * 2008-11-27 2010-06-16 英业达股份有限公司 Method for setting marking words of printed circuit board
CN101968822A (en) * 2009-07-27 2011-02-09 鸿富锦精密工业(深圳)有限公司 Printed circuit board wiring system and character direction adjustment method
CN103577026A (en) * 2013-11-15 2014-02-12 浪潮(北京)电子信息产业有限公司 Method for inspecting direction of words on single board

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107220439A (en) * 2017-05-27 2017-09-29 郑州云海信息技术有限公司 A kind of method for moving assembling layer word in PCB design in batches
CN107145689A (en) * 2017-06-12 2017-09-08 郑州云海信息技术有限公司 A kind of method that words direction is checked in PCB design
CN109857453A (en) * 2018-11-30 2019-06-07 济南浪潮高新科技投资发展有限公司 A kind of method for the text that automatically resets in Allegro software

Similar Documents

Publication Publication Date Title
CN103914315B (en) Configuration method of drivers
US20180067845A1 (en) Automated quality assurance testing of browser-based applications
CN104517307B (en) A kind of animation method and device
CN105373407A (en) DSP and FPGA online upgrading method for embedded system
CN103593527B (en) Design method for one-click setting of different types of routing rule BGAs in PCB
CN104899027A (en) Universal form verification method for js
CN103513966A (en) PHP developing framework based on assemblies
CN107688529A (en) Component adjustment method and device
CN103902289A (en) Method for quickly adjusting text direction
CN103984574A (en) Method and system for updating website
CN101201833A (en) System and method for filling PDF document data
CN102662700B (en) A kind of issue of embedded software version and upgrade method
CN102902526B (en) A kind of automation method to set up that realizes BMC and IP information by time delay
CN104573262A (en) PCB (printed circuit board) light painting level generation method and device
CN104021251A (en) PCB check method and device
CN115879407A (en) Bill of material generation method, terminal and storage medium
CN104991810A (en) Method and processing system for automatically adding APK into Android system
CN102566481B (en) C language-based PLC (Programmable Logic Controller) control system and realization method thereof
CN103164570A (en) Circuit component lead-in method and device in circuit design
US8407648B2 (en) Printed circuit board layout device capable of automatically arranging encapsulated component and method thereof
CN103885777A (en) Development method of bank self-service system cross-browser insert
CN114548028B (en) Method for performing low-power design, electronic device and storage medium
CN105373384A (en) Software development method and apparatus
CN105260569A (en) Method of automatically punching ground holes based on CadenceAllegro
EP2793124A1 (en) Device and method for generating application model based on layered structure

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140702