CN111368353A - CAD drawing rollover method, system, device and storage medium - Google Patents

CAD drawing rollover method, system, device and storage medium Download PDF

Info

Publication number
CN111368353A
CN111368353A CN202010107891.6A CN202010107891A CN111368353A CN 111368353 A CN111368353 A CN 111368353A CN 202010107891 A CN202010107891 A CN 202010107891A CN 111368353 A CN111368353 A CN 111368353A
Authority
CN
China
Prior art keywords
component
information
list
generating
layer
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
CN202010107891.6A
Other languages
Chinese (zh)
Other versions
CN111368353B (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.)
Guangzhou Yida Jianxin Technology Development Co Ltd
Original Assignee
Guangzhou Yida Jianxin Technology Development 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 Guangzhou Yida Jianxin Technology Development Co Ltd filed Critical Guangzhou Yida Jianxin Technology Development Co Ltd
Priority to CN202010107891.6A priority Critical patent/CN111368353B/en
Publication of CN111368353A publication Critical patent/CN111368353A/en
Application granted granted Critical
Publication of CN111368353B publication Critical patent/CN111368353B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • General Factory Administration (AREA)

Abstract

The invention discloses a CAD drawing copying method, a system, a device and a storage medium, wherein the method comprises the following steps: importing a drawing and splitting the drawing into a plurality of layers based on preset parameters to obtain layer information; acquiring corresponding component information according to the layer information, setting parent-child nodes for the components in the layer based on the component information, and generating a component family list; and generating a model list based on the component family list of each layer, and generating an example model after confirming list information. The system comprises: an import module, a component module, and a model module. The device comprises a memory and a processor for executing the CAD rollover method. By using the invention, the efficiency and the accuracy of the die turnover can be improved. The CAD drawing rollover method, the CAD drawing rollover system, the CAD drawing rollover device and the CAD drawing rollover storage medium can be widely applied to the drawing rollover field.

Description

