CN113642287A - Method, system, storage medium and equipment for detecting silk-screen text overlap - Google Patents
Method, system, storage medium and equipment for detecting silk-screen text overlap Download PDFInfo
- Publication number
- CN113642287A CN113642287A CN202110963646.XA CN202110963646A CN113642287A CN 113642287 A CN113642287 A CN 113642287A CN 202110963646 A CN202110963646 A CN 202110963646A CN 113642287 A CN113642287 A CN 113642287A
- Authority
- CN
- China
- Prior art keywords
- text
- silk
- screen
- shapes
- shape
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 41
- 238000013461 design Methods 0.000 claims abstract description 21
- 238000003491 array Methods 0.000 claims abstract description 8
- 230000006870 function Effects 0.000 claims description 35
- 238000004590 computer program Methods 0.000 claims description 10
- 238000006243 chemical reaction Methods 0.000 claims description 4
- 230000004044 response Effects 0.000 claims description 2
- 230000009286 beneficial effect Effects 0.000 abstract description 5
- 238000010586 diagram Methods 0.000 description 10
- 238000005259 measurement Methods 0.000 description 5
- 238000007650 screen-printing Methods 0.000 description 3
- 230000001360 synchronised effect Effects 0.000 description 3
- 230000014509 gene expression Effects 0.000 description 2
- 238000007689 inspection Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 150000003071 polychlorinated biphenyls Chemical class 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/30—Circuit design
- G06F30/39—Circuit design at the physical level
- G06F30/398—Design verification or optimisation, e.g. using design rule check [DRC], layout versus schematics [LVS] or finite element methods [FEM]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2115/00—Details relating to the type of the circuit
- G06F2115/12—Printed circuit boards [PCB] or multi-chip modules [MCM]
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Evolutionary Computation (AREA)
- Geometry (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Design And Manufacture Of Integrated Circuits (AREA)
Abstract
The invention provides a method, a system, a storage medium and equipment for detecting silk-screen text overlap, wherein the method comprises the following steps: acquiring all silk-screen texts on a preset silk-screen layer in a circuit board design drawing, converting each text element of each silk-screen text into a plurality of line segments respectively, and attributing the line segments to respective number arrays to obtain a plurality of number arrays corresponding to each silk-screen text; combining all line segments in each array into shapes corresponding to the text elements to obtain single text shapes, and combining the single text shapes corresponding to the text elements in each silk-screen text into silk-screen text shapes to obtain the silk-screen text shapes corresponding to all the silk-screen texts; checking whether a single text shape in the silk-screen text shapes is overlapped with single text shapes in other silk-screen text shapes; and responding to that the single text shapes in the silk-screen text shapes are not overlapped, and obtaining the result that the silk-screen texts are not overlapped. The method of the invention is beneficial to saving the PCB area occupied by the silk-screen text.
Description
Technical Field
The invention relates to the technical field of PCBs, in particular to a method, a system, a storage medium and equipment for detecting silk-screen text overlapping.
Background
When designing a PCB (Printed Circuit Board) using Allegro software, a kind of PCB design software, it is required that there is no overlap between silk-screen texts for readability of the PCB design. At present, the silk-screen text overlap is mainly detected through manual measurement, or the measurement is carried out by calling a measurement function carried by software. Manual inspection of silk-screen text overlap is time-consuming and labor-consuming, and may be omitted; the function measurement carried by calling software has a certain problem because each silk-screen text has an outer frame (the outer frame cannot be displayed on the silk-screen layer but actually exists), and the function judges whether the silk-screen texts are overlapped by measuring the distance between the outer frames of the silk-screen texts. Fig. 1 shows a schematic diagram of the overlap between outline frames of silk-screened text in the prior art. As shown in fig. 1, two silk-screen texts "R345" and "C567" are not overlapped, but the outer frames of "R345" and "C567" are overlapped, so in the prior art, a function measurement carried by software itself will obtain the result of overlapping the two silk-screen texts.
In the PCB design, a silk-screen text can be attached to the position near each component, and if the PCB area is required to be small and the arrangement among the components is compact, the inspection mode of overlapping the silk-screen texts in the prior art can enable the silk-screen to occupy larger PCB area. Therefore, a more accurate method of checking silk-screen text overlap is needed.
Disclosure of Invention
In view of the above, the present invention provides a method, a system, a storage medium, and a device for detecting screen printing text overlap, so as to solve the problem that the screen printing text occupies a larger PCB area due to the detection method of screen printing text overlap in the prior art.
Based on the above purpose, the invention provides a method for checking silk-screen text overlap, which comprises the following steps:
acquiring all silk-screen texts on a preset silk-screen layer in a circuit board design drawing, converting each text element of each silk-screen text into a plurality of line segments respectively, and attributing the line segments to respective number arrays to obtain a plurality of number arrays corresponding to each silk-screen text;
combining all line segments in each array into shapes corresponding to the text elements to obtain single text shapes, and combining the single text shapes corresponding to the text elements in each silk-screen text into silk-screen text shapes to obtain the silk-screen text shapes corresponding to all the silk-screen texts;
checking whether a single text shape in the silk-screen text shapes is overlapped with single text shapes in other silk-screen text shapes;
and responding to that the single text shapes in the silk-screen text shapes are not overlapped, and obtaining the result that the silk-screen texts are not overlapped.
In some embodiments, the method further comprises:
and responding to the superposition of the single text shape in the silk-screen text shape and the single text shape in other silk-screen text shapes, and receiving the adjustment of the silk-screen text corresponding to the silk-screen text shape and/or the silk-screen text corresponding to the other silk-screen text shapes so as to ensure that the silk-screen text is not superposed with the other silk-screen text.
In some embodiments, checking whether a single text shape in the silkscreen text shapes overlaps with a single text shape in other silkscreen text shapes comprises:
and sequentially checking whether each single text shape in each silk-screen text shape is overlapped with each single text shape in other silk-screen text shapes.
In some embodiments, obtaining all silk-screen texts on a preset silk-screen layer in the circuit board design drawing includes:
and acquiring all silk-screen texts on the top silk-screen layer or the bottom silk-screen layer in the circuit board design drawing.
In some embodiments, converting each text element of each silk-screen text into a plurality of line segments and assigning the line segments to respective number columns includes:
and converting each text element of each silk-screen text into a plurality of line segments through an axlText2Lines function respectively and attributing the line segments to respective number series.
In some embodiments, combining all line segments in each array into a shape of the corresponding text element to obtain a single text shape comprises:
all line segments in each array are combined into the shape of the corresponding text element by the axlPolyFromDB function to get a single text shape.
In some embodiments, combining the single text shapes corresponding to the text elements in each silkscreen text into silkscreen text shapes includes:
and combining the single text shapes corresponding to the text elements in each silk-screen text into silk-screen text shapes through an axlPolyoperation function.
In another aspect of the present invention, a system for checking silk-screen text overlap is further provided, including:
the line segment conversion module is configured to acquire all silk-screen texts on a preset silk-screen layer in a circuit board design drawing, convert each text element of each silk-screen text into a plurality of line segments respectively and attribute the line segments to respective number columns so as to obtain a plurality of number columns corresponding to each silk-screen text;
the combination module is configured to combine all line segments in each array into shapes corresponding to the text elements to obtain single text shapes, and combine the single text shapes corresponding to the text elements in each silk-screen text into silk-screen text shapes to obtain the silk-screen text shapes corresponding to all the silk-screen texts;
the checking module is configured for checking whether a single text shape in the silk-screen text shapes is overlapped with single text shapes in other silk-screen text shapes; and
and the result obtaining module is configured for responding that the single text shapes in the silk-screen text shapes are not overlapped, and obtaining the result that the silk-screen texts are not overlapped.
In yet another aspect of the present invention, there is also provided a computer readable storage medium storing computer program instructions which, when executed, implement any one of the methods described above.
In yet another aspect of the present invention, a computer device is provided, which includes a memory and a processor, the memory storing a computer program, the computer program executing any one of the above methods when executed by the processor.
The invention has at least the following beneficial technical effects:
1. converting each text element of the silk-screen text into a plurality of line segments, attributing the line segments to each number row, combining all the line segments in each number row into the shape of the corresponding text element to obtain a single text shape, and combining the single text shapes corresponding to each text element in the silk-screen text into the silk-screen text shape to obtain the silk-screen text shape without an outer frame;
2. whether the single text shapes of the silk-screen text shapes are overlapped is checked, so that the result that the silk-screen texts are not overlapped is obtained under the condition that the single text shapes in the silk-screen text shapes are not overlapped, the condition that the silk-screen text shapes are not overlapped is avoided, the condition that the silk-screen text has outer frames in the prior art, and the result that the silk-screen text is also overlapped when the outer frames of the silk-screen text are overlapped by software judgment is avoided, and therefore the software can correctly judge whether the silk-screen texts are overlapped;
3. the method for detecting the silk-screen text overlap is beneficial to saving the PCB area occupied by the silk-screen text.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other embodiments can be obtained by using the drawings without creative efforts.
FIG. 1 is a schematic diagram of an overlap between outer frames of a silk-screen text provided according to the prior art;
fig. 2 is a schematic diagram of a method for checking silk-screen text overlap according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a system for checking silk-screen text overlay according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a computer-readable storage medium for implementing a method for detecting silk-screen text overlap according to an embodiment of the present invention;
fig. 5 is a schematic hardware configuration diagram of a computer device for executing the method for checking silk-screen text overlap according to the embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention are described in further detail with reference to the accompanying drawings.
It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are used for distinguishing two non-identical entities with the same name or different parameters, and it is understood that "first" and "second" are only used for convenience of expression and should not be construed as limiting the embodiments of the present invention. Furthermore, the terms "comprises" and "comprising," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements does not include all of the other steps or elements inherent in the list.
In view of the above, a first aspect of the embodiments of the present invention provides an embodiment of a method for checking silk-screen text overlap. Fig. 2 is a schematic diagram illustrating an embodiment of a method for checking silk-screen text overlap according to the present invention. As shown in fig. 2, the embodiment of the present invention includes the following steps:
step S10, acquiring all silk-screen texts on a preset silk-screen layer in a circuit board design drawing, converting each text element of each silk-screen text into a plurality of line segments respectively, and attributing the line segments to respective number series to obtain a plurality of number series corresponding to each silk-screen text;
step S20, combining all line segments in each array into shapes corresponding to text elements to obtain single text shapes, and combining the single text shapes corresponding to the text elements in each silk-screen text into silk-screen text shapes to obtain the silk-screen text shapes corresponding to all the silk-screen texts;
step S30, checking whether the single text shape in the silk-screen text shapes is overlapped with the single text shapes in other silk-screen text shapes;
and step S40, responding to that the single text shapes in the silk-screen text shapes are not overlapped, and obtaining the result that the silk-screen texts are not overlapped.
Converting each text element of the silk-screen text into a plurality of line segments, attributing the line segments to each number row, combining all the line segments in each number row into the shape of the corresponding text element to obtain a single text shape, and combining the single text shapes corresponding to each text element in the silk-screen text into the silk-screen text shape to obtain the silk-screen text shape without an outer frame; whether the single text shapes of the silk-screen text shapes are overlapped is checked, so that the result that the silk-screen texts are not overlapped is obtained under the condition that the single text shapes in the silk-screen text shapes are not overlapped, the condition that the silk-screen text shapes are not overlapped is avoided, the condition that the silk-screen text has outer frames in the prior art, and the result that the silk-screen text is also overlapped when the outer frames of the silk-screen text are overlapped by software judgment is avoided, and therefore the software can correctly judge whether the silk-screen texts are overlapped; in addition, the method for detecting the silk-screen text overlap is beneficial to saving the PCB area occupied by silk-screen.
In some embodiments, converting each text element of each silk-screen text into a plurality of line segments and assigning the line segments to respective number columns includes: and converting each text element of each silk-screen text into a plurality of line segments through an axlText2Lines function respectively and attributing the line segments to respective number series.
In some embodiments, combining all line segments in each array into a shape of the corresponding text element to obtain a single text shape comprises: all line segments in each array are combined into the shape of the corresponding text element by the axlPolyFromDB function to get a single text shape.
In some embodiments, combining the single text shapes corresponding to the text elements in each silkscreen text into silkscreen text shapes includes: and combining the single text shapes corresponding to the text elements in each silk-screen text into silk-screen text shapes through an axlPolyoperation function.
In the above embodiment, in the PCB design software (including but not limited to Allegro software, such as austim Designer software), the text such as letters, numbers, etc. of the silk-screen layer is composed of a plurality of line segments with a certain width, each line segment has coordinates, that is, the start point and the end point of the line segment have respective coordinates, and the coordinates are automatically located by the PCB design software. The 4 text elements "R", "3", "4" and "5" of the "R345" silk-screen text shown in fig. 1 can be converted into a plurality of line segments respectively by using the axlText2Lines function. Similarly, the 4 text elements "C", "5", "6" and "7" of the "C567" silk-screen text shown in fig. 1 may also be converted into a plurality of line segments by using the axlText2Lines function. The line segments converted from the 4 text elements of the "R345" silk-screen text are placed in respective number columns, that is, the "R345" silk-screen text corresponds to the 4 number columns. Similarly, the line segments converted from the 4 text elements of the "C567" silk-screen text are placed in the respective number columns, that is, the "C567" silk-screen text corresponds to the 4 number columns.
In addition, all line segments in each sequence are combined into the shapes of corresponding text elements by utilizing an axlPolyFromDB function to obtain a single text shape, and the single text shapes corresponding to the text elements in each silk-screen text are combined into the silk-screen text shape by utilizing an axlPolyoperation function, wherein the obtained silk-screen text shape is equivalent to the silk-screen text without an outer frame.
The axlPolyoperation function, the axlPolyFromDB function and the axlPolyoperation function are functions additionally provided by a manufacturer of PCB design software, and the functions interact with the PCB design software, so that the method provided by the embodiment of the invention is realized.
In some embodiments, the method further comprises: and responding to the superposition of the single text shape in the silk-screen text shape and the single text shape in other silk-screen text shapes, and receiving the adjustment of the silk-screen text corresponding to the silk-screen text shape and/or the silk-screen text corresponding to the other silk-screen text shapes so as to ensure that the silk-screen text is not superposed with the other silk-screen text.
In this embodiment, when it is checked that a single text shape in the silk-screen text shapes overlaps with a single text shape in other silk-screen text shapes, an overlap prompt is sent on a PCB design software interface, and a designer adjusts the corresponding silk-screen text according to the overlap prompt, so that the silk-screen text shapes do not overlap with each other, that is, the silk-screen texts do not overlap with each other.
In some embodiments, checking whether a single text shape in the silkscreen text shapes overlaps with a single text shape in other silkscreen text shapes comprises: and sequentially checking whether each single text shape in each silk-screen text shape is overlapped with each single text shape in other silk-screen text shapes.
In this embodiment, whether each single text shape in each silk-screen text shape overlaps with each single text shape in other silk-screen text shapes is sequentially checked, and if a certain single text shape of a silk-screen text shape overlaps with a certain single text shape of other silk-screen text shapes, it indicates that the two silk-screen text shapes overlap, that is, the two corresponding silk-screen texts overlap.
In some embodiments, obtaining all silk-screen texts on a preset silk-screen layer in the circuit board design drawing includes: and acquiring all silk-screen texts on the top silk-screen layer or the bottom silk-screen layer in the circuit board design drawing.
In this embodiment, in the circuit board design drawing, there are generally a top layer (top layer) and a bottom layer (bottom layer), and the top layer and the bottom layer are used for placing components and designing the connection relation between the components respectively, and the top layer and the bottom layer are also provided with a silk screen layer for writing silk screen text, and the silk screen layer on the top layer is the top layer silk screen layer, and the silk screen layer on the bottom layer is the bottom layer silk screen layer.
In a second aspect of the embodiments of the present invention, a system for checking silk-screen text overlap is also provided. Fig. 3 is a schematic diagram illustrating an embodiment of a system for checking silk-screen text overlap according to the present invention. As shown in fig. 3, a system for checking silk-screen text overlap includes: the line segment conversion module 10 is configured to acquire all silk-screen texts on a preset silk-screen layer in a circuit board design drawing, convert each text element of each silk-screen text into a plurality of line segments respectively, and attribute the line segments to respective number columns so as to obtain a plurality of number columns corresponding to each silk-screen text; the combination module 20 is configured to combine all line segments in each array into shapes corresponding to the text elements to obtain single text shapes, and combine the single text shapes corresponding to the text elements in each silk-screen text into silk-screen text shapes to obtain the silk-screen text shapes corresponding to all the silk-screen texts; the checking module 30 is configured to check whether a single text shape in the silk-screen text shapes is overlapped with single text shapes in other silk-screen text shapes; and a result obtaining module 40 configured to respond that the single text shapes in the silk-screen text shapes are not overlapped to obtain a result that the silk-screen texts are not overlapped.
In some embodiments, the system further includes an adjustment module configured to, in response to a single text shape in the silkscreen text shapes overlapping with a single text shape in the other silkscreen text shapes, accept an adjustment to the silkscreen text corresponding to the silkscreen text shape and/or the silkscreen text corresponding to the other silkscreen text shapes so that the silkscreen text does not overlap with the other silkscreen text.
In some embodiments, the checking module 30 is further configured to check in turn whether each single text shape in each silkscreen text shape overlaps with each single text shape in other silkscreen text shapes.
In some embodiments, the line segment conversion module 10 includes a silk-screen text acquisition module configured to acquire all silk-screen texts on a top silk-screen layer or a bottom silk-screen layer in the circuit board design drawing.
In some embodiments, the line segment converting module 10 further includes a first function module configured to convert each text element of each silk-screen text into a plurality of line segments respectively through an axlText2Lines function and attribute the line segments to respective number columns.
In some embodiments, the combining module 20 includes a second function module configured to combine all line segments in each sequence into a shape of the corresponding text element by the axlpolyfrmdb function to obtain a single text shape.
In some embodiments, the combining module 20 further includes a third function module configured to combine the single text shapes corresponding to the text elements in each silk-screen text into silk-screen text shapes through an axlpolyoxeraction function.
In the system for detecting silk-screen text overlap, each text element of a silk-screen text is converted into a plurality of line segments and belongs to each array, all the line segments in each array are combined into the shape of the corresponding text element to obtain a single text shape, and the single text shapes corresponding to each text element in the silk-screen text are combined into the silk-screen text shape to obtain the silk-screen text shape without an outer frame; whether the single text shapes of the silk-screen text shapes are overlapped is checked, so that the result that the silk-screen texts are not overlapped is obtained under the condition that the single text shapes in the silk-screen text shapes are not overlapped, the condition that the silk-screen text shapes are not overlapped is avoided, the condition that the silk-screen text has outer frames in the prior art, and the result that the silk-screen text is also overlapped when the outer frames of the silk-screen text are overlapped by software judgment is avoided, and therefore the software can correctly judge whether the silk-screen texts are overlapped; in addition, the system for detecting the silk-screen text overlap is beneficial to saving the PCB area occupied by silk-screen.
In a third aspect of the embodiment of the present invention, a computer-readable storage medium is further provided, and fig. 4 is a schematic diagram of a computer-readable storage medium for implementing a method for checking silk-screen text overlap according to the embodiment of the present invention. As shown in fig. 4, the computer-readable storage medium 3 stores computer program instructions 31, the computer program instructions 31 being executable by a processor. The computer program instructions 31 when executed implement the steps of:
acquiring all silk-screen texts on a preset silk-screen layer in a circuit board design drawing, converting each text element of each silk-screen text into a plurality of line segments respectively, and attributing the line segments to respective number arrays to obtain a plurality of number arrays corresponding to each silk-screen text;
combining all line segments in each array into shapes corresponding to the text elements to obtain single text shapes, and combining the single text shapes corresponding to the text elements in each silk-screen text into silk-screen text shapes to obtain the silk-screen text shapes corresponding to all the silk-screen texts;
checking whether a single text shape in the silk-screen text shapes is overlapped with single text shapes in other silk-screen text shapes;
and responding to that the single text shapes in the silk-screen text shapes are not overlapped, and obtaining the result that the silk-screen texts are not overlapped.
In some embodiments, the steps further comprise: and responding to the superposition of the single text shape in the silk-screen text shape and the single text shape in other silk-screen text shapes, and receiving the adjustment of the silk-screen text corresponding to the silk-screen text shape and/or the silk-screen text corresponding to the other silk-screen text shapes so as to ensure that the silk-screen text is not superposed with the other silk-screen text.
In some embodiments, checking whether a single text shape in the silkscreen text shapes overlaps with a single text shape in other silkscreen text shapes comprises: and sequentially checking whether each single text shape in each silk-screen text shape is overlapped with each single text shape in other silk-screen text shapes.
In some embodiments, obtaining all silk-screen texts on a preset silk-screen layer in the circuit board design drawing includes: and acquiring all silk-screen texts on the top silk-screen layer or the bottom silk-screen layer in the circuit board design drawing.
In some embodiments, converting each text element of each silk-screen text into a plurality of line segments and assigning the line segments to respective number columns includes: and converting each text element of each silk-screen text into a plurality of line segments through an axlText2Lines function respectively and attributing the line segments to respective number series.
In some embodiments, combining all line segments in each array into a shape of the corresponding text element to obtain a single text shape comprises: all line segments in each array are combined into the shape of the corresponding text element by the axlPolyFromDB function to get a single text shape.
In some embodiments, combining the single text shapes corresponding to the text elements in each silkscreen text into silkscreen text shapes includes: and combining the single text shapes corresponding to the text elements in each silk-screen text into silk-screen text shapes through an axlPolyoperation function.
It is to be understood that all embodiments, features and advantages set forth above with respect to the method of checking silk-screen text overlap according to the present invention apply equally, without conflict with each other, to the system and to the storage medium for checking silk-screen text overlap according to the present invention.
In a fourth aspect of the embodiments of the present invention, there is further provided a computer device, including a memory 402 and a processor 401, where the memory stores a computer program, and the computer program, when executed by the processor, implements the method of any one of the above embodiments.
Fig. 5 is a schematic hardware structure diagram of an embodiment of a computer device for executing the method for checking silk-screen text overlap according to the present invention. Taking the computer device shown in fig. 5 as an example, the computer device includes a processor 401 and a memory 402, and may further include: an input device 403 and an output device 404. The processor 401, the memory 402, the input device 403 and the output device 404 may be connected by a bus or other means, and fig. 5 illustrates an example of a connection by a bus. The input device 403 may receive input numeric or character information and generate key signal inputs related to user settings and function controls of the system for checking silk-screen text overlay. The output device 404 may include a display device such as a display screen.
The memory 402, which is a non-volatile computer-readable storage medium, may be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as program instructions/modules corresponding to the method for detecting overlapping of silk-screen texts in the embodiment of the present application. The memory 402 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created by use of a method of checking silk-screen text overlap, and the like. Further, the memory 402 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, memory 402 may optionally include memory located remotely from processor 401, which may be connected to local modules via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The processor 401 executes various functional applications and data processing of the server by running the nonvolatile software program, instructions and modules stored in the memory 402, that is, implements the method for checking overlapping of silk-screen texts of the above-described method embodiment.
Finally, it should be noted that the computer-readable storage medium (e.g., memory) herein can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. By way of example, and not limitation, nonvolatile memory can include Read Only Memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which can act as external cache memory. By way of example and not limitation, RAM is available in a variety of forms such as synchronous RAM (DRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The storage devices of the disclosed aspects are intended to comprise, without being limited to, these and other suitable types of memory.
Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as software or hardware depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the disclosed embodiments of the present invention.
The various illustrative logical blocks, modules, and circuits described in connection with the disclosure herein may be implemented or performed with the following components designed to perform the functions herein: a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination of these components. A general purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP, and/or any other such configuration.
The foregoing is an exemplary embodiment of the present disclosure, but it should be noted that various changes and modifications could be made herein without departing from the scope of the present disclosure as defined by the appended claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although elements of the disclosed embodiments of the invention may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated.
It should be understood that, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items. The numbers of the embodiments disclosed in the embodiments of the present invention are merely for description, and do not represent the merits of the embodiments.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, of embodiments of the invention is limited to these examples; within the idea of an embodiment of the invention, also technical features in the above embodiment or in different embodiments may be combined and there are many other variations of the different aspects of the embodiments of the invention as described above, which are not provided in detail for the sake of brevity. Therefore, any omissions, modifications, substitutions, improvements, and the like that may be made without departing from the spirit and principles of the embodiments of the present invention are intended to be included within the scope of the embodiments of the present invention.
Claims (10)
1. A method for checking silk-screen text overlap is characterized by comprising the following steps:
acquiring all silk-screen texts on a preset silk-screen layer in a circuit board design drawing, converting each text element of each silk-screen text into a plurality of line segments respectively, and attributing the line segments to respective number arrays to obtain a plurality of number arrays corresponding to each silk-screen text;
combining all line segments in each array into shapes corresponding to the text elements to obtain single text shapes, and combining the single text shapes corresponding to the text elements in each silk-screen text into silk-screen text shapes to obtain the silk-screen text shapes corresponding to all the silk-screen texts;
checking whether a single text shape in the silk-screen text shapes is overlapped with single text shapes in other silk-screen text shapes;
and responding to that the single text shapes in the silk-screen text shapes are not overlapped, and obtaining the result that the silk-screen texts are not overlapped.
2. The method of claim 1, further comprising:
and in response to the fact that the single text shape in the silk-screen text shape is overlapped with the single text shapes in other silk-screen text shapes, receiving adjustment of the silk-screen text corresponding to the silk-screen text shape and/or the silk-screen text corresponding to the other silk-screen text shapes, so that the silk-screen text is not overlapped with the other silk-screen text.
3. The method of claim 1, wherein checking whether a single text shape in the silkscreen text shapes overlaps with a single text shape in other silkscreen text shapes comprises:
and sequentially checking whether each single text shape in each silk-screen text shape is overlapped with each single text shape in other silk-screen text shapes.
4. The method of claim 1, wherein obtaining all silk-screen texts of a preset silk-screen layer in the circuit board design drawing comprises:
and acquiring all silk-screen texts on the top silk-screen layer or the bottom silk-screen layer in the circuit board design drawing.
5. The method of claim 1, wherein converting each text element of each silkscreen text into a plurality of line segments and assigning to each respective number column comprises:
and converting each text element of each silk-screen text into a plurality of line segments through an axlText2Lines function respectively and attributing the line segments to respective number series.
6. The method of claim 1, wherein combining all line segments in each series into a shape of a corresponding text element to obtain a single text shape comprises:
all line segments in each array are combined into the shape of the corresponding text element by the axlPolyFromDB function to get a single text shape.
7. The method of claim 1, wherein combining the single text shapes corresponding to each text element in each silkscreen text into silkscreen text shapes comprises:
and combining the single text shapes corresponding to the text elements in each silk-screen text into silk-screen text shapes through an axlPolyoperation function.
8. A system for inspecting silk-screened text overlay, comprising:
the line segment conversion module is configured to acquire all silk-screen texts on a preset silk-screen layer in a circuit board design drawing, convert each text element of each silk-screen text into a plurality of line segments respectively and attribute the line segments to respective number columns so as to obtain a plurality of number columns corresponding to each silk-screen text;
the combination module is configured to combine all line segments in each array into shapes corresponding to the text elements to obtain single text shapes, and combine the single text shapes corresponding to the text elements in each silk-screen text into silk-screen text shapes to obtain the silk-screen text shapes corresponding to all the silk-screen texts;
the checking module is configured for checking whether a single text shape in the silk-screen text shapes is overlapped with single text shapes in other silk-screen text shapes; and
and the result obtaining module is configured for responding that the single text shapes in the silk-screen text shapes are not overlapped, and obtaining the result that the silk-screen texts are not overlapped.
9. A computer-readable storage medium, characterized in that computer program instructions are stored which, when executed, implement the method according to any one of claims 1-7.
10. A computer device comprising a memory and a processor, characterized in that the memory has stored therein a computer program which, when executed by the processor, performs the method according to any one of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110963646.XA CN113642287B (en) | 2021-08-20 | 2021-08-20 | Method, system, storage medium and equipment for checking screen printed text overlapping |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110963646.XA CN113642287B (en) | 2021-08-20 | 2021-08-20 | Method, system, storage medium and equipment for checking screen printed text overlapping |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113642287A true CN113642287A (en) | 2021-11-12 |
CN113642287B CN113642287B (en) | 2023-06-16 |
Family
ID=78423279
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110963646.XA Active CN113642287B (en) | 2021-08-20 | 2021-08-20 | Method, system, storage medium and equipment for checking screen printed text overlapping |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113642287B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115334758A (en) * | 2022-08-25 | 2022-11-11 | 苏州浪潮智能科技有限公司 | Arrangement method and system for silk screen printing of stacked device assembly layer |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080092102A1 (en) * | 2006-10-12 | 2008-04-17 | Inventec Corporation | Multitasking circuit layout diagram silkscreen text handling method and system |
CN106991243A (en) * | 2017-04-12 | 2017-07-28 | 广东浪潮大数据研究有限公司 | A kind of quick inspection silk-screen layer method overlapping with solder mask |
CN108846222A (en) * | 2018-06-26 | 2018-11-20 | 郑州云海信息技术有限公司 | Silk-screen arrangement method, device, equipment and storage medium in a kind of PCB design |
-
2021
- 2021-08-20 CN CN202110963646.XA patent/CN113642287B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080092102A1 (en) * | 2006-10-12 | 2008-04-17 | Inventec Corporation | Multitasking circuit layout diagram silkscreen text handling method and system |
CN106991243A (en) * | 2017-04-12 | 2017-07-28 | 广东浪潮大数据研究有限公司 | A kind of quick inspection silk-screen layer method overlapping with solder mask |
CN108846222A (en) * | 2018-06-26 | 2018-11-20 | 郑州云海信息技术有限公司 | Silk-screen arrangement method, device, equipment and storage medium in a kind of PCB design |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115334758A (en) * | 2022-08-25 | 2022-11-11 | 苏州浪潮智能科技有限公司 | Arrangement method and system for silk screen printing of stacked device assembly layer |
CN115334758B (en) * | 2022-08-25 | 2024-01-16 | 苏州浪潮智能科技有限公司 | Arrangement method and system for silk screen printing of assembly layers of stacked devices |
Also Published As
Publication number | Publication date |
---|---|
CN113642287B (en) | 2023-06-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107678935B (en) | Data generation method, terminal and computer readable storage medium | |
JP7141669B2 (en) | Circuit open/short inspection method, detection system and electronic device for PCB design layout | |
US8413097B2 (en) | Computing device and method for checking design of printed circuit board layout file | |
CN107678937A (en) | Page compatibility detection method, device, server and medium | |
CN109858092B (en) | Method and device for PCB element layout, computer equipment and storage medium | |
CN109492310B (en) | Line inspection method and inspection device | |
CN107731148A (en) | Display screen voltage configuration method and device and display equipment | |
CN113642287B (en) | Method, system, storage medium and equipment for checking screen printed text overlapping | |
CN109952019A (en) | Whether printed circuit board checking device, perception soldering paste abnormal method and computer can interpretation recording mediums | |
CN107657591A (en) | A kind of image processing method and mobile terminal | |
KR20070095804A (en) | Graphical presentation of semiconductor test results | |
CN116542188B (en) | PCB schematic diagram generation method, electronic equipment and storage medium | |
CN106534200A (en) | Identity authentication method and mobile terminal | |
CN112649720A (en) | Board card testing method and device and computer readable storage medium | |
CN114781317A (en) | Method, system, storage medium and equipment for generating chip pin position diagram | |
CN109753273A (en) | Internet of Things application and development method, apparatus and its equipment based on MVVM frame | |
CN106126517B (en) | Method and device for converting PC (personal computer) end application page into mobile end application page | |
US20130152037A1 (en) | Computer aided design system and method | |
CN107122097A (en) | The recommendation method and mobile terminal of a kind of mobile terminal wallpaper | |
CN113012097B (en) | Image rechecking method, computer device and storage medium | |
CN104978171B (en) | It can recognize the output method and device of mark | |
CN114117997B (en) | Method for adjusting screen printing placement of components of multi-site ATE project | |
CN105824893A (en) | Method and device for accessing and loading two-dimensional link | |
JP4890051B2 (en) | Browser screen display device and program therefor | |
CN104198921A (en) | Method for testing printed circuit boards |
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 |