Engineering drawing generation method, terminal equipment and computer storage medium

By automatically obtaining the current perspective and labeling information of the three-dimensional digital model, directly labeling two-dimensional engineering drawings, solving the problems of time-consuming, labor-intensive and missed markings, improving the efficiency and accuracy of engineering drawing generation, and suitable for complex parts drawing.

CN119313779APending Publication Date: 2025-01-14ZHEJIANG LEAPMOTOR TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411144660.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-19
Publication Date
2025-01-14

AI Technical Summary

Technical Problem

In the manufacturing industry, when converting three-dimensional digital to two-dimensional engineering drawings, manual annotation is required, which is time-consuming and labor-intensive and prone to mislabeling and missing marking problems, affecting production efficiency and accuracy.

Method used

Provide a drawing generation method, which automatically converts the drawing to be marked by obtaining the current perspective of the target three-dimensional digital analog, and uses the marking information to directly mark the target, including obtaining component categories, reference point system information and feature types , as labeling information, realize automatic labeling.

Benefits of technology

It improves the efficiency and accuracy of engineering drawing generation, reduces the workload of technicians, and enhances the flexibility of generating engineering drawings. It is especially suitable for drawing parts with complex structures.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119313779A_ABST
    Figure CN119313779A_ABST
Patent Text Reader

Abstract

The invention discloses an engineering drawing generation method, terminal equipment and a computer storage medium, and the generation method comprises the steps: obtaining a to-be-converted target three-dimensional digital-analog, and converting the target three-dimensional digital-analog according to a current visual angle of the target three-dimensional digital-analog to obtain a to-be-labeled engineering drawing; obtaining annotation information needing to be annotated of the to-be-annotated engineering drawing; wherein the annotation information at least comprises a component category and three-dimensional information of the to-be-annotated target; and directly labeling the to-be-labeled target in the to-be-labeled engineering drawing by using the labeling information. According to the scheme, the efficiency of generating the engineering drawing is improved, the workload of a processor is reduced, and the accuracy of the engineering drawing is improved. Furthermore, projection is performed according to the current visual angle of the target three-dimensional digital model, so that the flexibility of generating the engineering drawing is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of digital-to-analog conversion, and in particular to a method for generating an engineering drawing, a terminal device, and a computer storage medium. Background Art

[0002] In the manufacturing industry, after the 3D digital model design is completed, engineers need to convert the 3D digital model (referred to as 3D digital model) into a 2D drawing and use manual annotation to mark the 3D digital model with the annotation information required to be marked on the 2D engineering drawing, so as to pass it to the downstream process to guide production. Manual annotation is time-consuming and labor-intensive, and is prone to drawing problems such as mislabeling and missing labels. Summary of the invention

[0003] The present application provides a method for generating an engineering drawing, a terminal device and a computer storage medium.

[0004] A technical solution adopted by the present application is to provide a method for generating an engineering drawing, the method comprising:

[0005] Obtaining a target three-dimensional digital model to be converted, converting the target three-dimensional digital model according to the current viewing angle of the target three-dimensional digital model, and obtaining an engineering drawing to be annotated;

[0006] Acquire the annotation information required for the engineering drawing to be annotated; wherein the annotation information at least includes the three-dimensional information of the target to be annotated;

[0007] Use the annotation information to directly annotate the target to be annotated in the engineering drawing.

[0008] Optionally, obtain the annotation information required for the engineering drawing to be annotated, including:

[0009] Obtaining a component category of a target three-dimensional digital model, where the component category includes one of an assembly, a welded part, and a single part;

[0010] According to the component category, obtain the reference point system information at the current viewing angle from the target 3D digital model;

[0011] Use the datum reference point system information as annotation information.

[0012] Optionally, the component category of the target three-dimensional digital model is obtained, including:

[0013] Obtain the target level corresponding to the target three-dimensional digital model;

[0014] In response to the target level containing more than one non-standard part file and the existence of a welding point file, determining that the component category is an assembly;

[0015] In response to a part file having only one non-standard part under a target level, determining that the component category is a weldment;

[0016] In response to the attribute of the target level being part, the component category is determined to be single piece.

[0017] Optionally, according to the component category, the datum reference point system information at the current viewing angle is obtained from the target three-dimensional digital model, including:

[0018] In response to the component category being an assembly, obtaining datum reference point system information under a current viewing angle from a geometry set of a weld point file;

[0019] In response to the component category being a welded component, obtaining datum reference point system information at a current viewing angle from a geometry set of the non-standard component;

[0020] In response to the component category being a single piece, the datum reference point system information under the current viewing angle is obtained from a geometric graphics set of the target three-dimensional digital model.

[0021] Optionally, obtain the annotation information required for the engineering drawing to be annotated, including:

[0022] Acquire a feature type corresponding to the reference point system information from the target three-dimensional digital model, where the feature type includes at least one of a point feature, a surface feature, a circle feature, and a continuous curve feature;

[0023] According to the feature type, the three-dimensional information at the current viewing angle is obtained, and the three-dimensional information is used as annotation information.

[0024] Optionally, according to the feature type, three-dimensional information at the current viewing angle is obtained, including:

[0025] According to the feature type, a plurality of three-dimensional information of the feature area corresponding to each feature type is obtained; and the three-dimensional information at the current viewing angle is determined from the plurality of three-dimensional information.

[0026] Optionally, the target to be annotated in the engineering drawing to be annotated is directly annotated using the annotation information, including:

[0027] In response to the feature type including at least one of a point feature and a surface feature, determining the datum category as a surface datum;

[0028] and / or,

[0029] In response to the feature type comprising at least one of a circle feature and a continuous curve feature, determining the datum category as a hole datum;

[0030] According to the surface datum and / or hole datum, the target to be annotated in the engineering drawing to be annotated is directly annotated using the annotation information in the current viewing angle.