CAD drawing rollover method, system, device and storage medium
Technical Field
The invention relates to the field of drawing duplication, in particular to a CAD drawing duplication method, a CAD drawing duplication system, a CAD drawing duplication device and a CAD drawing duplication storage medium.
Background
The existing CAD drawing die-turning function only supports that after a CAD drawing is guided in, die-turning is carried out according to extracted layer information, but the existing die-turning function only carries out integral one-time die-turning on a component, the component cannot be located and checked, whether component information is correct and convenient or not is checked by a subsequent die-turning user without consideration, and component attribution after die-turning cannot be displayed, so that time for checking the component information by modeling personnel is greatly wasted, and the die-turning efficiency is low.
Disclosure of Invention
In order to solve the technical problems, the invention aims to provide a CAD drawing rollover method, a CAD drawing rollover system, a CAD drawing rollover device and a CAD drawing rollover storage medium, which can facilitate a modeling worker to check each single component after drawing rollover, and improve rollover efficiency.
The first technical scheme adopted by the invention is as follows: a CAD drawing die-turning method, a system, a device and a storage medium comprise the following steps:
importing a drawing and splitting the drawing into a plurality of layers based on preset parameters to obtain layer information;
acquiring corresponding component information according to the layer information, setting parent-child nodes for the components in the layer based on the component information, and generating a component family list;
and generating a model list based on the component family list of each layer, and generating an example model after confirming list information.
Further, the step of obtaining corresponding component information according to the layer information, setting parent-child nodes for the components in the layer based on the component information, and generating a component family list specifically includes:
acquiring component information according to the layer information, and creating a father node according to a component name in the component information;
and setting the component with the name corresponding to the parent node as a subordinate child node, and generating a component family list according to the relationship between the subordinate child nodes and the component information.
Further, the step of generating a model list based on the component family list of each layer and generating an instance model after confirming the list information specifically further includes:
generating a model list based on the component family list of each layer and confirming model list information;
and generating component models according to the model list information, and combining the component models to obtain a complete example model.
Further, the step of importing the drawing and splitting the drawing into a plurality of layers based on preset parameters to obtain layer information specifically further includes:
importing a drawing and splitting the drawing into a plurality of layers based on the layer names;
and after the splitting is finished, generating a layer list, and obtaining the corresponding members, member characteristic attributes and calculation floors in the layers.
Further, the step of combining the component models to obtain a complete instance model further includes importing the relationship between the components in the instance model into a component family list for verification, and generating a verification result.
Further, the setting the component with the name corresponding to the parent node as the subordinate child node further comprises generating a model line of the corresponding component on the interface.
Further, the component information includes a component name, a component size, an elevation, a family type, a grade, a belonging layer and a label.
The second technical scheme adopted by the invention is as follows: a CAD drawing rollover system comprises:
the importing module is used for importing a drawing and splitting the drawing into a plurality of layers based on preset parameters to obtain layer information;
the component module is used for acquiring corresponding component information according to the layer information, setting parent-child nodes for the components in the layer based on the component information, and generating a component family list;
and the model module is used for generating a model list based on the component family list of each layer and generating an example model after list information is confirmed.
The third technical scheme adopted by the invention is as follows: a CAD drawing sheet rollover device comprises:
at least one processor;
at least one memory for storing at least one program;
when the at least one program is executed by the at least one processor, the at least one processor is enabled to implement the CAD drawing copying method.
The fourth technical scheme adopted by the invention is as follows: a storage medium having stored therein instructions executable by a processor, the storage medium comprising: the processor-executable instructions, when executed by the processor, are for implementing a CAD drawing copying method as described above.
The method, the system, the device and the storage medium have the advantages that: the invention generates the component information of all components in the process of drawing rollover, sets nodes for the components, can be beneficial to positioning check and modification of the components of modeling personnel, reduces the time for the modeling personnel to check the component information, and improves the rollover efficiency and accuracy.
Drawings
FIG. 1 is a flow chart of the steps of a CAD drawing duplication method of the invention;
FIG. 2 is a structural block diagram of a CAD drawing copying system of the present invention.
Detailed Description
The invention is described in further detail below with reference to the figures and the specific embodiments. The step numbers in the following embodiments are provided only for convenience of illustration, the order between the steps is not limited at all, and the execution order of each step in the embodiments can be adapted according to the understanding of those skilled in the art.
As shown in fig. 1, the invention provides a CAD drawing rollover method, which comprises the following steps:
s101, importing a drawing, splitting the drawing into a plurality of layers based on preset parameters, and obtaining layer information.
Specifically, one drawing or multiple drawings can be introduced as required, multiple tasks are divided according to the names of the drawings, layers are divided according to the names of the layers, a popup identification preview list is generated firstly for identifying each layer, the layer information can comprise a computation floor, component characteristic attributes, the number of components and the like, and component information is generated based on the layers, the set component characteristic attributes and the computation floor.
S102, acquiring corresponding component information according to the layer information, setting parent-child nodes for components under the layer based on the component information, and generating a component family list;
specifically, the parent-child nodes are arranged for generating a list, so that a modeler can conveniently check the relationship of the components, when the component model is not generated, the model lines of the corresponding components can be highlighted by clicking the child nodes, and the information of the corresponding components can be checked by clicking the components in the component family list in a positioning manner.
S103, generating a model list based on the component family list of each layer, and generating an example model after list information is confirmed.
Specifically, after component family lists of all layers in a drawing are generated, the component family lists are summarized to generate a total identification list of the model for previewing the component model, and the components in the identification list are subjected to floor attribution, so that the positioning check and modification of the components can be performed according to the extracted component information.
As a preferred embodiment of the method, the step of obtaining corresponding component information according to the layer information, setting parent-child nodes for components in the layer based on the component information, and generating a component family list specifically includes:
acquiring component information according to the layer information, and creating a father node according to a component name in the component information;
and setting the component with the name corresponding to the parent node as a subordinate child node, and generating a component family list according to the relationship between the subordinate child nodes and the component information.
Specifically, one subordinate child node corresponds to one component, when a model is not generated, a component model line is correspondingly generated, a subordinate child node, which is a component solved in the component family list, is highlighted at the position of the corresponding component, and the component is highlighted when the child node is clicked after the model is generated.
As a further preferred embodiment of the method, the step of generating a model list based on the component family list of each layer, and generating an example model after confirming the list information specifically includes:
generating a model list based on the component family list of each layer and confirming model list information;
and generating component models according to the model list information, and combining the component models to obtain a complete example model.
Specifically, in the model list, after the information is determined to be correct, a single component or multiple components can be selected to generate the component instance model, or the full-layer full component is directly selected to generate, so that the complete instance model is directly obtained.
As a preferred embodiment of the method, the step of importing a drawing and splitting the drawing into a plurality of layers based on preset parameters to obtain layer information specifically includes:
importing a drawing and splitting the drawing into a plurality of layers based on the layer names;
and after the splitting is finished, generating a layer list, and obtaining the corresponding members, member characteristic attributes and calculation floors in the layers.
Further, as a preferred embodiment of the method, the step of combining the component models to obtain a complete instance model further includes the step of importing the relationship between the components in the instance model into a component family list for verification, and generating a verification result.
Specifically, splitting the drawing based on the name of the layer is the simplest splitting mode, splitting rules such as layer creation time and the like can be selected according to needs, finally, the steps of returning the components in the complete example to the step after the drawing is imported are carried out, and the relationship among the nodes of the components and whether the component information is correct are re-verified according to the computation floor in the component information, so that the method can automatically carry out preliminary inspection on the generated example model.
Further as a preferred embodiment of the method, the setting the component with the name corresponding to the parent node as the subordinate child node further includes generating a model line of the corresponding component on the interface.
Further as a preferred embodiment of the method, the component information includes a component name, a component size, an elevation, a family type, a grade, a layer to which the component belongs, and a label.
Specifically, the model line of the component is used for previewing by a modeling worker when the component model is not generated, trimming can be performed in advance when obvious errors occur, the modeling efficiency is further improved, and a corresponding component family list is generated aiming at the component information, wherein the component information can also comprise remarks of the modeling worker on the component.
The specific embodiment of the invention is as follows:
importing a CAD drawing needing to be modeled, splitting the drawing into a plurality of layers, extracting layer information, generating a layer preview list, obtaining subordinate component information of each layer according to the layer information, creating a father node according to the component name in the component information, setting a component with the name corresponding to the father node as a subordinate child node, wherein each child node corresponds to a component, generating a model line of the component as a preview, clicking the child node to highlight the model line at the position corresponding to the component, generating a component family list according to the relationship of the component nodes and the component information, displaying the characteristic attributes of the component, such as the name, the family type and remark, finally summarizing the component family list of each layer, generating a model list of the drawing, determining that the list information is correct, generating a component example model by a single component or a plurality of components, or directly selecting the whole component generation of the layers, and a complete instance model is directly generated, and the layer and the computation floor to which the entity component belongs are subjected to attribution according to rules, so that the modification and the arrangement of subsequent components are facilitated.
As shown in fig. 2, a CAD drawing sheet copying system includes:
the importing module is used for importing a drawing and splitting the drawing into a plurality of layers based on preset parameters to obtain layer information;
the component module is used for acquiring corresponding component information according to the layer information, setting parent-child nodes for the components in the layer based on the component information, and generating a component family list;
and the model module is used for generating a model list based on the component family list of each layer and generating an example model after list information is confirmed.
Further in accordance with a preferred embodiment of the present system, the component module further comprises:
the father node submodule is used for acquiring component information according to the layer information and creating a father node according to a component name in the component information;
and the child node submodule is used for setting the component with the name corresponding to the father node as a subordinate child node and generating a component family list according to the relationship between the subordinate child nodes and the component information.
Further as a preferred embodiment of the present system, the model module further comprises:
and the list submodule is used for generating a model list based on the component family list of each layer and confirming model list information.
And the combination submodule is used for generating component models according to the model list information and combining the component models to obtain a complete example model.
As a further preferred embodiment of the present system, the importing module further includes:
and the splitting submodule is used for importing the drawing and splitting the drawing into a plurality of layers based on the layer names.
And the layer submodule is used for generating a layer list after the resolution is finished and obtaining the corresponding members, member characteristic attributes and calculated floors in the layer.
The contents in the above method embodiments are all applicable to the present system embodiment, the functions specifically implemented by the present system embodiment are the same as those in the above method embodiment, and the beneficial effects achieved by the present system embodiment are also the same as those achieved by the above method embodiment.
A CAD drawing mold overturning processing device:
at least one processor;
at least one memory for storing at least one program;
when the at least one program is executed by the at least one processor, the at least one processor is enabled to implement the CAD drawing copying method.
The contents in the above method embodiments are all applicable to the present apparatus embodiment, the functions specifically implemented by the present apparatus embodiment are the same as those in the above method embodiments, and the advantageous effects achieved by the present apparatus embodiment are also the same as those achieved by the above method embodiments.
A storage medium having stored therein instructions executable by a processor, the storage medium comprising: the processor-executable instructions, when executed by the processor, are for implementing a CAD drawing copying method as described above.
The contents in the above method embodiments are all applicable to the present storage medium embodiment, the functions specifically implemented by the present storage medium embodiment are the same as those in the above method embodiments, and the advantageous effects achieved by the present storage medium embodiment are also the same as those achieved by the above method embodiments.
While the preferred embodiments of the present invention have been illustrated and described, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A CAD drawing rollover method is characterized by comprising the following steps:
importing a drawing and splitting the drawing into a plurality of layers based on preset parameters to obtain layer information;
acquiring corresponding component information according to the layer information, setting parent-child nodes for the components in the layer based on the component information, and generating a component family list;
and generating a model list based on the component family list of each layer, and generating an example model after confirming list information.
2. The CAD drawing rollover method according to claim 1, wherein the step of obtaining corresponding component information according to the layer information, setting parent-child nodes for components under the layer based on the component information, and generating a component family list specifically includes:
acquiring component information according to the layer information, and creating a father node according to a component name in the component information;
setting the component with the name corresponding to the father node as a subordinate child node, and generating a component family list according to the relationship between the subordinate child nodes and the component information;
3. the CAD drawing copying method according to claim 2, wherein the step of generating a model list based on the component family list of each layer and generating an instance model after confirming list information further comprises:
generating a model list based on the component family list of each layer and confirming model list information;
and generating component models according to the model list information, and combining the component models to obtain a complete example model.
4. The CAD drawing rollover method according to claim 1, wherein the step of importing the drawing and splitting the drawing into a plurality of layers based on preset parameters to obtain layer information specifically comprises:
importing a drawing and splitting the drawing into a plurality of layers based on the layer names;
and after the splitting is finished, generating a layer list, and obtaining the corresponding members, member characteristic attributes and calculation floors in the layers.
5. The method for rollover of a CAD drawing according to claim 3, wherein said combining component models to obtain a complete instance model further comprises importing relationships between components in the instance model into a component family list for verification and generating a verification result.
6. The CAD drawing rollover method according to claim 2, characterized in that: the setting the component with the name corresponding to the parent node as the subordinate child node further comprises generating a model line of the corresponding component on the interface.
7. The CAD drawing rollover method according to claim 2, characterized in that: the component information comprises component names, component sizes, elevations, family types, grades, layers and labels.
8. The CAD drawing rollover system is characterized in that: the method comprises the following steps:
the importing module is used for importing a drawing and splitting the drawing into a plurality of layers based on preset parameters to obtain layer information;
the component module is used for acquiring corresponding component information according to the layer information, setting parent-child nodes for the components in the layer based on the component information, and generating a component family list;
and the model module is used for generating a model list based on the component family list of each layer and generating an example model after list information is confirmed.
9. The utility model provides a CAD drawing turns over mould device which characterized in that: further comprising:
at least one processor;
at least one memory for storing at least one program;
when executed by the at least one processor, cause the at least one processor to implement a CAD drawing overmolded method as recited in any of claims 1-7.
10. A storage medium having stored therein instructions executable by a processor, the storage medium comprising: the processor-executable instructions, when executed by the processor, are for implementing a CAD drawing overmolded method as recited in any of claims 1-7.
CN202010107891.6A 2020-02-21 2020-02-21 CAD drawing die turning method, system, device and storage medium Active CN111368353B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010107891.6A CN111368353B (en) 2020-02-21 2020-02-21 CAD drawing die turning method, system, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010107891.6A CN111368353B (en) 2020-02-21 2020-02-21 CAD drawing die turning method, system, device and storage medium

