CN109344468A - CAD diagram paper introduction method, system and computer readable storage medium - Google Patents

CAD diagram paper introduction method, system and computer readable storage medium Download PDF

Info

Publication number
CN109344468A
CN109344468A CN201811079853.3A CN201811079853A CN109344468A CN 109344468 A CN109344468 A CN 109344468A CN 201811079853 A CN201811079853 A CN 201811079853A CN 109344468 A CN109344468 A CN 109344468A
Authority
CN
China
Prior art keywords
imported
arrangement position
cad diagram
cad
diagram paper
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
CN201811079853.3A
Other languages
Chinese (zh)
Other versions
CN109344468B (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.)
Dongguan Yan Feng Information Technology Co Ltd
Original Assignee
Dongguan Yan Feng 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 Dongguan Yan Feng Information Technology Co Ltd filed Critical Dongguan Yan Feng Information Technology Co Ltd
Publication of CN109344468A publication Critical patent/CN109344468A/en
Application granted granted Critical
Publication of CN109344468B publication Critical patent/CN109344468B/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]

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a kind of CAD diagram paper introduction method, system and computer readable storage mediums, and the method comprising the steps of: presetting the arrangement position of drawing to be imported;When receiving importing instruction, obtains the importing and instruct corresponding drawing to be imported and first order position;If first order position is starting point, search with starting point toward whole drawings of preset direction;If not there is no drawing, the drawing to be imported is imported into the first order position;Drawing if it exists obtains second order position then according to preset rules, and the drawing to be imported is imported the second order position.Drawing is imported the arrangement position pre-set when receiving importing instruction by the present invention, and the intelligence for realizing CAD diagram paper imports, and can be put by the arrangement position pre-set.

Description