[0031] Optionally, obtaining a feature type corresponding to the reference point system information from the target three-dimensional digital model, the feature type including at least one of a point feature, a surface feature, a circle feature, and a continuous curve feature;

[0032] According to the feature type, the datum tolerance information is extracted from the reference point system information;

[0033] Use the reference tolerance information at the current viewing angle as annotation information.

[0034] Another technical solution adopted by the present application is to provide a terminal device, the terminal device comprising a memory and a processor connected to the memory;

[0035] The memory is used to store program data, and the processor is used to execute the program data to implement the above-mentioned method for generating an engineering drawing.

[0036] Another technical solution adopted by the present application is to provide a computer storage medium, wherein the computer storage medium is used to store program data, and when the program data is executed by a computer, it is used to implement the above-mentioned method for generating an engineering drawing.

[0037] The beneficial effect of the present application is that, by automatically generating engineering drawings containing annotation information, compared with the manual production of engineering drawings, it saves time and effort, and the annotation information is highly accurate, which can not only improve the efficiency of generating engineering drawings, reduce the workload of technical personnel, but also improve the accuracy of engineering drawings.

[0038] Furthermore, the engineering drawing generation method of the present application converts the target three-dimensional digital model according to the current viewing angle of the target three-dimensional digital model to obtain the engineering drawing to be annotated, without considering the standard viewing angle of the engineering drawing to be annotated, which is conducive to reflecting the relevant targets under the current viewing angle of the target three-dimensional digital model in the engineering drawing to be annotated. At the same time, there is no need to select the standard viewing angle during conversion, which improves the flexibility of generating engineering drawings and is also conducive to the drawing work of parts with complex structures. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0040] Figure 1 It is a flow chart of an embodiment of a method for generating an engineering drawing provided by the present application;

[0041] Figure 2 It is a flowchart of another embodiment of the method for generating an engineering drawing provided by the present application;

[0042] Figure 3 It is a schematic diagram of an embodiment of an engineering drawing generation interactive interface provided by the present application;

[0043] Figure 4 It is a schematic diagram of another embodiment of the interactive interface for generating engineering drawings provided by the present application;

[0044] Figure 5 is a schematic diagram of an embodiment of a benchmark marking result provided by the present application;

[0045] Figure 6 is a schematic diagram of an embodiment of a reference information table 1 provided by the present application;

[0046] Figure 7 yes Figure 2 A schematic diagram of a flow chart of an embodiment of sub-step S102;

[0047] Figure 8 It is a structural diagram of an embodiment of a terminal device provided by the present application;

[0048] Fig. 9 It is a structural diagram of an embodiment of a computer storage medium provided by the present application. DETAILED DESCRIPTION

[0049] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0050] Please refer to Figure 1 , Figure 1 It is a flow chart of an embodiment of a method for generating an engineering drawing provided in the present application.

[0051] like Figure 1 As shown, the method for generating an engineering drawing in the embodiment of the present application may specifically include the following steps:

[0052] S1, obtaining a target three-dimensional digital model to be converted, converting the target three-dimensional digital model according to the current viewing angle of the target three-dimensional digital model, and obtaining an engineering drawing to be annotated.

[0053] The engineering drawing generation method provided in the present application is mainly performed by an engineering drawing generation device. In some possible embodiments, the engineering drawing generation device can be a user equipment (UE), a mobile device, a user terminal, a terminal, a cellular phone, a cordless phone, a personal digital assistant (PDA), a handheld device, a computing device, a vehicle-mounted device, a wearable device, and an autonomous vehicle, a robot, a security system, and any one or more products of glasses and helmets for augmented reality or virtual reality. In some possible implementations, the engineering drawing generation method can be implemented by a processor calling a computer-readable instruction stored in a memory.

[0054] In some embodiments, the target three-dimensional digital model can be generated by three-dimensional modeling software. For example, the target three-dimensional digital model can be generated by Catia, which is not limited here.

[0055] In some embodiments, the engineering drawing generation device converts the target three-dimensional digital model according to the current viewing angle of the target three-dimensional digital model to obtain the engineering drawing to be annotated. In some application scenarios, the engineering drawing to be annotated is a GD&T engineering drawing.

[0056] It should be noted that the current viewing angle can be any viewing angle, not just the conventional front view, side view, bottom view, and top view. The engineering drawing generation device can select any viewing angle so that the engineering drawing to be annotated displays as much annotation information as possible, which is conducive to the conversion and annotation of the target three-dimensional digital model with complex structure.

[0057] In some possible embodiments, in the engineering drawing generation method of the present application, the obtained annotation information is applied to a clamp / gauge to design and manufacture a structure for positioning the target to be annotated.

[0058] S2, obtaining the annotation information required for the engineering drawing to be annotated.

[0059] The marking information at least includes three-dimensional information of the target to be marked.

[0060] Optionally, the annotation information may be reference information.

[0061] In some possible embodiments, the target three-dimensional digital model contains a number of candidate annotation information, and the engineering drawing generation device obtains the candidate annotation information at the current viewing angle as the annotation information.

[0062] S3, using the annotation information to directly annotate the target to be annotated in the engineering drawing to be annotated.

[0063] Specifically, the engineering drawing generation device uses the annotation information to automatically annotate the target to be annotated in the engineering drawing to be annotated.

[0064] In some embodiments, the engineering drawing generating device may further generate a reference information table on the engineering drawing to be annotated.

[0065] The above scheme, by automatically generating engineering drawings containing annotation information, saves time and effort compared to the manual production of engineering drawings, and the annotation information is highly accurate, which can not only improve the efficiency of generating engineering drawings, reduce the workload of technical personnel, but also improve the accuracy of engineering drawings.