Publications (2)

Publication Number Publication Date
CN111368353A true CN111368353A (en) 2020-07-03
CN111368353B CN111368353B (en) 2023-10-20

Family

ID=71208232

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010107891.6A Active CN111368353B (en) 2020-02-21 2020-02-21 CAD drawing die turning method, system, device and storage medium

Country Status (1)

Country Link
CN (1) CN111368353B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112258634A (en) * 2020-10-23 2021-01-22 网易(杭州)网络有限公司 Virtual building processing method, device, equipment and storage medium
CN113377708A (en) * 2021-06-09 2021-09-10 深圳须弥云图空间科技有限公司 Method and device for converting two-dimensional design drawing into three-dimensional design drawing

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11120385A (en) * 1997-10-20 1999-04-30 Hitachi Ltd Two-dimensional and three-dimensional integrated type cad system and storage medium where drawing generating program is recorded
JP2002202999A (en) * 2000-12-28 2002-07-19 Kozo Keikaku Engineering Inc Cad drafting system and its method
US6898560B1 (en) * 1999-06-02 2005-05-24 Solidworks Corporation Maintaining a computer-generated design model
CN105653284A (en) * 2015-12-29 2016-06-08 Tcl集团股份有限公司 Method and device for generating scene file of android platform
CN109215115A (en) * 2018-08-21 2019-01-15 天职工程咨询股份有限公司 It is a kind of to identify method, system, terminal and the medium for carrying out 3D modeling by drawing
CN109816772A (en) * 2018-12-28 2019-05-28 南京维伍网络科技有限公司 A kind of processing method quickly generating virtual reality scenario by CAD house type file
CN110704907A (en) * 2019-09-18 2020-01-17 贵州匠人筑造工程咨询有限公司 BIM-based fabricated floor design method and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11120385A (en) * 1997-10-20 1999-04-30 Hitachi Ltd Two-dimensional and three-dimensional integrated type cad system and storage medium where drawing generating program is recorded
US6898560B1 (en) * 1999-06-02 2005-05-24 Solidworks Corporation Maintaining a computer-generated design model
JP2002202999A (en) * 2000-12-28 2002-07-19 Kozo Keikaku Engineering Inc Cad drafting system and its method
CN105653284A (en) * 2015-12-29 2016-06-08 Tcl集团股份有限公司 Method and device for generating scene file of android platform
CN109215115A (en) * 2018-08-21 2019-01-15 天职工程咨询股份有限公司 It is a kind of to identify method, system, terminal and the medium for carrying out 3D modeling by drawing
CN109816772A (en) * 2018-12-28 2019-05-28 南京维伍网络科技有限公司 A kind of processing method quickly generating virtual reality scenario by CAD house type file
CN110704907A (en) * 2019-09-18 2020-01-17 贵州匠人筑造工程咨询有限公司 BIM-based fabricated floor design method and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112258634A (en) * 2020-10-23 2021-01-22 网易(杭州)网络有限公司 Virtual building processing method, device, equipment and storage medium
CN112258634B (en) * 2020-10-23 2023-08-08 网易(杭州)网络有限公司 Virtual building processing method, device, equipment and storage medium
CN113377708A (en) * 2021-06-09 2021-09-10 深圳须弥云图空间科技有限公司 Method and device for converting two-dimensional design drawing into three-dimensional design drawing

