CN117972820A - CAD drawing processing method and device and electronic equipment - Google Patents

CAD drawing processing method and device and electronic equipment Download PDF

Info

Publication number
CN117972820A
CN117972820A CN202410147190.3A CN202410147190A CN117972820A CN 117972820 A CN117972820 A CN 117972820A CN 202410147190 A CN202410147190 A CN 202410147190A CN 117972820 A CN117972820 A CN 117972820A
Authority
CN
China
Prior art keywords
parts
cad
information
list
types
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.)
Pending
Application number
CN202410147190.3A
Other languages
Chinese (zh)
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.)
Caxa Technology Co Ltd
Original Assignee
Caxa 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 Caxa Technology Co Ltd filed Critical Caxa Technology Co Ltd
Priority to CN202410147190.3A priority Critical patent/CN117972820A/en
Publication of CN117972820A publication Critical patent/CN117972820A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application discloses a CAD drawing processing method and device and electronic equipment. The method comprises the following steps: acquiring N types of CAD drawings of a target product; s first parts and T second parts are obtained from N types of CAD drawings; s first parts are converted into a first part list, classification processing is carried out on each second part, and category information of each second part is determined; and converting the T second parts into a second part list based on the category information of each second part, and determining a target part list corresponding to the target product based on the first part list and the second part list. The application solves the problem that the conversion logic of a set of part list is specially designed for CAD drawings generated by different types of CAD software in the related technology, so that the efficiency of converting the CAD drawings of different types of the same product into the part list of the product is lower.

Description