[0066] Furthermore, the engineering drawing generation method of the present application converts the target three-dimensional digital model according to the current viewing angle of the target three-dimensional digital model to obtain the engineering drawing to be annotated, without considering the standard viewing angle of the engineering drawing to be annotated, which is conducive to reflecting the relevant targets under the current viewing angle of the target three-dimensional digital model in the engineering drawing to be annotated. At the same time, there is no need to select the standard viewing angle during conversion, which improves the flexibility of generating engineering drawings and is also conducive to the drawing work of parts with complex structures.

[0067] Another embodiment of the method for generating an engineering drawing provided in the present application may specifically include the following steps:

[0068] S11, obtaining a target three-dimensional digital model to be converted, converting the target three-dimensional digital model according to the current viewing angle of the target three-dimensional digital model, and obtaining an engineering drawing to be annotated.

[0069] S12, obtaining the component category of the target three-dimensional digital model.

[0070] The component category includes one of an assembly, a welded part, and a single part.

[0071] In some embodiments, the engineering drawing generating device determines the component category corresponding to the target three-dimensional digital model according to the composition of the target three-dimensional digital model.

[0072] S13, according to the component category, obtaining the datum reference point system information under the current viewing angle from the target three-dimensional digital model.

[0073] The target 3D digital model contains the reference point system (RPS) information, where the RPS point is a unified positioning point for processing, installation, and testing.

[0074] Specifically, the engineering drawing generating device obtains the RPS information at the current viewing angle from the geometric figure set corresponding to the target three-dimensional digital model according to the component category of the target three-dimensional digital model.

[0075] In some embodiments, the target three-dimensional digital model contains three-dimensional RPS information, and the engineering drawing generation device uses the current viewing angle as the projection direction to obtain the RPS information under the projection view.

[0076] S14: Use the benchmark reference point system information as annotation information.

[0077] Specifically, the engineering drawing generating device uses the RPS information at the current viewing angle as the annotation information.

[0078] S15: directly marking the target to be marked in the engineering drawing to be marked using the marking information.

[0079] The above scheme, by automatically generating engineering drawings containing annotation information, saves time and effort compared to the manual production of engineering drawings, and the annotation information is highly accurate, which can not only improve the efficiency of generating engineering drawings, reduce the workload of technical personnel, but also improve the accuracy of engineering drawings.

[0080] Furthermore, the engineering drawing generation method of the present application converts the target three-dimensional digital model according to the current viewing angle of the target three-dimensional digital model to obtain the engineering drawing to be annotated, without considering the standard viewing angle of the engineering drawing to be annotated, which is conducive to reflecting the relevant targets under the current viewing angle of the target three-dimensional digital model in the engineering drawing to be annotated. At the same time, there is no need to select the standard viewing angle during conversion, which improves the flexibility of generating engineering drawings and is also conducive to the drawing work of parts with complex structures.

[0081] Another embodiment of the method for generating an engineering drawing provided in the present application may specifically include the following steps:

[0082] S21, obtaining a target three-dimensional digital model to be converted, converting the target three-dimensional digital model according to the current viewing angle of the target three-dimensional digital model, and obtaining an engineering drawing to be annotated.

[0083] S22, obtaining the target level corresponding to the target three-dimensional digital model.

[0084] Specifically, the engineering drawing generating device obtains a target level corresponding to the target three-dimensional digital model.

[0085] S23, in response to the target level containing more than one non-standard part file and the existence of a welding point file, determining that the component category is an assembly.

[0086] Specifically, in response to the existence of more than one non-standard part (.part) file under the target level and the existence of a weld (-SW) file, the engineering drawing generation device determines that the component category of the target three-dimensional digital model is an assembly.

[0087] In some embodiments, the engineering drawing generating device obtains the part number of each part file and compares it with the standard parts library. If the part number of a part is in the standard parts library, the part is determined to be a standard part. Otherwise, the part is a non-standard part.

[0088] S24, in response to a part file containing only one non-standard part at the target level, determining that the component category is a welded part.

[0089] Specifically, in response to a part file having only one non-standard part under the target level, the engineering drawing generating device determines that the component category of the target three-dimensional digital model is a welded part.

[0090] In some possible embodiments, except for one non-standard part file of the weldment, all other part files are standard parts.

[0091] S25, in response to the attribute of the target level being a part, determining the component category as a single piece.

[0092] Specifically, the engineering drawing generating device obtains a target level attribute of the target three-dimensional digital model, and in response to the target level attribute being a part, determines that the component category of the target three-dimensional digital model is a single piece.

[0093] S26, obtaining the reference point system information at the current viewing angle from the target three-dimensional digital model according to the component category.

[0094] S27, using the benchmark reference point system information as annotation information.

[0095] S28, directly marking the target to be marked in the engineering drawing to be marked using the marking information.

[0096] The above scheme, by automatically generating engineering drawings containing annotation information, saves time and effort compared to the manual production of engineering drawings, and the annotation information is highly accurate, which can not only improve the efficiency of generating engineering drawings, reduce the workload of technical personnel, but also improve the accuracy of engineering drawings.

[0097] Furthermore, the engineering drawing generation method of the present application converts the target three-dimensional digital model according to the current viewing angle of the target three-dimensional digital model to obtain the engineering drawing to be annotated, without considering the standard viewing angle of the engineering drawing to be annotated, which is conducive to reflecting the relevant targets under the current viewing angle of the target three-dimensional digital model in the engineering drawing to be annotated. At the same time, there is no need to select the standard viewing angle during conversion, which improves the flexibility of generating engineering drawings and is also conducive to the drawing work of parts with complex structures.

[0098] Another embodiment of the method for generating an engineering drawing provided in the present application may specifically include the following steps:

[0099] S31, obtaining a target three-dimensional digital model to be converted, converting the target three-dimensional digital model according to the current viewing angle of the target three-dimensional digital model, and obtaining an engineering drawing to be annotated.

[0100] S32, obtaining the target level corresponding to the target three-dimensional digital model.

[0101] S33, in response to the target level containing more than one non-standard part file and the existence of a welding point file, determining that the component category is an assembly.