Also Published As

Publication number Publication date
CN111368353B (en) 2023-10-20

Similar Documents

Publication Publication Date Title
CN106777808B (en) Network resource generation method based on standardized CAD drawing
EP3451206B1 (en) Method, apparatus, and device for generating a visual model layout of a space
WO2022061518A1 (en) Method and apparatus for generating and utilizing knowledge graph of manufacturing simulation model
CN111368353A (en) CAD drawing rollover method, system, device and storage medium
US10417924B2 (en) Visual work instructions for assembling product
CN102999524A (en) Method and system for searching document association
CN111612686B (en) Structure mapping method from EBOM to PBOM
CN110222407A (en) A kind of fusion method and device of BIM data
US20070038329A1 (en) System, method, and article of manufacture for determining a process plan for forming features in a part
CN108766513B (en) Intelligent health medical data structured processing system
CN115033936B (en) Material model management method for SolidWorks system
CN106776275A (en) A kind of testing process automatic generation method based on Packet Multiplexing
US10055811B2 (en) System and method for generating interactive 2D projection of 3D model
CN115599908A (en) Method and system for labeling unstructured data document
CN110333906B (en) Method, system, device and storage medium for rapidly processing reserved equipment
US8332812B2 (en) Method of exchanging data and control methods between software components and re-useable software components
CN113127408A (en) Data conversion method and device
TW201327432A (en) Scalable order data validation method
WO2022246830A1 (en) Product production management system, method, server, and storage medium
CN105718252B (en) Realize the method and system for recording separately retrography
JP7220821B1 (en) Design support system and program for heterogeneous CAD cooperation
CN115017138B (en) Personnel planning state digital twin method, device and equipment
KR20180076251A (en) Management system for drawing
CN107908813B (en) Urban planning digital terrain parameterization processing method based on ObjectARX
CN114330268A (en) Document generation method and device, electronic equipment and computer readable storage medium

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