CN113220375B - Method and system for generating hollow text silk screen based on Allegro software - Google Patents

Method and system for generating hollow text silk screen based on Allegro software Download PDF

Info

Publication number
CN113220375B
CN113220375B CN202110453138.7A CN202110453138A CN113220375B CN 113220375 B CN113220375 B CN 113220375B CN 202110453138 A CN202110453138 A CN 202110453138A CN 113220375 B CN113220375 B CN 113220375B
Authority
CN
China
Prior art keywords
hollowed
allegro
text
generating
input
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.)
Active
Application number
CN202110453138.7A
Other languages
Chinese (zh)
Other versions
CN113220375A (en
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.)
Shenzhen Guoxin Hengyun Information Security Co ltd
Original Assignee
Shenzhen Guoxin Hengyun Information Security 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 Shenzhen Guoxin Hengyun Information Security Co ltd filed Critical Shenzhen Guoxin Hengyun Information Security Co ltd
Priority to CN202110453138.7A priority Critical patent/CN113220375B/en
Publication of CN113220375A publication Critical patent/CN113220375A/en
Application granted granted Critical
Publication of CN113220375B publication Critical patent/CN113220375B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4488Object-oriented
    • G06F9/449Object-oriented method invocation or resolution
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/36Software reuse
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a method and a system for generating a hollow text screen print based on Allegro software, wherein the method for generating the hollow text screen print based on Allegro software comprises the following steps: step S1, generating a setting window by Allegro software; s2, inputting text information to be processed into a hollowed-out effect into the setting window; and S3, generating a hollowed-out text through operation and conversion of the line segment attribute so as to realize the hollowed-out effect. According to the invention, the hollowed-out text silk-screen generation based on the Allegro software can be realized by directly inputting the text and setting the size, namely the hollowed-out text can be directly generated based on the Allegro software, the realization process is convenient and quick, the accuracy is high, the design time of the product can be greatly shortened, the production and working efficiency can be effectively improved, the design aesthetic degree of the product is improved, and the subsequent maintenance of the product is facilitated.

Description