[0102] S34, in response to the part file containing only one non-standard part at the target level, determining that the component category is a welded part.

[0103] S35 , in response to the attribute of the target level being a part, determining the component category as a single piece.

[0104] S36, in response to the component category being assembly, obtaining the datum reference point system information under the current viewing angle from the geometry set of the welding point file.

[0105] Specifically, in response to the component category of the target three-dimensional digital model being an assembly, the engineering drawing generation device obtains the RPS information of the current viewing angle from the geometric figure set of the weld point (-SW) part of the next level.

[0106] S37, in response to the component category being a welded component, obtaining the datum reference point system information under the current viewing angle from the geometric graphics set of the non-standard component.

[0107] Specifically, in response to the component category being a weldment, the engineering drawing generation device obtains the RPS information of the current viewing angle from a geometric figure set of a displacement non-standard part at a next level.

[0108] S38, in response to the component category being a single piece, obtaining the datum reference point system information under the current viewing angle from the geometric figure set of the target three-dimensional digital model.

[0109] Specifically, in response to the component category being a single piece, the engineering drawing generation device directly obtains the RPS information of the current viewing angle from the geometric graphics set (ie, the parts set) of the target three-dimensional digital model.

[0110] It should be noted that the RPS information is stored in the form of a geometric set. Exemplarily, the engineering drawing generation device can obtain the RPS information by identifying the content named #RPSInformations in the geometric set.

[0111] S39, using the benchmark reference point system information as the annotation information.

[0112] S40, directly marking the target to be marked in the engineering drawing to be marked using the marking information.

[0113] The above scheme, by automatically generating engineering drawings containing annotation information, saves time and effort compared to the manual production of engineering drawings, and the annotation information is highly accurate, which can not only improve the efficiency of generating engineering drawings, reduce the workload of technical personnel, but also improve the accuracy of engineering drawings.

[0114] Furthermore, the engineering drawing generation method of the present application converts the target three-dimensional digital model according to the current viewing angle of the target three-dimensional digital model to obtain the engineering drawing to be annotated, without considering the standard viewing angle of the engineering drawing to be annotated, which is conducive to reflecting the relevant targets under the current viewing angle of the target three-dimensional digital model in the engineering drawing to be annotated. At the same time, there is no need to select the standard viewing angle during conversion, which improves the flexibility of generating engineering drawings and is also conducive to the drawing work of parts with complex structures.

[0115] Another embodiment of the method for generating an engineering drawing provided in the present application may specifically include the following steps:

[0116] S41, obtaining a target three-dimensional digital model to be converted, converting the target three-dimensional digital model according to the current viewing angle of the target three-dimensional digital model, and obtaining an engineering drawing to be annotated.

[0117] S42, obtaining a feature type corresponding to the reference point system information from the target three-dimensional digital model.

[0118] The feature type includes at least one of a point feature, a surface feature, a circle feature, and a continuous curve feature.

[0119] In some embodiments, point features can be divided into three types: surface points (clamping points), hole points (pin with surface / hook pin), and support surface points only. If a feature point is located on the solid surface of the target three-dimensional digital model, the feature point is a surface point; if a feature point is located at the center point of the hole feature circle, the feature point is a hole point. Support points are distinguished by whether there is an -S in the feature point name. Those without the -S are clamping points, and those with the -S (support) are support points only.

[0120] In some embodiments, the engineering drawing generation device can determine whether it contains circular features and continuous curve features by judging whether the target three-dimensional digital model includes a structure containing holes and pins. For example, the engineering drawing generation device judges whether the target three-dimensional digital model contains a round hole with a round pin, a round hole with a diamond pin, an oblong hole with a round pin, an oblong hole with a contoured pin, or a square hole / non-standard hole with a round pin / diamond pin / contoured pin structure. If it contains one of them, the engineering drawing generation device determines that the target three-dimensional digital model contains circular features and continuous curve features.

[0121] In some embodiments, the engineering drawing generating device determines whether the target three-dimensional digital model contains a circular feature by judging whether the target three-dimensional digital model contains a hole structure, and if so, determines that the target three-dimensional digital model contains a circular feature. Exemplarily, the hole structure may include any one of a circular hole, an oblong hole, a square hole, and a non-standard hole.

[0122] In some embodiments, the engineering drawing generation device determines whether the target three-dimensional digital model includes a continuous curve feature by judging whether the target three-dimensional digital model includes a pin structure, and if so, determines that the target three-dimensional digital model includes a continuous curve feature. Exemplarily, the pin structure may include any one of a round pin, a diamond pin, and a contoured pin.

[0123] S43, acquiring three-dimensional information at the current viewing angle according to the feature type, and using the three-dimensional information as annotation information.

[0124] Specifically, the engineering drawing generating device obtains three-dimensional information of the target feature at the current viewing angle according to the feature type of the target feature, and uses the three-dimensional information as annotation information.

[0125] It can be understood that the target feature can be at least a partial feature of the target three-dimensional digital model.

[0126] In some possible embodiments, the three-dimensional information may represent the location of the target feature.

[0127] In some possible embodiments, three-dimensional information is used to characterize the control direction of the target feature.

[0128] S44, directly marking the target to be marked in the engineering drawing to be marked using the marking information.

[0129] The above scheme, by automatically generating engineering drawings containing annotation information, saves time and effort compared to the manual production of engineering drawings, and the annotation information is highly accurate, which can not only improve the efficiency of generating engineering drawings, reduce the workload of technical personnel, but also improve the accuracy of engineering drawings.

[0130] Furthermore, the engineering drawing generation method of the present application converts the target three-dimensional digital model according to the current viewing angle of the target three-dimensional digital model to obtain the engineering drawing to be annotated, without considering the standard viewing angle of the engineering drawing to be annotated, which is conducive to reflecting the relevant targets under the current viewing angle of the target three-dimensional digital model in the engineering drawing to be annotated. At the same time, there is no need to select the standard viewing angle during conversion, which improves the flexibility of generating engineering drawings and is also conducive to the drawing work of parts with complex structures.