CAD drawing processing method and device and electronic equipment
Technical Field
The application relates to the technical field of computers, in particular to a CAD drawing processing method and device and electronic equipment.
Background
At present, most CAD drawing processing devices in the related art need special processing aiming at characteristics of different CAD drawings, namely, special processing logic is required to be designed for each CAD drawing. For example, when designing logic for processing a certain type of three-dimensional drawing, processing logic of special parts such as mirror image parts, virtual parts, compression parts and the like in the drawing needs to be considered separately in addition to processing common parts, so that the CAD drawing processing device needs to design processing logic separately for each CAD. For example, fig. 1 is a schematic diagram of a CAD drawing processing apparatus according to the prior art, as shown in fig. 1, in the related art, a set of parts BOM conversion logic needs to be specially designed for each CAD drawing, the part information in each CAD drawing is divided into a normal part and a special part, and then the normal part and the special part are separately processed in the processing logic of each CAD drawing. However, since CAD software is numerous and the characteristics of different CAD drawings are difficult to be compatible, the CAD drawing processing device has poor compatibility with special parts of different CAD, and the development difficulty and development workload of the CAD processing device are huge, and a large number of codes are required to be added for supporting one CAD drawing every time, which is time-consuming and laborious, and results in high system cost and poor scalability. Meanwhile, the development efficiency of the CAD drawing processing device is low.
Aiming at the problem that in the related art, a set of conversion logic of a part list is specially designed for CAD drawings generated by different types of CAD software, so that the efficiency of converting the CAD drawings of different types of the same product into the part list of the product is low, no effective solution is proposed at present.
Disclosure of Invention
The application mainly aims to provide a processing method and device of CAD drawings and electronic equipment, and aims to solve the problem that in the related art, a set of conversion logic of a part list is specially designed for CAD drawings generated by different types of CAD software, so that the efficiency of converting the CAD drawings of different types of the same product into the part list of the product is low.
In order to achieve the above object, according to one aspect of the present application, there is provided a method for processing CAD drawings. The method comprises the following steps: obtaining N types of CAD drawings of a target product, wherein the N types of CAD drawings are drawings generated by utilizing different types of CAD software, and N is a positive integer; s first parts and T second parts are obtained from the N types of CAD drawings, wherein the first parts are parts without identification information, the second parts are parts with identification information, and S and T are positive integers; converting the S first parts into a first part list, classifying each second part, and determining class information of each second part; and converting the T second parts into a second part list based on the category information of each second part, and determining a target part list corresponding to the target product based on the first part list and the second part list.
Further, classifying each second part, and determining category information of each second part includes: acquiring a processing strategy corresponding to each type of second part in the T second parts; determining processing logic for processing each second part based on the processing strategy corresponding to each type of second part; based on the processing logic that processes each second part, a categorization process is performed on each second part, determining category information for each second part.
Further, obtaining the processing strategy corresponding to each type of second part in the T second parts includes: acquiring type information corresponding to each second part in the T second parts; determining K types of second parts according to the type information corresponding to each second part, wherein K is a positive integer; and acquiring a processing strategy corresponding to each type of second part in the T second parts based on the K types of second parts.
Further, converting the T second parts into a second parts list based on the category information of each second part includes: acquiring attribute information of each second part, and acquiring upper and lower relationships among parts in the T second parts; and converting the T second parts into the second part list based on the attribute information of each second part, the upper-lower relationship among the parts in the T second parts and the category information of each second part.
Further, obtaining S first parts and T second parts from the N types of CAD drawings includes: m parts are obtained from the N types of CAD drawings, and identification information of each part is obtained, wherein M is a positive integer greater than 1; determining parts without identification information in the M parts according to the identification information of each part, and taking the parts without identification information in the M parts as the S first parts; and determining the parts with the identification information in the M parts, and taking the parts with the identification information in the M parts as the T second parts.
Further, converting the S first parts to a first part list includes: acquiring attribute information of each first part, and acquiring upper and lower relationships among parts in the S first parts; and converting the S first parts into the first part list through a target plug-in based on the attribute information of each first part and the upper-lower relation between the parts in the S first parts.
Further, obtaining the N types of CAD drawings of the target product comprises: acquiring Y CAD drawing files corresponding to the target product, wherein Y is a positive integer greater than 1; analyzing each CAD drawing file to obtain suffix information of each CAD drawing file; determining the type information of each CAD drawing file according to the suffix information of each CAD drawing file; and acquiring the N types of CAD drawings of the target product based on the type information of each CAD drawing file.
Further, after determining a target part list corresponding to the target product based on the first part list and the second part list, the method further includes: generating structural information of parts in the target product based on the target part list; and storing the structural information of the parts in the target product into a product structural tree of the target product, and displaying the product structural tree to a target object.
In order to achieve the above object, according to another aspect of the present application, there is provided a processing apparatus for CAD drawings. The device comprises: the first acquisition unit is used for acquiring N types of CAD drawings of a target product, wherein the N types of CAD drawings are drawings generated by utilizing different types of CAD software, and N is a positive integer; the second acquisition unit is used for acquiring S first parts and T second parts from the N types of CAD drawings, wherein the first parts are parts without identification information, the second parts are parts with identification information, and S and T are positive integers; the first processing unit is used for converting the S first parts into a first part list, classifying each second part and determining the category information of each second part; and the second processing unit is used for converting the T second parts into a second part list based on the category information of each second part and determining a target part list corresponding to the target product based on the first part list and the second part list.
Further, the first processing unit includes: the first acquisition module is used for acquiring a processing strategy corresponding to each type of second parts in the T second parts; the first determining module is used for determining processing logic for processing each second part based on the corresponding processing strategy of each type of second part; and the first processing module is used for classifying each second part based on processing logic for processing each second part and determining the category information of each second part.
Further, the first acquisition module includes: the first acquisition submodule is used for acquiring type information corresponding to each second part in the T second parts; the first determining submodule is used for determining K types of second parts according to the type information corresponding to each second part, wherein K is a positive integer; and the second acquisition submodule is used for acquiring the processing strategy corresponding to each type of second part in the T second parts based on the K types of second parts.
Further, the second processing unit includes: the second acquisition module is used for acquiring attribute information of each second part and acquiring the upper-lower relationship between the parts in the T second parts; the first conversion module is used for converting the T second parts into the second part list based on the attribute information of each second part, the upper-lower level relation among the parts in the T second parts and the category information of each second part.
Further, the second acquisition unit includes: the third acquisition module is used for acquiring M parts from the N types of CAD drawings and acquiring identification information of each part, wherein M is a positive integer greater than 1; the second determining module is used for determining parts without identification information in the M parts according to the identification information of each part, and taking the parts without identification information in the M parts as the S first parts; and the third determining module is used for determining the parts with the identification information in the M parts and taking the parts with the identification information in the M parts as the T second parts.
Further, the first processing unit includes: a fourth obtaining module, configured to obtain attribute information of each first part, and obtain a superior-subordinate relationship between parts in the S first parts; and the second conversion module is used for converting the S first parts into the first part list through a target plug-in based on the attribute information of each first part and the upper-lower relationship between the parts in the S first parts.
Further, the first acquisition unit includes: a fifth obtaining module, configured to obtain Y CAD drawing files corresponding to the target product, where Y is a positive integer greater than 1; the second processing module is used for analyzing each CAD drawing file to obtain suffix information of each CAD drawing file; the fourth determining module is used for determining the type information of each CAD drawing file according to the suffix information of each CAD drawing file; and a sixth acquisition module, configured to acquire the N types of CAD drawings of the target product based on the type information of each CAD drawing file.
Further, the apparatus further comprises: a first generating unit, configured to generate structural information of parts in the target product based on the target part list after determining the target part list corresponding to the target product based on the first part list and the second part list; and the third processing unit is used for storing the structural information of the parts in the target product into a product structural tree of the target product and displaying the product structural tree to a target object.
In order to achieve the above object, according to another aspect of the present application, there is provided an electronic device including one or more processors and a memory for storing one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method for processing CAD drawings of any one of the above.
According to the application, the following steps are adopted: obtaining N types of CAD drawings of a target product, wherein the N types of CAD drawings are drawings generated by using different types of CAD software, and N is a positive integer; s first parts and T second parts are obtained from N types of CAD drawings, wherein the first parts are parts without identification information, the second parts are parts with identification information, and S and T are positive integers; s first parts are converted into a first part list, classification processing is carried out on each second part, and category information of each second part is determined; based on the category information of each second part, T second parts are converted into a second part list, and a target part list corresponding to a target product is determined based on the first part list and the second part list, so that the problem that in the related art, conversion logic of a set of part list is specially designed for CAD drawings generated by different types of CAD software, and the efficiency of converting the CAD drawings of the same product into the part list of the product is low is solved. The method comprises the steps of classifying special pieces in all CAD drawings of different types into special abstract concepts of several types in advance, determining the abstract category of the special piece in the CAD drawings of the target product according to the special abstract concepts of the several types in advance, obtaining a part list corresponding to the special piece in the CAD drawings according to the abstract category of the special piece in the CAD drawings of the target product, and determining the part list of the target product according to the part list corresponding to the common piece and the part list corresponding to the special piece in the CAD drawings, so that a set of conversion logic of the part list does not need to be specially designed for the CAD drawings generated by CAD software of different types, and the effect of improving the efficiency of converting the CAD drawings of different types of the same product into the part list of the product is achieved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application. In the drawings:
FIG. 1 is a schematic diagram of a CAD drawing processing apparatus provided according to the prior art;
FIG. 2 is a flowchart I of a method for processing CAD drawings provided according to an embodiment of the present application;
FIG. 3 is a second flowchart of a method for processing CAD drawings according to an embodiment of the present application;
fig. 4 is a flowchart III of a method for processing a CAD drawing provided according to an embodiment of the present application;
fig. 5 is a schematic diagram of a processing device for CAD drawings provided according to an embodiment of the present application;
fig. 6 is a schematic diagram of an electronic device according to an embodiment of the present application.
Detailed Description
It should be noted that, without conflict, the embodiments of the present application and features of the embodiments may be combined with each other. The application will be described in detail below with reference to the drawings in connection with embodiments.
In order that those skilled in the art will better understand the present application, a technical solution in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present application without making any inventive effort, shall fall within the scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate in order to describe the embodiments of the application herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that, related information (including, but not limited to, user equipment information, user personal information, etc.) and data (including, but not limited to, data for presentation, analyzed data, etc.) related to the present disclosure are information and data authorized by a user or sufficiently authorized by each party. For example, an interface is provided between the system and the relevant user or institution, before acquiring the relevant information, the system needs to send an acquisition request to the user or institution through the interface, and acquire the relevant information after receiving the consent information fed back by the user or institution.
The present application will be described with reference to preferred implementation steps, and fig. 2 is a flowchart of a method for processing a CAD drawing provided according to an embodiment of the present application, as shown in fig. 2, and the method includes the steps of:
step S201, obtaining N types of CAD drawings of a target product, wherein the N types of CAD drawings are drawings generated by using different types of CAD software, and N is a positive integer.
For example, the CAD drawing may be a three-dimensional drawing generated by CAD (Computer-AIDED DESIGN) tool software, and the CAD software may be three-dimensional design software, for example, the three-dimensional design software may be CAXA physical design software (a set of three-dimensional design software for industry), or the like. In addition, the N types of CAD drawings may be three-dimensional drawings generated using different types of three-dimensional design software (corresponding to the CAD software) corresponding to the product (corresponding to the target product).
Step S202, S first parts and T second parts are obtained from N types of CAD drawings, wherein the first parts are parts without identification information, the second parts are parts with identification information, and S and T are positive integers.
For example, model information of CAD drawings (corresponding to the above-described N types of CAD drawings) may be acquired by an SDK (Software Development Kit ) provided by CAD software, and common part information (corresponding to the above-described first part) and special part information (corresponding to the above-described second part) thereof (corresponding to the above-described N types of CAD drawings) are distinguished. Moreover, the model information of the CAD drawing may be the identification information, the attribute information, the upper-lower relationship between the parts, and the like of each part in the CAD drawing, and then all parts without the identification in the CAD drawing may be used as the normal parts (corresponding to the first parts described above) and all parts with the identification in the CAD drawing may be used as the special parts (corresponding to the second parts described above) according to the identification information of each part in the CAD drawing.
And step S203, converting the S first parts into a first part list, classifying each second part, and determining the category information of each second part.
For example, common parts (corresponding to the first part) in different types of CAD drawings can be directly converted into parts BOM (Bill of Materials ) through the plug-in (corresponding to the first part list); the specific parts (corresponding to the second parts) in the CAD drawings of different types can then be converted into specific abstract concepts (corresponding to the category information of the second parts) by the processing logic according to the configuration determination processing logic.
Step S204, converting the T second parts into a second part list based on the category information of each second part, and determining a target part list corresponding to the target product based on the first part list and the second part list.
For example, the abstract concept of a special part (corresponding to the second part) may be converted into a part BOM (corresponding to the second part list), and then the part BOM (corresponding to the first part list) of the normal part (corresponding to the first part list) and the part BOM (corresponding to the second part list) of the special part (corresponding to the second part) may be summarized together to obtain the target part list corresponding to the target product.
Through the steps S201 to S204, the special parts in all the CAD drawings of different types are classified into the special abstract concepts of several types in advance, then the abstract category to which the special part in the CAD drawing of the target product belongs is determined according to the special abstract concepts of several types in advance, then the part list corresponding to the special part in the CAD drawing is obtained according to the abstract category to which the special part in the CAD drawing of the target product belongs, and then the part list of the target product is determined according to the part list corresponding to the common part in the CAD drawing and the part list corresponding to the special part, so that the conversion logic of a set of part list can be specially designed for the CAD drawings generated by CAD software of different types, and further the effect of improving the efficiency of converting the CAD drawings of different types of the same product into the part list of the product is achieved.
Optionally, in the method for processing CAD drawings provided by the embodiment of the present application, obtaining N types of CAD drawings of a target product includes: y CAD drawing files corresponding to a target product are obtained, wherein Y is a positive integer greater than 1; analyzing each CAD drawing file to obtain suffix information of each CAD drawing file; determining the type information of each CAD drawing file according to the suffix information of each CAD drawing file; based on the type information of each CAD drawing file, N types of CAD drawings of the target product are obtained.
For example, the above Y CAD drawing files may be CAD drawing selected by the user to be extracted, then each CAD drawing file may be parsed to obtain a suffix of the drawing file, and then CAD types to which the drawing (corresponding to the above CAD drawing) belongs are distinguished according to the file suffix.
In summary, according to the suffix information of the CAD drawing file, the type of the CAD drawing can be rapidly and accurately distinguished.
Optionally, in the method for processing CAD drawings provided by the embodiment of the present application, acquiring S first parts and T second parts from the N types of CAD drawings includes: m parts are obtained from N types of CAD drawings, and identification information of each part is obtained, wherein M is a positive integer greater than 1; determining parts without identification information in the M parts according to the identification information of each part, and taking the parts without identification information in the M parts as S first parts; and determining the part with the identification information in the M parts, and taking the part with the identification information in the M parts as T second parts.
For example, the plug-in for processing the drawing may be selected according to the CAD type to which each drawing (corresponding to the CAD drawing described above) belongs, and then the plug-in may be processed by the CAD drawing to distinguish the parts into a normal part and a special part. For example, the identification information of each part can be obtained through a CAD drawing processing plug-in, all parts without the identification in the CAD drawing are used as common parts (corresponding to the first part), and all parts with the identification in the CAD drawing are used as special parts (corresponding to the second part).
By the scheme, the common part information and the special part information in the CAD drawing can be rapidly and accurately distinguished.
Optionally, in the method for processing a CAD drawing provided by the embodiment of the present application, converting S first parts into the first part list includes: acquiring attribute information of each first part, and acquiring upper and lower relationships among parts in the S first parts; the S first parts are converted into a first part list by the target plugin based on the attribute information of each first part and the upper-lower relationship between the parts in the S first parts.
For example, the attribute information of the first parts may be information such as a length, a weight, and a number of each common part (corresponding to each of the first parts) in the CAD drawing, and the upper-lower relationship between the parts in the S first parts may be an upper-lower relationship between the common parts (corresponding to the first parts) in the CAD drawing. For example, two common parts, namely a common part a and a common part B, exist in the CAD drawing, and if it is determined that the common part a includes the common part B, the common part a may be used as an upper part of the common part B, and the common part B may be used as a lower part of the common part a. The common parts (corresponding to the first parts) can directly pass through the plug-in (corresponding to the target plug-in), and the common parts (corresponding to the first parts) can be converted into the parts BOM (corresponding to the first parts list) according to the obtained information such as the length, the weight, the number and the like of the common parts (corresponding to the first parts) and the upper-lower relationship among the common parts (corresponding to the first parts).
In summary, the common part can be conveniently converted into the part BOM through the plug-in unit.
Optionally, in the processing method of CAD drawings provided in the embodiment of the present application, classifying each second part, and determining the category information of each second part includes: acquiring a processing strategy corresponding to each type of second part in the T second parts; determining processing logic for processing each second part based on the processing strategy corresponding to each type of second part; based on the processing logic that processes each second part, a categorization process is performed on each second part, determining category information for each second part.
For example, a particular part (corresponding to the second part described above) may be configured (corresponding to the processing policy described above) to determine processing logic, which may then be converted to a particular abstract concept (corresponding to the class information of the second part described above). Moreover, the processing strategy may be to categorize specific parts (corresponding to the second part) in all CAD into several specific abstract concepts, for example, mirror parts in one three-dimensional design software and mirror parts in another three-dimensional design software (such as entity design software), which may all be categorized as "mirror parts"; a compression element in three-dimensional design software and a non-drawing element in another three-dimensional design software (e.g., physical design software) may both be categorized as a "compression element". For example, if it is determined that the type of special part (corresponding to the second part) in the CAD drawing is a mirror part in three-dimensional design software, the special part (corresponding to the second part) may be classified as a "mirror part".
By the scheme, abstract category information corresponding to the special part can be rapidly and accurately determined according to the configuration information.
Optionally, in the processing method of a CAD drawing provided by the embodiment of the present application, the obtaining a processing policy corresponding to each type of second part in the T second parts includes: acquiring type information corresponding to each second part in the T second parts; determining K types of second parts according to the type information corresponding to each second part, wherein K is a positive integer; and acquiring a processing strategy corresponding to each type of second part in the T second parts based on the K types of second parts.
For example, classifying all special parts (corresponding to the second part) in CAD as several special abstract concepts (corresponding to the class information of the second part), such as mirror parts in one three-dimensional design software and mirror parts in another three-dimensional design software (such as entity design software), may be classified as "mirror parts"; a compression element in three-dimensional design software and a non-drawing element in another three-dimensional design software (e.g., physical design software) may both be categorized as a "compression element". In addition, as the types of CAD special parts to be supported are more and more, the function of converting various CAD special parts into abstract concepts is only needed to be realized, and the abstract concepts are loaded into a CAD drawing processing device through strategy configuration. For example, if the type of the special part (corresponding to the second part) in the CAD drawing is determined to be a mirror image part in the three-dimensional design software, the type of the special part (corresponding to the second part) may be determined, the processing policy corresponding to the special part (corresponding to the second part) may be determined, and the special part (corresponding to the second part) may be classified as an abstract concept according to the processing policy.
By the scheme, the processing strategy corresponding to the special part in the CAD drawing can be rapidly and accurately determined.
Optionally, in the processing method of CAD drawings provided in the embodiment of the present application, converting T second parts into the second part list based on the category information of each second part includes: acquiring attribute information of each second part, and acquiring upper and lower relationships among parts in the T second parts; the T second parts are converted into a second parts list based on the attribute information of each second part, the upper and lower relationships between the parts in the T second parts, and the category information of each second part.
For example, an abstract of a particular part (corresponding to each of the second parts described above) (corresponding to class information of the second parts described above) may be translated into a part BOM (corresponding to the second parts list described above). For example, the attribute information of the second parts may be information such as a length, a weight, and a number of each specific part (corresponding to each of the second parts) in the CAD drawing, and the upper-lower relationship between the parts in the T second parts may be an upper-lower relationship between the specific parts (corresponding to the second parts) in the CAD drawing. For example, two special parts, namely a special part a and a special part B, exist in the CAD drawing, and if it is determined that the special part a includes the special part B, the special part a may be used as an upper part of the special part B, and the special part B may be used as a lower part of the special part a. The specific part (corresponding to the second part) may then be converted into a part BOM (corresponding to the second part list) according to the obtained information such as the length, weight, number, etc. of the specific part (corresponding to the second part), the upper and lower relationships between the specific parts (corresponding to the second parts), and the abstract concept (corresponding to each of the second parts) of the specific part (corresponding to the category information of the second part).
In summary, the specific part can be quickly and accurately converted into the part BOM according to the abstract concept.
Optionally, in the method for processing a CAD drawing provided in the embodiment of the present application, after determining, based on the first part list and the second part list, a target part list corresponding to a target product, the method further includes: generating structural information of parts in a target product based on the target part list; and storing the structural information of the parts in the target product into a product structural tree of the target product, and displaying the product structural tree to the target object.
For example, all parts BOM (corresponding to the target parts list) may be structured and saved to a product structure tree (corresponding to the product structure tree of the target product), which may then be presented to a person (corresponding to the target object) who needs to use the part BOM (corresponding to the target product) of the product (corresponding to the target product).
Through the scheme, the product structure tree corresponding to the product can be obtained rapidly and accurately.
For example, the embodiment provides a method and a device for processing universal CAD drawings, from the mechanical design point of view, firstly constructing model concepts, then classifying the characteristics of different CAD drawings into the model concepts, and converting the characteristics into universal models by using the drawing data processing interface of CAD itself, so as to implement compatibility of the characteristics of different CAD drawings, improve the development efficiency of the device, reduce the development cost, and greatly improve the expandability of the device.
In this embodiment, from the actual needs and application situations in the mechanical design, model concepts are abstracted, and special parts in various CAD drawings are classified into the models according to specific use situations and actions, so that the process of converting the past special parts into part BOM is changed into an abstract model, and then the abstract model is converted into part BOM, thereby realizing compatibility of various CAD special parts and greatly reducing the development difficulty of CAD drawing processing devices.
For example, fig. 3 is a flowchart two of a processing method of a CAD drawing, where, as shown in fig. 3, the conversion of CAD drawing information into a part BOM is mainly divided into 2 steps:
(1) Model information extraction in CAD drawings
Model information of a CAD drawing is acquired through an SDK (Software Development Kit ) provided by CAD software, and common part information (corresponding to the first part) and special part information (corresponding to the second part) are distinguished.
(2) Conversion of model information to part BOM
A. the common part (corresponding to the first part) is directly converted into a part BOM;
b. determining the processing strategies of various special parts (corresponding to the second parts) through configuration;
c. all special parts are converted into abstract concepts through a processing strategy;
d. The abstract concepts are converted into part BOM.
For example, special parts in all CAD's may be categorized as several special abstractions, such as mirror parts in one three-dimensional design software and mirror parts in another three-dimensional design software (e.g., physical design software), and may be categorized as "mirror parts"; a compression element in three-dimensional design software and a non-drawing element in another three-dimensional design software (e.g., physical design software) may both be categorized as a "compression element". In addition, as the types of CAD special parts to be supported are more and more, the function of converting various CAD special parts into abstract concepts is only needed to be realized, and the abstract concepts are loaded into a CAD drawing processing device through strategy configuration.
For example, fig. 4 is a flowchart III of a processing method of CAD drawings provided according to an embodiment of the present application, and as shown in fig. 4, the processing method of CAD drawings may be divided into 5 steps:
1) The user selects CAD drawings to be extracted;
2) Distinguishing CAD types to which the drawing belongs according to the file suffix, and selecting plug-ins for processing the drawing according to the CAD types;
3) The plug-in is processed through CAD drawing, and the parts are divided into common parts and special parts;
4) The common part is directly converted into a part BOM through the plug-in, the special part determines processing logic according to configuration, the processing logic is converted into a specific abstract concept, and the abstract concept is converted into the part BOM;
5) And generating a structure by all parts BOM, and storing the structure on a product structure tree.
For example, in this embodiment, a special part may be converted into an abstract concept, and then into logic of a part BOM, and a middle layer, namely, an abstract model concept, is proposed; and the CAD drawing processing device can support dll plug-in (a software), and the function of converting different special parts into abstract concepts is inserted into the device through configuration processing strategies.
In addition, for the processing of special parts, only the function of converting the special parts into abstract concepts is needed to be realized, and the abstract concepts are allocated to corresponding processing strategies. In addition, the special parts in the CAD can find out the corresponding use scene in the mechanical design, namely the model concept can be abstracted, so that all the special parts can be processed into a specific abstract concept, and the device provided by the embodiment can be compatible with all the special parts and has very strong compatibility.
In summary, according to the processing method of CAD drawings provided by the embodiment of the application, N types of CAD drawings of a target product are obtained, wherein the N types of CAD drawings are drawings generated by using different types of CAD software, and N is a positive integer; s first parts and T second parts are obtained from N types of CAD drawings, wherein the first parts are parts without identification information, the second parts are parts with identification information, and S and T are positive integers; s first parts are converted into a first part list, classification processing is carried out on each second part, and category information of each second part is determined; based on the category information of each second part, T second parts are converted into a second part list, and a target part list corresponding to a target product is determined based on the first part list and the second part list, so that the problem that in the related art, conversion logic of a set of part list is specially designed for CAD drawings generated by different types of CAD software, and the efficiency of converting the CAD drawings of the same product into the part list of the product is low is solved. The method comprises the steps of classifying special pieces in all CAD drawings of different types into special abstract concepts of several types in advance, determining the abstract category of the special piece in the CAD drawings of the target product according to the special abstract concepts of the several types in advance, obtaining a part list corresponding to the special piece in the CAD drawings according to the abstract category of the special piece in the CAD drawings of the target product, and determining the part list of the target product according to the part list corresponding to the common piece and the part list corresponding to the special piece in the CAD drawings, so that a set of conversion logic of the part list does not need to be specially designed for the CAD drawings generated by CAD software of different types, and the effect of improving the efficiency of converting the CAD drawings of different types of the same product into the part list of the product is achieved.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer executable instructions, and that although a logical order is illustrated in the flowcharts, in some cases the steps illustrated or described may be performed in an order other than that illustrated herein.
The embodiment of the application also provides a device for processing the CAD drawing, and the device for processing the CAD drawing can be used for executing the processing method for the CAD drawing. The following describes a processing device for CAD drawings provided by the embodiment of the present application.
Fig. 5 is a schematic diagram of a CAD drawing processing apparatus according to an embodiment of the present application. As shown in fig. 5, the apparatus includes: a first acquisition unit 501, a second acquisition unit 502, a first processing unit 503, and a second processing unit 504.
Specifically, a first obtaining unit 501 is configured to obtain N types of CAD drawings of a target product, where the N types of CAD drawings are drawings generated by using CAD software of different types, and N is a positive integer;
A second obtaining unit 502, configured to obtain S first parts and T second parts from N types of CAD drawings, where the first parts are parts without identification information, the second parts are parts with identification information, and S and T are positive integers;
A first processing unit 503, configured to convert the S first parts into a first part list, and perform classification processing on each second part, to determine category information of each second part;
the second processing unit 504 is configured to convert the T second parts into a second part list based on the category information of each second part, and determine a target part list corresponding to the target product based on the first part list and the second part list.
In summary, according to the processing device for CAD drawings provided by the embodiment of the present application, N types of CAD drawings of a target product are acquired by the first acquiring unit 501, where the N types of CAD drawings are drawings generated by using CAD software of different types, and N is a positive integer; the second obtaining unit 502 obtains S first parts and T second parts from the N types of CAD drawings, where the first parts are parts without identification information, the second parts are parts with identification information, and S and T are positive integers; the first processing unit 503 converts the S first parts into a first part list, and classifies each second part to determine class information of each second part; the second processing unit 504 converts T second parts into a second part list based on the category information of each second part, and determines a target part list corresponding to the target product based on the first part list and the second part list, thereby solving the problem that in the related art, a set of conversion logic of the part list needs to be specially designed for CAD drawings generated by different types of CAD software, and the efficiency of converting different types of CAD drawings of the same product into the part list of the product is low. The method comprises the steps of classifying special pieces in all CAD drawings of different types into special abstract concepts of several types in advance, determining the abstract category of the special piece in the CAD drawings of the target product according to the special abstract concepts of the several types in advance, obtaining a part list corresponding to the special piece in the CAD drawings according to the abstract category of the special piece in the CAD drawings of the target product, and determining the part list of the target product according to the part list corresponding to the common piece and the part list corresponding to the special piece in the CAD drawings, so that a set of conversion logic of the part list does not need to be specially designed for the CAD drawings generated by CAD software of different types, and the effect of improving the efficiency of converting the CAD drawings of different types of the same product into the part list of the product is achieved.
Optionally, in the processing device for CAD drawings provided in the embodiment of the present application, the first processing unit includes: the first acquisition module is used for acquiring a processing strategy corresponding to each type of second parts in the T second parts; the first determining module is used for determining processing logic for processing each second part based on the corresponding processing strategy of each type of second part; and the first processing module is used for classifying each second part based on processing logic for processing each second part and determining the category information of each second part.
Optionally, in the processing device for CAD drawings provided in the embodiment of the present application, the first obtaining module includes: the first acquisition submodule is used for acquiring type information corresponding to each second part in the T second parts; the first determining submodule is used for determining K types of second parts according to the type information corresponding to each second part, wherein K is a positive integer; the second acquisition submodule is used for acquiring the processing strategy corresponding to each type of second part in the T second parts based on the K types of second parts.
Optionally, in the processing device for CAD drawings provided in the embodiment of the present application, the second processing unit includes: the second acquisition module is used for acquiring attribute information of each second part and acquiring the upper-lower relationship between the parts in the T second parts; the first conversion module is used for converting the T second parts into a second part list based on the attribute information of each second part, the upper-lower level relation among the parts in the T second parts and the category information of each second part.
Optionally, in the processing device for CAD drawings provided in the embodiment of the present application, the second obtaining unit includes: the third acquisition module is used for acquiring M parts from N types of CAD drawings and acquiring identification information of each part, wherein M is a positive integer greater than 1; the second determining module is used for determining parts without identification information in the M parts according to the identification information of each part, and taking the parts without identification information in the M parts as S first parts; and the third determining module is used for determining the part with the identification information in the M parts and taking the part with the identification information in the M parts as T second parts.
Optionally, in the processing device for CAD drawings provided in the embodiment of the present application, the first processing unit includes: the fourth acquisition module is used for acquiring attribute information of each first part and acquiring the upper-lower relationship between the parts in the S first parts; and the second conversion module is used for converting the S first parts into a first part list through the target plugin based on the attribute information of each first part and the upper-lower relationship between the parts in the S first parts.
Optionally, in the processing device for CAD drawings provided in the embodiment of the present application, the first obtaining unit includes: a fifth obtaining module, configured to obtain Y CAD drawing files corresponding to the target product, where Y is a positive integer greater than 1; the second processing module is used for analyzing each CAD drawing file to obtain suffix information of each CAD drawing file; the fourth determining module is used for determining the type information of each CAD drawing file according to the suffix information of each CAD drawing file; and a sixth acquisition module, configured to acquire N types of CAD drawings of the target product based on the type information of each CAD drawing file.
Optionally, in the apparatus for processing a CAD drawing provided in the embodiment of the present application, the apparatus further includes: a first generating unit configured to generate structural information of parts in a target product based on a target part list after determining the target part list corresponding to the target product based on the first part list and the second part list; and the third processing unit is used for storing the structural information of the parts in the target product into a product structural tree of the target product and displaying the product structural tree to the target object.
The processing device for CAD drawings includes a processor and a memory, where the first acquiring unit 501, the second acquiring unit 502, the first processing unit 503, the second processing unit 504, and the like are stored as program units, and the processor executes the program units stored in the memory to implement corresponding functions.
The processor includes a kernel, and the kernel fetches the corresponding program unit from the memory. The kernel can be provided with one or more than one, and the efficiency of converting CAD drawings of different types of the same product into a part list of the product is improved by adjusting kernel parameters.
The memory may include volatile memory, random Access Memory (RAM), and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM), among other forms in computer readable media, the memory including at least one memory chip.
The embodiment of the invention provides a computer readable storage medium, on which a program is stored, which when executed by a processor, implements the method for processing CAD drawings.
The embodiment of the invention provides a processor which is used for running a program, wherein the processing method of the CAD drawing is executed when the program runs.
As shown in fig. 6, an embodiment of the present invention provides an electronic device, where the device includes a processor, a memory, and a program stored in the memory and executable on the processor, and when the processor executes the program, the following steps are implemented: obtaining N types of CAD drawings of a target product, wherein the N types of CAD drawings are drawings generated by utilizing different types of CAD software, and N is a positive integer; s first parts and T second parts are obtained from the N types of CAD drawings, wherein the first parts are parts without identification information, the second parts are parts with identification information, and S and T are positive integers; converting the S first parts into a first part list, classifying each second part, and determining class information of each second part; and converting the T second parts into a second part list based on the category information of each second part, and determining a target part list corresponding to the target product based on the first part list and the second part list.
The processor also realizes the following steps when executing the program: classifying each second part, wherein determining the class information of each second part comprises: acquiring a processing strategy corresponding to each type of second part in the T second parts; determining processing logic for processing each second part based on the processing strategy corresponding to each type of second part; based on the processing logic that processes each second part, a categorization process is performed on each second part, determining category information for each second part.
The processor also realizes the following steps when executing the program: the obtaining the processing strategy corresponding to each type of second part in the T second parts comprises the following steps: acquiring type information corresponding to each second part in the T second parts; determining K types of second parts according to the type information corresponding to each second part, wherein K is a positive integer; and acquiring a processing strategy corresponding to each type of second part in the T second parts based on the K types of second parts.
The processor also realizes the following steps when executing the program: converting the T second parts into a second parts list based on the category information of each second part includes: acquiring attribute information of each second part, and acquiring upper and lower relationships among parts in the T second parts; and converting the T second parts into the second part list based on the attribute information of each second part, the upper-lower relationship among the parts in the T second parts and the category information of each second part.
The processor also realizes the following steps when executing the program: the step of obtaining S first parts and T second parts from the N types of CAD drawings comprises the following steps: m parts are obtained from the N types of CAD drawings, and identification information of each part is obtained, wherein M is a positive integer greater than 1; determining parts without identification information in the M parts according to the identification information of each part, and taking the parts without identification information in the M parts as the S first parts; and determining the parts with the identification information in the M parts, and taking the parts with the identification information in the M parts as the T second parts.
The processor also realizes the following steps when executing the program: converting the S first parts into a first parts list includes: acquiring attribute information of each first part, and acquiring upper and lower relationships among parts in the S first parts; and converting the S first parts into the first part list through a target plug-in based on the attribute information of each first part and the upper-lower relation between the parts in the S first parts.
The processor also realizes the following steps when executing the program: the obtaining of the N types of CAD drawings of the target product comprises the following steps: acquiring Y CAD drawing files corresponding to the target product, wherein Y is a positive integer greater than 1; analyzing each CAD drawing file to obtain suffix information of each CAD drawing file; determining the type information of each CAD drawing file according to the suffix information of each CAD drawing file; and acquiring the N types of CAD drawings of the target product based on the type information of each CAD drawing file.
The processor also realizes the following steps when executing the program: after determining a target part list corresponding to the target product based on the first part list and the second part list, the method further includes: generating structural information of parts in the target product based on the target part list; and storing the structural information of the parts in the target product into a product structural tree of the target product, and displaying the product structural tree to a target object.
The device herein may be a server, PC, PAD, cell phone, etc.
The application also provides a computer program product adapted to perform, when executed on a data processing device, a program initialized with the method steps of: obtaining N types of CAD drawings of a target product, wherein the N types of CAD drawings are drawings generated by utilizing different types of CAD software, and N is a positive integer; s first parts and T second parts are obtained from the N types of CAD drawings, wherein the first parts are parts without identification information, the second parts are parts with identification information, and S and T are positive integers; converting the S first parts into a first part list, classifying each second part, and determining class information of each second part; and converting the T second parts into a second part list based on the category information of each second part, and determining a target part list corresponding to the target product based on the first part list and the second part list.
When executed on a data processing device, is further adapted to carry out a program initialized with the method steps of: classifying each second part, wherein determining the class information of each second part comprises: acquiring a processing strategy corresponding to each type of second part in the T second parts; determining processing logic for processing each second part based on the processing strategy corresponding to each type of second part; based on the processing logic that processes each second part, a categorization process is performed on each second part, determining category information for each second part.
When executed on a data processing device, is further adapted to carry out a program initialized with the method steps of: the obtaining the processing strategy corresponding to each type of second part in the T second parts comprises the following steps: acquiring type information corresponding to each second part in the T second parts; determining K types of second parts according to the type information corresponding to each second part, wherein K is a positive integer; and acquiring a processing strategy corresponding to each type of second part in the T second parts based on the K types of second parts.
When executed on a data processing device, is further adapted to carry out a program initialized with the method steps of: converting the T second parts into a second parts list based on the category information of each second part includes: acquiring attribute information of each second part, and acquiring upper and lower relationships among parts in the T second parts; and converting the T second parts into the second part list based on the attribute information of each second part, the upper-lower relationship among the parts in the T second parts and the category information of each second part.
When executed on a data processing device, is further adapted to carry out a program initialized with the method steps of: the step of obtaining S first parts and T second parts from the N types of CAD drawings comprises the following steps: m parts are obtained from the N types of CAD drawings, and identification information of each part is obtained, wherein M is a positive integer greater than 1; determining parts without identification information in the M parts according to the identification information of each part, and taking the parts without identification information in the M parts as the S first parts; and determining the parts with the identification information in the M parts, and taking the parts with the identification information in the M parts as the T second parts.
When executed on a data processing device, is further adapted to carry out a program initialized with the method steps of: converting the S first parts into a first parts list includes: acquiring attribute information of each first part, and acquiring upper and lower relationships among parts in the S first parts; and converting the S first parts into the first part list through a target plug-in based on the attribute information of each first part and the upper-lower relation between the parts in the S first parts.
When executed on a data processing device, is further adapted to carry out a program initialized with the method steps of: the obtaining of the N types of CAD drawings of the target product comprises the following steps: acquiring Y CAD drawing files corresponding to the target product, wherein Y is a positive integer greater than 1; analyzing each CAD drawing file to obtain suffix information of each CAD drawing file; determining the type information of each CAD drawing file according to the suffix information of each CAD drawing file; and acquiring the N types of CAD drawings of the target product based on the type information of each CAD drawing file.
When executed on a data processing device, is further adapted to carry out a program initialized with the method steps of: after determining a target part list corresponding to the target product based on the first part list and the second part list, the method further includes: generating structural information of parts in the target product based on the target part list; and storing the structural information of the parts in the target product into a product structural tree of the target product, and displaying the product structural tree to a target object.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, etc., such as Read Only Memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises an element.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and variations of the present application will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. which come within the spirit and principles of the application are to be included in the scope of the claims of the present application.

