CN112100768A - CAD model checking method and system - Google Patents

CAD model checking method and system Download PDF

Info

Publication number
CN112100768A
CN112100768A CN202010918010.9A CN202010918010A CN112100768A CN 112100768 A CN112100768 A CN 112100768A CN 202010918010 A CN202010918010 A CN 202010918010A CN 112100768 A CN112100768 A CN 112100768A
Authority
CN
China
Prior art keywords
examination
cad model
rule
logic
review
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010918010.9A
Other languages
Chinese (zh)
Inventor
刘昱
刘振波
龚明
陆斌
刘蕊
张尧
刘文广
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CRRC Industry Institute Co Ltd
Original Assignee
CRRC Industry Institute Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CRRC Industry Institute Co Ltd filed Critical CRRC Industry Institute Co Ltd
Priority to CN202010918010.9A priority Critical patent/CN112100768A/en
Publication of CN112100768A publication Critical patent/CN112100768A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/17Mechanical parametric or variational design
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Geometry (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Pure & Applied Mathematics (AREA)
  • Mathematical Optimization (AREA)
  • Mathematical Analysis (AREA)
  • Computational Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention provides a CAD model examination method and a system, wherein the method comprises the following steps: determining a CAD model to be examined; determining a logic rule corresponding to an examination item for the CAD model to be examined in an examination logic rule base; the examination logic rule base comprises a plurality of candidate examination entries and a logic rule corresponding to each candidate examination entry; the review logic rule base is determined based on industry standards and enterprise standards; and determining the examination result of the CAD model to be examined based on the logic rule corresponding to the examination item. The method and the system provided by the embodiment of the invention can realize continuous expansion of the examination rule and precipitation of examination knowledge, can realize examination aiming at different types of CAD models, and improve the examination efficiency of the CAD models.

Description

CAD model checking method and system
Technical Field
The invention relates to the field of mechanical engineering, in particular to a CAD (computer-aided design) model examination method and a CAD model examination system.
Background
Currently, the mechanical industry has designed large-area CAD (Computer Aided Design) technology, and the generated CAD model is examined in multiple aspects of two-dimensional engineering drawings, three-dimensional models, processes, materials, manufacturing, weight center data and the like, so that higher requirements are put on a CAD examination tool. In addition, for enterprises whose production and manufacturing are in transition from two-dimensional drawing to three-dimensional drawing, drawing review and release still remain in the two-dimensional engineering drawing stage, and designers do not know about rule review and process based on three-dimensional models.
In the prior art, the CAD examination mostly takes feature-level and topology-level geometric quality examination as the main part, and cannot meet the requirements of model release and process-level careful examination, or only can examine a model according to a specific mechanical structure, so that the examination universality is poor, and the working efficiency of the CAD model examination is low. There is also no CAD model review system in the prior art that can adapt to different roles in the review process.
Disclosure of Invention
The embodiment of the invention provides a CAD model checking method and a system, which are used for solving the problems of poor universality and low checking efficiency of the existing CAD model checking method.
In a first aspect, an embodiment of the present invention provides a method for reviewing a CAD model, including:
determining a CAD model to be examined;
determining a logic rule corresponding to an examination item for the CAD model to be examined in an examination logic rule base; the examination logic rule base comprises a plurality of candidate examination entries and a logic rule corresponding to each candidate examination entry; the review logic rule base is determined based on industry standards and enterprise standards;
and determining the examination result of the CAD model to be examined based on the logic rule corresponding to the examination item.
Optionally, the determining, in the review logic rule base, a logic rule corresponding to a review entry for the to-be-reviewed CAD model specifically includes:
selecting candidate examination items in an examination range matched with the examination authority of the user from the examination logic rule base as examination items for the CAD model to be examined;
and selecting the logic rule corresponding to the examination item from the examination logic rule base.
Optionally, the determining, based on the logic rule corresponding to the review entry, the review result of the CAD model to be reviewed specifically includes:
and examining the model data of the CAD model to be examined based on the logic rule corresponding to the examination item matched with the modeling environment of the CAD model to be examined, so as to obtain an examination result of the CAD model to be examined.
Optionally, the examination entry includes at least one of an engineering drawing examination rule, a three-dimensional annotation examination rule and a three-dimensional model examination rule.
Optionally, the logic rules include inspection object types, judgment data, and inspection logic, the logic rules corresponding to at least one of rule specification, standard source, and applicable modeling environment.
Optionally, the inspection logic comprises nested logic rules.
In a second aspect, an embodiment of the present invention provides a CAD model examining system, which includes an examining logic rule base, a rule examining unit, and a rule interface unit between the examining logic rule base and the rule examining unit:
the examination logic rule base is determined based on industry standards and enterprise standards and comprises a plurality of candidate examination items and a logic rule corresponding to each candidate examination item;
the rule interface unit is used for determining a logic rule corresponding to an examination item for the CAD model to be examined in an examination logic rule base;
the rule examination unit is used for determining an examination result of the CAD model to be examined based on the logic rule corresponding to the examination item.
Optionally, the rule interface unit specifically includes:
the authorization management subunit is used for selecting candidate examination items in an examination range matched with the user examination authority from the examination logic rule base as examination items for the CAD model to be examined;
and the rule determining subunit is used for selecting the logic rule corresponding to the examination item from the examination logic rule library.
Optionally, the system further comprises an environment interface unit, and the environment interface unit is used for integrating the rule examining unit in the modeling environment of the CAD model to be examined.
Optionally, the rule examining unit is specifically configured to:
and examining the model data of the CAD model to be examined based on the logic rule corresponding to the examination item matched with the modeling environment of the CAD model to be examined, so as to obtain an examination result of the CAD model to be examined.
In a third aspect, an embodiment of the present invention provides a CAD model review apparatus, including:
a CAD model determining unit used for determining a CAD model to be examined;
the logic rule determining unit is used for determining a logic rule corresponding to an examination item of the CAD model to be examined in an examination logic rule base; the examination logic rule base comprises a plurality of candidate examination entries and a logic rule corresponding to each candidate examination entry; the review logic rule base is determined based on industry standards and enterprise standards;
and the CAD model checking unit is used for determining a checking result of the CAD model to be checked based on the logic rule corresponding to the checking entry.
In a fourth aspect, an embodiment of the present invention provides an electronic device, which includes a processor, a communication interface, a memory, and a bus, where the processor and the communication interface, the memory complete communication with each other through the bus, and the processor may call a logic command in the memory to perform the steps of the CAD model review method as provided in the first aspect.
In a fifth aspect, an embodiment of the present invention provides a non-transitory computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the steps of the CAD model review method as provided in the first aspect.
The CAD model examination method and the CAD model examination system provided by the embodiment of the invention establish an examination logic rule base based on industry standards and enterprise standards, and determine a logic rule corresponding to an examination item for the CAD model to be examined in the examination logic rule base; and determining the examination result of the CAD model to be examined based on the logic rule corresponding to the examination item. The examination logic rule base comprises a plurality of candidate examination items and a logic rule corresponding to each candidate examination item, and examination rule categories and examination items from a plurality of industry standards and enterprise standards are collected and sorted, so that continuous expansion of the examination rules and settlement of examination knowledge are realized, examination can be realized for different types of CAD models, and the examination efficiency of the CAD models is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is a schematic flow chart of a CAD model review method according to an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of a CAD model review system according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a model examination system compatible with multiple CAD environments according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of the logical rules of the multi-CAD environment-compatible model examination system according to the embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a CAD model auditing apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. 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 invention.
Fig. 1 is a schematic flowchart of a CAD model review method according to an embodiment of the present invention, as shown in fig. 1, the method includes:
step 110, the CAD model to be reviewed is determined.
Specifically, existing CAD (Computer Aided Design) Design software includes CATIA, Creo, NX, SolidWorks, AutoCAD, and the like. The CAD design software is used for designing mechanical equipment, such as a train bogie, a wheel hub and the like, and a CAD model corresponding to the mechanical equipment is obtained.
The CAD model may be represented as a two-dimensional engineering drawing or as a three-dimensional model, with model data including process parameters, material parameters, and manufacturing parameters, etc. The CAD model is inspected, namely model data of the CAD model is inspected to verify whether the model data meets the design and manufacturing requirements, so that model distribution and process manufacturing can be realized.
Step 120, determining a logic rule corresponding to an examination item for the CAD model to be examined in an examination logic rule base; the examination logic rule base comprises a plurality of candidate examination items and a logic rule corresponding to each candidate examination item; the audit logic rule base is determined based on industry standards and enterprise standards.
Specifically, the review item is a project for reviewing the CAD model. For example, when a train bogie three-dimensional model is examined, the examination items comprise a three-dimensional annotation examination rule and a three-dimensional examination rule, wherein the three-dimensional annotation examination rule is used for examining three-dimensional dimension annotation data of the train bogie three-dimensional model, and the three-dimensional examination rule is used for examining three-dimensional model data of the train bogie three-dimensional model, such as the degree of freedom, connection, structure and the like. The logical rules are subdivided review items corresponding to the review entries. For example, the logic rule corresponding to the three-dimensional annotation examination rule may include a text annotation rule, a size annotation rule, and the like.
According to the two levels, namely the examination item level and the logic rule level, an examination logic rule base can be established in advance. The examination logic rule base comprises candidate examination items commonly used by the CAD model and logic rules corresponding to the candidate examination items. Each candidate review item may be from an industry standard or from an enterprise standard. The industry standards include general standards and specific standards in the industry, such as the general standard GB/T25108 three-dimensional CAD software function specification applicable to all machinery industries, the specific standard TB10004 railway engineering equipment design specification applicable to the rail transit field, and the like. The enterprise standard is a standard which is set by the enterprise, for example, a certain vehicle accessory company sets a production technical requirement for a produced hub, and the like.
For the CAD model to be examined, the method for determining the logic rule corresponding to the examination entry in the examination logic rule library comprises the following steps: the method comprises the steps of determining candidate examination items commonly used in the industry standard according to the use field of the model, or determining specific candidate examination items in the enterprise standard according to a manufacturer of the model, and then determining a logic rule corresponding to the candidate examination items based on the candidate examination items.
And step 130, determining the examination result of the CAD model to be examined based on the logic rule corresponding to the examination item.
Specifically, according to each logic rule, information such as an examination object, a judgment condition, a numerical range and the like of the logic rule is determined, corresponding model data in the CAD model to be examined is judged, and an examination result corresponding to the logic rule is generated.
For example, for a certain train three-dimensional model, the logical rule is whether the train bogie color is black, the logical rule only examines the train bogie color in the train three-dimensional model, and if the train bogie color in the three-dimensional model data is determined to be black, the examination result may be generated to be true.
The CAD model examination method provided by the embodiment of the invention establishes an examination logic rule base based on industry standards and enterprise standards, and determines a logic rule corresponding to an examination item for the CAD model to be examined in the examination logic rule base; and determining the examination result of the CAD model to be examined based on the logic rule corresponding to the examination item. The examination logic rule base collects and arranges examination rule categories and examination items from a plurality of industry standards and enterprise standards, realizes the continuous expansion of examination rules and the precipitation of examination knowledge, and improves the examination efficiency of the CAD model.
Based on the above embodiment, step 120 specifically includes:
selecting candidate examination items in an examination range matched with the examination authority of the user from the examination logic rule base as examination items for the CAD model to be examined;
and selecting the logic rule corresponding to the examination item from the examination logic rule base.
Specifically, the CAD model examination may be based on examination of multiple professional dimensions, or based on examination levels of examiners, that is, user examination authority may be determined according to the professional dimensions and the examination levels, and then candidate examination items within a corresponding examination range are selected from the examination logic rule base according to the user examination authority to examine the CAD model to be examined.
Reviews involving multiple review levels are conducted by users of different review levels. For example, different examination authorities are divided according to a CAD design engineer, a master designer, a system engineer, a process examiner and a standardized examiner, examination requirements of users of different levels are met, and candidate examination items in an examination range matched with the examination authorities and logic rules corresponding to the candidate examination items are determined from an examination logic rule base for examination.
The method relates to examination of a plurality of professional dimensions, wherein each professional dimension is examined by users with different professional backgrounds, the professional backgrounds of the users determine examination authority of the users, and candidate examination items in the examination range of the users are determined according to the examination authority of each user. For example, for the examination of a certain mechanical three-dimensional model, a material design director, a process design director and a manufacturing design director may respectively examine the mechanical three-dimensional model, and respectively take charge of different examination ranges of the mechanical three-dimensional model, for example, the examination range of the material design director is a material part of the mechanical three-dimensional model, and examination items related to the material and logic rules corresponding to the examination items are selected from an examination logic rule library for examination.
According to the CAD model examination method provided by the embodiment of the invention, candidate examination items in the examination range matched with the examination authority of the user are selected from the examination logic rule base, so that the CAD model examination can be matched with the professional background or examination level of the user, and different examination requirements of the user are met.
Based on any of the above embodiments, step 130 specifically includes:
and checking the model data of the CAD model to be checked based on the logic rule corresponding to the checking item matched with the modeling environment of the CAD model to be checked to obtain a checking result of the CAD model to be checked.
Specifically, the modeling environment is a software environment to which the CAD model is built. The modeling data of different modeling software are generally not universal to each other. Accordingly, the logical rules corresponding to the examination entries in the examination logical rule base have different program expression statements according to the type of modeling software and the version of the modeling software. For example, the program expression statements in the modeling software SolidWorks 2010 and the modeling software AutoCAD 2012 are different for the same logic rule.
And determining a logic rule corresponding to the matched examination item according to the modeling environment of the CAD model to be examined, so that the program expression statement of the logic rule and the model data of the CAD model to be examined run under the same modeling environment, and the examination items can be efficiently executed to obtain the examination result of the CAD model to be examined.
The method provided by the embodiment of the invention ensures that the examination method can be suitable for various modeling environments and corresponding CAD software thereof by matching the modeling environment, enlarges the application range of the examination method and improves the universality of the examination method.
Based on any embodiment, the examination item comprises at least one of an engineering drawing examination rule, a three-dimensional annotation examination rule and a three-dimensional model examination rule.
Specifically, the examination entries may include engineering drawing examination rules, three-dimensional annotation examination rules, and three-dimensional model examination rules. The engineering drawing examination rule is suitable for the two-dimensional engineering drawing and can comprise drawing frame examination, marking examination, detail column examination and the like. The three-dimensional annotation examination rule is applicable to the three-dimensional model and can comprise model roughness examination, text remark examination, tolerance examination and the like. The three-dimensional model examination rule can comprise interference examination, freedom examination, feature examination and the like.
Based on any of the above embodiments, the logic rule includes a review object type, judgment data, and review logic, and the logic rule corresponds to at least one of a rule specification, a standard source, and an applicable modeling environment.
Specifically, the logic rule is a subdivision examination item corresponding to the examination entry, and specifically comprises an examination object type, judgment data and examination logic. The examination object types include a two-dimensional examination object, a three-dimensional examination object, a configuration examination object, and the like. The judgment data is a data comparison standard of each subdivided examination item, such as font size, size and the like. Each data comparison reference may establish a comparison database, such as a font library and a size library, etc. The inspection logic is a regular expression of the logic rules. The regular expression is a logic formula for comparing examination items such as a numerical range and a precision range. For example, when the modeling environment is AutoCAD 2012, the regular expression may be converted into program code that can run in AutoCAD 2012 environment, driving the review process.
In addition, the logic rules correspond to the rule specification, standard source, and applicable modeling environment. The rule specification is used for describing the logic rule; the standard source is used for displaying the standard origin of the logic rule and reflecting the authoritative traceability of the logic rule; the applicable modeling environment is used to represent software environments and software versions of the logic rules that may be applicable.
In any of the above embodiments, the audit logic comprises nested logic rules.
Specifically, by examining the logic, the nested use of multiple logic rules can be realized, the examination of a multi-level structure of the CAD model can be met, the adaptability of the logic rules is enhanced, and the efficiency of the CAD model examination is improved.
On one hand, most of the existing CAD examining systems mainly adopt general feature-level and topology-level geometric quality inspection, and cannot meet the requirements of model release and process-level detailed inspection. On the other hand, some enterprises have own CAD product quality inspection tools, such as structures of train bogies, hubs and the like, but the products are customized according to the corresponding structures and are not universal.
In view of this, embodiments of the present invention provide a CAD model review system to improve the universality of CAD model review. Based on any of the above embodiments, fig. 2 is a schematic structural diagram of a CAD model review system provided in an embodiment of the present invention, as shown in fig. 2, the system includes a review logic rule base 210, a rule review unit 230, and a rule interface unit 220 between the review logic rule base 210 and the rule review unit 230;
the examination logic rule base 210 is determined based on industry standards and enterprise standards, and includes a plurality of candidate examination entries and a logic rule corresponding to each candidate examination entry;
the rule interface unit 220 is used for determining a logical rule corresponding to a review entry for the CAD model to be reviewed in the review logical rule base;
the rule examining unit 230 is configured to determine an examination result of the CAD model to be examined based on the logical rule corresponding to the examination entry.
Specifically, the review logical rules repository 210 is built from a review entry level and a logical rules level according to relevant industry standards and enterprise standards. On the level of the examination items, collecting and sorting candidate examination items commonly used by the CAD model, such as engineering drawing examination rules, three-dimensional labeling examination rules, three-dimensional model examination rules and the like; and (4) inducing precipitation model attribute rules, color rules, material rules, numerical value types, Boolean rules and the like on the level of logic rules.
The rule interface unit 220 determines a logical rule corresponding to the review entry for the CAD model to be reviewed from the review logical rule base. The rule review unit 230 determines a review result of the CAD model to be reviewed based on the logical rule corresponding to the review entry.
The working Interface of the rule Interface unit 220 includes an API (Application Programming Interface) Interface and a network Interface. If the examination logic rule base 210 and the rule examination unit 230 are both in the same server, the rule examination unit 230 inherits and calls the examination logic rule base 210 from the inside of the server directly through the API interface. If the examination logic rule base 210 is in a server and the rule examination unit 230 operates using independent client software, the rule examination unit 230 is connected to the examination logic rule base 210 through a network interface to realize data transmission.
The CAD model examination system provided by the embodiment of the invention establishes an examination logic rule base based on the industry standard and the enterprise standard, and determines a logic rule corresponding to an examination item for the CAD model to be examined in the examination logic rule base; and determining the examination result of the CAD model to be examined based on the logic rule corresponding to the examination item. The examination logic rule base comprises a plurality of candidate examination items and a logic rule corresponding to each candidate examination item, and examination rule categories and examination items from a plurality of industry standards and enterprise standards are collected and sorted, so that continuous expansion of the examination rules and sedimentation of examination knowledge are realized, and the examination efficiency of the CAD model is improved.
Based on any of the above embodiments, the rule interface unit 220 specifically includes:
the authorization management subunit is used for selecting candidate examination items in an examination range matched with the user examination authority from the examination logic rule base 210 as examination items for the CAD model to be examined;
and a rule determining subunit, configured to select a logical rule corresponding to the review entry from the review logical rule base 210.
Specifically, the authorization management subunit may select, according to the review authority of the user in the CAD review work, a candidate review entry in the review range that matches the candidate review entry from the review logic rule base 210 as a review entry of the CAD model to be reviewed, and may export the candidate review entry as a review item authorization file. The rule determining subunit selects a corresponding logical rule from the examination logical rule base 210 according to the examination entry determined by the authorization management subunit.
Based on any embodiment, the system further comprises an environment interface unit, and the environment interface unit is used for integrating the rule examination unit into the modeling environment of the CAD model to be examined.
Specifically, the environment interface unit integrates the rule examining unit 230 with the modeling environment of the CAD model to be examined, so that the rule examining unit 230 operates in a menu, plug-in, or external driving manner in software platforms corresponding to different modeling environments, thereby implementing examination of the CAD model.
The rule checking unit 230 and the environment interface unit may adopt integrated client software, receive the logic rule output by the rule interface unit, generate a checking list (checklist) that can be executed on a software platform corresponding to the modeling environment, and execute checking on the software platform through the environment interface unit.
The environment interface unit can integrate a plurality of CAD design software interfaces, thereby being compatible with multiple CAD environments such as CATIA, NX, Creo, AutoCAD and the like. Each CAD design software contains a different version.
Based on any of the above embodiments, the rule examining unit 230 is specifically configured to:
and checking the model data of the CAD model to be checked based on the logic rule corresponding to the checking item matched with the modeling environment of the CAD model to be checked to obtain a checking result of the CAD model to be checked.
Specifically, the rule review unit 230 runs the logic rule and the model data of the CAD model to be reviewed in the same modeling environment, and efficiently executes the review item to obtain the review result of the CAD model to be reviewed. For example, the rule review unit 230 performs three-dimensional model review, two-dimensional engineering drawing review, and CAD configuration information review according to the logic rule. The three-dimensional model examination comprises examination on the aspects of three-dimensional data attribute, three-dimensional labeling, zero mechanism motion freedom, flexible products/structural components, multiple impermissible model connection in product context, at least one entity of a part, assembly constraint, release elements and the like of the three-dimensional model; the two-dimensional engineering drawing examination comprises examination on the aspects of Chinese and English names of title bar components, title bar change marks, title bar position numbers, size font sizes, review, text types, size font types, drawing relevance, view projection methods, external two-dimensional component proportions and the like; the CAD configuration information review includes a review of CAD version information, graphic centering, blending models, maximum file size, non-updated elements, updated error elements, current work object as part geometry (PartBody), and the like.
When the CAD models to be inspected are inspected, the CAD models can be inspected one by one, and a plurality of CAD models can be inspected in batch. For example, when a plurality of CAD models are mechanical three-dimensional models of the same kind and different series, the batch review mode can improve review efficiency.
Based on any of the above embodiments, fig. 3 is a schematic structural diagram of a model examination system compatible with multiple CAD environments according to an embodiment of the present invention, as shown in fig. 3, the system includes: the system comprises a checking logic rule base, a rule interface unit, a rule checking unit and an environment interface unit. The rule interface unit comprises an authorization management subunit and a rule determination subunit.
The method is characterized by arranging a CAD model examination logic rule base in the rail transit industry, gradually expanding and applying the CAD model examination logic rule base to the whole mechanical industry, and expanding the examination logic rule base to enable the examination logic rule base to become a general CAD model examination logic rule base which can be used in an authorized mode.
The examination logic rule base and the rule interface unit are arranged in a remote server, and the rule examination unit and the environment interface unit are integrated into examination client software which runs on a local computer of a user. The user's local computer is installed with the design software such as CATIA, Creo, NX, SolidWorks and AutoCAD.
When a CAD model of a certain structural member of the train is examined, an authorization management subunit in the rule interface unit selects candidate examination items in an examination range matched with the examination authority of the user from an examination logic rule base as examination items according to the examination authority of the user, and a rule determining subunit determines corresponding logic rules from the examination logic rule base according to the examination items. Fig. 4 is a schematic diagram of logic rules of the model examination system compatible with multiple CAD environments according to the embodiment of the present invention, and as shown in fig. 4, the logic rules include rule descriptions, standard sources, applicable modeling environments, examination object types, judgment data, and examination logic.
And finally sending the logic rule corresponding to the selected examination item to examination image client software on the user computer.
If the modeling software of the CAD model is CATIA, the examination client software receives the examination item authorization file, generates an examination list (checklist) which can be executed on the CATIA, and realizes batch processing mode application integration through a COM API (component object model) opened by the CATIA software, so that batch examination of common examination items of the CAD model can be realized; the method comprises the following steps of realizing full-function topological-level real-time interaction and batch inspection Application integration through a Computer Aided Assembly (CAA); and driving CATIA bottom layer functions to realize the examination process by logic rules.
If the modeling software of the CAD model is Cero, the examination client software receives the examination item authorization file, generates an examination list (checklist) which can be executed on the Cero, and realizes batch processing mode application integration through a COM API (component object model) opened by the Cero software, so that batch examination on the CAD model can be realized; the application integration in the aspect of real-time interaction is realized through a Toolkit (open tool); the Creo underlying function is driven by logic rules to realize the examination process.
Based on any of the above embodiments, fig. 5 is a schematic structural diagram of a CAD model review apparatus provided in an embodiment of the present invention, as shown in fig. 5, the apparatus includes:
a CAD model determination unit 510 for determining a CAD model to be reviewed;
a logic rule determining unit 520, which determines a logic rule corresponding to the review entry for the CAD model to be reviewed in the review logic rule base; the examination logic rule base comprises a plurality of candidate examination items and a logic rule corresponding to each candidate examination item; the inspection logic rule base is determined based on industry standards and enterprise standards;
and the CAD model checking unit 530 is configured to determine a checking result of the CAD model to be checked based on the logic rule corresponding to the checking entry.
The CAD model examination device provided by the embodiment of the invention establishes an examination logic rule base based on the industry standard and the enterprise standard, and determines a logic rule corresponding to an examination item of the CAD model to be examined in the examination logic rule base; and determining the examination result of the CAD model to be examined based on the logic rule corresponding to the examination item. The examination logic rule base comprises a plurality of candidate examination items and a logic rule corresponding to each candidate examination item, and examination rule categories and examination items from a plurality of industry standards and enterprise standards are collected and sorted, so that continuous expansion of the examination rules and sedimentation of examination knowledge are realized, and the examination efficiency of the CAD model is improved.
Based on any of the above embodiments, fig. 6 is a schematic structural diagram of an electronic device provided in an embodiment of the present invention, and as shown in fig. 6, the electronic device may include: a Processor (Processor)610, a communication Interface (Communications Interface)620, a Memory (Memory)630 and a communication Bus (Communications Bus)640, wherein the Processor 610, the communication Interface 620 and the Memory 630 complete communication with each other through the communication Bus 640. The processor 610 may call logical commands in the memory 630 to perform the following method:
determining a CAD model to be examined; determining a logic rule corresponding to an examination item for the CAD model to be examined in an examination logic rule base; the examination logic rule base comprises a plurality of candidate examination items and a logic rule corresponding to each candidate examination item; the inspection logic rule base is determined based on industry standards and enterprise standards; and determining the examination result of the CAD model to be examined based on the logic rule corresponding to the examination item.
In addition, the logic commands in the memory 630 may be implemented in the form of software functional units and stored in a computer readable storage medium when the logic commands are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes a plurality of commands for enabling a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Embodiments of the present invention further provide a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program is implemented to perform the method provided in the foregoing embodiments when executed by a processor, and the method includes:
determining a CAD model to be examined; determining a logic rule corresponding to an examination item for the CAD model to be examined in an examination logic rule base; the examination logic rule base comprises a plurality of candidate examination items and a logic rule corresponding to each candidate examination item; the inspection logic rule base is determined based on industry standards and enterprise standards; and determining the examination result of the CAD model to be examined based on the logic rule corresponding to the examination item.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes commands for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A method of CAD model review, comprising:
determining a CAD model to be examined;
determining a logic rule corresponding to an examination item for the CAD model to be examined in an examination logic rule base; the examination logic rule base comprises a plurality of candidate examination entries and a logic rule corresponding to each candidate examination entry; the review logic rule base is determined based on industry standards and enterprise standards;
and determining the examination result of the CAD model to be examined based on the logic rule corresponding to the examination item.
2. The CAD model review method according to claim 1, wherein the determining a logical rule corresponding to a review entry for the CAD model to be reviewed in a review logical rule base specifically comprises:
selecting candidate examination items in an examination range matched with the examination authority of the user from the examination logic rule base as examination items for the CAD model to be examined;
and selecting the logic rule corresponding to the examination item from the examination logic rule base.
3. The CAD model review method according to claim 1, wherein the determining the review result of the CAD model to be reviewed based on the logic rule corresponding to the review entry specifically includes:
and examining the model data of the CAD model to be examined based on the logic rule corresponding to the examination item matched with the modeling environment of the CAD model to be examined, so as to obtain an examination result of the CAD model to be examined.
4. The CAD model examination method according to any one of claims 1 to 3, wherein the examination entry includes at least one of an engineering drawing examination rule, a three-dimensional labeling examination rule, and a three-dimensional model examination rule.
5. The CAD model review method of any of claims 1 to 3, wherein the logic rules include review object types, judgment data, and review logic, the logic rules corresponding to at least one of rule specification, standard source, and applicable modeling environment.
6. The CAD model review method of claim 5, wherein the review logic comprises nested logic rules.
7. A CAD model checking system is characterized by comprising a checking logic rule base, a rule checking unit and a rule interface unit between the checking logic rule base and the rule checking unit:
the examination logic rule base is determined based on industry standards and enterprise standards and comprises a plurality of candidate examination items and a logic rule corresponding to each candidate examination item;
the rule interface unit is used for determining a logic rule corresponding to an examination item for the CAD model to be examined in an examination logic rule base;
the rule examination unit is used for determining an examination result of the CAD model to be examined based on the logic rule corresponding to the examination item.
8. The CAD model review system of claim 7, wherein the rule interface unit specifically comprises:
the authorization management subunit is used for selecting candidate examination items in an examination range matched with the user examination authority from the examination logic rule base as examination items for the CAD model to be examined;
and the rule determining subunit is used for selecting the logic rule corresponding to the examination item from the examination logic rule library.
9. The CAD model review system of claim 7, further comprising an environment interface unit to integrate the rule review unit in a modeling environment of the CAD model to be reviewed.
10. The CAD model review system of claim 9, wherein the rule review unit is specifically configured to:
and examining the model data of the CAD model to be examined based on the logic rule corresponding to the examination item matched with the modeling environment of the CAD model to be examined, so as to obtain an examination result of the CAD model to be examined.
CN202010918010.9A 2020-09-03 2020-09-03 CAD model checking method and system Pending CN112100768A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010918010.9A CN112100768A (en) 2020-09-03 2020-09-03 CAD model checking method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010918010.9A CN112100768A (en) 2020-09-03 2020-09-03 CAD model checking method and system

Publications (1)

Publication Number Publication Date
CN112100768A true CN112100768A (en) 2020-12-18

Family

ID=73757632

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010918010.9A Pending CN112100768A (en) 2020-09-03 2020-09-03 CAD model checking method and system

Country Status (1)

Country Link
CN (1) CN112100768A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112699507A (en) * 2021-01-05 2021-04-23 中广核工程有限公司 Rule-driven three-dimensional model data quality inspection method and device
CN114418541A (en) * 2022-01-20 2022-04-29 上海航天电子通讯设备研究所 System and method for quickly examining manufacturability of structural member design
CN114565308A (en) * 2022-03-04 2022-05-31 中车青岛四方机车车辆股份有限公司 Product model quality inspection method and system for rule customization

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107220431A (en) * 2017-05-24 2017-09-29 上海蓝色星球电力科技有限公司 A kind of data examination method and system based on specification provision and mathematical model
CN107729474A (en) * 2017-10-13 2018-02-23 中车工业研究院有限公司 Data quality checking method, system, equipment and the storage medium of CAD model
CN107967574A (en) * 2017-12-21 2018-04-27 深圳拎得清软件有限公司 Digitlization check of drawings method and its system based on BIM
CN109948212A (en) * 2019-03-11 2019-06-28 北京经纬恒润科技有限公司 Modeling specification inspection method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107220431A (en) * 2017-05-24 2017-09-29 上海蓝色星球电力科技有限公司 A kind of data examination method and system based on specification provision and mathematical model
CN107729474A (en) * 2017-10-13 2018-02-23 中车工业研究院有限公司 Data quality checking method, system, equipment and the storage medium of CAD model
CN107967574A (en) * 2017-12-21 2018-04-27 深圳拎得清软件有限公司 Digitlization check of drawings method and its system based on BIM
CN109948212A (en) * 2019-03-11 2019-06-28 北京经纬恒润科技有限公司 Modeling specification inspection method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
卢靓妮等: "基于知识的PCB设计数据审查", 微计算机信息, vol. 25, no. 21, pages 19 - 21 *
李健等: "CAD模型质量及标准的快速检查关键技术研究", 航空计算技术, vol. 40, no. 3, pages 2 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112699507A (en) * 2021-01-05 2021-04-23 中广核工程有限公司 Rule-driven three-dimensional model data quality inspection method and device
CN114418541A (en) * 2022-01-20 2022-04-29 上海航天电子通讯设备研究所 System and method for quickly examining manufacturability of structural member design
CN114565308A (en) * 2022-03-04 2022-05-31 中车青岛四方机车车辆股份有限公司 Product model quality inspection method and system for rule customization

Similar Documents

Publication Publication Date Title
Choi et al. Exchange of CAD part models based on the macro-parametric approach
CN112100768A (en) CAD model checking method and system
US7302443B2 (en) Parts list system which generates and manages a parts list simply and effectively
CN111599000B (en) Process layout generation method and design system
Armillotta A method for computer-aided specification of geometric tolerances
Frechette Model based enterprise for manufacturing
JP5266488B2 (en) Knowledge management device, knowledge management device terminal and knowledge management device program
CN112559351B (en) CFD software verification and confirmation database platform
Balogun et al. Knowledge management for manufacturing: the product and process database
Pippenger Three-dimensional model for manufacturing and inspection
Xue Integration of CAD/CAPP/CAM
Yang et al. A method for verification of computer-aided design model errors
Demirel et al. Digital human-in-the-loop methodology for early design computational human factors
JP7462841B2 (en) Information providing device, information providing method, and information providing program
Gielingh et al. Information integration in the building and construction industries
TWI838638B (en) Information providing device, information providing method and recording medium for recording information providing program
Alkadhi et al. Parametric grid model of the drawing
Hamilton et al. Keeping up with the Code-Communicating the Decision Making History of Architectural Scripts
CN117130331A (en) Model definition MBD process model creation method, device and equipment
CN116795791A (en) Visualization method, device, equipment and medium for process and procedure model files
El-Mehalawi A geometric similarity case-based reasoning system for cost estimation in net-shape manufacturing
Elnaggar et al. The road to digital asset reality
Qinyi et al. A REUSE METHOD OF MECHANICAL PRODUCT DEVELOPMENT KNOWLEDGE BASED ON CAD MODEL SEMANTIC MARKUP AND RETRIEVAL.
Söderblom MODEL-BASED DEFINITION IN GLASS PRO-CESSING MACHINE MANUFACTURING
Kikuchi et al. PDQ (product data quality): Quality guaranteed product data representation and application to shape model

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