[0131] Another embodiment of the method for generating an engineering drawing provided in the present application may specifically include the following steps:

[0132] S51, obtaining a target three-dimensional digital model to be converted, converting the target three-dimensional digital model according to the current viewing angle of the target three-dimensional digital model, and obtaining an engineering drawing to be annotated.

[0133] S52, obtaining a feature type corresponding to the reference point system information from the target three-dimensional digital model.

[0134] The feature type includes at least one of a point feature, a surface feature, a circle feature, and a continuous curve feature.

[0135] S53, according to the feature type, obtaining a number of three-dimensional information of the feature area corresponding to each feature type.

[0136] In some embodiments, the feature type of the target feature is a point feature, and the engineering drawing generating device obtains three-coordinate information of the target feature (point) and uses the three-coordinate information as candidate three-dimensional information.

[0137] In some embodiments, the feature type of the target feature is a surface feature, and the engineering drawing generating device obtains three-coordinate information of the centroid of the target feature and uses the three-coordinate information as candidate three-dimensional information.

[0138] In some embodiments, the feature type of the target feature is a circle feature, and the engineering drawing generating device obtains three-coordinate information of the center of the circle of the target feature and uses the three-coordinate information as candidate three-dimensional information.

[0139] In some embodiments, the feature type of the target feature is a continuous curve feature, and the engineering drawing generation device obtains three-coordinate information of the centroid of the target feature and uses the three-coordinate information as candidate three-dimensional information.

[0140] S54, determining three-dimensional information at a current viewing angle from the plurality of three-dimensional information.

[0141] In some embodiments, the engineering drawing generating device determines the three-dimensional information at the current viewing angle from the candidate three-dimensional information.

[0142] S55, directly marking the target to be marked in the engineering drawing to be marked using the marking information.

[0143] The above scheme, by automatically generating engineering drawings containing annotation information, saves time and effort compared to the manual production of engineering drawings, and the annotation information is highly accurate, which can not only improve the efficiency of generating engineering drawings, reduce the workload of technical personnel, but also improve the accuracy of engineering drawings.

[0144] Furthermore, the engineering drawing generation method of the present application converts the target three-dimensional digital model according to the current viewing angle of the target three-dimensional digital model to obtain the engineering drawing to be annotated, without considering the standard viewing angle of the engineering drawing to be annotated, which is conducive to reflecting the relevant targets under the current viewing angle of the target three-dimensional digital model in the engineering drawing to be annotated. At the same time, there is no need to select the standard viewing angle during conversion, which improves the flexibility of generating engineering drawings and is also conducive to the drawing work of parts with complex structures.

[0145] Another embodiment of the method for generating an engineering drawing provided in the present application may specifically include the following steps:

[0146] S61, obtaining a target three-dimensional digital model to be converted, converting the target three-dimensional digital model according to the current viewing angle of the target three-dimensional digital model, and obtaining an engineering drawing to be annotated.

[0147] S62, obtaining a feature type corresponding to the reference point system information from the target three-dimensional digital model.

[0148] The feature type includes at least one of a point feature, a surface feature, a circle feature, and a continuous curve feature.

[0149] S63, acquiring three-dimensional information at the current viewing angle according to the feature type, and using the three-dimensional information as annotation information.

[0150] S64: In response to the feature type including at least one of a point feature and a surface feature, determining the datum category as a surface datum.

[0151] Specifically, in response to the feature type including at least one of a point feature and a surface feature, the engineering drawing generating apparatus determines that the datum category of the target three-dimensional digital model includes a surface datum.

[0152] S65 , in response to the feature type including at least one of a circle feature and a continuous curve feature, determining that the datum category is a hole datum.

[0153] Specifically, in response to the feature type including at least one of a circle feature and a continuous curve feature, the engineering drawing generating apparatus determines that the datum category of the target three-dimensional digital model includes a hole datum.

[0154] S66, directly marking the target to be marked in the engineering drawing to be marked based on the surface datum and / or the hole datum and using the marking information in the current viewing angle.

[0155] In some embodiments, the datum category of the target three-dimensional digital model is a surface datum, and the engineering drawing generation device uses the annotation information under the current viewing angle to directly perform an annotation surface datum operation on the target to be annotated in the engineering drawing to be annotated.

[0156] In some embodiments, the datum category of the target three-dimensional digital model is a hole datum, and the engineering drawing generation device uses the annotation information under the current viewing angle to directly perform an annotation hole datum operation on the target to be annotated in the engineering drawing to be annotated.

[0157] In some embodiments, the datum categories of the target three-dimensional digital model are surface datum and hole datum, and the engineering drawing generation device uses the annotation information under the current viewing angle to directly perform surface datum and hole datum operations on the target to be annotated in the engineering drawing.

[0158] The above scheme, by automatically generating engineering drawings containing annotation information, saves time and effort compared to the manual production of engineering drawings, and the annotation information is highly accurate, which can not only improve the efficiency of generating engineering drawings, reduce the workload of technical personnel, but also improve the accuracy of engineering drawings.

[0159] Furthermore, the engineering drawing generation method of the present application converts the target three-dimensional digital model according to the current viewing angle of the target three-dimensional digital model to obtain the engineering drawing to be annotated, without considering the standard viewing angle of the engineering drawing to be annotated, which is conducive to reflecting the relevant targets under the current viewing angle of the target three-dimensional digital model in the engineering drawing to be annotated. At the same time, there is no need to select the standard viewing angle during conversion, which improves the flexibility of generating engineering drawings and is also conducive to the drawing work of parts with complex structures.

[0160] Another embodiment of the method for generating an engineering drawing provided in the present application may specifically include the following steps:

