CN114580046A - Engineering drawing method, computer readable storage medium and electronic device - Google Patents
Engineering drawing method, computer readable storage medium and electronic device Download PDFInfo
- Publication number
- CN114580046A CN114580046A CN202110341019.2A CN202110341019A CN114580046A CN 114580046 A CN114580046 A CN 114580046A CN 202110341019 A CN202110341019 A CN 202110341019A CN 114580046 A CN114580046 A CN 114580046A
- Authority
- CN
- China
- Prior art keywords
- information
- positioning
- pin
- tolerance
- hole
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 40
- 238000004590 computer program Methods 0.000 claims description 11
- 230000000007 visual effect Effects 0.000 claims description 6
- 238000010586 diagram Methods 0.000 description 4
- 238000002372 labelling Methods 0.000 description 4
- 238000004519 manufacturing process Methods 0.000 description 4
- 230000001174 ascending effect Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000006073 displacement reaction Methods 0.000 description 1
- 238000011143 downstream manufacturing Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/10—Geometric CAD
- G06F30/13—Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/20—Design optimisation, verification or simulation
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Geometry (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Evolutionary Computation (AREA)
- General Engineering & Computer Science (AREA)
- Structural Engineering (AREA)
- Computational Mathematics (AREA)
- Civil Engineering (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Pure & Applied Mathematics (AREA)
- Architecture (AREA)
- Processing Or Creating Images (AREA)
Abstract
The disclosure relates to a method of generating an engineering drawing, a computer-readable storage medium, and an electronic device. The method for generating the engineering drawing comprises the following steps: acquiring reference point system information in a three-dimensional digital model of an object to be marked, wherein the reference point system information comprises at least one layer of positioning reference information, and the positioning reference information in one layer comprises the following information items: positioning surface information, positioning hole information and/or positioning pin information for defining the degree of freedom of an object to be marked; and generating the engineering drawing according to the reference point system information, wherein the engineering drawing displays a two-dimensional view of the object to be marked, and also displays at least one of marks of holes and/or pins in the two-dimensional view, a reference system table of the object to be marked and the tolerance of the holes and/or pins which is not noted. The method can improve the efficiency of generating the engineering drawing, reduce the labor force of technicians and improve the accuracy of the engineering drawing.
Description
Technical Field
The present disclosure relates to the field of three-dimensional modeling technologies, and in particular, to a method for engineering drawings, a computer-readable storage medium, and an electronic device.
Background
After the three-dimensional modeling design is completed, the conventional manufacturing industry can convert the three-dimensional modeling design into a two-dimensional engineering drawing, and transmits the two-dimensional engineering drawing to a downstream process to guide production, and the drawing can be generally marked with standard marks such as drawing frames and the like, reference marks, unmarked tolerances, form and position tolerances, coordinates, hole site description and the like of positioning holes/positioning surfaces and non-positioning holes. At present, reference table manufacturing, tolerance manufacturing and positioning on a two-dimensional view and common hole marking one by one are generally carried out manually, and the drawing process is complicated, error is easy to occur, and repeated workload is large.
Disclosure of Invention
An object of the present disclosure is to provide a method of generating an engineering drawing, a computer-readable storage medium, and an electronic device, which can improve work efficiency.
In order to achieve the above object, according to an aspect of the present disclosure, there is provided a method of generating an engineering drawing, including:
acquiring reference point system information in a three-dimensional digital model of an object to be marked, wherein the reference point system information comprises at least one layer of positioning reference information, and the positioning reference information in one layer comprises the following information items: positioning surface information, positioning hole information and/or positioning pin information for defining the degree of freedom of an object to be marked;
and generating the engineering drawing according to the reference point system information, wherein the engineering drawing displays a two-dimensional view of the object to be marked, and also displays at least one of marks of holes and/or pins in the two-dimensional view, a reference system table of the object to be marked and unmarked tolerances of the holes and/or pins.
Optionally, the reference system table is obtained by:
traversing each information item in the layer of positioning reference information aiming at each layer of positioning reference information, and updating a preset reference system table structure according to each traversed information item until each information item in each layer of positioning reference information is traversed to obtain a reference system table;
the reference system table comprises a main reference table or a local reference table, the main reference table is obtained based on the uppermost layer of positioning reference information in the reference point system information and is used for limiting the degree of freedom of the object to be marked, and the local reference table is obtained based on the next layer of positioning reference information below the uppermost layer and is used for limiting the degree of freedom of parts which are in a matching relationship with the object to be marked; and the number of the first and second electrodes,
each reference table comprises a corresponding relation among the unique reference identifier, the reference type and the positioning direction.
Optionally, the open tolerance is obtained by: generating the tolerance not to be noted according to the main reference table;
the generating the non-annotated tolerance according to the master reference table comprises:
and placing the reference unique identification with the same positioning direction into the same reference cell without tolerance.
Optionally, the engineering drawing includes the two-dimensional view and the label of the hole and/or the pin in the two-dimensional view, and accordingly, the generating the two-dimensional view in the engineering drawing and the label of the hole and/or the pin in the two-dimensional view according to the reference point system information includes:
determining the front view of the object to be marked according to the uppermost layer positioning datum information in the reference point system information;
determining views of other visual angles of the object to be marked based on the front view;
for each of the front view and the views of the other perspectives, determining whether a hole and/or a pin to be marked exists in the view; and the number of the first and second electrodes,
when the hole and/or pin to be marked exists in the view, the view is taken as the two-dimensional view, and the hole and/or pin to be marked on the two-dimensional view is marked, wherein the marking comprises the following steps: one or more of a positional tolerance, a dimensional numerical value, a dimensional tolerance, and coordinate information.
Optionally, marking holes and/or pins to be marked on the two-dimensional view with a positional tolerance comprises:
judging whether a target information item corresponding to each hole and/or pin exists in the reference point system information or not for each hole and/or pin on the two-dimensional view;
if the reference point system information has a target information item corresponding to the hole and/or the pin, taking the hole and/or the pin as a positioning hole and/or a positioning pin; and the number of the first and second electrodes,
judging whether the target information item is in the positioning reference information of the uppermost layer of the reference point system information, if so, marking the position tolerance of the positioning hole and/or the positioning pin, and if not, marking the position tolerance of the positioning hole and/or the positioning pin relative to the main reference and the position tolerance of the positioning pin, wherein the positioning reference information of the uppermost layer is used as the main reference, and the positioning reference information of the next layer of the reference point system information is used as the local reference.
Optionally, the position tolerance comprises a position tolerance value, the position tolerance value being determined by:
inquiring target description information matched with holes and/or pins in the two-dimensional view from the description information in the three-dimensional digifax;
and determining the size tolerance and the position tolerance value of the corresponding hole and/or pin according to the target description information and the tolerance library.
Optionally, the engineering drawing further includes the reference system table and the unmarked tolerance, each reference table in the reference system table includes a corresponding relationship among a reference unique identifier, a reference type, and a positioning direction, the position tolerance includes a position tolerance reference, and the position tolerance reference is determined by:
for the positioning holes and/or positioning pins in the two-dimensional view, marking position tolerance benchmarks on the positioning holes and/or positioning pins based on information items which are positioned in front of the target information item and on the same layer as the target information item in the reference point system information and the benchmark system table;
for a generic hole and/or a generic pin in the two-dimensional view, marking a positional tolerance reference for the generic hole and/or generic pin according to the unmarked tolerance.
Optionally, the marking the holes and/or pins to be marked on the two-dimensional view includes:
and selecting one hole and/or pin to mark identification information and position tolerance, size numerical value, size tolerance and coordinate information for the same holes and/or pins in the two-dimensional view, and only marking the coordinate information and the identification information for the rest holes and/or pins in the same holes and/or pins.
According to another aspect of the present disclosure, there is also provided a computer readable storage medium, having stored thereon a computer program, which when executed by a processor, performs the steps of the above-described method.
According to still another aspect of the present disclosure, there is also provided an electronic device including:
a memory having a computer program stored thereon;
a processor for executing the computer program in the memory to implement the steps of the above method.
The technical scheme can at least achieve the following technical effects:
and automatically generating a two-dimensional view by referring to the reference point system information and the information in the three-dimensional digifax, displaying a reference system table and/or an unmarked tolerance on the two-dimensional view, and/or marking the hole and/or the pin on the object to be marked. Compared with the method for generating the engineering drawing manually, the method is time-saving and labor-saving, is high in accuracy, can improve the efficiency of generating the engineering drawing, reduces the labor force of technicians, and can improve the accuracy of the engineering drawing.
Additional features and advantages of the present disclosure will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the disclosure without limiting the disclosure. In the drawings:
FIG. 1 is a flow chart of a method of generating an engineering drawing provided in accordance with one embodiment of the present disclosure;
FIG. 2 is a flow chart of a method of generating an engineering drawing provided in accordance with another embodiment of the present disclosure;
FIG. 3 is a schematic diagram of reference point system information provided in accordance with one embodiment of the present disclosure;
FIG. 4 is a schematic diagram of a baseline system table provided in accordance with an embodiment of the present disclosure;
FIG. 5 is a schematic view of an unfilled tolerance column provided in accordance with one embodiment of the present disclosure;
FIG. 6 is a schematic illustration of a marking of a locating hole and/or pin of a main datum provided in accordance with one embodiment of the present disclosure;
FIG. 7 is a schematic illustration of a marking of a localized datum locating hole and/or pin provided in accordance with one embodiment of the present disclosure;
FIG. 8 is a labeled schematic view of the same holes and/or pins provided in accordance with one embodiment of the present disclosure;
fig. 9 is a block diagram of an electronic device provided in accordance with an embodiment of the present disclosure.
Detailed Description
The following detailed description of specific embodiments of the present disclosure is provided in connection with the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present disclosure, are given by way of illustration and explanation only, not limitation.
In order to overcome the complexity and error in manually drawing the engineering drawing, a method for generating the engineering drawing in the present disclosure is illustrated in detail by fig. 1 and 2. The method can be applied to generating the engineering drawing by three-dimensional digital analogy of the part. The method can be applied to one or more three-dimensional drawing software of Catia, Solidworks, Autodesk, PRO/E, 3DMAX and NX, and the method is not limited by the disclosure. As shown in fig. 1, the method includes:
s10, Reference Point System (RPS) information in a three-dimensional digital-to-analog model of an object to be marked is obtained, wherein the Reference Point System information comprises at least one layer of positioning Reference information, and the positioning Reference information in one layer comprises the following information items: positioning surface information, positioning hole information and/or positioning pin information for defining the degree of freedom of an object to be marked;
s20, generating the engineering drawing according to the reference point system information, wherein the engineering drawing displays a two-dimensional view of the object to be marked, and also displays at least one of the mark of the hole and/or pin in the two-dimensional view, a reference system table of the object to be marked and the tolerance of the hole and/or pin.
The reference point system information specifically includes positioning holes, positioning pins, and positioning surfaces, which are provided at different coordinate points of the object to be labeled and used for defining degrees of freedom in different directions, and may include information items for defining six degrees of freedom of the object to be labeled, where the positioning surfaces and the plurality of positioning pins used for defining different directions may be provided at the same coordinate point at the same time. As shown in fig. 3, it takes the object to be labeled represented by RPS200915 as an example, and shows reference point system information of the object to be labeled, specifically, the reference point system information shown in fig. 3 further includes information items corresponding to the inner buckle mounting local reference and the buckle cover mounting local reference which are parts of RPS200915, and the degree of freedom of the object to be labeled is limited by the information items in these reference point system information.
By the method, the two-dimensional view can be automatically generated according to the reference point system information and the information in the three-dimensional digifax, the reference system table and/or the unmarked tolerance can be displayed on the two-dimensional view, and/or the hole and/or the pin on the object to be marked can be marked. Compared with the method for generating the engineering drawing manually, the method is time-saving and labor-saving, is high in accuracy, can improve the efficiency of generating the engineering drawing, reduces the labor force of technicians, and can improve the accuracy of the engineering drawing.
In one possible implementation, the engineering drawing generated by the embodiment provided by the present disclosure may include a reference system table, which may be specifically obtained by:
and traversing each information item in the layer of positioning reference information aiming at each layer of positioning reference information, and updating a preset reference system table structure according to each traversed information item until each information item in each layer of positioning reference information is traversed to obtain the reference system table.
Wherein each information item comprises a positioning hole, a positioning pin and a positioning surface which are arranged at the same coordinate point. Also, two positioning pins for defining different directions may be provided at the same coordinate point. Reference point system information shown in fig. 3 is taken as an example for explanation, wherein H with "pin" word denotes a positioning pin, H without "pin" word denotes a positioning hole, F/F denotes a positioning surface, and subscript xyz of H/F denotes the degrees of freedom of the positioning hole, the positioning pin, and the positioning surface for defining the respective directions of the objects to be labeled. xyz is the same direction as xyz in the coordinate system of the three-dimensional digifax.
The reference system table comprises a main reference table or a local reference table, the main reference table is obtained based on the uppermost layer of positioning reference information in the reference point system information and is used for limiting the degree of freedom of the object to be marked, and the local reference table is obtained based on the next layer of positioning reference information below the uppermost layer and is used for limiting the degree of freedom of parts which are in a matching relationship with the object to be marked; and the number of the first and second electrodes,
each reference table comprises a corresponding relation among the unique reference identifier, the reference type and the positioning direction.
Taking the reference point system information shown in fig. 3 as an example, the information item contained in the uppermost layer in the reference point system information belongs to a master reference, such as the RPS200915 level shown in fig. 3, and the sub-layers below the uppermost layer are local references, such as the inside buckle installation local reference level shown in fig. 3. As shown in fig. 3, the positioning hole, positioning pin or positioning surface in the first information item in each level of the reference point system information is used to limit three degrees of freedom of the object to be labeled, the positioning hole, positioning pin or positioning surface in the second information item in each level is used to limit two degrees of freedom of the object to be labeled, and the positioning hole, positioning pin or positioning surface in the third information item in each level is used to limit one degree of freedom of the object to be labeled.
As shown in fig. 3 and 4, each information item in the positioning reference information of the uppermost layer is read, and sequentially from top to bottom, the positioning surface in the first information item with F/F read is determined as a reference unique identifier "a", and is given a serial number of 1, so that the reference unique identifier of the information item Fy of the uppermost layer in fig. 3 is "a 1", the positioning surfaces with the same direction in the level (RPS200915) of the system information of the same reference point are numbered one by one in an ascending manner in the reading order, and therefore, the reference unique identifiers of RPS2Fy, RPS4Fy, RPS5Fy, and RPS6Fy are sequentially a2, A3, a4, and a5, and accordingly, the surfaces a1-a5 may be abbreviated in a description column (i.e., reference type) in the main reference table. The faces E1-E5 were also obtained according to the above rules.
And H (positioning hole/positioning pin) takes a value from B, the first H in the read information items takes a value B, and the values of the rest positioning holes and/or positioning pins in different directions are sequentially increased in an ascending order according to the reading sequence from top to bottom, and are each information item in C, D, E, F DEG DEG.uppermost layer of positioning reference information.
The "pin" word H is written in the description column of the reference system table (i.e., the reference type), and the "hole" word H is written in the description column of the reference system table (i.e., the reference type) without the "pin" word H.
The reading rule of the local reference is the same as that of the main reference, and after the local reference is connected to the first layer of main reference, the reference displacement mark adding sequence number is marked, so that a reference system table comprising the main reference A-F and the local reference G-K and the like shown in the figure 4 is obtained. I.e. the reference system table displayed on the engineering drawing may be as shown in fig. 4.
It should be noted that, when there is no local reference in the reference point system information, the generated reference system table may not include the line of "main reference", and there may be no local reference table as shown in fig. 4.
In a possible implementation, the engineering drawing generated by the embodiment provided by the present disclosure may further include an unnoticed tolerance, which may be specifically obtained by:
and generating the unmarked tolerance according to the main reference table, and forming the unmarked tolerance into an unmarked tolerance column to be displayed in an engineering drawing.
For example, the generating the tolerance not to be noted according to the master reference table may specifically include: and placing the reference unique identification with the same positioning direction into the same reference cell without tolerance. In this embodiment, the reference system table may be displayed on the engineering drawing together with the unnoticed tolerance, or after the reference system table is obtained by calculation, the unnoticed tolerance may be generated according to the main reference table in the reference system table and only the unnoticed tolerance may be displayed on the generated engineering drawing.
The reference point system information shown in fig. 3 and the reference system table shown in fig. 4 are taken as examples for explanation.
The unique reference identifier A, B, C of the main reference table in the reference system table sequentially occupies three different reference cells of the unmarked tolerance column, if the description (reference type) corresponding to A, B, C is hole/pin, the maximum entity M is added behind the unique reference identifier A, B, C, if the description (reference type) corresponding to A, B, C is face, the maximum entity M is not added, and the generated unmarked tolerance can be consistent as the unmarked tolerance column shown in fig. 5 and displayed on the generated engineering drawing.
In the case where the master reference table also has the reference unique identifier D, E, F, the control direction corresponding to the reference unique identifier is placed behind B or C, respectively. For example, D controls the X direction and is placed behind B, which also controls the X direction. E.g., the E controls the X direction, and is also placed in the cell in which B is located. For example, F controls the Z direction and is placed inside C, which also controls the Z direction. If one reference is available to control two directions, and if the B reference is available to control the X/Y direction, the first direction X can be identified.
In the above S20, the engineering drawing includes the two-dimensional view and the hole and/or pin label in the two-dimensional view, and accordingly, the two-dimensional view in the engineering drawing and the hole and/or pin label in the two-dimensional view are generated according to the reference point system information, as shown in fig. 2, including:
s23, determining the front view of the object to be marked according to the uppermost layer positioning datum information in the reference point system information;
s24, determining views of other visual angles of the object to be marked based on the front view;
s25, judging whether a hole and/or a pin to be marked exists in each view of the front view and the views of other visual angles; and the number of the first and second electrodes,
s26, when there is a hole and/or a pin to be labeled in the view, regarding the view as the two-dimensional view, and labeling the hole and/or the pin to be labeled on the two-dimensional view, where the labeling includes: one or more of a positional tolerance, a dimensional numerical value, a dimensional tolerance, coordinate information.
The reference point system information shown in fig. 3 is taken as an example for illustration.
The control direction is identified as a front view by identifying the first F in the first information item in the uppermost positioning reference information in the reference point system information. As shown in fig. 3, the first information item is the RSP1HxzFy pin, and thus, the direction in which Fy is controlled is the front view.
After the front view is determined, views of other visual angles such as a left view, a right view, a bottom view or a top view are determined according to the projection relation, and if an object to be labeled does not exist in the view of a certain visual angle, the corresponding view is not generated. When the hole and/or pin to be marked exists in the view, the view is taken as the two-dimensional view, and the hole and/or pin to be marked on the two-dimensional view is marked, wherein the marking comprises the following steps: one or more of a positional tolerance, a dimensional numerical value, a dimensional tolerance, and coordinate information. As shown in fig. 6, positional tolerances, dimensional values, dimensional tolerances, coordinate information and descriptive information (for the primary locating holes) for the holes and/or pins are noted.
Wherein the dimensional numerical values and coordinate information of the holes and/or pins can be directly obtained from the three-dimensional numerical model and marked above and below the position tolerance, respectively. And dimensional tolerances may be derived from a tolerance database based on the hole and/or pin description information and noted behind the dimensional values. The following will describe how the tolerances of the position of the holes and/or pins are marked.
In S26, marking holes and/or pins to be marked on the two-dimensional view with a positional tolerance includes: judging whether a target information item corresponding to each hole and/or pin exists in the reference point system information or not for each hole and/or pin on the two-dimensional view; if the reference point system information has a target information item corresponding to the hole and/or the pin, taking the hole and/or the pin as a positioning hole and/or a positioning pin; and judging whether the target information item is in the positioning reference information of the uppermost layer of the reference point system information, if the target information item is in the positioning reference information of the uppermost layer of the reference point system information, the target information item belongs to the main reference, and marking the position tolerance of the positioning hole and/or the positioning pin.
As shown in fig. 6, if the target information item is not in the positioning reference information at the uppermost layer of the reference point system information, the position tolerance of the positioning hole and/or the positioning pin relative to the main reference and the position tolerance of the positioning hole and/or the positioning pin itself are labeled, as shown in fig. 7, where the first layer is the position tolerance requirement of the positioning hole and/or the positioning pin relative to the main reference, specifically, the position tolerance requirement, the specific numerical value is "1.0" by default, and the second layer number value is "0" by default, and is labeled according to the requirement relative to the local reference. The positioning reference information of the uppermost layer of the reference point system information is used as a main reference, and the positioning reference information of the second layer of the reference point system information is used as a local reference.
In one embodiment of the present disclosure, when marking the position tolerance of the positioning hole and/or the positioning pin, the symbol representing the position tolerance is filled in the cell of the tolerance symbol by default, and only the position tolerance of the positioning hole and/or the positioning pin is marked.
The position tolerance described in the embodiments of the present disclosure may specifically include a position tolerance value, and the position tolerance value may be determined as follows:
inquiring target description information matched with holes and/or pins in the two-dimensional view from the description information in the three-dimensional digifax; and determining the size tolerance and position tolerance value of the corresponding hole and/or pin according to the target description information and the tolerance library.
The object description information may include one or more of phi, a rectangular hole, a slotted hole, or a rectangular hole. Corresponding position tolerance values are extracted from the tolerance library based on the target description information corresponding to the holes and/or pins. And each hole and/or pin corresponds to the description information thereof one by one through the coordinate information, and the matched target description information can be inquired through the coordinate information of the hole and/or pin.
The position tolerance according to the embodiment of the present disclosure may further include a position tolerance reference, which may be determined based on the reference system table and the unnoticed tolerance, and specifically, includes:
for the positioning holes and/or positioning pins in the two-dimensional view, marking position tolerance benchmarks on the positioning holes and/or positioning pins based on information items which are positioned in front of the target information item and on the same layer as the target information item in the reference point system information and the benchmark system table;
for a generic hole and/or a generic pin in the two-dimensional view, marking a positional tolerance reference for the generic hole and/or generic pin according to the unmarked tolerance.
Illustratively, assuming that the locating hole is located in RPS3hx in the reference information system as shown in fig. 3, the information items located before the target information item are RPS1HxzFy and RPS2HzFy, which correspond to the reference unique identifier A, B, C in the reference system table, and thus, the tolerance base of the locating hole is exactly A, B, C.
Wherein the non-positioning holes and/or positioning pins are general holes and/or general pins, the non-tolerance reference of the general holes and/or general pins is determined directly by reading the non-tolerance in the two-dimensional view, and the maximum solid symbol is added after the holes or pins (i.e. H or H)
In an embodiment of the present disclosure, in order to improve the brevity and clarity of labeling the holes and/or pins, in S26, the labeling the holes and/or pins to be labeled on the two-dimensional view may include:
for the same holes and/or pins in the two-dimensional view, one of the holes and/or pins is selected to be marked with identification information, as well as position tolerance, size numerical value, size tolerance and coordinate information, and for the remaining holes and/or pins in the same holes and/or pins, only the coordinate information and the identification information are marked.
For example, as shown in fig. 8, it is determined whether the same hole and/or pin exists in the two-dimensional view by the description information and the size value matched with the hole and/or pin. When the same holes and/or pins exist, one of the holes and/or pins is selected to be marked with identification information, and position tolerance, size numerical value, size tolerance and coordinate information, and the same holes and/or pins have the same identification information. If the same two-dimensional view has multiple groups of same holes and/or pins, the holes and/or pins of each group are labeled with unique identification information, for example, the unique identification information can be read from top to bottom according to the digital-analog structure tree in the three-dimensional digital-analog, and the same holes and/or pins are labeled with identifications a, b, c, etc. in sequence. Like holes and/or pins in the first set are all labeled "a", like holes and/or pins in the second set are all labeled "b", like holes and/or pins in the third set are all labeled "c", and so on.
According to another aspect of the present disclosure, the present disclosure also provides an electronic device including:
a memory having a computer program stored thereon;
a processor for executing the computer program in the memory to implement the steps of any of the methods described above.
An exemplary structural schematic diagram of the electronic device may be as shown in fig. 9, including: a processor 701 and a memory 702. The electronic device 700 may also include one or more of a multimedia component 703, an input/output (I/O) interface 704, and a communication component 705.
The processor 701 is configured to control the overall operation of the electronic device 700, so as to complete all or part of the steps in the vehicle warning method. The memory 702 is used to store various types of data to support operations at the electronic device 700, such as instructions for any application or method operating on the electronic device 700 and application-related data. The Memory 702 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk, or optical disk. The I/O interface 704 provides an interface between the processor 701 and other interface modules, such as a keyboard, mouse, buttons, etc. These buttons may be virtual buttons or physical buttons.
In an exemplary embodiment, the electronic Device 700 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the vehicle warning method described above.
According to another aspect of the present disclosure, there is also provided a computer readable storage medium, on which a computer program is stored, which when executed by a processor, performs the steps of the method of generating an engineering drawing. In another exemplary embodiment, a computer-readable storage medium is also provided, which contains a computer program executable by a programmable apparatus, the computer program having code portions for performing the above-mentioned method of generating an engineering drawing when executed by the programmable apparatus.
For example, the computer readable storage medium may be the memory 702 described above including program instructions that are executable by the processor 701 of the electronic device 700 to perform the method for generating an engineering drawing described above.
The preferred embodiments of the present disclosure are described in detail with reference to the accompanying drawings, however, the present disclosure is not limited to the specific details of the above embodiments, and various simple modifications may be made to the technical solution of the present disclosure within the technical idea of the present disclosure, and these simple modifications all belong to the protection scope of the present disclosure.
It should be noted that, in the foregoing embodiments, various features described in the above embodiments may be combined in any suitable manner, and in order to avoid unnecessary repetition, various combinations that are possible in the present disclosure are not described again.
In addition, any combination of various embodiments of the present disclosure may be made, and the same should be considered as the disclosure of the present disclosure, as long as it does not depart from the spirit of the present disclosure.
Claims (10)
1. A method of generating an engineering drawing, comprising:
reference point system information in a three-dimensional digital model of an object to be marked is obtained, wherein the reference point system information comprises at least one layer of positioning reference information, and the positioning reference information of one layer comprises the following information items: positioning surface information, positioning hole information and/or positioning pin information for defining the degree of freedom of an object to be marked;
and generating the engineering drawing according to the reference point system information, wherein the engineering drawing displays a two-dimensional view of the object to be marked, and also displays at least one of marks of holes and/or pins in the two-dimensional view, a reference system table of the object to be marked and the tolerance of the holes and/or pins which is not noted.
2. The method of claim 1, wherein the reference system table is obtained by:
traversing each information item in the layer of positioning reference information aiming at each layer of positioning reference information, and updating a preset reference system table structure according to each traversed information item until each information item in each layer of positioning reference information is traversed to obtain a reference system table;
the reference system table comprises a main reference table or a local reference table, the main reference table is obtained based on the uppermost layer of positioning reference information in the reference point system information and is used for limiting the degree of freedom of the object to be marked, and the local reference table is obtained based on the next layer of positioning reference information below the uppermost layer and is used for limiting the degree of freedom of parts which are in a matching relationship with the object to be marked; and the number of the first and second electrodes,
each reference table comprises a corresponding relation among the unique reference identifier, the reference type and the positioning direction.
3. The method of claim 2, wherein the unaccounted tolerances are obtained by: generating the tolerance not to be noted according to the main reference table;
the generating the non-annotated tolerance according to the master reference table comprises:
and placing the reference unique identification with the same positioning direction into the same reference cell without tolerance.
4. The method of claim 1, wherein the engineering drawing comprises the two-dimensional view and the hole and/or pin label in the two-dimensional view, and accordingly, the generating the two-dimensional view in the engineering drawing and the hole and/or pin label in the two-dimensional view according to the reference point system information comprises:
determining the front view of the object to be marked according to the uppermost layer positioning datum information in the reference point system information;
determining views of other visual angles of the object to be marked based on the front view;
for each of the front view and the views of the other perspectives, determining whether a hole and/or a pin to be marked exists in the view; and the number of the first and second electrodes,
when the hole and/or pin to be marked exists in the view, the view is taken as the two-dimensional view, and the hole and/or pin to be marked on the two-dimensional view is marked, wherein the marking comprises the following steps: one or more of a positional tolerance, a dimensional numerical value, a dimensional tolerance, and coordinate information.
5. The method of claim 4, wherein marking holes and/or pins to be marked on the two-dimensional view with positional tolerances comprises:
judging whether a target information item corresponding to each hole and/or pin exists in the reference point system information or not for each hole and/or pin on the two-dimensional view;
if the reference point system information has a target information item corresponding to the hole and/or the pin, taking the hole and/or the pin as a positioning hole and/or a positioning pin; and the number of the first and second electrodes,
judging whether the target information item is in the positioning reference information of the uppermost layer of the reference point system information, if so, marking the position tolerance of the positioning hole and/or the positioning pin, and if not, marking the position tolerance of the positioning hole and/or the positioning pin relative to the main reference and the position tolerance of the positioning pin, wherein the positioning reference information of the uppermost layer is used as the main reference, and the positioning reference information of the next layer of the reference point system information is used as the local reference.
6. The method of claim 5, wherein the position tolerance comprises a position tolerance value determined by:
inquiring target description information matched with holes and/or pins in the two-dimensional view from the description information in the three-dimensional digifax;
and determining the size tolerance and the position tolerance value of the corresponding hole and/or pin according to the target description information and the tolerance library.
7. The method of claim 5, wherein the engineering drawing further comprises the reference system tables and the unnoticed tolerances, wherein each of the reference system tables comprises a correspondence between a reference unique identifier, a reference type, and a positioning direction, wherein the position tolerances comprise a position tolerance reference, and wherein the position tolerance reference is determined by:
for the positioning holes and/or positioning pins in the two-dimensional view, marking position tolerance benchmarks on the positioning holes and/or positioning pins based on information items which are positioned in front of the target information item and on the same layer as the target information item in the reference point system information and the benchmark system table;
for a generic hole and/or a generic pin in the two-dimensional view, marking a positional tolerance reference for the generic hole and/or generic pin according to the unmarked tolerance.
8. The method according to claim 4, wherein the marking of holes and/or pins to be marked on the two-dimensional view comprises:
and selecting one hole and/or pin to mark identification information and position tolerance, size numerical value, size tolerance and coordinate information for the same holes and/or pins in the two-dimensional view, and only marking the coordinate information and the identification information for the rest holes and/or pins in the same holes and/or pins.
9. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 8.
10. An electronic device, comprising:
a memory having a computer program stored thereon;
a processor for executing the computer program in the memory to carry out the steps of the method of any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110341019.2A CN114580046A (en) | 2021-03-30 | 2021-03-30 | Engineering drawing method, computer readable storage medium and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110341019.2A CN114580046A (en) | 2021-03-30 | 2021-03-30 | Engineering drawing method, computer readable storage medium and electronic device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114580046A true CN114580046A (en) | 2022-06-03 |
Family
ID=81767905
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110341019.2A Pending CN114580046A (en) | 2021-03-30 | 2021-03-30 | Engineering drawing method, computer readable storage medium and electronic device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114580046A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118114332A (en) * | 2024-04-29 | 2024-05-31 | 杭州群核信息技术有限公司 | Drawing generation method, device, equipment and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102722615A (en) * | 2012-06-04 | 2012-10-10 | 中国电子科技集团公司第三十八研究所 | Technique information expressing method based on three-dimensional model |
DE102019214526A1 (en) * | 2019-09-24 | 2021-03-25 | Volkswagen Aktiengesellschaft | Virtual product qualification by aligning virtual component models |
-
2021
- 2021-03-30 CN CN202110341019.2A patent/CN114580046A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102722615A (en) * | 2012-06-04 | 2012-10-10 | 中国电子科技集团公司第三十八研究所 | Technique information expressing method based on three-dimensional model |
DE102019214526A1 (en) * | 2019-09-24 | 2021-03-25 | Volkswagen Aktiengesellschaft | Virtual product qualification by aligning virtual component models |
Non-Patent Citations (5)
Title |
---|
周金涛;: "RPS在仪表板总成设计中的应用", 汽车技术, no. 07, 24 July 2010 (2010-07-24), pages 42 - 46 * |
崔丽娟;李彦文;: "根据零件功能要求, 确定基准先后顺序", 砖瓦, no. 05, 10 May 2010 (2010-05-10), pages 15 - 19 * |
张闻雷;杨鹏;严智远;王成恩;: "基于形体分析的零件尺寸自动标注", 东北大学学报(自然科学版), 29 February 2012 (2012-02-29), pages 262 - 266 * |
许志华;: "RPS在车身设计过程中的应用", 汽车工程师, no. 08, 25 August 2011 (2011-08-25), pages 56 - 59 * |
陈晓华;黄金陵;: "RPS在车身精度设计上的应用", 汽车技术, no. 08, 24 August 2006 (2006-08-24), pages 18 - 21 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118114332A (en) * | 2024-04-29 | 2024-05-31 | 杭州群核信息技术有限公司 | Drawing generation method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6507806B1 (en) | Computer aided design (CAD) system for automatically constructing datum reference frame (DRF) and feature control frame (FCF) for machine part | |
US7127324B2 (en) | Information processing apparatus and information processing method | |
US8117011B2 (en) | Computer-aided design of three-dimensional objects to be fabricated | |
CN104793560A (en) | Method and system for generating a trajectory | |
Desrochers | Modeling three dimensional tolerance zones using screw parameters | |
CN112292702A (en) | Method for creating a digital twin | |
US8255077B2 (en) | Apparatus, method and program for creating tool reference plane | |
CN114580046A (en) | Engineering drawing method, computer readable storage medium and electronic device | |
CN112307145A (en) | Batch updating method, device, medium and equipment for historical map data | |
JP2011248622A (en) | Similar model searching system and work instruction reuse system | |
CN101561831A (en) | Spare part outside measurement computing system and method | |
US6735489B1 (en) | Horizontally structured manufacturing process modeling | |
JP4139249B2 (en) | CAD data identity verification apparatus, CAD data identity verification method, and CAD data identity verification program | |
JP2007193552A (en) | Apparatus and method for creating plane model | |
CN113407080A (en) | Method and device for generating component label, computer equipment and storage medium | |
CN117077418B (en) | XML description file generation method and device for laser processing equipment | |
JP2008033555A (en) | Integrated circuit design support program, integrated circuit design support device and integrated circuit design support method | |
US6928331B2 (en) | Orientation method | |
CN112783913B (en) | Database updating method, device, equipment and storage medium | |
JPH0716860B2 (en) | Automatic processing data creation device based on 2D CAD drawings | |
JP2022079288A (en) | Apparatus registration terminal, apparatus registration method, and apparatus registration program | |
US10816957B2 (en) | CAD integration through virtual persistent identifiers and design change recognition | |
CN115098950A (en) | Generation method and device of small group precision table, electronic equipment and storage medium | |
JP2024038742A (en) | Information processor and program | |
JP2001043250A (en) | Designing device, drawing preparing method and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |