CN109190286A - A kind of screw hole pattern 3D display method and relevant apparatus - Google Patents

A kind of screw hole pattern 3D display method and relevant apparatus Download PDF

Info

Publication number
CN109190286A
CN109190286A CN201811108523.2A CN201811108523A CN109190286A CN 109190286 A CN109190286 A CN 109190286A CN 201811108523 A CN201811108523 A CN 201811108523A CN 109190286 A CN109190286 A CN 109190286A
Authority
CN
China
Prior art keywords
screw hole
hole pattern
newly
built
file
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
Application number
CN201811108523.2A
Other languages
Chinese (zh)
Other versions
CN109190286B (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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201811108523.2A priority Critical patent/CN109190286B/en
Publication of CN109190286A publication Critical patent/CN109190286A/en
Application granted granted Critical
Publication of CN109190286B publication Critical patent/CN109190286B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/30Circuit design
    • G06F30/39Circuit design at the physical level
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/17Mechanical parametric or variational design

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Geometry (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Pure & Applied Mathematics (AREA)
  • Mathematical Optimization (AREA)
  • Mathematical Analysis (AREA)
  • Computational Mathematics (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a kind of screw hole pattern 3D display methods, and by setting original screw hole pattern circular in X-Y scheme file to the newly-built screw hole pattern of circular ring shape, and the inner ring of the newly-built screw hole pattern is corresponding with the through-hole of copper facing screw hole.When the newly-built screw hole pattern is converted into 3-D graphic file, the circular ring shape automatically can be created into screw hole pattern and be converted into the cylindrical figure of annulus, to intuitively can accurately show the aperture of copper facing screw hole in 3-D graphic file, and then cost is linked up in the possibility of reducing mechanism engineer error and reduction.The present invention also provides a kind of screw hole pattern 3D display device, a kind of screw hole pattern 3D display equipment and a kind of computer readable storage mediums, equally have above-mentioned beneficial effect.

Description

A kind of screw hole pattern 3D display method and relevant apparatus
Technical field
The present invention relates to field of computer technology, more particularly to a kind of screw hole pattern 3D display method, a kind of screw Hole pattern 3D display device, a kind of screw hole pattern 3D display equipment and a kind of computer readable storage medium.
Background technique
With the continuous progress of science and technology in recent years, the application of PCB (printed circuit board) is also more and more extensive.In PCB design When, almost each pcb board can use screw hole, and the effect of screw hole is mainly used for fixed pcb board, so right at this stage There are strict requirements in the size of screw hole.
At this stage, after the layout G- Design of a pcb board is completed, layout engineer can show a correspondence The 3-D graphic file of X-Y scheme confirms whether the size of screw hole is correct to mechanism engineer in layout figure, the three-dimensional figure Shape files are usually emn file.It but is mostly just at present a circle in shown screw hole in 3-D graphic file Column, and for copper facing screw hole, parameter mainly includes aperture and outer annular diameter, and is led to from 3-D graphic file Chang Wufa intuitively shows the aperture of copper facing screw hole, and mechanism engineer is needed rule of thumb to judge specific screw hole at this time Whether size meets the requirements, this will easily malfunction, and links up higher cost.
So how accurately to show that the aperture of copper facing screw hole is those skilled in the art's urgency in 3-D graphic file Problem to be solved.
Summary of the invention
The object of the present invention is to provide a kind of screw hole pattern 3D display methods, can be in 3-D graphic file accurately Show the aperture of copper facing screw hole;The present invention also provides a kind of screw hole pattern 3D display devices, a kind of screw hole pattern 3D display equipment and a kind of computer readable storage medium can accurately show copper facing screw hole in 3-D graphic file Aperture.
In order to solve the above technical problems, the present invention provides a kind of screw hole pattern 3D display method, comprising:
Obtain screw hole conversion instruction;
The X-Y scheme file including newly-built screw hole pattern is converted into three-dimensional figure according to the screw hole conversion instruction Shape files;Wherein, the newly-built screw hole pattern in the X-Y scheme file is to establish previously according to original screw hole pattern Annulus figure, the original screw hole pattern are circle, the inner ring of the newly-built screw hole pattern and the newly-built screw hole pattern The through-hole of the corresponding copper facing screw hole of shape is corresponding;
The newly-built screw hole pattern that will convert into the 3-D graphic file is shown.
Optionally, the X-Y scheme file is brd file;The 3-D graphic file is emn file.
Optionally, before the acquisition screw hole conversion instruction, the method also includes:
Call the original screw hole pattern defaulted in parts library;Wherein, the parts pattern in the parts library can be reserved for For brd file;
An initial point is determined at the via profiles line for corresponding to copper facing screw hole in the original screw hole pattern;
Contour line from the initial point along the half radial original screw hole pattern of the original screw hole pattern is set Set a gap;
After setting up the gap, from the area for removing through-hole in corresponding copper facing screw hole in the original screw hole pattern Domain, to form the newly-built screw hole pattern.
Optionally, after forming the newly-built screw hole pattern, the method also includes:
By the newly-built screw hole graphics saving to the parts library.
Optionally, before the acquisition screw hole conversion instruction, the method also includes:
Obtain screw hole call instruction;
According to the screw hole call instruction, the newly-built screw hole pattern defaulted in parts library is called, and will packet The layout figure for including the newly-built screw hole pattern is saved into the X-Y scheme file.
The present invention also provides a kind of screw hole pattern 3D display devices, comprising:
Conversion instruction obtains module: for obtaining screw hole conversion instruction;
Format converting module: for will include the X-Y scheme for creating screw hole pattern according to the screw hole conversion instruction File is converted into 3-D graphic file;Wherein, the newly-built screw hole pattern in the X-Y scheme file is previously according to original Screw hole pattern establish annulus figure, the original screw hole pattern be circle, the inner ring of the newly-built screw hole pattern with The through-hole of the corresponding copper facing screw hole of the newly-built screw hole pattern is corresponding;
Display module: the newly-built screw hole pattern for will convert into the 3-D graphic file is shown.
Optionally, the format converting module is specifically used for:
The X-Y scheme file including newly-built screw hole pattern is converted into three-dimensional figure according to the screw hole conversion instruction Shape files;Wherein, the X-Y scheme file is brd file;The 3-D graphic file is emn file;
The display module is specifically used for:
The newly-built screw hole pattern that will convert into the emn file is shown.
Optionally, described device further include:
Original figure calling module: for calling the original screw hole pattern defaulted in parts library;Wherein, the part Parts pattern in library can be reserved for as brd file;
Initial point determining module: at the via profiles line for corresponding to copper facing screw hole in the original screw hole pattern Determine an initial point;
Gap setup module: for the half radial original screw from the initial point along the original screw hole pattern A gap is arranged in the contour line of hole pattern;
Figure establishes module: for removing corresponding plating from the original screw hole pattern after setting up the gap The region of through-hole in brass screws hole, to form the newly-built screw hole pattern.
The present invention also provides a kind of screw hole pattern 3D display equipment, the equipment includes:
Memory: for storing computer program;
Processor: the screw hole pattern 3D display side as described in any of the above-described is realized when for executing the computer program The step of method.
The present invention also provides a kind of computer readable storage medium, meter is stored on the computer readable storage medium Calculation machine program realizes the screw hole pattern 3D display method as described in any of the above-described when the computer program is executed by processor The step of.
A kind of screw hole pattern 3D display method provided by the present invention, including obtain screw hole conversion instruction;According to spiral shell X-Y scheme file including newly-built screw hole pattern is converted into 3-D graphic file by wire hole conversion instruction;Wherein, X-Y scheme Newly-built screw hole pattern in shape files is the annulus figure established previously according to original screw hole pattern, the original screw hole Figure is circle, and the through-hole of the inner ring of newly-built screw hole pattern copper facing screw hole corresponding with newly-built screw hole pattern is opposite It answers;The newly-built screw hole pattern that will convert into 3-D graphic file is shown.
By setting original screw hole pattern circular in X-Y scheme file to the newly-built screw hole pattern of circular ring shape, And the inner ring of the newly-built screw hole pattern is corresponding with the through-hole of copper facing screw hole.The newly-built screw hole pattern is being converted into three When tieing up graphic file, the circular ring shape automatically can be created into screw hole pattern and be converted into the cylindrical figure of annulus, thus in three-dimensional Intuitively can accurately show the aperture of copper facing screw hole in graphic file, so the possibility of reducing mechanism engineer error with And it reduces and links up cost.
The present invention also provides a kind of screw hole pattern 3D display device, a kind of screw hole pattern 3D display equipment and one kind Computer readable storage medium equally has above-mentioned beneficial effect, is no longer repeated herein.
Detailed description of the invention
It, below will be to embodiment or existing for the clearer technical solution for illustrating the embodiment of the present invention or the prior art Attached drawing needed in technical description is briefly described, it should be apparent that, the accompanying drawings in the following description is only this hair Bright some embodiments for those of ordinary skill in the art without creative efforts, can be with root Other attached drawings are obtained according to these attached drawings.
Fig. 1 is a kind of flow chart of screw hole pattern 3D display method provided by the embodiment of the present invention;
Fig. 2 is the display renderings that screw hole pattern is created in 3-D graphic file;
Fig. 3 to Fig. 6 is the Establishing process figure of newly-built screw hole pattern;
Fig. 7 is a kind of structural block diagram of screw hole pattern 3D display device provided by the embodiment of the present invention;
Fig. 8 is a kind of structural block diagram of screw hole pattern 3D display equipment provided by the embodiment of the present invention.
In figure: 1. original screw hole patterns, 2. newly-built screw hole patterns.
Specific embodiment
Core of the invention is to provide a kind of screw hole pattern 3D display method.Conventionally, as in PCB design In the process, designed layout figure uses X-Y scheme, and corresponding above-mentioned X-Y scheme can save into X-Y scheme File.And in existing X-Y scheme file, the screw hole pattern of corresponding copper facing screw hole is usually a solid circle, and The pore size of corresponding copper facing screw hole cannot be directly found out from the circle, thus X-Y scheme file is converted into three It is also only that copper facing screw hole is shown as a cylinder in 3-D graphic file, thus in three-dimensional when tieing up graphic file The aperture of copper facing screw hole can not be accurately shown in graphic file.
And a kind of screw hole pattern 3D display method provided by the present invention, by by original circular in X-Y scheme file Beginning screw hole pattern is set as the newly-built screw hole pattern of circular ring shape, and the inner ring and copper facing screw hole of the newly-built screw hole pattern Through-hole it is corresponding.When the newly-built screw hole pattern is converted into 3-D graphic file, automatically the circular ring shape can be created Screw hole pattern is converted into the cylindrical figure of annulus, to intuitively can accurately show copper facing spiral shell in 3-D graphic file The aperture of wire hole, and then cost is linked up in the possibility of reducing mechanism engineer error and reduction.
In order to enable those skilled in the art to better understand the solution of the present invention, with reference to the accompanying drawings and detailed description The present invention is described in further detail.Obviously, described embodiments are only a part of the embodiments of the present invention, rather than Whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise Under every other embodiment obtained, shall fall within the protection scope of the present invention.
Fig. 1 and Fig. 2 are please referred to, Fig. 1 is a kind of stream of screw hole pattern 3D display method provided by the embodiment of the present invention Cheng Tu;Fig. 2 is the display renderings that screw hole pattern is created in 3-D graphic file.
Referring to Fig. 1, in embodiments of the present invention, the screw hole pattern 3D display method may include:
S101: screw hole conversion instruction is obtained.
In this step, the screw hole conversion instruction of user's transmission can be got, so as in the next steps according to the spiral shell X-Y scheme file including newly-built screw hole pattern is converted into 3-D graphic file by wire hole conversion instruction.
S102: the X-Y scheme file including newly-built screw hole pattern is converted by three-dimensional figure according to screw hole conversion instruction Shape files.
In embodiments of the present invention, the newly-built screw hole pattern in the X-Y scheme file is previously according to original screw Hole pattern establish annulus figure, the original screw hole pattern be circle, the inner ring of the newly-built screw hole pattern with it is described The through-hole of the newly-built corresponding copper facing screw hole of screw hole pattern is corresponding.
Before this step, an X-Y scheme file, the figure stored in the X-Y scheme file can be obtained in advance It is X-Y scheme.It include newly-built screw hole pattern in the X-Y scheme file, which is corresponding with not With the copper facing screw hole of size.Specifically, being usually brd file in the X-Y scheme file at this stage.
In embodiments of the present invention, which is the doughnut established previously according to original screw hole pattern Shape, i.e., newly-built screw hole pattern is a circular ring shape, and wherein the inner ring of the newly-built screw hole pattern is corresponding with newly-built screw hole pattern Copper facing screw hole through-hole it is corresponding, i.e., the annular diameters of newly-built screw hole pattern and the aperture phase of corresponding copper facing screw hole Together.It should be noted that the outer ring and corresponding copper facing screw hole of the newly-built screw hole pattern are integrally corresponding, i.e., newly-built screw The outer diameter of hole pattern is identical as the outer diameter of corresponding copper facing screw hole.
Above-mentioned original screw hole pattern is one round, under normal conditions the diameter Yu copper facing screw hole of original screw hole pattern Whole outer diameter is identical.Specific steps in relation to establishing newly-built screw hole pattern according to original screw hole pattern will be in following inventions It is described in detail in embodiment, is no longer repeated herein.
It in this step, will be able to include above-mentioned newly-built screw hole pattern according to the screw hole conversion instruction obtained in S101 X-Y scheme file be converted to 3-D graphic file, wherein the X-Y scheme file is usually brd file, i.e. brd format File;And 3-D graphic file is usually emn file, i.e. the file of emn format.It should be noted that above-mentioned newly-built screw hole Figure is in a circular ring shape in X-Y scheme file, and newly-built screw hole pattern is in an annulus cylindricality in 3-D graphic file, I.e. during conversion, height parameter automatically can be added in the newly-built screw hole pattern in X-Y scheme, thus three The cylindrical newly-built screw hole pattern of an annulus is formed in dimension graphic file.Related specific conversion process is referred to existing skill Art in embodiments of the present invention and is not specifically limited.
Due in the actual process, being usually provided with parts library, the two of corresponding different parts are stored in the parts library Parts pattern is tieed up, after being called by the parts pattern stored in the parts library, what called parts pattern was constituted Layout figure can save as X-Y scheme file, at this time include called parts pattern in X-Y scheme file.Phase It answers, before S101 provided by the embodiment of the present invention, above-mentioned newly-built screw hole pattern may be pre-stored in It states in parts library.
Preferably, before S101 provided by the embodiment of the present invention, screw hole provided by the embodiment of the present invention Figure 3D display method can also include:
Step 1: obtaining screw hole call instruction;Step 2: calling defaults in parts library according to screw hole call instruction In newly-built screw hole pattern, and will include that the layout figure of newly-built screw hole pattern is saved into X-Y scheme file.
In the first step, user can input screw hole call instruction to call newly-built screw hole pattern, and processor can obtain The screw hole call instruction is taken, so as to the progress of subsequent step.
It, can be according to above-mentioned screw hole call instruction from being previously stored with the zero of above-mentioned newly-built screw hole pattern in second step The newly-built screw hole pattern is called in part library, and will include the layout figure preservation of the newly-built screw hole pattern into above-mentioned X-Y scheme Shape files.It should be noted that can only comprise only above-mentioned newly-built screw hole pattern in above-mentioned layout figure.In second step In, can be obtained include newly-built screw hole pattern X-Y scheme file.
S103: the newly-built screw hole pattern that will convert into 3-D graphic file is shown.
Referring to fig. 2, in this step, the newly-built screw hole pattern polarity that can will convert into 3-D graphic file shows, this When the newly-built screw hole pattern that shows be the cylindrical 3D pattern of an annulus, and in the 3D pattern, can clearly tell The pore size of copper facing screw hole corresponding to the newly-built screw hole pattern.
A kind of screw hole pattern 3D display method provided by the embodiment of the present invention, by will in X-Y scheme file it is round Original screw hole pattern be set as the newly-built screw hole pattern of circular ring shape, and the inner ring and copper facing spiral shell of the newly-built screw hole pattern The through-hole of wire hole is corresponding.It, can be automatically by the circular ring shape when the newly-built screw hole pattern is converted into 3-D graphic file Newly-built screw hole pattern is converted into the cylindrical figure of annulus, to intuitively can accurately show plating in 3-D graphic file The aperture in brass screws hole, and then cost is linked up in the possibility of reducing mechanism engineer error and reduction.
Specific steps in relation to establishing newly-built screw hole pattern above by original screw hole pattern will be real in following inventions It applies in example and is described in detail.
Referring to FIG. 3, Fig. 4, Fig. 5 and Fig. 6, Fig. 3 to Fig. 6 is the Establishing process figure of newly-built screw hole pattern.
It is different from foregoing invention embodiment, the embodiment of the present invention is on the basis of foregoing invention embodiment, further The step of establishing newly-built screw hole pattern by original screw hole pattern is specifically limited.Remaining content is in foregoing invention It is described in detail in embodiment, is no longer repeated herein.It should be noted that needing to be implemented institute of the embodiment of the present invention When the step of offer, it usually needs executed before the step provided by foregoing invention embodiment.But it is above-mentioned executing every time Before step provided by inventive embodiments, step provided by the embodiment of the present invention is not needed to be performed both by.
Referring to Fig. 3, in embodiments of the present invention, newly-built screw hole pattern establishment step includes:
S201: the original screw hole pattern defaulted in parts library is called.
In embodiments of the present invention, the parts pattern in the parts library can be reserved for as brd file, i.e., deposits in the parts library The parts pattern of storage is X-Y scheme, after being called by the parts pattern stored in the parts library, called parts pattern It may be constructed the layout figure of pcb board, which can save as the X-Y scheme file of brd format.Related parts library Particular content can refer to foregoing invention embodiment, no longer be repeated herein.It should be noted that in the embodiment of the present invention In, need to preserve the original screw hole pattern 1 of circle of corresponding screw hole outer diameter in parts library.
Specifically, needing first to open the software for drawing layout figure, such as candence before this step Then alleagro software calls original screw hole pattern 1 from the parts library of the software.Calling the original screw hole pattern After 1, which can be edited, which is usually one round.
S202: an initial point is determined at the via profiles line for corresponding to copper facing screw hole in original screw hole pattern.
Referring to fig. 4, it after calling to original screw hole pattern 1, that is, calls to after original screw hole encapsulation, the original spiral shell The centre coordinate of wire hole figure 1 is usually defaulted as (0,0) point.In this step, one can be confirmed from the original screw hole pattern 1 The edge line of a initial point, the through-hole for corresponding to copper facing screw hole in the original screw hole pattern 1 can pass through the initial point.Specifically , it is necessary first to determine the radius of the through-hole of corresponding copper facing screw hole, then from original screw hole pattern 1 determine one with The distance of centre coordinate is the point of corresponding copper facing screw hole through-hole radius as initial point.For example, if corresponding plating brass screws The radius of the through-hole in hole is B, then (0 ,-B) can be selected as initial point.
S203: from initial point along one seam of contour line setting of half radial original screw hole pattern of original screw hole pattern Gap.
Referring to Fig. 5, in this step, meeting is from initial point, and the half of the original screw hole pattern 1 passed through along the initial point Diameter is arranged a gap to the contour line of the original screw hole pattern 1, that is, supports or opposes and above-mentioned seam is arranged to the direction of above-mentioned centre coordinate Gap.The gap needs to be in contact with the contour line of original screw hole pattern 1, i.e., needs in this step first from original screw hole pattern Confirm that a terminating point, the terminating point and above-mentioned initial point are located on same radius line segment in the contour line of shape 1;Again original The gap of the above-mentioned initial point of one connection of setting and terminating point in screw hole pattern 1.
Specifically, the coordinate of above-mentioned initial point is (0 ,-B), then above-mentioned termination if the radius of original screw hole pattern 1 is A The coordinate of point is (0 ,-A), and above-mentioned gap is one section of one section of line segment that (0 ,-A) is extended to from (0 ,-B).It should be noted that The width needs in above-mentioned gap are very narrow, need to guarantee under normal conditions to be not easy to show from the 3-D graphic file being ultimately converted to It shows and comes the gap, the gap is avoided to interfere newly-built screw hole pattern 2.It should also be noted that, the gap will not be done Disturb the shape of copper facing screw hole made of according to prepared by newly-built screw hole pattern 2.
It is hollow due to can not directly dig out one at the center of original screw hole pattern 1 in brd file, so at this It needs that above-mentioned gap is first arranged in inventive embodiments, corresponds to copper facing to be cut out in original screw hole pattern 1 in the next steps The figure of screw hole through-hole, to form newly-built screw hole pattern 2.
S204: after setting up gap, the region of through-hole from the corresponding copper facing screw hole of removal in original screw hole pattern, To form newly-built screw hole pattern.
Referring to Fig. 6, in this step, since the presence in above-mentioned gap can remove correspondence from original screw hole pattern 1 The region of copper facing screw hole through-hole, the region are usually a circle, and the center in the region is located in original screw hole pattern 1 The heart, the centre coordinate in the region are the centre coordinate of above-mentioned original screw hole pattern 1, the radius in the region and corresponding copper facing spiral shell The aperture of wire hole is equal.It should be noted that in the area for removing the correspondence copper facing screw hole through-hole from original screw hole pattern 1 After domain, the contour line of a corresponding copper facing screw hole through-hole will form, the contour line of the correspondence copper facing screw hole through-hole can be through Cross above-mentioned initial point.After the region for cutting out above-mentioned corresponding copper facing screw hole through-hole, i.e., original screw hole pattern 1 is revised as Newly-built screw hole pattern 2, which is a circular ring shape.
After this step, the application of screw hole pattern 2 is created for the ease of this, as preferably can be by newly-built screw Hole pattern 2 is saved to parts library, and above-mentioned newly-built screw hole pattern 2 can be called directly from parts library so as to subsequent.It shuts The particular content for stating parts library is described in detail in foregoing teachings, is no longer repeated herein.
A kind of screw hole pattern 3D display method provided by the embodiment of the present invention, especially by initial point is first arranged, then One gap is set according to the initial point, final the step of removing the region for corresponding to copper facing screw hole through-hole, may be implemented in brd text Ring-shape accessory figure is set in part, finally establishes above-mentioned newly-built screw hole pattern 2.
A kind of screw hole pattern 3D display device provided in an embodiment of the present invention is introduced below, spiral shell described below Wire hole figure 3D display device can correspond to each other reference with above-described screw hole pattern 3D display method.
Fig. 7 is a kind of structural block diagram of screw hole pattern 3D display device provided by the embodiment of the present invention, referring to Fig. 7 spiral shell Wire hole figure 3D display device may include:
Conversion instruction obtains module 100: for obtaining screw hole conversion instruction.
Format converting module 200: for will include the two dimension for creating screw hole pattern according to the screw hole conversion instruction Picture file translation is at 3-D graphic file;Wherein, the newly-built screw hole pattern in the X-Y scheme file be previously according to The annulus figure that original screw hole pattern is established, the original screw hole pattern are circle, the newly-built screw hole pattern it is interior The through-hole of ring copper facing screw hole corresponding with the newly-built screw hole pattern is corresponding.
Display module 300: the newly-built screw hole pattern for will convert into the 3-D graphic file is shown.
Preferably, in embodiments of the present invention, the format converting module 200 can be specifically used for:
The X-Y scheme file including newly-built screw hole pattern is converted into three-dimensional figure according to the screw hole conversion instruction Shape files;Wherein, the X-Y scheme file is brd file;The 3-D graphic file is emn file.
The display module 300 can be specifically used for:
The newly-built screw hole pattern that will convert into the emn file is shown.
Preferably, in embodiments of the present invention, the screw hole pattern 3D display device can also include:
Original figure calling module: for calling the original screw hole pattern defaulted in parts library;Wherein, the part Parts pattern in library can be reserved for as brd file.
Initial point determining module: at the via profiles line for corresponding to copper facing screw hole in the original screw hole pattern Determine an initial point.
Gap setup module: for the half radial original screw from the initial point along the original screw hole pattern A gap is arranged in the contour line of hole pattern.
Figure establishes module: for removing corresponding plating from the original screw hole pattern after setting up the gap The region of through-hole in brass screws hole, to form the newly-built screw hole pattern.
Preferably, in embodiments of the present invention, the screw hole pattern 3D display device can also include:
Newly-built screw hole graphics saving module: it is used for the newly-built screw hole graphics saving to the parts library.
Preferably, in embodiments of the present invention, the screw hole pattern 3D display device can also include:
Call instruction obtains module: for obtaining screw hole call instruction.
Newly-built figure calling module: for according to the screw hole call instruction, calling to default in described in parts library Newly-built screw hole pattern, and will include the layout figure preservation of the newly-built screw hole pattern into the X-Y scheme file.
The screw hole pattern 3D display device of the present embodiment is for realizing screw hole pattern 3D display method above-mentioned, therefore The embodiment of the visible screw hole pattern 3D display method hereinbefore of specific embodiment in screw hole pattern 3D display device Part, for example, conversion instruction obtains module 100, format converting module 200, display module 300 is respectively used to realize above-mentioned spiral shell Step S101, S102 and S103 in wire hole figure 3D display method, so, specific embodiment is referred to corresponding each The description of section Example, details are not described herein.
A kind of screw hole pattern 3D display equipment provided in an embodiment of the present invention is introduced below, spiral shell described below Wire hole figure 3D display equipment and above-described screw hole pattern 3D display method and screw hole pattern 3D display device can Correspond to each other reference.
Referring to FIG. 8, Fig. 8 is a kind of structural frames of screw hole pattern 3D display equipment provided by the embodiment of the present invention Figure.
Referring to Fig. 8, which may include processor 400 and memory 500.
The memory 500 is for storing computer program;The processor 400 is for when executing the computer program Realize foregoing invention screw hole pattern 3D display method as described in the examples.
Processor 400 is for installing described in above-mentioned inventive embodiments in the screw hole pattern 3D display equipment of the present embodiment Screw hole pattern 3D display device, simultaneous processor 400 is combined with memory 500 may be implemented any of the above-described invention and implements Screw hole pattern 3D display method described in example.Therefore before specific embodiment in screw hole pattern 3D display equipment is visible The embodiment part of screw hole pattern 3D display method in text, it is real that specific embodiment is referred to corresponding various pieces The description of example is applied, details are not described herein.
The present invention also provides a kind of computer readable storage medium, meter is stored on the computer readable storage medium Calculation machine program, the computer program realize screw hole pattern described in any of the above-described inventive embodiments when being executed by processor Shape 3D display method.Remaining content is referred to the prior art, no longer carries out expansion description herein.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with it is other The difference of embodiment, same or similar part may refer to each other between each embodiment.For being filled disclosed in embodiment For setting, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is referring to method part Explanation.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered Think beyond the scope of this invention.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged Except there is also other identical elements in the process, method, article or apparatus that includes the element.
A kind of screw hole pattern 3D display method provided by the present invention and relevant apparatus are described in detail above. Used herein a specific example illustrates the principle and implementation of the invention, and the explanation of above embodiments is only used In facilitating the understanding of the method and its core concept of the invention.It should be pointed out that for those skilled in the art, Without departing from the principle of the present invention, can be with several improvements and modifications are made to the present invention, these improvement and modification It falls into the protection scope of the claims in the present invention.

Claims (10)

1. a kind of screw hole pattern 3D display method characterized by comprising
Obtain screw hole conversion instruction;
The X-Y scheme file including newly-built screw hole pattern is converted into 3-D graphic text according to the screw hole conversion instruction Part;Wherein, the newly-built screw hole pattern in the X-Y scheme file is the annulus established previously according to original screw hole pattern Figure, the original screw hole pattern are circle, the inner ring of the newly-built screw hole pattern and the newly-built screw hole pattern pair The through-hole for the copper facing screw hole answered is corresponding;
The newly-built screw hole pattern that will convert into the 3-D graphic file is shown.
2. the method according to claim 1, wherein the X-Y scheme file is brd file;The three-dimensional figure Shape files are emn file.
3. according to the method described in claim 2, it is characterized in that, before the acquisition screw hole conversion instruction, the side Method further include:
Call the original screw hole pattern defaulted in parts library;Wherein, the parts pattern in the parts library can be reserved for as brd File;
An initial point is determined at the via profiles line for corresponding to copper facing screw hole in the original screw hole pattern;
From the initial point along the contour line setting one of the half radial original screw hole pattern of the original screw hole pattern Gap;
After setting up the gap, the region of through-hole from the corresponding copper facing screw hole of removal in the original screw hole pattern, To form the newly-built screw hole pattern.
4. according to the method described in claim 3, it is characterized in that, after forming the newly-built screw hole pattern, the side Method further include:
By the newly-built screw hole graphics saving to the parts library.
5. the method according to claim 1, wherein before the acquisition screw hole conversion instruction, the side Method further include:
Obtain screw hole call instruction;
According to the screw hole call instruction, the newly-built screw hole pattern defaulted in parts library is called, and will include institute The layout figure for stating newly-built screw hole pattern is saved into the X-Y scheme file.
6. a kind of screw hole pattern 3D display device characterized by comprising
Conversion instruction obtains module: for obtaining screw hole conversion instruction;
Format converting module: for will include the X-Y scheme file for creating screw hole pattern according to the screw hole conversion instruction It is converted into 3-D graphic file;Wherein, the newly-built screw hole pattern in the X-Y scheme file is previously according to original screw Hole pattern establish annulus figure, the original screw hole pattern be circle, the inner ring of the newly-built screw hole pattern with it is described The through-hole of the newly-built corresponding copper facing screw hole of screw hole pattern is corresponding;
Display module: the newly-built screw hole pattern for will convert into the 3-D graphic file is shown.
7. device according to claim 6, which is characterized in that the format converting module is specifically used for:
The X-Y scheme file including newly-built screw hole pattern is converted into 3-D graphic text according to the screw hole conversion instruction Part;Wherein, the X-Y scheme file is brd file;The 3-D graphic file is emn file;
The display module is specifically used for:
The newly-built screw hole pattern that will convert into the emn file is shown.
8. device according to claim 7, which is characterized in that described device further include:
Original figure calling module: for calling the original screw hole pattern defaulted in parts library;Wherein, in the parts library Parts pattern can be reserved for as brd file;
Initial point determining module: it is determined at the via profiles line for corresponding to copper facing screw hole in the original screw hole pattern One initial point;
Gap setup module: for the half radial original screw hole pattern from the initial point along the original screw hole pattern A gap is arranged in the contour line of shape;
Figure establishes module: for removing corresponding copper facing spiral shell from the original screw hole pattern after setting up the gap The region of through-hole in wire hole, to form the newly-built screw hole pattern.
9. a kind of screw hole pattern 3D display equipment, which is characterized in that the equipment includes:
Memory: for storing computer program;
Processor: realize that screw hole pattern 3D is aobvious as described in any one of claim 1 to 5 when for executing the computer program The step of showing method.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program realizes the screw hole pattern 3D display as described in any one of claim 1 to 5 when the computer program is executed by processor The step of method.
CN201811108523.2A 2018-09-21 2018-09-21 Screw hole graph 3D display method and related device Active CN109190286B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811108523.2A CN109190286B (en) 2018-09-21 2018-09-21 Screw hole graph 3D display method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811108523.2A CN109190286B (en) 2018-09-21 2018-09-21 Screw hole graph 3D display method and related device

Publications (2)

Publication Number Publication Date
CN109190286A true CN109190286A (en) 2019-01-11
CN109190286B CN109190286B (en) 2021-10-29

Family

ID=64909521

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811108523.2A Active CN109190286B (en) 2018-09-21 2018-09-21 Screw hole graph 3D display method and related device

Country Status (1)

Country Link
CN (1) CN109190286B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5462512A (en) * 1993-09-20 1995-10-31 Pioneer Electronic Corporation Printed circuit board working machine
JPH11134370A (en) * 1997-10-24 1999-05-21 Punch Kogyo Kk Unit design system
CN1963823A (en) * 2005-11-09 2007-05-16 鸿富锦精密工业(深圳)有限公司 System and method for switching format of file
JP2007213120A (en) * 2006-02-07 2007-08-23 Fujitsu Ltd Model design verification device, model design verification method and model design verification program
CN103065337A (en) * 2011-10-19 2013-04-24 鸿富锦精密工业(深圳)有限公司 Two-dimensional graphic file parsing drawing system and two-dimensional graphic file parsing drawing method
CN105096369A (en) * 2015-09-06 2015-11-25 上海核工程研究设计院 WEB-based engineering information visualizing system
CN107333390A (en) * 2017-08-31 2017-11-07 郑州云海信息技术有限公司 A kind of packing forms of screw hole

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5462512A (en) * 1993-09-20 1995-10-31 Pioneer Electronic Corporation Printed circuit board working machine
JPH11134370A (en) * 1997-10-24 1999-05-21 Punch Kogyo Kk Unit design system
CN1963823A (en) * 2005-11-09 2007-05-16 鸿富锦精密工业(深圳)有限公司 System and method for switching format of file
JP2007213120A (en) * 2006-02-07 2007-08-23 Fujitsu Ltd Model design verification device, model design verification method and model design verification program
CN103065337A (en) * 2011-10-19 2013-04-24 鸿富锦精密工业(深圳)有限公司 Two-dimensional graphic file parsing drawing system and two-dimensional graphic file parsing drawing method
CN105096369A (en) * 2015-09-06 2015-11-25 上海核工程研究设计院 WEB-based engineering information visualizing system
CN107333390A (en) * 2017-08-31 2017-11-07 郑州云海信息技术有限公司 A kind of packing forms of screw hole

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
G. JANG .ETAL: "Characteristic analysis of eddy current loss in permanent magnet linear synchronous generator considering tapped holes in movers using 3D analytical method", 《IEEE》 *
临沐风影: "allegro 16.6 空心焊盘的制作", 《HTTPS://WWW.CNBLOGS.COM/KEVIN-SALT/P6117507.HTML》 *

Also Published As

Publication number Publication date
CN109190286B (en) 2021-10-29

Similar Documents

Publication Publication Date Title
KR102151906B1 (en) Method and apparatus for generating and identifying identification code
CN104754536A (en) Method and system for realizing communication between different languages
CN105700925B (en) A kind of interface implementing method and device of APP
CN106681698B (en) Dynamic list generation method and device
CN103076943A (en) Icon conversion method and icon conversion device
CN108765520B (en) Text information rendering method and device, storage medium and electronic device
US11733973B2 (en) Interactive graphic design system to enable creation and use of variant component sets for interactive objects
CN104778735B (en) A kind of animation producing method and device based on irregular figure
CN110941937A (en) Electronic device, package rendering generation method, and computer-readable storage medium
CN103744594A (en) Display method and device of movable focal point
CN105373545A (en) Picture display method and device
CN105373373B (en) Method and device for quickly generating icon
CN104598436A (en) Method and device for dynamically generating three-dimensional chart
CN107357611A (en) The theme update method and device of user interface
CN104867105A (en) Picture processing method and device
CN109190286A (en) A kind of screw hole pattern 3D display method and relevant apparatus
CN106293679B (en) A kind of element term conflict processing method and device
CN109960768A (en) Display methods, device, terminal device and the system of map interface
CN108664298A (en) A kind of theme icon generation method and device
US10115374B2 (en) Variable glyph encoding
CN109740193A (en) It is a kind of to automatically cut off the method and system for laminating silk-screen
CN105550000B (en) A kind of generation method and system of mobile terminal slide-insert
CN109548298A (en) A kind of PCB design figure edit methods and relevant apparatus based on IC chip
CN104267935A (en) Code conversion method and device
CN103116632B (en) A kind of generation method of theme bag, device and equipment

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