Claims (10)

1. The CAD drawing processing method is characterized by comprising the following steps of:
obtaining N types of CAD drawings of a target product, wherein the N types of CAD drawings are drawings generated by utilizing different types of CAD software, and N is a positive integer;
S first parts and T second parts are obtained from the N types of CAD drawings, wherein the first parts are parts without identification information, the second parts are parts with identification information, and S and T are positive integers;
converting the S first parts into a first part list, classifying each second part, and determining class information of each second part;
And converting the T second parts into a second part list based on the category information of each second part, and determining a target part list corresponding to the target product based on the first part list and the second part list.
2. The method of claim 1, wherein classifying each second part, determining class information for each second part comprises:
acquiring a processing strategy corresponding to each type of second part in the T second parts;
determining processing logic for processing each second part based on the processing strategy corresponding to each type of second part;
based on the processing logic that processes each second part, a categorization process is performed on each second part, determining category information for each second part.
3. The method of claim 2, wherein obtaining a processing strategy corresponding to each type of second part of the T second parts comprises:
Acquiring type information corresponding to each second part in the T second parts;
determining K types of second parts according to the type information corresponding to each second part, wherein K is a positive integer;
and acquiring a processing strategy corresponding to each type of second part in the T second parts based on the K types of second parts.
4. The method of claim 1, wherein converting the T second parts into a second parts list based on the category information of each second part comprises:
acquiring attribute information of each second part, and acquiring upper and lower relationships among parts in the T second parts;
and converting the T second parts into the second part list based on the attribute information of each second part, the upper-lower relationship among the parts in the T second parts and the category information of each second part.
5. The method of claim 1, wherein obtaining S first parts and T second parts from the N types of CAD drawings comprises:
m parts are obtained from the N types of CAD drawings, and identification information of each part is obtained, wherein M is a positive integer greater than 1;
Determining parts without identification information in the M parts according to the identification information of each part, and taking the parts without identification information in the M parts as the S first parts;
and determining the parts with the identification information in the M parts, and taking the parts with the identification information in the M parts as the T second parts.
6. The method of claim 1, wherein converting the S first parts to a first parts list comprises:
acquiring attribute information of each first part, and acquiring upper and lower relationships among parts in the S first parts;
and converting the S first parts into the first part list through a target plug-in based on the attribute information of each first part and the upper-lower relation between the parts in the S first parts.
7. The method of claim 1, wherein obtaining N types of CAD drawings of the target product comprises:
acquiring Y CAD drawing files corresponding to the target product, wherein Y is a positive integer greater than 1;
Analyzing each CAD drawing file to obtain suffix information of each CAD drawing file;
determining the type information of each CAD drawing file according to the suffix information of each CAD drawing file;
And acquiring the N types of CAD drawings of the target product based on the type information of each CAD drawing file.
8. The method of claim 1, wherein after determining a target part list corresponding to the target product based on the first part list and the second part list, the method further comprises:
generating structural information of parts in the target product based on the target part list;
And storing the structural information of the parts in the target product into a product structural tree of the target product, and displaying the product structural tree to a target object.
9. A processing apparatus for CAD drawings, comprising:
The first acquisition unit is used for acquiring N types of CAD drawings of a target product, wherein the N types of CAD drawings are drawings generated by utilizing different types of CAD software, and N is a positive integer;
The second acquisition unit is used for acquiring S first parts and T second parts from the N types of CAD drawings, wherein the first parts are parts without identification information, the second parts are parts with identification information, and S and T are positive integers;
the first processing unit is used for converting the S first parts into a first part list, classifying each second part and determining the category information of each second part;
And the second processing unit is used for converting the T second parts into a second part list based on the category information of each second part and determining a target part list corresponding to the target product based on the first part list and the second part list.
10. An electronic device comprising one or more processors and a memory for storing one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of processing CAD drawings of any of claims 1-8.
CN202410147190.3A 2024-02-01 2024-02-01 CAD drawing processing method and device and electronic equipment Pending CN117972820A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410147190.3A CN117972820A (en) 2024-02-01 2024-02-01 CAD drawing processing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410147190.3A CN117972820A (en) 2024-02-01 2024-02-01 CAD drawing processing method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN117972820A true CN117972820A (en) 2024-05-03