[0161] S71, obtaining a target three-dimensional digital model to be converted, converting the target three-dimensional digital model according to the current viewing angle of the target three-dimensional digital model, and obtaining an engineering drawing to be annotated.

[0162] S72, obtaining a feature type corresponding to the reference point system information from the target three-dimensional digital model.

[0163] The feature type includes at least one of a point feature, a surface feature, a circle feature, and a continuous curve feature.

[0164] S73, extracting reference tolerance information from the reference point system information according to the feature type.

[0165] It should be noted that the RPS information contains the datum tolerance information. In some embodiments, the engineering drawing generation device extracts the datum tolerance information from the RPS information according to the feature type and the datum dimension type.

[0166] In some possible embodiments, the engineering drawing generating device determines the datum category according to the feature type, and then extracts the datum tolerance information from the RPS information according to the datum category and the datum dimension type.

[0167] In some possible embodiments, the engineering drawing generating device extracts the datum tolerance information from the RPS information according to whether the datum belongs to the primary datum or the auxiliary datum.

[0168] S74, using the reference tolerance information at the current viewing angle as the annotation information.

[0169] Specifically, the engineering drawing generating device uses the reference tolerance information at the current viewing angle as the annotation information.

[0170] In some embodiments, before performing the marking operation, the reference tolerance information needs to be converted into marking information based on ASME (American Society of Mechanical Engineers) standards, ISO standards, or GB (Chinese National Standards, Guobiao).

[0171] In the related art, it is necessary to read the overall reference system (such as the vehicle reference system) and the tolerance library in advance, determine the level to which the target 3D digital model belongs, and then calculate the tolerance value to achieve semi-automatic annotation. However, this application realizes the fully automatic annotation of the reference tolerance in the single-level part drawings.

[0172] S75, directly marking the target to be marked in the engineering drawing to be marked using the marking information.

[0173] The above scheme, by automatically generating engineering drawings containing annotation information, saves time and effort compared to the manual production of engineering drawings, and the annotation information is highly accurate, which can not only improve the efficiency of generating engineering drawings, reduce the workload of technical personnel, but also improve the accuracy of engineering drawings.

[0174] Furthermore, the engineering drawing generation method of the present application converts the target three-dimensional digital model according to the current viewing angle of the target three-dimensional digital model to obtain the engineering drawing to be annotated, without considering the standard viewing angle of the engineering drawing to be annotated, which is conducive to reflecting the relevant targets under the current viewing angle of the target three-dimensional digital model in the engineering drawing to be annotated. At the same time, there is no need to select the standard viewing angle during conversion, which improves the flexibility of generating engineering drawings and is also conducive to the drawing work of parts with complex structures.

[0175] See also Figure 2 , Figure 2 It is a flow chart of another embodiment of the method for generating an engineering drawing provided in the present application.

[0176] like Figure 2 As shown, the method for generating an engineering drawing provided in the present application may specifically include the following steps:

[0177] S101, according to the annotation specification, the three-dimensional RPS information is produced at the corresponding position of the structure tree of the target three-dimensional digital model.

[0178] The dimensional engineer creates the RPS information at the corresponding position of the digital model structure tree of the developed vehicle model according to the 3D RPS annotation specifications, and names the geometric graphics set containing the RPS information as #RPS Informations for recognition by the software program.

[0179] The annotation specification of 3D RPS is to standardize the RPS format (name and shape) in the target 3D digital model to avoid ambiguity caused by inconsistent RPS format. The annotation scope of 3D RPS includes single-piece and assembly RPS on the left and right sides.

[0180] For example, the three-dimensional RPS naming convention is as follows:

[0181] (1) For single / welded parts, RPS needs to be created in its "#RPS Informations" geometry set.

[0182] (2) For assemblies, the RPS needs to be created in the "#RPS Informations" geometry set of the child weld part file (i.e. the part file with the "-Sw" suffix).

[0183] (3) For special parts (i.e. welded parts mentioned above), the RPS with standard parts assembly is created in the "#RPS Informations" geometry set of the sub-level non-standard parts part file.

[0184] (4) RPS order: first sort by "A1, A2, A3...", then sort by "B1, B2...", then sort by "C1, C2...", and so on.

[0185] In some possible embodiments, after S101, the following steps are further included:

[0186] The engineering drawing generation device packages the 3D digital model file containing RPS information as a whole or exports all RPS information graphics sets separately and packages them, and sends them to various departments for inspection and communication, and makes modifications based on the feedback results. Based on the final results, the final product digital model is generated and frozen with the digital model.

[0187] S 102, automatically marking the datum in the created engineering drawing according to the selected projection direction.

[0188] Specifically, the engineering drawing generation device opens the frozen digital model, selects the target part / assembly for which the drawing needs to be made, and clicks on the quick new drawing. Figure 3 shown.

[0189] Furthermore, the engineering drawing generation device enters the GD&T drawing template, switches to the datum information page, and projects the target part / assembly (the projection direction is not limited and can be determined subjectively by the engineer. The surface datum and hole datum features on the drawing are directly generated at the corresponding positions according to the RPS feature positions on the digital model. This design is conducive to the drawing of parts with complex structures. Engineers can select perspectives other than traditional XYZ and isometric perspectives for projection, and try to display all RPS information points in one projection view).

[0190] It should be noted that the control direction of the later clamping and inspection fixture positioning points is determined by the annotation information in the figure and is not bound to the projection viewing angle.

[0191] Further, by clicking the buttons "Automatically mark surface datum based on 3D" and "Automatically mark hole datum based on 3D" on the left, the engineering drawing generation device displays the datum system to be generated on the UI interactive interface based on the RPS information identified from the three-dimensional digital model, such as Figure 4 shown.

[0192] Finally, create a datum annotation at the corresponding position of the projection view and generate a datum information table. Figure 5 As shown, the benchmark information table is as follows Figure 6 shown.