CAD diagram paper introduction method, system and computer readable storage medium
Technical field
The present invention relates to Computer-aided Design Technology field more particularly to a kind of CAD diagram paper introduction methods, system and meter Calculation machine readable storage medium storing program for executing.
Background technique
Computer aided design cad (Computer Aided Design) is helped using computer and its graphics device Designer is designed work.In manufacturing industry, various Element Designs, current common drawing practice is to use Three-dimensional CAD Software Design the threedimensional model of various parts, then with threedimensional model inspection and improved design project, the design scheme of threedimensional model determines Afterwards, threedimensional model is projected into two-dimensional three-view diagram to go forward side by side rower dimensioning, live processing staff is facilitated to check processing content And processing dimension.
Because three-dimensional CAD and D CAD technology are entirely different, occur the Three-dimensional CAD Software of profession in the market, arrogate to oneself Long threedimensional model design modification, also there is the D CAD software of profession, mark and the drawing printing of two dimensional model is good at, in order to mention High efficiency, be usually in real work at present with Three-dimensional CAD Software drawing three-dimensional mould and project into three-view diagram, and export dwg or Then the two-dimentional drawing of dxf format imports two-dimentional drawing in D CAD software and goes forward side by side rower dimensioning and final printing to scene Processing staff checks.
The large assemblies such as common machinery or mold are generally made of numerous parts, in order to facilitate dimensioning and check figure Multiple parts can generally be imported into two when whole parts to be projected to two-dimentional three-view diagram in Three-dimensional CAD Software and are exported by paper In one map file of Victoria C AD software, drawing, general meeting are quickly searched for convenience in the map file that one has numerous parts drawing Part is classified, and is arranged and is placed in different location areas as different classes of.In actual operation, because of part Very much, exporting and import all is a point several completions, and every batch of has different types of part to need in this way after importing drawing Manual identified is different classes of, and is placed according to the different classes of regional location that drawing is moved to corresponding classification, operates very numerous It is trivial.
Summary of the invention
It is a primary object of the present invention to propose a kind of CAD diagram paper introduction method, system and computer readable storage medium, Aim to solve the problem that existing CAD diagram paper imports the cumbersome and not smart enough technical problem of arrangement mode.
To achieve the above object, the present invention provides a kind of CAD diagram paper introduction method, the CAD diagram paper introduction method packets It includes:
Preset the arrangement position of drawing to be imported;
When receiving importing instruction, obtains the importing and instruct corresponding drawing to be imported and first order position;
If first order position is starting point, search with starting point toward whole drawings of preset direction;
If not there is no drawing, the drawing to be imported is imported into the first order position;
Drawing if it exists obtains second order position then according to preset rules, and will be described in the drawing importing to be imported Second order position.
Preferably, the drawing if it exists, then according to preset rules, the step of obtaining second order position, includes:
Drawing if it exists then obtains in whole drawings, the drawing apart from first order position maximum distance Third arrangement position;
Based on the third arrangement position, the preset direction and default drawing spacing, second order position is calculated.
Preferably, the step of arrangement position for presetting drawing to be imported includes:
Preset the part name and the corresponding arrangement position of the part name of drawing to be imported.
Preferably, described when receiving importing instruction, it obtains the importing and instructs corresponding drawing to be imported and first The step of arrangement position includes:
When receiving importing instruction, obtains the importing and instruct corresponding drawing list, the drawing list includes institute State the part name of drawing to be imported and the store path of the drawing to be imported;
According to the store path, corresponding drawing to be imported is obtained;
According to the part name, corresponding first order position is searched in preset importing drawing arrangement position data It sets.
Preferably, the step of arrangement position for presetting drawing to be imported includes:
When part name is arranged to the part in the corresponding threedimensional model of drawing to be imported, the part is arranged and is corresponded to Arrangement position, the part name and the arrangement position are stored in the entity attribute of the three-dimensional part model.
Preferably, the method also includes:
When projecting three-view diagram and exporting two-dintension CAD drawing three-dimensional part model, by the part name, the arrangement The store path of position and the drawing to be imported generates drawing list.
Preferably, the method also includes:
When projecting three-view diagram and exporting two-dintension CAD drawing three-dimensional part model, according to the part name, default Importing drawing arrangement position data in search corresponding arrangement position;
The store path of the part name, the arrangement position and the drawing to be imported is generated into drawing list.
Preferably, after the drawing to be imported is imported arrangement position, the method also includes:
Printing picture frame is placed to the drawing to be imported, and receives markup information, the markup information includes size marking Information and part material information;
By the part material information indicating into the printing picture frame, and according to the size marking information, to described Part in drawing to be imported is labeled.
In addition, to achieve the above object, the present invention also provides a kind of CAD diagram paper import system, the CAD diagram paper introgressive line System is including memory, processor and is stored in the CAD diagram paper that can be run on the memory and on the processor importing journey The step of sequence, described program realizes CAD diagram paper introduction method as described above when being executed by the processor.
In addition, to achieve the above object, it is described computer-readable the present invention also provides a kind of computer readable storage medium It is stored with CAD diagram paper on storage medium and imports program, the CAD diagram paper is imported when program is executed by processor and realized as described above CAD diagram paper introduction method the step of.
CAD diagram paper introduction method of the invention, presets the arrangement position of drawing to be imported;When receiving importing instruction, It obtains the importing and instructs corresponding drawing to be imported and first order position;If first order position is starting point, search to rise Whole drawings of the point toward preset direction;If not there is no drawing, the drawing to be imported is imported into the first order position;If There are drawings, then according to preset rules, obtain second order position, and the drawing to be imported is imported the second order position It sets.Drawing is imported the arrangement position pre-set, realizes the intelligence of CAD diagram paper by the present invention when receiving importing instruction It can import, and can be put by the arrangement position pre-set.
Detailed description of the invention
Fig. 1 is the structural schematic diagram of the system for the hardware running environment that the embodiment of the present invention is related to;
Fig. 2 is the flow diagram of CAD diagram paper introduction method first embodiment of the present invention;
Fig. 3 is the flow diagram of refinement step S50 in CAD diagram paper introduction method first embodiment of the present invention;
Fig. 4 is the flow diagram of CAD diagram paper introduction method second embodiment of the present invention;
Fig. 5 is that one of CAD diagram paper introduction method second embodiment of the present invention imports effect diagram;
Fig. 6 is the flow diagram of CAD diagram paper introduction method 3rd embodiment of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that described herein, specific examples are only used to explain the present invention, is not intended to limit the present invention.
The solution of the embodiment of the present invention is mainly: presetting the arrangement position of drawing to be imported;Refer to when receiving importing When enabling, obtains the importing and instruct corresponding drawing to be imported and first order position;If first order position is starting point, search With starting point toward whole drawings of preset direction;If not there is no drawing, the drawing to be imported is imported into the first order position It sets;Drawing if it exists obtains second order position then according to preset rules, and the drawing to be imported is imported described second Arrangement position.The cumbersome and not smart enough technical problem of arrangement mode is imported to solve existing CAD diagram paper.
As shown in Figure 1, Fig. 1 is the CAD diagram paper import system for the hardware running environment that the embodiment of the present invention is related to Structural schematic diagram.The system may include: processor 1001, such as CPU, and communication bus 1002, user interface 1003, network connects Mouth 1004, memory 1005.Wherein, communication bus 1002 is for realizing the connection communication between these components.Owner's interface 1003 may include display screen (Display), input unit such as keyboard (Keyboard), and optionally, owner's interface 1003 is also It may include the wireline interface (such as connecting wired keyboard, wire mouse etc.) of standard, wireless interface (such as connecting Wireless Keyboard, wireless mouse).Network interface 1004 optionally may include the wireline interface of standard (for connecting wired network Network), wireless interface (such as WI-FI interface, blue tooth interface, infrared interface, for connecting wireless network).Memory 1005 can To be high speed RAM memory, it is also possible to stable memory (non-volatile memory), such as magnetic disk storage.It deposits Reservoir 1005 optionally can also be the storage device independently of aforementioned processor 1001.
It will be understood by those skilled in the art that system shown in Fig. 1 does not constitute the limit to CAD diagram paper import system It is fixed, it may include perhaps combining certain components or different component layouts than illustrating more or fewer components.
As shown in Figure 1, as may include operating system, net in a kind of memory 1005 of computer readable storage medium Network communication module, owner's interface module and CAD diagram paper import program.Wherein, operating system is to manage and control mobile terminal With the program of software resource, support network communication module, owner's interface module, CAD diagram paper import program and other programs or The operation of software;Network communication module is for managing and controlling network interface 1002;Owner's interface module is for managing and controlling Owner's interface 1003.
In mobile terminal shown in Fig. 1, the mobile terminal is called in memory 1005 by processor 1001 and is stored CAD diagram paper import program, and execute following steps:
Preset the arrangement position of drawing to be imported;
When receiving importing instruction, obtains the importing and instruct corresponding drawing to be imported and first order position;
If first order position is starting point, search with starting point toward whole drawings of preset direction;
If not there is no drawing, the drawing to be imported is imported into the first order position;
Drawing if it exists obtains second order position then according to preset rules, and will be described in the drawing importing to be imported Second order position.
Further, the drawing if it exists, then according to preset rules, the step of obtaining second order position, includes:
Drawing if it exists then obtains in whole drawings, the drawing apart from first order position maximum distance Third arrangement position;
Based on the third arrangement position, the preset direction and default drawing spacing, second order position is calculated.
Further, the step of arrangement position for presetting drawing to be imported includes:
Preset the part name and the corresponding arrangement position of the part name of drawing to be imported.
Further, it is described when receive import instruction when, obtain the corresponding drawing to be imported of importings instruction and the The step of one arrangement position includes:
When receiving importing instruction, obtains the importing and instruct corresponding drawing list, the drawing list includes institute State the part name of drawing to be imported and the store path of the drawing to be imported;
According to the store path, corresponding drawing to be imported is obtained;
According to the part name, corresponding first order position is searched in preset importing drawing arrangement position data It sets.
Further, the step of arrangement position for presetting drawing to be imported includes:
When part name is arranged to the part in the corresponding threedimensional model of drawing to be imported, the part is arranged and is corresponded to Arrangement position, the part name and the arrangement position are stored in the entity attribute of the three-dimensional part model.
Further, processor 1001 can be also used for that the CAD diagram paper stored in memory 1005 is called to import program, and Execute following steps:
When projecting three-view diagram and exporting two-dintension CAD drawing three-dimensional part model, by the part name, the arrangement The store path of position and the drawing to be imported generates drawing list.
Further, processor 1001 can be also used for that the CAD diagram paper stored in memory 1005 is called to import program, and Execute following steps:
When projecting three-view diagram and exporting two-dintension CAD drawing three-dimensional part model, according to the part name, default Importing drawing arrangement position data in search corresponding arrangement position;
The store path of the part name, the arrangement position and the drawing to be imported is generated into drawing list.
Further, after the drawing to be imported is imported arrangement position, processor 1001 can be also used for calling and deposit The CAD diagram paper stored in reservoir 1005 imports program, and executes following steps:
Printing picture frame is placed to the drawing to be imported, and receives markup information, the markup information includes size marking Information and part material information;
By the part material information indicating into the printing picture frame, and according to the size marking information, to described Part in drawing to be imported is labeled.
Hardware configuration based on above system proposes each embodiment of CAD diagram paper introduction method of the present invention.
The present invention provides a kind of CAD diagram paper introduction method, and CAD diagram paper introduction method is optional to be applied to CAD diagram paper introgressive line In system.For convenience of description, CAD diagram paper import system will be with system referred to as in subsequent descriptions.
It is the flow diagram of CAD diagram paper introduction method first embodiment of the present invention referring to Fig. 2, Fig. 2.
In the present embodiment, the embodiment of CAD diagram paper introduction method is provided, it should be noted that although in flow chart In show logical order, but in some cases, shown or described step can be executed with the sequence for being different from herein Suddenly.
In the present embodiment, CAD diagram paper introduction method includes:
Step S10 presets the arrangement position of drawing to be imported;
Step S20 obtains the importing and instructs corresponding drawing to be imported and first order when receiving importing instruction Position;
Step S30 is searched if first order position is starting point with starting point toward whole drawings of preset direction;
The drawing to be imported is imported the first order position if not there is no drawing by step S40;
Step S50, if it exists drawing obtain second order position then according to preset rules, and by the drawing to be imported Import the second order position.
In the present embodiment, the arrangement position of drawing to be imported is arranged in user in systems in advance, leads when system receives When entering to instruct, drawing to be imported and the corresponding arrangement position pre-set are obtained, drawing to be imported is placed on and is set in advance On the arrangement position set, the importing and arrangement of CAD diagram paper are completed.
Each step will be described in detail below:
Step S10 presets the arrangement position of drawing to be imported.
In the present embodiment, the arrangement position of drawing to be imported is arranged in user in systems in advance, wherein system includes three The application interface of Victoria C AD software and the application interface of D CAD software, the arrangement position of the present embodiment can be in Three-dimensional CAD Software In interface, it is configured before exporting CAD diagram paper;It can also be imported before CAD diagram paper in D CAD software application interface It is configured.
The preservation it should be noted that preset arrangement position can modify according to the actual needs of user, and protecting It is all as unique arrangement criterion modified after depositing next time before.As the arrangement position of square parts drawing is arranged in user in advance For X0, Y100;If user wants to be modified as X0, Y200, then function can be modified by the setting of system, by square parts drawing Arrangement position is arranged to X0, Y200.
Step S20 obtains the importing and instructs corresponding drawing to be imported and first order when receiving importing instruction Position.
In the present embodiment, it when system receives importing instruction, obtains to import and instructs corresponding drawing to be imported and the One arrangement position imports the store path in instruction with CAD diagram paper or CAD diagram paper, as user executes importing to A drawing Movement, then system obtains A drawing, and A drawing is placed on preset arrangement position;Alternatively, user inputs in systems The importing of store path with A drawing instructs, then system obtains A drawing according to store path, and A drawing is placed on default Arrangement position on.
It should be noted that drawing to be imported can be one, it is also possible to multiple.When drawing to be imported be a batch multiple When, system executes step S30 to the process of step S50 to every drawing, i.e. system first obtains wherein one from this batch of drawing, Step S30 is executed to step S50, and after the completion of importing, next drawing is obtained from this batch of drawing, continues to execute step The process of S30 to step S50 is completed until all drawings all import, wherein and the importing sequence with a batch drawing does not limit, In practical applications, with multiple drawings of batch when importing, respective importing sequence does not influence to sort out, and can be obtained according to system The sequencing taken, is also possible to randomly ordered, is specifically shown in second embodiment given example.
Step S30 is searched if first order position is starting point with starting point toward whole drawings of preset direction.
In the present embodiment, it using preset first order position as origination data, searches with starting point toward the complete of preset direction Portion's drawing, wherein seeking scope includes first order position, and preferentially determines that first order position whether there is drawing.It can With understanding, in the same map file, every CAD diagram paper all occupies a fixed arrangement position, an arrangement position when and An only CAD diagram paper.So system needs first to determine preset row before CAD diagram paper is imported preset arrangement position It whether there is other CAD diagram paper on column position and preset direction, what which imported before can be this operation, Can be user oneself picture etc., when on corresponding arrangement position be not present drawing when, drawing to be imported is just placed on the row On column position, if being essentially not to be permitted drawing to be imported being placed on the arrangement position there are drawing on a certain arrangement position It sets, drawing is avoided to be overlapped.
The drawing to be imported is imported the first order position if not there is no drawing by step S40.
In the present embodiment, if the system determine that not there is drawing on preset first order position, then by figure to be imported Paper imports on the first order position.Whole flow operations of the present embodiment are completed at this time.
Step S50, if it exists drawing obtain second order position then according to preset rules, and by the drawing to be imported Import the second order position.
In the present embodiment, it if the system determine that there are drawings on default first order position, then according to preset rules, obtains Second order position, it is possible to understand that, above-described embodiment it is stated that, arrangement position when and only a drawing exists, therefore System is there are when drawing, can only be gone to obtain second order position according to preset rules on determining first order position, wherein the Drawing is necessarily not present in two arrangement positions, and system just imports drawing to be imported on second order position.
Specifically, referring to Fig. 3, step S50 includes:
Step S51, drawing, then obtain in whole drawings, apart from first order position maximum distance if it exists Drawing third arrangement position;
Step S52 is based on the third arrangement position, the preset direction and default drawing spacing, is calculated second Arrangement position.
In the present embodiment, if the system determine that first order position and using first order position as on the preset direction of starting point There are drawings, then obtain in whole drawings, and the corresponding third arrangement position of the drawing apart from first order position maximum distance is System is based on the third arrangement position, preset direction and default drawing spacing, and second order position is calculated, wherein default side To that can be configured according to actual needs, default drawing spacing can also be configured according to actual needs.
Specifically, a default direction and a drawing spacing, as first order position toward right direction be preset direction, 20cm is default drawing spacing.If having A drawing on the first order position of current preset, system is according to default drawing spacing Drawing to be imported is placed on the third arrangement position of the right of first order position, wherein drawing to be imported and first by 20cm The spacing of drawing on arrangement position is 20cm;If there are B drawings on third arrangement position, system is according to third arrangement position With default drawing spacing 20cm, drawing to be imported is placed on to the second order position of the right of third arrangement position, wherein to The spacing for importing the drawing on drawing and third arrangement position is 20cm, and so on.
The present embodiment presets the arrangement position of drawing to be imported;When receiving importing instruction, the importing instruction is obtained Corresponding drawing to be imported and first order position;If first order position is starting point, search with starting point toward the complete of preset direction Portion's drawing;If not there is no drawing, the drawing to be imported is imported into the first order position;Drawing if it exists, then basis Preset rules obtain second order position, and the drawing to be imported are imported the second order position.The present invention is receiving To when importing instruction, drawing is imported to the arrangement position pre-set, the intelligence for realizing CAD diagram paper imports, and can press The arrangement position pre-set is put.
Further, the second embodiment of CAD diagram paper introduction method of the present invention is proposed based on first embodiment.
The second embodiment of CAD diagram paper introduction method and the difference of the first embodiment of CAD diagram paper introduction method are, join According to Fig. 4, CAD diagram paper introduction method further include:
Step S11 presets the part name and the corresponding arrangement position of the part name of drawing to be imported;
Step S20 includes:
Step S21 obtains the importing and instructs corresponding drawing list, the drawing is clear when receiving importing instruction Single includes the store path of the part name of the drawing to be imported and the drawing to be imported;
Step S22 obtains corresponding drawing to be imported according to the store path;
Step S23 searches corresponding first in preset importing drawing arrangement position data according to the part name Arrangement position.
When the present embodiment presets arrangement position, the part name of drawing to be imported and arrangement position are associated pair by system It answers, system obtains the part name of drawing to be imported when receiving importing instruction, that is, may know that corresponding associated arrangement position It sets.
Specifically, step S11, presets the part name and the corresponding arrangement position of the part name of drawing to be imported.
In the present embodiment, the part name and correspondence of drawing can be arranged in advance in D CAD software interface in user Arrangement position, the part name of drawing is associated with arrangement position corresponding by system when receiving setting instruction, it is ensured that Each part name is corresponding with arrangement position.
It should be noted that can choose order unified to the part for possessing same characteristic features since part name is varied Name, such as square parts, circular pieces or different row part in actual operation only need to be by common part names and arrangement Association correspondence is established in position can meet operational requirements, such as square parts and arrangement position X0, the corresponding association of Y100, circular pieces With arrangement position X0, the corresponding association of Y200, different row part and the corresponding association of arrangement position X0, Y300 etc..
It should be understood that according to actual needs, user can be to preset part name and corresponding associated arrangement position It modifies, and modified part name and corresponding associated arrangement position will be subject to after modified data save.
Step S20 includes:
Step S21 obtains the importing and instructs corresponding drawing list, the drawing is clear when receiving importing instruction Single includes the store path of the part name of the drawing to be imported and the drawing to be imported;
Step S22 obtains corresponding drawing to be imported according to the store path;
Step S23 searches corresponding first in preset importing drawing arrangement position data according to the part name Arrangement position.
In the present embodiment, corresponding arrangement position is associated with due to having preset part name and part name in system It sets, therefore system need to only obtain the part name of drawing to be imported when receiving importing instruction, that is, may know that corresponding arrangement position It sets.
Specifically, obtaining when system receives importing instruction and importing the corresponding drawing list of instruction, wherein drawing is clear Single includes the store path of the part name of drawing to be imported and drawing to be imported, and system is according to the storage road of drawing to be imported Diameter obtains corresponding drawing to be imported, and according to the part name of drawing to be imported, searches in preset arrangement position data Corresponding first order position, so that drawing to be imported is imported first order position by system, if first order position has figure Paper, then the method according to step S51 and step S52, imports second order position for drawing to be imported.
It also may include multiple drawings it should be noted that may include a drawing in the store path of drawing list. It in practical applications, is all batch operation when importing and exporting, preferably drawing list includes multiple drawings.
Referring to Fig. 5, such as default square parts and the corresponding association of position X0, Y300, circular pieces and position X0, Y200 are corresponding Association, special-shaped part and position X0, the corresponding association of Y100, preset direction are right direction, and drawing spacing is 20cm, it is assumed that current figure It include that ABCDEF six opens drawing in the store path of paper inventory, AB drawing belongs to square parts, and CDE drawing belongs to circular pieces, F Belong to special-shaped part, by ABCDEF when being sequentially introduced into, A drawing first imported into X0, the position of Y300, the center of A drawing and X0, Y300 is overlapped, then when B drawing is imported, the position of system discovery X0, Y300 has A drawing, and B drawing is then placed on A at this time The right of drawing, and with A drawing at a distance of 20cm;Similarly, when importing E drawing, due to X0, has C figure on the position of Y200 Paper, then system obtains the arrangement position of D drawing of the right direction from C drawing maximum distance, and E drawing is placed on to the right of D drawing, And with D drawing at a distance of 20cm, and so on.
The present embodiment passes through the part name that drawing in D CAD software interface, is arranged in advance and corresponding arrangement position It sets, when receiving setting instruction, the part name that need to only obtain drawing may know that corresponding associated arrangement position, will scheme Paper imports on arrangement position, realizes that the intelligence of CAD diagram paper imports, and can be put by the arrangement position pre-set.
Further, propose that the third of CAD diagram paper introduction method of the present invention is implemented based on first or second embodiment Example.The difference of first or second embodiment of the 3rd embodiment and CAD diagram paper introduction method of CAD diagram paper introduction method exists In referring to Fig. 6, CAD diagram paper introduction method further include:
Step S12, when part name is arranged to the part in the corresponding threedimensional model of drawing to be imported, to the part Corresponding arrangement position is set, and the part name and the arrangement position are stored in the entity attribute of the three-dimensional part model In.
In the present embodiment, the arrangement position of drawing to be imported is preset in addition to being configured in D CAD software interface, It can also be configured in Three-dimensional CAD Software interface.
Specifically, being named before user is by the corresponding two-dimentional drawing of the threedimensional model export of part to the part Setting, it is possible to understand that, for convenience of searching and using corresponding drawing, it is necessary for being named to part, is being named When, corresponding arrangement position is set, wherein the part name and arrangement position are stored in the entity attribute of three-dimensional part model In.
The CAD diagram paper introduction method further include:
Three-dimensional part model is being projected three-view diagram and when exporting two-dintension CAD drawing by step S60, by the part name, The store path of the arrangement position and the drawing to be imported generates drawing list.
In the present embodiment, the threedimensional model of part is being projected into three-view diagram by system, and exports two-dintension CAD drawing, and When exporting two-dintension CAD drawing, by the store path and entity attribute of drawing to be imported part name and arrangement position it is raw At drawing list, for system receive import instruction when, obtain to import and instruct corresponding drawing list, and from drawing list Middle acquisition arrangement position.
It should be noted that in the present embodiment, arrangement position is arranged in Three-dimensional CAD Software interface, with second Embodiment is configured difference in D CAD software interface, preset arrangement position when the threedimensional model of part is exported just It has been set that, no longer need to be configured in D CAD software, received importing instruction in system D CAD software interface When, it need to only extract the arrangement position in drawing list.
The present embodiment on Three-dimensional CAD Software interface by carrying out the setting of arrangement position, specifically, by the three of part When dimension module exports and part name is arranged, corresponding arrangement position is arranged to the part name, so that system is led by drawing When entering D CAD interface, arrangement position can be obtained from corresponding drawing list, realize that the intelligence of CAD diagram paper imports, and energy It is put by the arrangement position pre-set.
Further, the 4th based on first, second or 3rd embodiment proposition CAD diagram paper introduction method of the present invention is real Apply example.First, second or 3rd embodiment of the fourth embodiment and CAD diagram paper introduction method of CAD diagram paper introduction method Difference is, CAD diagram paper introduction method further include:
Step S70 places printing picture frame to the drawing to be imported, and receives markup information, and the markup information includes Size marking information and part material information;
Step S80 by the part material information indicating into the printing picture frame, and believes according to the size marking Breath, is labeled the part in the drawing to be imported.
In the present embodiment, after drawing to be imported is imported D CAD software interface by system, drawing to be imported is placed Picture frame is printed, so that system is when receiving print command, according to printing picture frame, drawing to be imported is printed.
It is specific:
Step S70 places printing picture frame to the drawing to be imported, and receives markup information, and the markup information includes Size marking information and part material information.
After drawing to be imported is imported D CAD software interface by system, on the corresponding arrangement position of drawing to be imported, Printing picture frame is placed, and receives markup information, wherein markup information includes size marking information and part material information.
It should be noted that markup information can be user on Three-dimensional CAD Software interface to the threedimensional model of part Markup information, system incidentally export markup information, which can be with part name when threedimensional model is projected export Drawing list is generated together with arrangement position, is also possible to the markup information that user inputs on D CAD software interface.
Step S80 by the part material information indicating into the printing picture frame, and believes according to the size marking Breath, is labeled the part in the drawing to be imported.
In the present embodiment, system by part material information indicating into printing picture frame, it is right and according to size marking information Part in drawing to be imported is labeled, wherein mark object includes length and angle of each angle of lines etc.
The present embodiment places printing picture frame after importing drawing on corresponding arrangement position, and in printing picture frame The material and size of the part of drawing are labeled, the intelligence for realizing CAD diagram paper imports, and in the row pre-set Printing picture frame is placed on column position, so as to user's printing.
Further, CAD diagram paper introduction method of the present invention is proposed based on first, second, third or fourth embodiment 5th embodiment.5th embodiment of CAD diagram paper introduction method and the first, second, third of CAD diagram paper introduction method or the The difference of four embodiments is, CAD diagram paper introduction method further include:
Step S90, when projecting three-view diagram and exporting two-dintension CAD drawing three-dimensional part model, according to the component name Claim, searches corresponding arrangement position in preset importing drawing arrangement position data;
The store path of the part name, the arrangement position and the drawing to be imported is generated figure by step S100 Paper inventory.
In the present embodiment, the arrangement position of each part is set in advance, be can be and is arranged in D CAD, It can be and be arranged in three-dimensional CAD, and save in the database, which connect with D CAD and three-dimensional CAD, i.e., two-dimentional CAD can obtain the arrangement position information in database, and three-dimensional CAD can also obtain the arrangement position information in database.System exists When projecting three-view diagram by three-dimensional part model and export two-dintension CAD drawing, corresponding part name only need to be obtained, according to component name Claim, in preset importing drawing arrangement position data, searches corresponding arrangement position, i.e., three-dimensional CAD is in export D CAD figure When paper, the setting for individually carrying out arrangement position to corresponding part is not needed, but passes through the arrangement position number set in advance According to library, corresponding arrangement position is found, in practical applications, three-dimensional CAD exports two-dintension CAD drawing, the preferably program.Then, The store path of the part name, arrangement position and drawing to be imported is generated drawing list by system.
The present embodiment is exportingWhen two-dintension CAD drawing, it need to can only be arranged in preset importing drawing according to part name Corresponding arrangement position is found in position data, without being separately provided in export, improves the intelligence of CAD diagram paper introduction method Property.
In addition, the embodiment of the present invention also proposes a kind of computer readable storage medium.
It is stored with CAD diagram paper on the computer readable storage medium and imports program, the computer readable storage medium Applied to mobile terminal, the CAD diagram paper imports when program is executed by processor and realizes step as described above.
Computer readable storage medium specific embodiment of the present invention and above-mentioned each embodiment of CAD diagram paper introduction method are basic Identical, details are not described herein.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and And further include the other elements being not explicitly listed, or further include for this process, method, article or system institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that more parking field devices and/or charging equipment (can be with It is mobile phone, computer, server, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of CAD diagram paper introduction method, which is characterized in that the CAD diagram paper introduction method the following steps are included:
Preset the arrangement position of drawing to be imported;
When receiving importing instruction, obtains the importing and instruct corresponding drawing to be imported and first order position;
If first order position is starting point, search with starting point toward whole drawings of preset direction;
If not there is no drawing, the drawing to be imported is imported into the first order position;
Drawing if it exists obtains second order position then according to preset rules, and the drawing to be imported is imported described second Arrangement position.
2. CAD diagram paper introduction method as described in claim 1, which is characterized in that the drawing if it exists, then according to default rule Then, the step of acquisition second order position includes:
Drawing if it exists then obtains in whole drawings, the third of the drawing apart from first order position maximum distance Arrangement position;
Based on the third arrangement position, the preset direction and default drawing spacing, second order position is calculated.
3. CAD diagram paper introduction method as described in claim 1, which is characterized in that the arrangement position for presetting drawing to be imported The step of setting include:
Preset the part name and the corresponding arrangement position of the part name of drawing to be imported.
4. CAD diagram paper introduction method as claimed in claim 3, which is characterized in that it is described when receiving importing instruction, it obtains The importing instructs the step of corresponding drawing to be imported and first order position to include:
When receive import instruction when, obtain importings and instruct corresponding drawing list, the drawing list include described in Import the part name of drawing and the store path of the drawing to be imported;
According to the store path, corresponding drawing to be imported is obtained;
According to the part name, corresponding first order position is searched in preset importing drawing arrangement position data.
5. CAD diagram paper introduction method as described in claim 1, which is characterized in that the arrangement position for presetting drawing to be imported The step of setting include:
When part name is arranged to the part in the corresponding threedimensional model of drawing to be imported, corresponding arrangement is arranged to the part Position, the part name and the arrangement position are stored in the entity attribute of the three-dimensional part model.
6. CAD diagram paper introduction method as claimed in claim 5, which is characterized in that the method also includes:
When projecting three-view diagram and exporting two-dintension CAD drawing three-dimensional part model, by the part name, the arrangement position Drawing list is generated with the store path of the drawing to be imported.
7. CAD diagram paper introduction method as claimed in claim 3, which is characterized in that the method also includes:
When projecting three-view diagram and exporting two-dintension CAD drawing three-dimensional part model, according to the part name, led preset Enter in drawing arrangement position data and searches corresponding arrangement position;
The store path of the part name, the arrangement position and the drawing to be imported is generated into drawing list.
8. such as CAD diagram paper introduction method of any of claims 1-7, which is characterized in that by the figure to be imported After paper imports arrangement position, the method also includes:
Printing picture frame is placed to the drawing to be imported, and receives markup information, the markup information includes size marking information With part material information;
By the part material information indicating into the printing picture frame, and according to the size marking information, to described wait lead The part entered in drawing is labeled.
9. a kind of CAD diagram paper import system, which is characterized in that the CAD diagram paper import system includes memory, processor and deposits The CAD diagram paper that storing up can run on the memory and on the processor imports program, and the CAD diagram paper imports program quilt It realizes when the processor executes such as the step of CAD diagram paper introduction method described in any item of the claim 1 to 8.
10. a kind of computer readable storage medium, which is characterized in that be stored with CAD diagram on the computer readable storage medium Paper imports program, and the CAD diagram paper is imported when program is executed by processor and realized as described in any item of the claim 1 to 8 The step of CAD diagram paper introduction method.
CN201811079853.3A 2018-09-11 2018-09-14 CAD drawing importing method, system and computer readable storage medium Active CN109344468B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811059830 2018-09-11
CN2018110598306 2018-09-11

Publications (2)

Publication Number Publication Date
CN109344468A true CN109344468A (en) 2019-02-15
CN109344468B CN109344468B (en) 2022-11-08

Family

ID=65305148

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811079853.3A Active CN109344468B (en) 2018-09-11 2018-09-14 CAD drawing importing method, system and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109344468B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109918746A (en) * 2019-02-19 2019-06-21 西门子电站自动化有限公司 The method and apparatus for generating bill of materials based on CAD drawing file
CN110826119A (en) * 2019-09-20 2020-02-21 久瓴(上海)智能科技有限公司 Information processing method and device, computer equipment and readable storage medium
CN111506939A (en) * 2020-04-24 2020-08-07 广东博智林机器人有限公司 Garage design method, device, terminal and medium
CN112540963A (en) * 2019-09-20 2021-03-23 久瓴(上海)智能科技有限公司 Information processing method and device, computer equipment and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008021025A (en) * 2006-07-11 2008-01-31 Daiwa House Ind Co Ltd Drawing management system and drawing management method
CN102830979A (en) * 2012-08-30 2012-12-19 江苏省交通科学研究院股份有限公司 CAD (computer-aided design) drawing information batch processing method based on ObjectArx
JP2014067281A (en) * 2012-09-26 2014-04-17 Canon Marketing Japan Inc Information processing system, and method and program of the same
US20160210375A1 (en) * 2015-01-15 2016-07-21 Honeywell International Inc. Generating an image for a building management system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008021025A (en) * 2006-07-11 2008-01-31 Daiwa House Ind Co Ltd Drawing management system and drawing management method
CN102830979A (en) * 2012-08-30 2012-12-19 江苏省交通科学研究院股份有限公司 CAD (computer-aided design) drawing information batch processing method based on ObjectArx
JP2014067281A (en) * 2012-09-26 2014-04-17 Canon Marketing Japan Inc Information processing system, and method and program of the same
US20160210375A1 (en) * 2015-01-15 2016-07-21 Honeywell International Inc. Generating an image for a building management system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109918746A (en) * 2019-02-19 2019-06-21 西门子电站自动化有限公司 The method and apparatus for generating bill of materials based on CAD drawing file
CN110826119A (en) * 2019-09-20 2020-02-21 久瓴(上海)智能科技有限公司 Information processing method and device, computer equipment and readable storage medium
CN112540963A (en) * 2019-09-20 2021-03-23 久瓴(上海)智能科技有限公司 Information processing method and device, computer equipment and readable storage medium
CN111506939A (en) * 2020-04-24 2020-08-07 广东博智林机器人有限公司 Garage design method, device, terminal and medium

Also Published As

Publication number Publication date
CN109344468B (en) 2022-11-08

Similar Documents

Publication Publication Date Title
CN109344468A (en) CAD diagram paper introduction method, system and computer readable storage medium
CN101377787B (en) Image searching device, image searching method
CN103885788B (en) Dynamic WEB 3D virtual reality scene construction method and system based on model componentization
CN107169247A (en) The household profession service platform designed based on 3D clouds
CN103793178B (en) Vector graph editing method of touch screen of mobile device
CN109885626A (en) Urban construction digital archives intelligent management system based on structural data and BIM model
CN107679276B (en) Generation method and device of power system tide wiring diagram and electronic equipment
US20210125144A1 (en) Bill of material conversion method, electronic apparatus and non-transitory computer-readable storage medium
CN106844610B (en) Distributed structured three-dimensional point cloud image processing method and system
CN109636301A (en) Workflow configuration method, system, terminal and the readable storage medium storing program for executing of financial business
CN106296622B (en) Automatic layout jigsaw method and device
CN107480380B (en) A kind of engineering drawing generation method based on template
CN116126809B (en) Building information model data storage conversion method based on national standard
CN108255964B (en) Method for displaying process flow route
CN109670222A (en) A kind of model or the online contrast difference's methods, devices and systems of drawing
CN105677763A (en) Image quality evaluating system based on Hadoop
CN111240736B (en) Model configuration method, device, equipment and storage medium
CN104111769A (en) Method and device for displaying electronic folders
CN105488839A (en) Interactive operation system for three-dimensional scene and operation method thereof
CN103123660A (en) Computer-aided design (CAD) graphical modeling method for software/hardware system
CN101986282B (en) Topology adaptation method and device
CN1752944A (en) Three dimension mode construction software automatic testing method based on script
CN113886910A (en) Method, device and equipment for creating simulation street lamp and readable storage medium
JPH0248774A (en) Data controlling method for cad system
CN107909400A (en) System and method based on commodity price configuration

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