Method and system for generating hollow text silk screen based on Allegro software
Technical Field
The invention relates to a method for generating a hollow text screen print, in particular to a method for generating a hollow text screen print based on Allegro software, and a system adopting the method for generating a hollow text screen print based on Allegro software.
Background
At present, in most PCB design software, allegro software is taken as one of the software, so that the software has excellent performance and strong expansion redevelopment function. Especially when designing many layers, large tracts of land and high density PCB boards such as server, computer motherboard, the automation function of Allegro has significantly reduced design time and design complexity to every PCB has independent database as the support.
However, when designing a screen printing layer, especially when designing a server, a computer motherboard and other projects, the screen printing layer has a lot of characters because of the dense board components, so that it is very troublesome to find the screen printing after making a PCB. Therefore, if the words with hollowed-out effects are used on the important device, the direction of the device can be recognized at a glance, the production and working efficiency can be effectively improved, and the attractiveness of the device can be greatly improved.
However, the existing Allegro software has no function of directly generating a hollowed-out effect, and other methods, such as making pictures of hollowed-out characters by using drawing software and then importing the pictures into the Allegro software, or making dxf files of hollowed-out characters by using AutoCAD software and importing the dxf files into the Allegro software, are obviously troublesome and time-consuming. Therefore, how to realize the silk screen printing of the hollow text based on Allegro software is clearly one of effective methods for improving the working efficiency.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a method capable of generating hollow text silk-screen based on Allegro software, so that the production and working efficiency can be improved, the design time of a product is shortened, and the design aesthetic degree of the product is improved; on the basis, a system adopting the method for generating the hollow text screen printing based on the Allegro software is further provided.
In this regard, the invention provides a method for generating a hollow text screen print based on Allegro software, which comprises the following steps:
step S1, generating a setting window by Allegro software;
s2, inputting text information to be processed into a hollowed-out effect into the setting window;
and S3, generating a hollowed-out text through operation and conversion of the line segment attribute so as to realize the hollowed-out effect.
A further development of the invention is that said step S1 comprises the sub-steps of:
step S101, newly creating a text document, and storing the text document as a window file HollowCarved.
Step S102, adding a code in a fixed format of a window script at the beginning of a file;
step S103, adding a text input box script;
Step S104, adding a copper sheet size input box script;
Step S105, defining a script ending fixed format;
Step S106, calling a window file HollowCarved.form through a self-contained function axlFormCreate function of the Allegro software at the beginning of the main function of the hollowed-out program;
in step S107, the window effect is displayed in the Allegro software interface using the self-contained function axlFormDisplay function of the Allegro software.
A further development of the invention is that said step S3 comprises the sub-steps of:
step S301, judging whether input values exist in a window input frame and a hollowed-out silk screen boundary frame of a set window, if yes, jumping to step S302, otherwise, feeding back an error report signal;
step S302, acquiring the height and width of an input font in an input value;
Step S303, generating a dynamic cursor to realize the selection of the hollowed-out position;
Step S304, obtaining coordinate values of the hollowed-out position selection points to realize the selection of hollowed-out positions;
And S305, starting to perform the generation operation of the hollowed-out characters at the position corresponding to the coordinate value, and generating the hollowed-out effect silk screen.
A further improvement of the present invention is that said step S302 comprises the sub-steps of:
Step S3021, obtaining the size of the font size of the input font in the input value;
Step S3022, obtaining the space between an input font and a hollowed-out silk-screen bounding box;
In step S3023, the total height and total width of the input string are calculated by the Allegro skip interface function.
A further improvement of the present invention is that said step S303 comprises the sub-steps of:
Step S3031, all graphs attached to the cursor are cleared through an Allegro skin interface function;
Step S3032, creating an outline frame of the hollowed-out position through an Allegro skin interface function;
and step S3033, displaying the outline box generated in the step S3032 on a cursor through an Allegro skin interface function.
In the step S3032, the x coordinate of the hollowed-out position is determined by allegro skill selecting and obtaining functions, and the y coordinate of the hollowed-out position is determined by the sum of the size of the input font and twice the size of the hollowed-out silk-screen bounding box, so that the outline frame of the hollowed-out position is obtained; the process of obtaining the coordinate value of the hollowed-out position selection in the step S304 is as follows: and calling an automatic function axlEnterPoint function of the Allegro software to acquire the coordinate value of the current selection point.
The invention is further improved in that the process of generating the hollowed-out text in the step S305 comprises the following sub-steps:
Step S3051, obtaining a layer for generating screen printing currently through an Allegro screen interface function;
Step S3052, judging whether the user selects the mirror image operation;
step S3053, generating a rectangular frame through the selected points;
Step S3054, generating input character string silk-screen characters;
Step S3055, converting the character string into line segments with line attributes through an Allegro skip interface function;
step S3056, converting line segments with line properties into copper sheet properties;
step S3057, performing 'NAND' calculation on the copper sheet attribute of each line segment and the copper sheet attribute of the outline frame to generate a hollowed-out text;
And step S3058, deleting the outline copper sheet and the silk-screen characters.
In the step S3052, if the mirror image operation is selected, calculating the coordinate value of the bottom left corner of the outermost contour of the selected point and the coordinate value of the bottom left corner of the hollowed-out text; if the mirror image operation is not selected, calculating coordinate values of the right lower corner of the outline of the outermost periphery of the selected point and coordinate values of the right lower corner of the hollowed-out text; in step S3056, the copper sheet attribute of each line segment is obtained through the foreach cycle and axlPolyFromDB functions of the Allegro skin interface function, and the obtained path coordinate values of the copper sheet attribute are filled into the list.
A further improvement of the present invention is that in said step S3057, the value calculated as 'nand' is stored in the list of said step S3056.
The invention also provides a system for generating the hollow text silk screen based on the Allegro software, which adopts the method for generating the hollow text silk screen based on the Allegro software and comprises the following steps:
The setting window generation module generates a setting window form through Allegro software;
The information input module is used for inputting the text information which needs to be processed into the hollowed-out effect into the setting window;
And the operation conversion module is used for generating a hollowed-out text through the operation and conversion of the line segment attribute so as to realize the hollowed-out effect.
Compared with the prior art, the invention has the beneficial effects that: can realize the fretwork text silk screen printing that based on Allegro software through direct input characters and setting up the size and generate, can directly be based on Allegro software and generate the fretwork text, realize process convenient and fast, the accuracy is high, and then can shorten the design time of product greatly, can effectively improve production and work efficiency to improved the design aesthetic measure of product, the follow-up maintenance of the product of being convenient for.
Drawings
FIG. 1 is a schematic workflow diagram of one embodiment of the present invention;
FIG. 2 is a detailed workflow diagram of implementing a hollowed-out effect according to an embodiment of the present invention;
FIG. 3 is a schematic diagram showing a hollowed-out effect according to an embodiment of the invention;
FIG. 4 is a schematic view of an embodiment of the invention with a window;
FIG. 5 is a process screenshot of setting a font size for a text in accordance with an embodiment of the invention.
Detailed Description
Preferred embodiments of the present invention will be described in further detail below with reference to the accompanying drawings.
As shown in fig. 1, this example provides a method for generating a hollow text screen print based on Allegro software, which includes the following steps:
step S1, generating a setting window by Allegro software;
s2, inputting text information to be processed into a hollowed-out effect into the setting window;
and S3, generating a hollowed-out text through operation and conversion of the line segment attribute so as to realize the hollowed-out effect.
The self-contained skip interface function of Allegro software is used, and the function of generating the hollowed-out effect is realized by utilizing a self-developed algorithm and a control process; the self-contained agile interface function of the Allegro software is abbreviated as Allegro agile interface function, and is also called Allegro agile selecting and acquiring function.
In step S1 of this example, a window file gooxi _form is called by a self-contained skip interface function of the Allegro software to generate a setting window, where the setting window preferably includes a text input box, a text font size, an overall outline box size, a creation button, and the like, and is used to implement input interaction with a user, as shown in fig. 4; in this example, step S2 is used to input text information to be processed into the hollow effect into the setting window, that is, input text to be processed into the hollow effect into the text input box of the setting window, input the size of the hollow screen bounding box into the shape expand size input box of the setting window, and click the OK button to jump to step S3 sequentially, so as to automatically generate text with the hollow effect. Further, the size of the text font can be set and adjusted by the Setup- & gt DESIGN PARAMETER Editor- & gt text of the Allegro software, as shown in FIG. 5.
More specifically, the step S1 in this example includes the following substeps:
step S101, newly creating a text document, and storing the text document as a window file HollowCarved.
Step S102, adding a code in a fixed format of a window script at the beginning of a file;
the code of the fixed format of the window script is preferably:
FILE_TYPE=FORM_DEFN VERSION=2
FORM
FIXED
PORT 35 25
HEADER"fanbaiwen v1.0"
TILE
Step S103, adding a text input box script; that is, preferably adding FIELD TextName, wherein TextName is a text input box name, setting a text input box display position coordinate FLOC 55, defining an input format as a character string STRFILLIN 40, and ending the input box script ENDFIELD;
Step S104, adding a copper sheet size input box script; namely, preferably adding FIELD shapesize, wherein shapesize is the name of a copper sheet size input box, setting the display position coordinate FLOC 14 of the copper sheet size input box, defining the input format as shaping INTFILLIN 18 40, and ending the input box script ENDFIELD;
Step S105, defining a script ending fixed format;
The script end fixed format is preferably:
ENDTILE
ENDFORM
Step S106, calling a window file HollowCarved.form through a self-contained function axlFormCreate function of the Allegro software at the beginning of the main function of the hollowed-out program;
in step S107, the window effect is displayed in the Allegro software interface using the self-contained function axlFormDisplay function of the Allegro software.
Since the normal operation of the program may be affected if other programs are being used before the program is run, the present example preferably sets a skip control step, where the skip control step is preferably used to skip to immediately execute the DONE, mirror function mirroror mirror function mirrorand the present example preferably uses axlUIPopupDefine functions in the Allegro skip interface function to set a right key function to implement immediately execute the DONE, mirror function mirroror and mirror function mirror, so as to facilitate implementing interrupt skip control and reduce the possibility of collision or error between programs.
The step S3 in this example includes the following sub-steps:
step S301, judging whether a window input frame (text in FIG. 4) and a hollowed-out silk-screen boundary frame (shape expand size in FIG. 4) provided with a window have input values, if yes, jumping to step S302, otherwise, feeding back an error signal;
step S302, acquiring the height and width of an input font in an input value;
Step S303, generating a dynamic cursor to realize the selection of the hollowed-out position so as to realize the selection of the hollowed-out position;
And S304, acquiring coordinate values of the hollowed-out position selection points, and starting to perform hollowed-out character generation operation by using the coordinate positions corresponding to the coordinate values to generate hollowed-out effect silk screen printing.
Step S302 in this example includes the following sub-steps: step S3021, obtaining the size of the font size of the input font in the input value; step S3022, obtaining the space between an input font and a hollowed-out silk-screen bounding box; in step S3023, the total height and total width of the input string are calculated by the Allegro skip interface function. The step S3021 of obtaining the size of the font size of the input font in the input value and the step S3022 of obtaining the size of the space between the input font and the hollow screen bounding box may be obtained by collecting or storing the input data in the step S2, and the step S3023 preferably obtains the font set by the current Allegro software through the axlGetActiveTextBlock function in the Allegro screen interface function, and then calculates the total Height and the total Width of the input string through the Width option and the Height option in the Text submenu under the self-contained Setup column, as shown in fig. 5.
Step S303 in this example includes the following sub-steps:
Step S3031, all graphs attached to the cursor are cleared through axlClearDynamics functions (clearing functions of axl functions) of an Allegro skin interface function;
step S3032, creating an outline frame of the hollowed-out position through axlPathStart functions (axl functions generating a path object and determining an operation function of a starting point) of the Allegro skin interface function;
in step S3033, the outline box generated in step S3032 is displayed on the cursor by the axlAddSimpleMoveDynamics function (axl function is an operation function of drawing a graphic with a few lines attached to the cursor) of the Allegro skin interface function.
In step S3032 of the present example, the parameters of the outline box are preferably axlPathStart (list (0:0 car (mypath): 0car (mypath): -cadr (mypath) 0: -cadr (mypath) 0:0)), where car (mypath) represents the x-coordinate of the graphics pole. cadr (mypath) represents the y-coordinate of the pole of the graph, which is obtained by: font size + twice the size of the outline entered in the frame. The x coordinate of the hollowed-out position is determined through allegro skill selection and acquisition functions, and the y coordinate of the hollowed-out position is determined through the sum of the size of an input font and twice the size of the hollowed-out silk-screen boundary frame, so that the outline frame of the hollowed-out position is obtained; the process of obtaining the coordinate value of the hollowed-out position selection in the step S304 is as follows: and calling an automatic function axlEnterPoint function of the Allegro software to acquire the coordinate value of the current selection point.
The process of generating the hollowed-out text in step S305 in this example includes the following sub-steps:
in step S3051, the current layer for generating the screen print is obtained through axlGetActiveLayer function (axl function for short) of the Allegro skin interface function, and the substep preferably directly uses layer1= axlGetActiveLayer () to obtain the current layer number, and the axlGetActiveLayer function functions as follows: retrieving layer information of the current design of the Allegro software;
Step S3052, judging whether a user selects the mirror image operation, defaulting to not select the mirror image operation, and if the mirror image operation is selected, calculating the coordinate value of the left lower corner of the outermost peripheral outline (outline frame) of the selected point and the coordinate value of the left lower corner of the hollowed-out text; if the mirror image operation is not selected, calculating coordinate values of the right lower corner of the outermost peripheral outline (outline frame) of the selected point and coordinate values of the right lower corner of the hollowed-out character;
step S3053, generating a rectangular frame, namely a rectangular outline frame, through the points selected by the axlDBCreateRectangle function of the Allegro skin interface function and the points obtained in step S3052; this sub-step preferably uses shapedb = axlDBCreateRectangle (list (point 2 point 3) t) directly to generate an outline box on Allegro software, where point2 and point3 are the contour points calculated in step S3052;
Step S3054, generating input character string silk-screen characters through a make_ axlTextOrientation function and a axlDBCreateText function of an Allegro skin interface function;
Step S3055, converting the character string into line segments with line attributes through axlText and Lines functions of the Allegro skin interface functions; line attributes refer to line segment object attributes, lines= axlText2Lines (car (textdb 1)), where car (textdb 1) is the id value of the line segment attribute; axlText2Lines functions are described as follows: vectorizing a text id (dbid) into a set value of line segment (r_path) objects;
Step S3056, converting line segments of the line attribute into copper sheet attributes through a foreach cycle and axlPolyOperation functions of an Allegro skin interface function, specifically, acquiring the copper sheet attribute of each line segment through the foreach cycle and axlPolyOperation functions, and filling path coordinate values of the acquired copper sheet attributes into a list; in the underlying code, it is preferably implemented by: polys = axlPolyFromDB (PATHENDCAPTYPE' ROUNDline poly t), path is the id value of each line segment, axlPolyFromDB functions are described by creating a list of graphical objects from the line segment ids; the present example uses a graphical list to obtain polygon attributes or to perform logical operations on these polygons; the axlPolyOperation function is described as follows: performing specified NOT, AND logic operations on the two sets of polygons;
Step S3057, performing NAND calculation on the copper sheet attribute of each line segment and the copper sheet attribute of the outline frame (the outermost outline shape) through axlPolyOperation functions of an Allegro skin interface function to generate a hollowed text, and storing the value obtained after NAND calculation into the same list in step S3056, wherein the NAND calculation method is to call a self-contained function axlPolyOperation function of Allegro software, and the parameter is set to ANDNOT; the reason for storing in the same list is that after the steps, the written silk screen is not a character string, but a graph path point of each letter stroke, so that the example call axlDBCreateShape function displays the graph of each stroke line segment copper sheet in Allegro software, and the list is an aggregate list of the line segment paths; drawing copper sheets in the Allegro software rapidly according to the path coordinates of the aggregate list, and creating each copper sheet in the list in the step S3057 preferably by using a axlDBCreateShape function in a foreach loop and an Allegro skin interface function;
And step S3058, deleting the outline copper sheet and the silk-screen characters by using axlDeleteObject functions in the Allegro skin interface function, so as to obtain the required hollowed-out effect characters, as shown in figure 3. And then returning to the setting window to wait for the input of the next hollowed-out text information.
The embodiment also provides a system for generating the hollow text silk screen based on the Allegro software, which adopts the method for generating the hollow text silk screen based on the Allegro software and comprises the following steps:
The setting window generation module generates a setting window form through Allegro software;
The information input module is used for inputting the text information which needs to be processed into the hollowed-out effect into the setting window;
And the operation conversion module is used for generating a hollowed-out text through the operation and conversion of the line segment attribute so as to realize the hollowed-out effect.
To sum up, this example can be through direct input characters and set up the size after, realize that the fretwork text silk screen printing based on Allegro software generates, can directly be based on Allegro software and generate the fretwork text, realize process convenient and fast, the accuracy is high, and then can shorten the design time of product greatly, can effectively improve production and work efficiency to the design aesthetic degree of product has been improved, the follow-up maintenance of product of being convenient for.
The foregoing is a further detailed description of the invention in connection with the preferred embodiments, and it is not intended that the invention be limited to the specific embodiments described. It will be apparent to those skilled in the art that several simple deductions or substitutions may be made without departing from the spirit of the invention, and these should be considered to be within the scope of the invention.

Claims (8)

1. A method for generating hollow text silk screen based on Allegro software is characterized by comprising the following steps:
step S1, generating a setting window by Allegro software;
s2, inputting text information to be processed into a hollowed-out effect into the setting window;
Step S3, generating a hollowed-out text through operation and conversion of line segment attributes so as to realize a hollowed-out effect;
Said step S3 comprises the sub-steps of:
step S301, judging whether input values exist in a window input frame and a hollowed-out silk screen boundary frame of a set window, if yes, jumping to step S302, otherwise, feeding back an error report signal;
step S302, acquiring the height and width of an input font in an input value;
Step S303, generating a dynamic cursor to realize the selection of the hollowed-out position;
Step S304, obtaining coordinate values of the hollowed-out position selection points to realize the selection of hollowed-out positions;
step S305, starting to perform the generation operation of the hollowed-out characters at the position corresponding to the coordinate value, and generating the hollowed-out effect silk screen;
The process of generating the hollowed-out text in the step S305 includes the following substeps:
Step S3051, obtaining a layer for generating screen printing currently through an Allegro screen interface function;
Step S3052, judging whether the user selects the mirror image operation;
step S3053, generating a rectangular frame through the selected points;
Step S3054, generating input character string silk-screen characters;
Step S3055, converting the character string into line segments with line attributes through an Allegro skip interface function;
step S3056, converting line segments with line properties into copper sheet properties;
step S3057, performing 'NAND' calculation on the copper sheet attribute of each line segment and the copper sheet attribute of the outline frame to generate a hollowed-out text;
And step S3058, deleting the outline copper sheet and the silk-screen characters.
2. The method of generating a hollow text screen print based on Allegro software according to claim 1, wherein the step S1 comprises the following sub-steps:
step S101, newly creating a text document, and storing the text document as a window file HollowCarved.
Step S102, adding a code in a fixed format of a window script at the beginning of a file;
step S103, adding a text input box script;
Step S104, adding a copper sheet size input box script;
Step S105, defining a script ending fixed format;
Step S106, calling a window file HollowCarved.form through a self-contained function axlFormCreate function of the Allegro software at the beginning of the main function of the hollowed-out program;
in step S107, the window effect is displayed in the Allegro software interface using the self-contained function axlFormDisplay function of the Allegro software.
3. The method of generating a hollow text screen print based on Allegro software according to claim 1, wherein the step S302 comprises the sub-steps of:
Step S3021, obtaining the size of the font size of the input font in the input value;
Step S3022, obtaining the space between an input font and a hollowed-out silk-screen bounding box;
In step S3023, the total height and total width of the input string are calculated by the Allegro skip interface function.
4. The method of generating a hollow text screen print based on Allegro software according to claim 1, wherein step S303 comprises the sub-steps of:
Step S3031, all graphs attached to the cursor are cleared through an Allegro skin interface function;
Step S3032, creating an outline frame of the hollowed-out position through an Allegro skin interface function;
and step S3033, displaying the outline box generated in the step S3032 on a cursor through an Allegro skin interface function.
5. The method for generating a hollow text screen print based on Allegro software according to claim 4, wherein in step S3032, an x coordinate of the hollow position is determined by Allegro skill selecting and obtaining functions, and a y coordinate of the hollow position is determined by a sum of the size of the input font and twice the size of the hollow screen print bounding box, so as to obtain an outline frame of the hollow position; the process of obtaining the coordinate value of the hollowed-out position selection in the step S304 is as follows: and calling an automatic function axlEnterPoint function of the Allegro software to acquire the coordinate value of the current selection point.
6. The method for generating a stencil screen print based on Allegro software according to any one of claims 1 to 5, wherein in step S3052, if a mirror image operation is selected, the coordinate value of the bottom left corner of the outermost contour of the selected point and the coordinate value of the bottom left corner of the stencil are calculated; if the mirror image operation is not selected, calculating coordinate values of the right lower corner of the outline of the outermost periphery of the selected point and coordinate values of the right lower corner of the hollowed-out text; in step S3056, the copper sheet attribute of each line segment is obtained through the foreach cycle and axlPolyFromDB functions of the Allegro skin interface function, and the obtained path coordinate values of the copper sheet attribute are filled into the list.
7. The method of creating a hollow text screen print based on Allegro software according to claim 6, wherein in step S3057, the calculated value of 'and not' is stored in the list of step S3056.
8. A system for generating a hollow text screen print based on Allegro software, wherein the method for generating a hollow text screen print based on Allegro software according to any one of claims 1 to 7 is adopted, and comprises:
The setting window generation module generates a setting window form through Allegro software;
The information input module is used for inputting the text information which needs to be processed into the hollowed-out effect into the setting window;
And the operation conversion module is used for generating a hollowed-out text through the operation and conversion of the line segment attribute so as to realize the hollowed-out effect.
CN202110453138.7A 2021-04-26 2021-04-26 Method and system for generating hollow text silk screen based on Allegro software Active CN113220375B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110453138.7A CN113220375B (en) 2021-04-26 2021-04-26 Method and system for generating hollow text silk screen based on Allegro software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110453138.7A CN113220375B (en) 2021-04-26 2021-04-26 Method and system for generating hollow text silk screen based on Allegro software

Publications (2)

Publication Number Publication Date
CN113220375A CN113220375A (en) 2021-08-06
CN113220375B true CN113220375B (en) 2024-04-19

Family

ID=77089207

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110453138.7A Active CN113220375B (en) 2021-04-26 2021-04-26 Method and system for generating hollow text silk screen based on Allegro software

Country Status (1)

Country Link
CN (1) CN113220375B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103778296A (en) * 2014-01-26 2014-05-07 浪潮(北京)电子信息产业有限公司 Design method and system for quickly generating light painting layer of printed circuit board (PCB)
CN108388427A (en) * 2018-01-02 2018-08-10 郑州云海信息技术有限公司 A kind of method that word is imported and exported in PCB design
CN108966494A (en) * 2018-07-12 2018-12-07 郑州云海信息技术有限公司 Packaging method, device, equipment and the storage medium of PTH foot for PIH technique
CN109656491A (en) * 2018-11-28 2019-04-19 武汉精立电子技术有限公司 A kind of setting method, device and the electronic design system of PCB whole plate silk-screen word font
CN109857453A (en) * 2018-11-30 2019-06-07 济南浪潮高新科技投资发展有限公司 A kind of method for the text that automatically resets in Allegro software
CN110083925A (en) * 2019-04-24 2019-08-02 苏州浪潮智能科技有限公司 It is a kind of based on allegro skill package pins silk-screen mark automatically create method and system
CN111144395A (en) * 2019-12-27 2020-05-12 苏州浪潮智能科技有限公司 Method and device for rapidly inversely labeling characters and graphs based on Cadence skip

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180113974A1 (en) * 2016-10-21 2018-04-26 International Business Machines Corporation Neural Network Based Prediction of PCB Glass Weave Induced Skew
US10779398B2 (en) * 2018-12-20 2020-09-15 Arris Enterprises Llc Virtual silk screen for printed circuit boards

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103778296A (en) * 2014-01-26 2014-05-07 浪潮(北京)电子信息产业有限公司 Design method and system for quickly generating light painting layer of printed circuit board (PCB)
CN108388427A (en) * 2018-01-02 2018-08-10 郑州云海信息技术有限公司 A kind of method that word is imported and exported in PCB design
CN108966494A (en) * 2018-07-12 2018-12-07 郑州云海信息技术有限公司 Packaging method, device, equipment and the storage medium of PTH foot for PIH technique
CN109656491A (en) * 2018-11-28 2019-04-19 武汉精立电子技术有限公司 A kind of setting method, device and the electronic design system of PCB whole plate silk-screen word font
CN109857453A (en) * 2018-11-30 2019-06-07 济南浪潮高新科技投资发展有限公司 A kind of method for the text that automatically resets in Allegro software
CN110083925A (en) * 2019-04-24 2019-08-02 苏州浪潮智能科技有限公司 It is a kind of based on allegro skill package pins silk-screen mark automatically create method and system
CN111144395A (en) * 2019-12-27 2020-05-12 苏州浪潮智能科技有限公司 Method and device for rapidly inversely labeling characters and graphs based on Cadence skip

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Chapter 3 - Project structures and the PCB Editor tool set;Kraig Mitzner等;Complete PCB Design Using OrCAD® Capture and PCB Editor (Second Edition);第41-66页 *
基于Cadence/Mentor的SMT虚拟制造系统;陈恩博;中国优秀硕士学位论文全文数据库 信息科技辑(第4期);I135-12 *
基于WPS软件的印制电路板制造流程设计及应用研究;周华;中国优秀硕士学位论文全文数据库 信息科技辑(第3期);I135-916 *

Also Published As

Publication number Publication date
CN113220375A (en) 2021-08-06

Similar Documents

Publication Publication Date Title
CN113010162B (en) Page construction method, device and equipment
JPH11250271A (en) Layout editing method, device therefor and record medium recorded with program for executing the processing
CN113220375B (en) Method and system for generating hollow text silk screen based on Allegro software
CN113407168A (en) Editing method and device of page elements, storage medium and terminal
JP2017174248A (en) Information processing device and information processing program
CN114797109A (en) Object editing method and device, electronic equipment and storage medium
JP3951492B2 (en) Image processing device
CN113791760A (en) Commercial intelligent instrument panel generation method and device, electronic equipment and storage medium
JPH0950358A (en) Document processor and document editing method
CN116700724B (en) Interchange plane interactive graphic design system based on mode method
JP2000067258A (en) Drawing plotter
JP4168938B2 (en) Image processing apparatus, image processing program, and image processing method
JPH0554114A (en) Image display device
JP2012128609A (en) Drawing creation support method and apparatus
JP2005135268A (en) Apparatus, method and program for laying out space
JP3635174B2 (en) Support device for graphic input work
CN115526993A (en) Three-dimensional model construction method and device, electronic equipment and storage medium
CN115686325A (en) Page layout method and device, electronic equipment and storage medium
CN117876526A (en) Drawing method and device of flow chart, electronic equipment and storage medium
CN115543288A (en) Code information generation method, device, equipment and storage medium
CN116991385A (en) Data instrument panel construction method and device, electronic equipment and storage medium
CN115859412A (en) BIM-based curtain wall rapid generation method, device and equipment
KR20210157612A (en) Electronic device that enables easy selection of dependent edit action in document editing programs and operating method thereof
CN116206015A (en) Character generation method, device, equipment and storage medium
JPH08138068A (en) Device and method for graphic generation

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant