CN104537181A - Method and device for repairing wrong data of labels in computer aided design - Google Patents
Method and device for repairing wrong data of labels in computer aided design Download PDFInfo
- Publication number
- CN104537181A CN104537181A CN201510002324.3A CN201510002324A CN104537181A CN 104537181 A CN104537181 A CN 104537181A CN 201510002324 A CN201510002324 A CN 201510002324A CN 104537181 A CN104537181 A CN 104537181A
- Authority
- CN
- China
- Prior art keywords
- error
- data
- display data
- foreground display
- repairing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000011960 computer-aided design Methods 0.000 title claims abstract description 63
- 238000000034 method Methods 0.000 title claims abstract description 52
- 238000002372 labelling Methods 0.000 claims abstract description 155
- 230000008439 repair process Effects 0.000 claims description 33
- 238000012986 modification Methods 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 238000013461 design Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000012938 design process Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000002349 favourable effect Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000012552 review Methods 0.000 description 1
Landscapes
- Processing Or Creating Images (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a method and device for repairing wrong data of labels in computer aided design. The method for repairing the wrong data of the labels in the computer aided design includes the steps that wrong labeling objects are obtained, wherein the wrong labeling objects are labeling objects with foreground display data not coincident with background definition data; characteristics of the wrong labeling objects are obtained; a congruent relationship between the foreground display data of the wrong labeling objects and the background definition data of the wrong labeling objects is built according to the characteristics of the wrong labeling objects; the wrong labeling objects are repaired according to the congruent relationship between the foreground display data of the wrong labeling objects and the background definition data of the wrong labeling objects. By means of the method and device, the problem that in the prior art, the wrong data of the labels in the computer aided design cannot be repaired is solved.
Description
Technical Field
The invention relates to the field of computer aided design, in particular to a method and a device for repairing error data labeled in computer aided design.
Background
Annotations are one of the elements commonly found in Computer Aided Design (CAD). The annotation in CAD is typically composed of foreground display data and background definition data. Foreground display data is used for displaying the drawn graph in a drawing; the background definition data is used for managing and recording each data defined on the labels, and mainly provides drawn data for foreground display graphics. In the actual design process of the drawing, background definition data and foreground display data are inconsistent due to some reasons, for example, when some complicated drawings or drawings converted from heterogeneous data are copied and pasted, for some marked values marked with sizes or symbols, the copying result may be inconsistent with the original marked value due to the damage of the marked background definition data, so that the background definition data is inconsistent with the foreground display data. The marking object with inconsistent background definition data and foreground data can cause the parts which do not meet the specification to be produced when the parts are processed and produced in a workshop, thereby causing loss. At present, the CAD software cannot repair the marked error data.
Aiming at the problem that the error data marked in the computer aided design can not be repaired in the prior art, an effective solution is not provided at present.
Disclosure of Invention
The invention mainly aims to provide a method and a device for repairing error data labeled in a computer aided design, which are used for solving the problem that the error data labeled in a computer aided design drawing cannot be repaired in the prior art.
To achieve the above object, according to one aspect of the present invention, there is provided a method for repairing error data labeled in a computer aided design.
The method for repairing the error data marked in the computer aided design comprises the following steps: acquiring an error marking object, wherein the error marking object is a marking object with inconsistent foreground display data and background definition data; acquiring the characteristics of the error labeling object; establishing a corresponding relation between foreground display data of the error marking object and background definition data of the error marking object according to the characteristics of the error marking object; and repairing the error labeling object according to the corresponding relation between foreground display data of the error labeling object and background definition data of the error labeling object.
Further, the obtaining the error marking object comprises: acquiring foreground display data of the error labeling object; and acquiring background definition data of the error labeling object.
Further, according to the corresponding relationship between foreground display data of the error annotation object and background definition data of the error annotation object, repairing the error annotation object includes: according to the corresponding relation between foreground display data of the error labeling object and background definition data of the error labeling object, restoring the background definition data of the error labeling object according to the foreground display data of the error labeling object; or, according to the corresponding relation between the foreground display data of the error labeling object and the background definition data of the error labeling object, repairing the foreground display data of the error labeling object according to the background definition data of the error labeling object.
Further, the obtaining of the characteristics of the error labeling object comprises: acquiring the position characteristics of foreground display data of the error marking object relative to a base point; storing the position characteristics of foreground display data of the error labeling object relative to a base point into a preset characteristic library, wherein the step of establishing the corresponding relation between the foreground display data of the error labeling object and background definition data of the error labeling object according to the characteristics of the error labeling object comprises the following steps: acquiring the type of background definition data of the error marking object according to the position of foreground display data of the error marking object stored in a preset feature library relative to a base point; establishing a corresponding relation between foreground display data of the error labeling object and background definition data of the error labeling object according to the type of the background definition data of the error labeling object; and storing the corresponding relation between foreground display data of the error labeling object and background definition data of the error labeling object into a preset relation matching library.
Further, after establishing the corresponding relationship between foreground display data of the error labeled object and background definition data of the error labeled object according to the characteristics of the error labeled object, the method for repairing the error data labeled in the computer aided design further comprises the following steps: outputting prompt information, wherein the prompt information is used for prompting selection of a repairing mode; receiving selection information, wherein the selection information is used for selecting a repair mode; determining a repairing mode corresponding to the selection information to obtain the determined repairing mode; and repairing the error labeling object by the determined repairing mode.
To achieve the above object, according to another aspect of the present invention, there is provided an apparatus for repairing error data labeled in a computer aided design.
The device for repairing the error data marked in the computer aided design comprises: the first acquisition module is used for acquiring an error marking object, wherein the error marking object is a marking object with inconsistent foreground display data and background definition data; the second acquisition module is used for acquiring the characteristics of the error labeling object; the establishing module is used for establishing the corresponding relation between foreground display data of the error labeling object and background definition data of the error labeling object according to the characteristics of the error labeling object; and the repairing module is used for repairing the error labeling object according to the corresponding relation between foreground display data of the error labeling object and background definition data of the error labeling object.
Further, the first obtaining module comprises: the first obtaining sub-module is used for obtaining foreground display data of the error labeling object; and the second obtaining submodule is used for obtaining background definition data of the error labeling object.
Further, the repair module includes: the first restoring submodule is used for restoring the background definition data of the error labeling object according to the foreground display data of the error labeling object and the corresponding relation of the background definition data of the error labeling object; and the second repairing submodule is used for repairing the foreground display data of the error labeling object according to the corresponding relation between the foreground display data of the error labeling object and the background definition data of the error labeling object.
Further, the second obtaining module includes: the third acquisition submodule is used for acquiring the position characteristics of foreground display data of the error labeling object relative to the base point; the first storage module is used for storing the position characteristics of foreground display data of the error labeling object relative to the base point into a preset characteristic library, and the establishing module comprises the following steps: the fourth obtaining submodule is used for obtaining the type of background definition data of the error marking object according to the position of foreground display data of the error marking object stored in the preset feature library relative to the base point; the first establishing submodule is used for establishing the corresponding relation between foreground display data of the error labeling object and background definition data of the error labeling object according to the type of the background definition data of the error labeling object; and the second storage module is used for storing the corresponding relation between foreground display data of the error labeling object and background definition data of the error labeling object into a preset relation matching library.
Further, the apparatus for repairing the error data marked in the computer aided design further comprises: the output module is used for outputting prompt information, wherein the prompt information is used for prompting the selection of the repair mode; the device comprises a receiving module, a restoration module and a processing module, wherein the receiving module is used for receiving selection information, and the selection information is used for selecting a restoration mode; the determining module is used for determining the repairing mode corresponding to the selection information to obtain the determined repairing mode; and the third repair submodule is used for repairing the error labeling object through the determined repair mode.
According to the invention, the error marking object is obtained, wherein the error marking object is a marking object with inconsistent foreground display data and background definition data; acquiring the characteristics of the error labeling object; establishing a corresponding relation between foreground display data of the error marking object and background definition data of the error marking object according to the characteristics of the error marking object; the error marked object is repaired according to the corresponding relation between the foreground display data of the error marked object and the background definition data of the error marked object, and the problem that the error data marked in the computer aided design cannot be repaired in the prior art is solved. The method comprises the steps of establishing the corresponding relation between background definition data and foreground display data of the error marked object by acquiring the characteristics of the error marked object, and repairing the error data of the error marked object according to the corresponding relation between the background definition data and the foreground display data of the error marked object, wherein the error data are repaired in two ways, namely modifying foreground display data according to the background definition data of the error object and modifying the background definition data according to the foreground display data of the error object.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate embodiments of the invention and, together with the description, serve to explain the invention and not to limit the invention. In the drawings:
FIG. 1 is a flow chart of a method for error data repair of a label in a computer aided design according to an embodiment of the present invention; and
FIG. 2 is a schematic diagram of an apparatus for repairing error data marked in a computer aided design according to an embodiment of the present invention.
Detailed Description
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present invention will be described in detail below with reference to the embodiments with reference to the attached drawings.
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be used. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The invention aims to provide a method and a device for repairing error data labeled in computer aided design.
FIG. 1 is a flowchart of a method for repairing erroneous data labeled in a computer aided design according to an embodiment of the present invention. As shown in fig. 1, the method for repairing the error data marked in the computer aided design includes the following steps S102 to S108:
step S102, obtaining an error marking object.
The error annotation object in the method for repairing the error data annotated in the computer aided design of the embodiment is an annotation object whose foreground display data is inconsistent with background definition data. Preferably, the obtaining the error marking object in the embodiment includes: acquiring foreground display data of the error labeling object; and acquiring background definition data of the error labeling object. Foreground display data is mainly used for foreground display, namely, a drawn style is displayed in a drawing; the background definition data is mainly used for background definition, is used for managing and recording each data marked on the label, and provides drawn data for foreground display data. The error annotation object obtained in the method for repairing the error data annotated in the computer aided design in the embodiment is an annotation object whose foreground display data and background definition data are inconsistent in the annotation object detected by the method for detecting the annotation object, wherein the method for detecting whether the annotation object is the error annotation object can be any method capable of detecting that the foreground display data and the background definition data are inconsistent. When the foreground display data and the background definition data of the annotation object are detected to be inconsistent, the annotation object is taken as an error annotation object and is delivered to the error data repair method labeled in the computer aided design of the embodiment for repair. The number of the error labeling objects in the method for repairing error data labeled in the computer aided design according to the embodiment may be one or more. When a plurality of error labeling objects needing to be modified are provided, traversing the plurality of error labeling objects, and applying the error data repairing method labeled in the computer aided design of the embodiment to each error labeling object one by one for repairing.
Preferably, in the method for repairing error data labeled in the computer-aided design according to the embodiment, after the error labeled object is acquired, the background definition number and the corresponding data value of the foreground display data are stored in the preset storage container, so that the foreground display data and the background definition data of the error labeled object are quickly acquired from the preset storage container.
And step S104, acquiring the characteristics of the error labeling object.
The characteristics of the annotation object comprise data values carried by background definition data of the annotation object, and the foreground displays the position corresponding relation of each data value in the data relative to a base point of the annotation object. The data value of the labeled object refers to the value of data with different meanings carried by the labeled object, for example, the data value carried by the linear label includes a basic measurement value, an upper deviation, a lower deviation, a code number, and the like.
Preferably, the acquiring the characteristics of the error labeled object in the method for repairing the error data labeled in the computer aided design of the embodiment includes: acquiring the position characteristics of foreground display data of the error marking object relative to a base point; and storing the position characteristics of foreground display data of the error labeling object relative to the base point into a preset characteristic library. The preset feature library in this embodiment is a database that is preset by the system and is used for storing features of previous day display data of a specific annotation object. For example, the preset feature library stores the position feature of the foreground display data relative to the base point, and the background definition data corresponding to the position feature. The method for repairing the error data marked in the computer-aided design according to the embodiment acquires the characteristics of the error marked object, so as to establish the corresponding relation between foreground display data and background definition data of the error marked object according to the characteristics of the error marked object, thereby realizing the repair of the error data in the error marked object.
And step S106, establishing the corresponding relation between foreground display data of the error labeling object and background definition data of the error labeling object according to the characteristics of the error labeling object.
Preferably, the method for repairing the error data labeled in the computer-aided design according to the embodiment, the establishing of the corresponding relationship between the foreground display data of the error labeled object and the background definition data of the error labeled object according to the characteristics of the error labeled object includes: acquiring the type of background definition data of the error marking object according to the position of foreground display data of the error marking object stored in a preset feature library relative to a base point; establishing a corresponding relation between foreground display data of the error labeling object and background definition data of the error labeling object according to the type of the background definition data of the error labeling object; and storing the corresponding relation between foreground display data of the error labeling object and background definition data of the error labeling object into a preset relation matching library.
The method for repairing the error data marked in the cad design according to the embodiment can obtain the relative position relationship between the background definition data of the error marked object and the error marked object according to the characteristics of the error marked object pre-stored in the preset characteristic library, reversely capture the background definition data of the error object according to the position of the foreground display data relative to the base point of the error marked object by obtaining the foreground display data of the error marked object, that is, obtain the data type of the background fixed number data of the error marked object according to the position of the data value of each foreground display data relative to the base point of the error marked object stored in the preset characteristic library. After acquiring the corresponding relationship between the foreground display data of the error annotation object and the background definition data of the error annotation object, matching between the foreground display data and the background definition data of the error annotation object can be realized according to the corresponding relationship, and the background definition data in the matched error annotation object corresponds to one foreground display data, wherein the background definition data of the error annotation object can be a null value, and the corresponding foreground display data is not displayed in the drawing. The method for repairing the error data marked in the computer-aided design realizes the matching process of foreground display data and background definition data by acquiring the corresponding relation between the foreground display data and the background definition data of the error marked object, is favorable for accurately repairing the error marked object, and improves the repairing accuracy of the error marked object.
Preferably, after the method for repairing the error data labeled in the computer-aided design according to the embodiment establishes the corresponding relationship between the foreground display data of the error labeled object and the background definition data of the error labeled object according to the characteristics of the error labeled object, the method further includes: outputting prompt information, wherein the prompt information is used for prompting selection of a repairing mode; receiving selection information, wherein the selection information is used for selecting a repair mode; determining a repairing mode corresponding to the selection information to obtain the determined repairing mode; and repairing the error labeling object by the determined repairing mode. The repair mode in the embodiment is preferably a manual repair mode or an automatic repair mode, when the system is initialized, whether the system setting is the manual repair or the automatic repair mode is checked, if the system setting is the manual repair mode, a drawing is directly opened, the detection and repair of the error data object are not carried out, and the repair process of the error marked object is started when a user selects the manual repair mode; and if the target object is automatically repaired, opening the drawing file and then directly entering the repairing process of the mistakenly marked object in the drawing. The method for repairing the error data marked in the computer aided design provides two repairing modes, and the user experience is improved.
And S108, repairing the error labeling object according to the corresponding relation between the foreground display data of the error labeling object and the background definition data of the error labeling object.
According to the corresponding relation between the foreground display data of the error labeling object and the background definition data of the error labeling object, the foreground display data and the background definition data of the error labeling object can be matched, and then the error data in the error labeling object can be repaired. Preferably, the method for repairing the error data labeled in the computer-aided design according to the corresponding relationship between the foreground display data of the error labeled object and the background definition data of the error labeled object in the embodiment includes: according to the corresponding relation between foreground display data of the error labeling object and background definition data of the error labeling object, restoring the background definition data of the error labeling object according to the foreground display data of the error labeling object; or, according to the corresponding relation between the foreground display data of the error labeling object and the background definition data of the error labeling object, repairing the foreground display data of the error labeling object according to the background definition data of the error labeling object. The method and the device have the advantages that the foreground display data or the background definition data are modified according to the corresponding relation between the foreground display data and the background definition data, so that the error data of the error marked object are repaired, meanwhile, two error data modification modes are provided, the accuracy of repairing the error marked object is improved, the error data modification process can be simplified, and the modification efficiency is improved.
The method for repairing the error data marked in the computer aided design of the embodiment adopts the steps of obtaining an error marking object, wherein the error marking object is a marking object with inconsistent foreground display data and background definition data; acquiring the characteristics of the error labeling object; establishing a corresponding relation between foreground display data of the error marking object and background definition data of the error marking object according to the characteristics of the error marking object; the method and the device have the advantages that the wrong marked object is repaired according to the corresponding relation between foreground display data of the wrong marked object and background definition data of the wrong marked object, the problem that the wrong data marked in computer aided design cannot be repaired in the prior art is solved, the marking data accuracy is improved, and design and operation of drawing designers are facilitated.
From the above description, it can be seen that the method for repairing the error data marked in the computer aided design according to the embodiment of the present invention establishes the corresponding relationship between the background definition data and the foreground display data of the error marked object by using the characteristics of the obtained error marked object, and repairs the error data of the error marked object according to the corresponding relationship between the background definition data and the foreground display data of the error marked object, wherein there are two ways for repairing the error data, one is to modify the foreground display data according to the background definition data of the error object, and the other is to modify the background definition data according to the foreground display data of the error object. The method for repairing the error data marked in the computer aided design solves the problem that the error data marked in the computer aided design cannot be repaired in the prior art, saves time for drawing review of drawing designers, reduces complexity, and further achieves the effects of improving the accuracy of the marked data and facilitating design and operation of the drawing designers.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than presented herein.
The embodiment of the invention also provides a device for repairing the error data marked in the computer aided design. It should be noted that the apparatus for repairing error data labeled in computer aided design can be used to execute the method for repairing error data labeled in computer aided design according to the embodiment of the present invention.
FIG. 2 is a schematic diagram of an apparatus for repairing error data marked in a computer aided design according to an embodiment of the present invention. As shown in fig. 2, the apparatus for repairing error data marked in the computer aided design includes: a first acquisition module 10, a second acquisition module 20, a setup module 30 and a repair module 40.
The first obtaining module 10 is configured to obtain an error annotation object, where the error annotation object is an annotation object whose foreground display data is inconsistent with the background definition data.
Preferably, the first obtaining module 10 in the apparatus for repairing error data labeled in computer aided design of this embodiment includes: the first obtaining sub-module is used for obtaining foreground display data of the error labeling object; and the second obtaining submodule is used for obtaining background definition data of the error labeling object.
And a second obtaining module 20, configured to obtain a feature of the error marked object.
Preferably, the second obtaining module 20 in the apparatus for repairing error data labeled in computer aided design of this embodiment includes: the third acquisition submodule is used for acquiring the position characteristics of foreground display data of the error labeling object relative to the base point; the first storage module is used for storing the position characteristics of foreground display data of the error labeling object relative to the base point into a preset characteristic library.
The establishing module 30 is configured to establish a corresponding relationship between foreground display data of the error marked object and background definition data of the error marked object according to the characteristics of the error marked object.
Preferably, the building module 30 in the error data repairing apparatus labeled in the computer aided design of the embodiment includes: the fourth obtaining submodule is used for obtaining the type of background definition data of the error marking object according to the position of foreground display data of the error marking object stored in the preset feature library relative to the base point; the first establishing submodule is used for establishing the corresponding relation between foreground display data of the error labeling object and background definition data of the error labeling object according to the type of the background definition data of the error labeling object; and the second storage module is used for storing the corresponding relation between foreground display data of the error labeling object and background definition data of the error labeling object into a preset relation matching library.
And the repairing module 40 is configured to repair the error marked object according to a corresponding relationship between foreground display data of the error marked object and background definition data of the error marked object.
Preferably, the repair module 40 in the device for repairing the error data marked in the computer aided design of the embodiment comprises: the first restoring submodule is used for restoring the background definition data of the error labeling object according to the foreground display data of the error labeling object and the corresponding relation of the background definition data of the error labeling object; and the second repairing submodule is used for repairing the foreground display data of the error labeling object according to the corresponding relation between the foreground display data of the error labeling object and the background definition data of the error labeling object.
Preferably, the apparatus for repairing error data labeled in computer-aided design of this embodiment further includes: the output module is used for outputting prompt information, wherein the prompt information is used for prompting the selection of the repair mode; the device comprises a receiving module, a restoration module and a processing module, wherein the receiving module is used for receiving selection information, and the selection information is used for selecting a restoration mode; the determining module is used for determining the repairing mode corresponding to the selection information to obtain the determined repairing mode; and the third repair submodule is used for repairing the error labeling object through the determined repair mode.
The device for repairing the error data marked in the computer aided design of the embodiment comprises a first acquisition module 10, a second acquisition module 20, a building module 30 and a repairing module 40. The device for repairing the error data marked in the computer aided design solves the problem that the error data marked in the computer aided design cannot be repaired in the prior art, and achieves the effects of improving the accuracy of the marked data and facilitating the design and operation of drawing designers.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and they may alternatively be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, or fabricated separately as individual integrated circuit modules, or fabricated as a single integrated circuit module from multiple modules or steps. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (10)
1. A method for repairing labeled error data in computer aided design is characterized by comprising the following steps:
acquiring an error marking object, wherein the error marking object is a marking object with inconsistent foreground display data and background definition data;
acquiring the characteristics of the error labeling object;
establishing a corresponding relation between foreground display data of the error labeling object and background definition data of the error labeling object according to the characteristics of the error labeling object; and
and repairing the error labeling object according to the corresponding relation between foreground display data of the error labeling object and background definition data of the error labeling object.
2. The method of claim 1, wherein the obtaining of the error labeled object comprises:
acquiring foreground display data of the error labeling object; and
and acquiring background definition data of the error labeling object.
3. The method of claim 2, wherein the repairing the error marked object according to the corresponding relationship between the foreground display data of the error marked object and the background definition data of the error marked object comprises:
restoring the background definition data of the error labeling object according to the foreground display data of the error labeling object and the corresponding relation of the background definition data of the error labeling object;
or,
and restoring the foreground display data of the error labeling object according to the background definition data of the error labeling object according to the corresponding relation between the foreground display data of the error labeling object and the background definition data of the error labeling object.
4. The method of repairing erroneous data noted in a computer-aided design according to claim 2,
the obtaining of the characteristics of the error labeling object comprises:
acquiring the position characteristics of foreground display data of the error marking object relative to a base point; and
storing the position characteristics of foreground display data of the error labeling object relative to a base point into a preset characteristic library,
establishing a corresponding relationship between foreground display data of the error labeling object and background definition data of the error labeling object according to the characteristics of the error labeling object comprises the following steps:
acquiring the type of background definition data of the error labeling object according to the position of foreground display data of the error labeling object stored in the preset feature library relative to a base point;
establishing a corresponding relation between foreground display data of the error labeling object and background definition data of the error labeling object according to the type of the background definition data of the error labeling object; and
and storing the corresponding relation between foreground display data of the wrong labeling object and background definition data of the wrong labeling object into a preset relation matching library.
5. The method for repairing the error data labeled in the computer aided design according to claim 1, after establishing the corresponding relationship between the foreground display data of the error labeled object and the background definition data of the error labeled object according to the characteristics of the error labeled object, the method further comprising:
outputting prompt information, wherein the prompt information is used for prompting selection of a repair mode;
receiving selection information, wherein the selection information is used for selecting a repair mode;
determining a repairing mode corresponding to the selection information to obtain the determined repairing mode; and
and repairing the error labeling object through the determined repairing mode.
6. An apparatus for repairing erroneous data labeled in a computer aided design, comprising:
the device comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring an error marking object, and the error marking object is a marking object with inconsistent foreground display data and background definition data;
the second acquisition module is used for acquiring the characteristics of the error labeling object;
the establishing module is used for establishing the corresponding relation between foreground display data of the error marking object and background definition data of the error marking object according to the characteristics of the error marking object; and
and the repairing module is used for repairing the error labeling object according to the corresponding relation between foreground display data of the error labeling object and background definition data of the error labeling object.
7. The apparatus for repairing error data labeled in computer-aided design according to claim 6, wherein the first obtaining module comprises:
the first obtaining sub-module is used for obtaining foreground display data of the wrong labeling object; and
and the second obtaining submodule is used for obtaining the background definition data of the error labeling object.
8. The apparatus according to claim 7, wherein the repair module comprises:
the first restoring submodule is used for restoring the background definition data of the error labeling object according to the corresponding relation between the foreground display data of the error labeling object and the background definition data of the error labeling object; and
and the second repairing sub-module is used for repairing the foreground display data of the error labeling object according to the corresponding relation between the foreground display data of the error labeling object and the background definition data of the error labeling object.
9. The apparatus for repairing error data labeled in computer aided design according to claim 7,
the second acquisition module includes:
a third obtaining submodule, configured to obtain a position feature of foreground display data of the error labeling object relative to the base point; and
a first storage module, configured to store the position characteristics of foreground display data of the error labeling object relative to the base point into a preset characteristic library,
the establishing module comprises:
a fourth obtaining sub-module, configured to obtain, according to a position of foreground display data of the error annotation object stored in the preset feature library relative to a base point, a type of background definition data of the error annotation object;
the first establishing submodule is used for establishing the corresponding relation between foreground display data of the error labeling object and background definition data of the error labeling object according to the type of the background definition data of the error labeling object; and
and the second storage module is used for storing the corresponding relation between foreground display data of the wrong annotation object and background definition data of the wrong annotation object into a preset relation matching library.
10. The apparatus for repairing the error data noted in the computer-aided design of claim 6, further comprising:
the output module is used for outputting prompt information, wherein the prompt information is used for prompting the selection of the repair mode;
the device comprises a receiving module, a judging module and a restoring module, wherein the receiving module is used for receiving selection information, and the selection information is used for selecting a restoring mode;
the determining module is used for determining the repairing mode corresponding to the selection information to obtain the determined repairing mode; and
and the third repair submodule is used for repairing the error labeling object through the determined repair mode.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510002324.3A CN104537181B (en) | 2015-01-04 | 2015-01-04 | The wrong data restorative procedure and device marked in CAD |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510002324.3A CN104537181B (en) | 2015-01-04 | 2015-01-04 | The wrong data restorative procedure and device marked in CAD |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104537181A true CN104537181A (en) | 2015-04-22 |
CN104537181B CN104537181B (en) | 2019-04-12 |
Family
ID=52852708
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510002324.3A Active CN104537181B (en) | 2015-01-04 | 2015-01-04 | The wrong data restorative procedure and device marked in CAD |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104537181B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107491906A (en) * | 2017-10-09 | 2017-12-19 | 中煤航测遥感集团有限公司 | Mapping product inspection method and system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6828963B1 (en) * | 2000-09-06 | 2004-12-07 | Proficiency Ltd. | Pattern matching for data exchange between computer aided design systems |
US20060282477A1 (en) * | 2005-06-03 | 2006-12-14 | Gruidl Timothy J | Computer aided design file validation system |
CN101408907A (en) * | 2007-10-11 | 2009-04-15 | 鸿富锦精密工业(深圳)有限公司 | System and method for automatically inspecting picture document |
CN101446999A (en) * | 2008-12-24 | 2009-06-03 | 南京大学 | Automatic checking method for dimension line marking error in engineering drawing |
CN103678736A (en) * | 2012-09-06 | 2014-03-26 | 上海市政工程设计研究总院(集团)有限公司 | Automatic elevation value updating method in computer aided design |
-
2015
- 2015-01-04 CN CN201510002324.3A patent/CN104537181B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6828963B1 (en) * | 2000-09-06 | 2004-12-07 | Proficiency Ltd. | Pattern matching for data exchange between computer aided design systems |
US20060282477A1 (en) * | 2005-06-03 | 2006-12-14 | Gruidl Timothy J | Computer aided design file validation system |
CN101408907A (en) * | 2007-10-11 | 2009-04-15 | 鸿富锦精密工业(深圳)有限公司 | System and method for automatically inspecting picture document |
CN101446999A (en) * | 2008-12-24 | 2009-06-03 | 南京大学 | Automatic checking method for dimension line marking error in engineering drawing |
CN103678736A (en) * | 2012-09-06 | 2014-03-26 | 上海市政工程设计研究总院(集团)有限公司 | Automatic elevation value updating method in computer aided design |
Non-Patent Citations (3)
Title |
---|
刘欢欢: "基于Inventor的零件表达训练与尺寸标注系统的研制", 《万方数据》 * |
张余等: "《中文版AutoCAD2008辅助绘图傻瓜书》", 31 May 2008 * |
谭祯: "二维工程图尺寸完备性检查的研究", 《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107491906A (en) * | 2017-10-09 | 2017-12-19 | 中煤航测遥感集团有限公司 | Mapping product inspection method and system |
Also Published As
Publication number | Publication date |
---|---|
CN104537181B (en) | 2019-04-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104572999B (en) | Heterogeneous data-based error data detection method and device | |
US20150066180A1 (en) | Quick processing system and method for smt equipment | |
CN109934093B (en) | Method for identifying goods on shelf, computer readable medium and identification system | |
CA3186195A1 (en) | Wiring harness production mounting | |
US10963739B2 (en) | Learning device, learning method, and learning program | |
CN102567565B (en) | Cable parameter processing method and system utilizing same | |
US20170323035A1 (en) | 3D Model Creation Support System and Method | |
US11386499B2 (en) | Car damage picture angle correction method, electronic device, and readable storage medium | |
CN104392050A (en) | Three-dimensional model component comparison system and method thereof | |
JP2015212922A (en) | Method and device for cad, user computer, and cloud computer | |
CN111044149A (en) | Method and device for detecting temperature abnormal point of voltage transformer and readable storage medium | |
CN112100359A (en) | Test case searching method, device, equipment and storage medium | |
CN105653528B (en) | Service field multi-state display method and device | |
CN111651460A (en) | Data management method and device, electronic equipment and readable storage medium | |
CN104537181B (en) | The wrong data restorative procedure and device marked in CAD | |
US9684748B1 (en) | System and method for identifying an electrical short in an electronic design | |
CN104809053A (en) | Control style testing method and device | |
CN109933398A (en) | Check method, device and the computer readable storage medium of function diagram page | |
CN113052501A (en) | Automatic safe operation and maintenance method and terminal based on assets | |
US9881210B2 (en) | Generating a computer executable chart visualization by annotating a static image | |
US20130346901A1 (en) | Generating Procedures For Entering Data | |
US10055811B2 (en) | System and method for generating interactive 2D projection of 3D model | |
CN108802512B (en) | Power distribution system test method and device | |
US8761515B2 (en) | Electronic device and method for creating measurement codes | |
US20180137613A1 (en) | Method for online configuration and ordering |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
PE01 | Entry into force of the registration of the contract for pledge of patent right |
Denomination of invention: Methods and Devices for Repairing Marked Error Data in Computer Aided Design Effective date of registration: 20230320 Granted publication date: 20190412 Pledgee: Zhongguancun Branch of Bank of Beijing Co.,Ltd. Pledgor: Beijing CAXA Technology Co.,Ltd. Registration number: Y2023990000169 |
|
PE01 | Entry into force of the registration of the contract for pledge of patent right |