Family

ID=90864473

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410147190.3A Pending CN117972820A (en) 2024-02-01 2024-02-01 CAD drawing processing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN117972820A (en)

Similar Documents

Publication Publication Date Title
Almeer Cloud hadoop map reduce for remote sensing image analysis
US20150032759A1 (en) System and method for analyzing result of clustering massive data
US10394907B2 (en) Filtering data objects
CN107705199B (en) Generation method and device of feature calculation code
CN111241073B (en) Data quality inspection method and device
CN110334012B (en) Risk assessment method and device
CN114490641A (en) Industrial Internet data sharing method, equipment and medium
CN113568697A (en) Method, system and medium for converting PC end page into mobile end page
CN108241620B (en) Query script generation method and device
CN111125087B (en) Data storage method and device
CN117972820A (en) CAD drawing processing method and device and electronic equipment
CN116468436A (en) Charging rule generation method and device
CN112463785B (en) Data quality monitoring method and device, electronic equipment and storage medium
CN113516506B (en) Data processing method and device and electronic equipment
CN112199577B (en) Data query method and device and electronic equipment
CN112507725B (en) Static publishing method, device, equipment and storage medium of financial information
CN110019198B (en) Data query method and device
CN106557564A (en) A kind of object data analysis method and device
CN110362595A (en) A kind of SQL statement dynamic analysis method
CN113282631A (en) Method and equipment for determining target user based on user portrait data
CN106557469B (en) Method and device for processing data in data warehouse
CN110909149B (en) Data filtering method and device
US20210319064A1 (en) Method and apparatus for providing storytelling data
CN109901990B (en) Method, device and equipment for testing service system
CN116611933A (en) Financial business processing method and device, storage medium and electronic 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