[0193] In some embodiments, the reference information table includes page number, reference, description, and direction.

[0194] The above scheme, by automatically generating engineering drawings containing annotation information, saves time and effort compared to the manual production of engineering drawings, and the annotation information is highly accurate, which can not only improve the efficiency of generating engineering drawings, reduce the workload of technical personnel, but also improve the accuracy of engineering drawings.

[0195] Furthermore, the engineering drawing generation method of the present application converts the target three-dimensional digital model according to the current viewing angle of the target three-dimensional digital model to obtain the engineering drawing to be annotated, without considering the standard viewing angle of the engineering drawing to be annotated, which is conducive to reflecting the relevant targets under the current viewing angle of the target three-dimensional digital model in the engineering drawing to be annotated. At the same time, there is no need to select the standard viewing angle during conversion, which improves the flexibility of generating engineering drawings and is also conducive to the drawing work of parts with complex structures.

[0196] See also Figure 7 , Figure 7 yes Figure 2 Schematic diagram of the flow chart of an embodiment of sub-step 1 of S102.

[0197] like Figure 7 As shown, the sub-steps of S102 may specifically include:

[0198] S111, determining the properties of the target component.

[0199] Specifically, the engineering drawing generating device determines whether the target component attribute is an assembly, a single piece, or a welded component, wherein the target component corresponds to the target three-dimensional digital model mentioned above.

[0200] In some embodiments, the engineering drawing generating device determines that the target component is an assembly based on the existence of more than one part (.part) file of a non-standard part under the target level and the existence of a -SW (weld point) file.

[0201] In some embodiments, the engineering drawing generating device determines that the target component is a welded part based on the fact that there is only one non-standard part file under the target level and the rest are all standard parts.

[0202] In some embodiments, the engineering drawing generating device determines that the target component is a weldment based on the target level attribute being a part.

[0203] It can be understood that whether a part file is a standard part can be determined by whether the part number exists in the standard parts library.

[0204] S112, searching for RPS information of the target component.

[0205] In some embodiments, if the target component is an assembly, the engineering drawing generating device obtains the RPS information from the geometry set of the -SW part at the next level of the target component.

[0206] In some embodiments, if the target component is a welded component, the engineering drawing generating device obtains the RPS information from the geometric graphics set of the only non-standard part in the next level.

[0207] In some embodiments, if the target component is a single piece, the engineering drawing generation device directly obtains the RPS information from this part set (geometry set).

[0208] The RPS information is stored in the above-mentioned location in the form of a geometric set, and the name contains #RPSInformations as an identification keyword.

[0209] S 113, converting the three-dimensional RPS information into two-dimensional annotation information.

[0210] Specifically, the engineering drawing generating device converts the three-dimensional RPS information to obtain two-dimensional annotation information that complies with the ASME standard.

[0211] Among them, the graphics set of RPS may contain 4 types of features, namely point features, surface features, circle features, and continuous curve features. Point features correspond to surface datums, which are divided into three types: surface points (clamping points), hole points (pin with surface / hook pins), and support surface points only. Surface points and hole points are distinguished by whether the feature points are located on the surface of the digital model entity or the center point of the hole feature circle. Support points are distinguished by whether -S is included in the feature point naming. The default is clamping points, and -S (support) is only support points. Surface features correspond to surface datums using large surface positioning methods, and the flatness requirement of 0.2 is additionally marked in the drawings. The control direction of the surface datum is determined according to the -X / Y / Z in the feature naming. Circle features and continuous curve features correspond to hole datums, including round holes with round pins, round holes with diamond pins, oblong holes with round pins, oblong holes with contour pins, square holes / non-standard holes with round pins / diamond pins / contact pins, which are confirmed based on the feature type and the control direction combination in the naming.

[0212] At the same time, the engineering drawing generation device reads the three-coordinate information of each feature. For a point feature, the engineering drawing generation device reads the three coordinates of the point. For a surface feature and / or a continuous curve feature, the engineering drawing generation device reads the three coordinates of the centroid. For a circle feature, the engineering drawing generation device reads the three coordinates of the center point.

[0213] It should be noted that the present application simultaneously extracts the structure tree in the three-dimensional digital model and the feature information in the digital model, and realizes the display and annotation of the RPS point features at the corresponding position in the projection view of any viewing angle. It is not necessary to first determine the front view viewing angle through the benchmark information, and then convert it to obtain the benchmark feature position of other viewing angles as in the related art.

[0214] S114, marking the engineering drawing.

[0215] Specifically, the engineering drawing generation device performs ASME standard annotation on the two-dimensional engineering drawing. According to the projection view selected by the engineer, the two-dimensional feature representing the RP S is directly displayed at the corresponding position in the drawing, and the annotation lead line points to the position point in S113 (the point corresponding to the point feature, the center point corresponding to the circle feature, or the centroid corresponding to the surface feature or continuous curve feature). Among them, the point feature and the surface feature point to the three-coordinate point itself, and there is no need to determine it through the main perspective conversion, so as to improve the calculation speed.

[0216] Among them, the circle feature and the continuous curve feature point to the first intersection of the centroid and the feature along the marked lead-out line (the direction vector is given by the engineer, and the system defaults to remember the last input value). And mark the three coordinate values. It should be noted that the circle feature and the continuous curve feature use the centroid as the position point to ensure that the position points of the circle feature and the continuous curve feature at different viewing angles will not be offset.

[0217] In some embodiments, the annotation information also includes datum tolerance information, which can be determined by the information read in S113 and the ASME standard. In some application scenarios, the RPS information contains tolerances, and the tolerances can be extracted from the RPS information based on whether the datum is a surface datum or a point datum and the size type of the datum.

[0218] S115, generating a benchmark information table.

[0219] Specifically, the engineering drawing generation device automatically generates a reference information table including reference name, control direction, number, and control sequence information at the upper right corner of the engineering drawing sheet according to the information in S113.

[0220] The benchmark name includes not only the type of benchmark but also the order of the benchmark and the importance of the benchmark.

[0221] The above scheme, by automatically generating engineering drawings containing annotation information, saves time and effort compared to the manual production of engineering drawings, and the annotation information is highly accurate, which can not only improve the efficiency of generating engineering drawings, reduce the workload of technical personnel, but also improve the accuracy of engineering drawings.

[0222] Furthermore, the engineering drawing generation method of the present application converts the target three-dimensional digital model according to the current viewing angle of the target three-dimensional digital model to obtain the engineering drawing to be annotated, without considering the standard viewing angle of the engineering drawing to be annotated, which is conducive to reflecting the relevant targets under the current viewing angle of the target three-dimensional digital model in the engineering drawing to be annotated. At the same time, there is no need to select the standard viewing angle during conversion, which improves the flexibility of generating engineering drawings and is also conducive to the drawing work of parts with complex structures.

[0223] Please continue to see Figure 8 , Figure 8 The terminal device 500 of the embodiment of the present application includes a processor 51 and a memory 52 .

[0224] The processor 51 and the memory 52 are connected to a bus. The memory 52 stores program data. The processor 51 is used to execute the program data to implement the method for generating an engineering drawing described in the above embodiment.

[0225] In the embodiment of the present application, the processor 51 may also be referred to as a CPU (Central Processing Unit). The processor 51 may be an integrated circuit chip having the ability to process signals. The processor 51 may also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, discrete gates or transistor logic devices, or discrete hardware components. A general-purpose processor may be a microprocessor or the processor 51 may also be any conventional processor, etc.

[0226] This application also provides a computer storage medium, please continue to refer to Fig. 9 , Fig. 9 It is a structural diagram of an embodiment of a computer storage medium provided in the present application. The computer storage medium 600 stores program data 61. When the program data 61 is executed by a processor, it is used to implement the method for generating an engineering drawing of the above embodiment.

[0227] When the embodiments of the present application are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk.

[0228] The above description is only an implementation method of the present application, and does not limit the patent scope of the present application. Equivalent structures or equivalent process changes made by utilizing the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A method for generating an engineering drawing, characterized in that: The method comprises: Obtain the target three-dimensional digital model to be converted, and convert the target three-dimensional digital model according to the current viewing angle of the target three-dimensional digital model to obtain the engineering drawing to be annotated. Acquire the annotation information required for the engineering drawing to be annotated; wherein the annotation information at least includes three-dimensional information of the target to be annotated; The marking information is used to directly mark the target to be marked in the engineering drawing to be marked.

2. The method according to claim 1, characterized in that The obtaining of the annotation information required for the engineering drawing to be annotated includes: Acquire a component category of the target three-dimensional digital model, wherein the component category includes one of an assembly, a welded part, and a single part; According to the component category, obtaining the reference point system information at the current viewing angle from the target three-dimensional digital model; The benchmark reference point system information is used as the annotation information.

3. The method according to claim 2, characterized in that The component category of the target three-dimensional digital model is obtained, including: Obtaining a target level corresponding to the target three-dimensional digital model; In response to the target level containing more than one non-standard part file and the existence of a welding point file, determining that the component category is the assembly; In response to a part file containing only one non-standard part at the target level, determining that the component category is the welded part; In response to the attribute of the target level being a part, the component category is determined to be the single piece.

4. The method according to claim 3, characterized in that The step of acquiring the reference point system information at the current viewing angle from the target three-dimensional digital model according to the component category includes: In response to the component category being the assembly, acquiring the datum reference point system information at the current viewing angle from a geometry set of the weld point file; In response to the component category being the welded component, acquiring the datum reference point system information at the current viewing angle from a geometric figure set of the non-standard component; In response to the component category being the single piece, the datum reference point system information at the current viewing angle is acquired from a geometric figure set of the target three-dimensional digital model.

5. The method according to claim 1, characterized in that The obtaining of the annotation information required for the engineering drawing to be annotated includes: Acquire a feature type corresponding to the reference point system information from the target three-dimensional digital model, wherein the feature type includes at least one of a point feature, a surface feature, a circle feature, and a continuous curve feature; The three-dimensional information at the current viewing angle is acquired according to the feature type, and the three-dimensional information is used as the annotation information.

6. The method according to claim 5, characterized in that The acquiring the three-dimensional information at the current viewing angle according to the feature type includes: According to the feature type, obtaining a number of three-dimensional information of the feature area corresponding to each feature type; The three-dimensional information at a current viewing angle is determined from the plurality of three-dimensional information.

7. The method according to claim 5, characterized in that The step of directly marking the target to be marked in the engineering drawing to be marked by using the marking information includes: In response to the feature type including at least one of a point feature and a surface feature, determining the datum category as a surface datum; and / or, In response to the feature type comprising at least one of a circle feature and a continuous curve feature, determining the datum category as a hole datum; According to the surface datum and / or the hole datum, the target to be annotated in the engineering drawing to be annotated is directly annotated using the annotation information at the current viewing angle.

8. The method according to claim 1, characterized in that The obtaining of the annotation information required for the engineering drawing to be annotated includes: Acquire a feature type corresponding to the reference point system information from the target three-dimensional digital model, wherein the feature type includes at least one of a point feature, a surface feature, a circle feature, and a continuous curve feature; According to the feature type, base tolerance information is extracted from the reference point system information; and the base tolerance information at the current viewing angle is used as the annotation information.

9. A terminal device, characterized in that: The terminal device includes a processor and a memory connected to the processor, wherein: The memory stores program instructions; The processor is configured to execute program instructions stored in the memory to implement the method according to any one of claims 1 to 8.

10. A computer-readable storage medium, characterized in that: The storage medium stores program instructions, and when the program instructions are executed, the method according to any one of claims 1 to 8 is implemented.