# Patent

## Title
Computational geometry system, interrupt interface, and method

## Abstract

A computational geometry server is provided that includes a server, a communication link, at least one client, and an interrupt interface. The server has processing circuitry and an operation manager. The operation manager is configured to compare source geometric data in a source geometric model with target geometric data in a target geometric model. Furthermore, the operation manager is operative to identify discrepancies in the geometric data between the source geometric data and the target geometric data. The at least one client communicates with the server over the communication link. The interrupt interface is operative to notify a user of the presence of an inability to automatically generate an accurate representation of the source geometric model in the target geometric model. A method is also provided.

## Background
CROSS-REFERENCE TO RELATED APPLICATIONS
This application claims the benefit of U.S. Provisional Patent Application Ser. No. 60/243,848, which was filed on Oct. 30, 2000, and which is incorporated by reference herein.
Additionally, this application is filed concurrently with a co-pending patent application entitled “Geometric Model Comparator and Method”, the disclosure of which is also incorporated by reference herein.


TECHNICAL FIELD
This invention pertains to drawing conversion. More particularly, this invention relates to computer aided design file translation including a serially progressive interrupt interface having a background operations manager.
BACKGROUND OF THE INVENTION
Practically every product that results from the efforts of generic design or specialized design, such as architectural, electrical and mechanical design, involves the rendering of design drawings. In the last twenty years, nearly all of such drawings have been rendered using a computer aided design (CAD) system with a CAD software program. Typical CAD systems take the form of high-speed workstations or desktop computers that use CAD design software and input devices. These CAD systems generate output in the form of a printed design drawing or an electronic file format that can provide input to a computer aided manufacturing system (CAM).
Since the advent of computerized drawings, numerous computer aided design (CAD) programs have been developed. The translation of data files created by a first computer aided design (CAD) program into one or more data files readable by a second CAD program proves to be a difficult task. However, because of the relatively large number of diverse and competing CAD programs that are available, it is frequently the case that such translations need to be made. A number of underlying reasons exist for performing such translations, including execution of engineering projects that require the services of a main contractor using a first CAD program and a subcontractor using a second CAD program.
A presently existing technique for translating drawings involves the use of a Document eXchange Format file (DXF file). DXF files comprise an AutoCAD 2-D graphics file format. Numerous CAD systems are provided with the capability to import and export the DXF file format for graphics interchange, in the form “filename.dxf”. The DXF file format enables relatively simple files to be saved in DXF format via a first CAD program, and then read via a second CAD program. The DXF file format results in a generally fair translation accuracy where the files are not relatively complex. However, for typically involved applications, DXF file format does not provide a complete solution for translating files.
Accordingly, there exists a present need for an apparatus and method that enables more efficient and more effective translation of CAD files between at least two unique CAD file types, such as from a first CAD file type into a second CAD file type.
SUMMARY OF THE INVENTION
This invention concerns a computational geometry system having an interrupt interface that serially interrupts a user via a user interface at one or more clients associated with a server with a background operation manager and a production control module. The computational geometry system can be provided via a network client/server architecture or via a stand-alone workstation.
According to one aspect of this invention, a computational geometry server includes a server, a communication link, at least one client, and an interrupt interface. The server has processing circuitry and an operation manager. The operation manager is configured to compare source geometric data in a source geometric model with target geometric data in a target geometric model. Furthermore, the operation manager is operative to identify discrepancies in the geometric data between the source geometric data and the target geometric data. The at least one client communicates with the server over the communication link. Furthermore, the interrupt interface is provided by one of the at least one client. The interrupt interface is operative to notify a user of the presence of an inability to automatically generate an accurate representation of the source geometric model in the target geometric model.
According to another aspect of this invention, a computational geometry system is provided having a client/server environment, a client, and a server. The client has an interrupt interface. The server communicates with the client via the environment. The server has processing circuitry and an operation manager. The operation manager is configured to compare source geometric data in a source geometric model with target geometric data in a target geometric model. The operation manager is operative to identify discrepancies in the geometric data between the source geometric model and the target geometric model. Furthermore, the interrupt interface is operative to notify a user of the presence of an identified discrepancy in response to comparing the geometric data or encountering a problem in creating the target geometric model.
According to yet another aspect of this invention, an interrupt interface is provided having a server, at least one client, and a production controller. The server has a database that is configured to store input data of a source model. The server also has processing circuitry configured to convert the input data of the source model into corresponding output data of a target model. The server also has a source and target model comparator configured to compare the input data with the corresponding output data, and identify geometric discrepancies between the input and the output data. The at least one client has a user interface, with the client communicating with the server. The production controller has common interface production control software configured to serially interrupt a user via the user interface at one of the clients when at least one geometric discrepancy has been identified.
According to even another aspect, a method is provided for creating a target geometric model from a source geometric model. The method includes providing a server and a client of a computational geometry system having a user interface; extracting source geometric data from the source geometric model; storing the extracted source geometric data in a metafile format; using a target CAD system, generating a target geometric model having target geometric data; detecting at least one of a discrepancy between the models and a problem in generating the target geometric model while generating the target geometric model; and generating an interrupt at the user interface responsive to detecting the at least one of a discrepancy between the models and a problem in generating the target geometric model.
One advantage of the present invention is to provide a novel method and apparatus for computer aided design file translation having an interrupt interface for CAD model (or file) comparison which determines if a translated CAD model (or file) (the output, created by the translation) is geometrically identical to the original source CAD model (or file) from which it was translated.
Another advantage of the present invention is to provide a method and apparatus for computer aided design file translation including a geometric analyzer for CAD file comparison that uses point cloud extraction, including tessellated, surface and edge points.
A still further advantage of the present invention is to provide a method and apparatus for computer aided design model (or file) translation including a geometric analyzer for CAD file comparison that uses a stand-alone point cloud analyzer to increase the speed of the analysis.



BRIEF DESCRIPTION OF THE DRAWINGS
Preferred embodiments of the invention are described below with reference to the following accompanying drawings.
FIG. 1 is a block diagram overview of a basic system configuration of an exemplary system for implementing computer aided design file translation according to one embodiment of the present invention.
FIG. 2 is a block diagram of a representative geometric data comparison implementation performed via a translation engine of a computational geometry system according to the present invention.
FIG. 3 illustrates data input to a geometric analyzer and respective output in the form of files from the geometric analyzer for a stand-alone workstation embodiment.
FIG. 4 is a perspective view illustrating extraction of point cloud data from a source model which is recreated in a target model wherein distances between respective points and a corresponding surface are measured.
FIG. 5 illustrates an approximation of a cylindrical surface showing respective tessellation triangles when tessellating an exemplary curved, cylindrical surface.
FIG. 6 illustrates an exemplary tessellated curve with tessellation points, or point cloud data.
FIG. 7 illustrates an exemplary geometric model having a matrix of points created along a 3×4 surface, showing a 3×4 surface point cloud matrix.
FIGS. 8A–8B are simplified schematic diagrams illustrating the creation of a hole in a solid cube of material utilizing Pro/E.
FIGS. 9A–9D are simplified schematic diagrams illustrating the creation of a hole in a solid cube of material utilizing CATIA.
FIG. 10 is a block diagram illustrating the functional relationship of a staged translator having a translation engine for comparing source geometric data in a source geometric model of a first type with target geometric data of a target geometric model of a second type.
FIG. 11 illustrates mapping of a regeneration process when reordering a Boolean tree.
FIG. 12 illustrates an exemplary Boolean-based CSG tree.
FIG. 13 is a process flow diagram showing the logic processing for performing file translation analysis including interrupt notification via a serial interrupt interface to a user using a user interrupt interface.
FIG. 14 is a diagram of an interrupt interface application window within a generic CAD file overlay window of a user display.
FIG. 15 is a diagram of a screen display of a pop-up advanced options application window within a generic CAD overlay window of a user display.
FIG. 16 is a diagram of a screen display in which a pop-up “LogFileViewer” application window is generated within a generic CAD file overlay window in a screen display.
FIG. 17 is a diagram of a screen display for a pop-up graphical user interface feature identification/information application window within an overlay window in the screen display.
FIG. 18 is a simplified schematic diagram illustrating a solid cylinder created by generating B-Rep surfaces in order to enclose a volume.
FIG. 19 is a simplified schematic diagram illustrating a solid model geometry created by extruding a circle section to create a cylinder, sweeping another circle along a trajectory to add a swept feature, and revolving a complex section to create a revolve feature.
FIGS. 20A and B are simplified schematic data flow charts illustrating two methods for storing assembly model data.
FIG. 21 is a simplified schematic diagram illustrating a relationship between the location of a hole and a revolve axis of a part identified in a model.
FIG. 22 is a simplified schematic diagram illustrating an exemplary target model having bad points.
FIG. 23 is a simplified schematic diagram illustrating a surface from a source model provided on a target model.
FIG. 24 is a simplified schematic diagram illustrating a source model for a target model having a failed fillet that is annotated with defining parameters and references.
FIG. 25 is a simplified schematic diagram illustrating a source model having a sweep feature in a target model that has failed to build a sweep feature, but has placed construction geometry in the model.



DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
This disclosure of the invention is submitted in furtherance of the constitutional purposes of the U.S. Patent Laws “to promote the progress of science and useful arts” (Article 1, Section 8).
The present invention relates to a computer-implemented technique for notifying a user or operator of a computational geometry system when an identified discrepancy is present within geometric data that is being translated between a source geometric model and a target geometric model. The computational geometry system provides notification to a user when a discrepancy is identified when comparing the geometric data of the source geometric model with geometric data of the target geometric model.
Reference will now be made to a preferred embodiment of Applicant's invention. One exemplary implementation is described below and depicted with reference to the drawings comprising a system and method for identifying geometric discrepancies between input data and output data of a source model and a target model, respectively, such as for a first computer aided design (CAD) model and a second CAD model. While the invention is described by way of a preferred embodiment, it is understood that the description is not intended to limit the invention to this embodiment, but is intended to cover alternatives, equivalents, and modifications such as are included within the scope of the appended claims.
In an effort to prevent obscuring the invention at hand, only details germane to implementing the invention will be described in great detail, with presently understood peripheral details being incorporated by reference, as needed, as being presently understood in the art. Furthermore, U.S. Provisional Patent Application Ser. No. 60/243,848, filed Oct. 30, 2000, is incorporated by reference herein.
FIG. 1 illustrates a preferred embodiment of Applicant's invention wherein a basic system configuration is provided for comparing input data with output data, identifying geometric discrepancies between the input data and the output data using a geometric model comparator, and interrupting an operator when there is an inability to automatically generate an accurate representation of the source geometric model in the target geometric model, and is identified with reference numeral 10. Geometric model comparator 10 is provided by a computer aided design (CAD) file translation system 12. In one form, system 12 is implemented in a distributed manner across a local area network (LAN) 11, such as a client/server network 13, within a LAN environment. However, it is understood that system 12 can also be implemented on a single, stand-alone workstation, such as on a central personal computer.
As shown in FIG. 1, system 12 is implemented across a client/server network 13 having a plurality of clients 14 connected via a communication link 15 with a server 16. In one form, communication link 15 comprises a local area network (LAN) connection 17. According to alternative constructions, a plurality of servers similar to server 16 are included within LAN 11. Further alternatively, server 16 and client 14 can be provided by the same device for the case of a stand-alone workstation. Optionally, for the case of a distributed client/server network implementation server 16 can include a client, similar to client 14. Even furthermore, system 12 can include a single client 14, according to an alternative construction. System 12 also includes a printer 18 provided within LAN 11.
As shown in FIG. 1, client 14 in one construction comprises a client computer having a central processing unit (CPU) 20, memory 22, a us r interface 24, a keyboard 26, a m use 28, a geometric analyzer 56, and program code 62 including a source and target model comparator 55 and specialized program code 64 that cooperates with server 16 to extract, generate, compare and display. Geometric analyzer 58 also includes comparison circuitry 53. Although not shown in FIG. 1 in order to simplify the drawings, it is understood that all of clients 14 are similarly constructed.
For purposes of this disclosure, the term “client” is understood to include a computer or a workstation, such as a personal computer provided within a client/server environment. A “client” is also intended to include any device present within an environment, such as a LAN environment provided by LAN 11, that includes an interface 24 for enabling a user to interact with client 14 and server 16 such that a user can be notified of important events via an interrupt interface 44. Even furthermore, “client” is intended to encompass the case of a stand-alone workstation, a computer, or a workstation that includes a server similar to server 16. It is further understood that a “client” can include other software components such as a database 36 and an operation manger 38, when constructed as a stand-alone workstation.
Also for purposes of this disclosure, the term “server” is understood to include one or more computers that are located at one or more physical locations within an environment, such as a LAN environment. Furthermore, for purposes of this disclosure, the term “server” is understood to include computers located at one or more physical locations, such as computers distributed about a network or a stand-alone workstation.
More particularly, server 16 includes a central processing unit (CPU) 32, memory 34, database 36, and operation manager 38. Within server 16, CPU 32 includes processing circuitry 46 that communicates with memory 34 in processing data 52 within a database 36 as well as handling program code 60 within operation manager 38. Database 36 includes one or more model files 48 for storing models 50 comprising data 52. Operation manager 38 comprises a production control module 54 including a staged translator 56 in which program code 60 is provided for forwarding one or more instruction sets to clients 14 to cause program code 64 to extract, generate, compare and/or display CAD models (or files).
With respect to client 14, user interface 24 includes an output device 40 which, in one form, comprises a user display 42 and interrupt interface 44. Geometric analyzer 58 includes program code 62, as described below in greater detail.
In order to implement computer aided design (CAD) file translation, geometric model comparator 10 utilizes geometric analyzer 58 to compare CAD files using point cloud extraction, as discussed below in greater detail. CAD file translation system 12 converts a first CAD file that is associated with a first CAD program into a second CAD file associated with a second CAD program. Geometric analyzer 58 then determines if a translated CAD file is “geometrically identical” to the original source CAD file from which it was translated. For purposes of this disclosure, the term “geometrically identical” is understood to mean geometrically substantially the same, within an acceptable predetermined geometric tolerance. In operation, geometric analyzer 58 implements point cloud analysis, including the identification and analysis of tessellated point cloud types, surface point cloud types, and edge point cloud types, as discussed below in greater detail.
More particularly, geometric analyzer 58 determines if a translated, target CAD model (or file) is geometrically identical to an original, source CAD model (or file). In order to make this determination, geometric analyzer 58 implements a comparison of surface and boundary edges for each respective file. Subsequently, a reverse point cloud analysis is then performed utilizing points that are extracted from the target (or output) file, which is then compared to the source (or input) file.
In summary, the implementation of point cloud extraction entails point cloud analysis which uses points that have been extracted from the source CAD model file. As will be discussed below in greater detail with reference to FIG. 4, these points lie either on the surfaces of an individual geometric feature, or they lie on one of the boundary edge curves. These extracted points are then recreated in the target CAD model file, after which distances between the points and the adjacent surfaces and edges are measured. Geometric analyzer 58 then implements point cloud analysis, following implementation of the point cloud extraction, in order to compare the surface and boundary edges of each respective file. It is understood that point cloud analysis of geometric analyzer 58 can be run as a stand-alone apparatus. Alternatively, point cloud analysis can be run as a CAD application that is implemented in accordance with proprietary software and an appropriate software license obtained from a respective CAD application developer.
For the case where a system 12 is implemented as a stand-alone apparatus or workstation, system 12 is not required to use proprietary CAD programs for performing analysis (as sold commercially). Therefore, such a stand-alone apparatus does not require the use of dedicated CAD workstations with proprietary CAD programs that incur relatively expensive royalties for using such proprietary CAD programs in order to perform analysis. Such a stand-alone CAD workstation has the capability to check points more rapidly because of the ability to optimize such a workstation for a specific purpose. In performing point cloud analysis, the distance between each point and an associated surface or edge is measured. Such measured distances are recognized as being acceptable when they fall within a relatively small (or minimal) threshold value, unless the surface in the output (or target) file has been incorrectly defined, in which case a user at interrupt interface 44 is notified of such a discrepancy.
In operation, geometric analyzer 58 of client 14 is configured to determine if a translated target geometric model file is geometrically identical to the original source geometric model file from which it was translated. In one case, source and target geometric model files each comprise respective CAD files. Geometric analyzer 58 is used to inspect such respective files by measuring the surfaces and boundary edges on all geometric features present in one CAD file, and then compare the respective surfaces and boundary edges to the corresponding surfaces and boundary edges in the other respective file. For example, the measured surfaces and boundary edges from a source geometric model file are compared with the measured surfaces and boundary edges of the respective target geometric model file.
More particularly, in one case geometric analyzer 58 performs a forward inspection by comparing surfaces and boundary edges in a source geometric model file with surfaces and boundary edges in a target geometric model file. Alternatively or additionally, a reverse inspection is performed by geometric analyzer 58 wherein surfaces and boundary edges of a target geometric model file are compared with surfaces and boundary edges of a source geometric model file.
Server 16 of FIG. 1 includes database 36 which is configured to store input data of a source model. Processing circuitry 46 is configured to convert the input data of the source model into corresponding output data of the target model. Geometric analyzer 58 includes a source and target model comparator that is configured to compare the input data with the corresponding output data to identify geometric discrepancies between the input data and the output data.
Geometric analyzer 58 enables measurement of such surfaces and boundary edges, then facilitates the reporting of measured and compared results to an operator at a user interface 24 of client 14. Geometric analyzer 58 implements point cloud analysis in order to perform measurements between the surfaces and boundary edge curves of the source model and the target model. More particularly, geometric analyzer 58 uses points that were previously extracted from the source model file. Such points either lie on the surfaces of the individual geometric features of a model, or such points lie on one of the boundary edge curves of the model. The respective points are then recreated in the target model file, after which distance is measured between each point and respective adjacent surfaces and edges.
In order to increase the probability that the existence of any differences between the source model files and the target model files will be detected, the above process is also implemented in reverse. Accordingly, geometric analyzer 58 extracts points from the target model file, then recreates the points in the source model file. Afterwards, geometric analyzer 58 measures distances between the points and their appropriate surface or boundary edge curve of the target model file and the source model file.
It is understood that point cloud analysis can either be performed using a source CAD system and a target CAD system, or point cloud analysis can be performed using a stand-alone system, such as a workstation, that has been developed specifically as a stand-alone computational geometry system. Such a stand-alone implementation provides an advantage in that special purpose construction can make it relatively faster, thereby enabling a larger number of points to be analyzed within a given amount of time. Such result increases the probability of detecting geometric discrepancies. Additionally, a stand-alone implementation does not require the use of a software license from either a source CAD system provider or a target CAD system provider in order to perform analysis. Accordingly, an improved utilization of resources is provided in that there exists a diminished need to provide for software licensing of source CAD system software or target CAD system software when using a stand-alone conversion system.
FIG. 2 illustrates the translation process between a source CAD file and a target CAD file utilizing the computer aided design file translation system of FIG. 1. More particularly, translation engine 57 of staged translator 56 (see FIG. 1) receives a source CAD file 63 by way of a secure file transfer 61 from a customer 59. Translation engine 57, by way of a process implemented for the computer aided design file translation system of the present invention, converts source CAD file 63 into a target CAD file 65. The target CAD file 65 is then transferred via a secure file transfer 67 back to customer 59. One technique for implementing the secure file transfer 61 and 67 entails utilizing secure file transfer over the Internet by uploading and downloading files securely over the Internet via one or more secure servers.
Upon uploading a source CAD file 63 to a translation provider's web site, a job description profile is preferably generated. File 63 is then passed to a pre-processing station, configured as a design intent source analyzer 88, which performs design intent analysis, and identifies any pre-processing tasks that are required in order to prepare the file for a translation production line.
Subsequent to processing, resulting file geometry data is then converted into a target CAD file format utilizing native-to-native geometry converter 90. After such conversion, the target CAD model file is compared to the source CAD model file using a mirror-model (or geometric model) comparator 92. Any discrepancies found as a result of source-target file comparison are then conveyed to a human translator in the form of a text report and a visual display that is provided in the target CAD model. The target CAD file is then modified via an operator-assisted conversion process 94 in order to eliminate any discrepancies. The file is then re-compared to the source CAD model as a final quality assurance (QA) 96, and is then sent back to the customer via the Internet.
As shown in FIG. 3, all of the surfaces and associated trim curves are required to be extracted from both the source CAD model file and the target CAD model file, after which the extracted associated trim curves are stored in geometric analyzer 58 (of FIG. 1). More particularly, surface data 110 from the source file and surface data 112 from the target file, along with trim curve 114 from the source file and trim curve data 116 from the target file, are input into geometric analyzer 58. Source point cloud data 118 is then analyzed against target surface/trim curve data 110, 114, and target point cloud data 120 is analyzed against source surface/trim data 112, 116, as shown in FIG. 3. Bad point cloud files 122, 124 are then imported into respective CAD model files in order to display them to an operator or user, typically via interrupt interface 44 of client 14 (of FIG. 1). Utilizing the CAD software's internal geometry analysis tools, an operator can measure the distance from each individual point to an associated edge or curve in order to ascertain the magnitude and cause of a deviation. Furthermore, an analysis algorithm 128 of geometric analyzer 58 generates a point cloud analysis report 126.
In order to implement point cloud extraction, geometric analyzer 58 (of FIGS. 1 and 3) performs three different types of point cloud analysis: tessellated point cloud analysis; surface point cloud analysis; and edge point cloud analysis. A description of each of these different types of point cloud analysis is described below with reference to FIGS. 4–7.
Operation manager 38 includes a native-to-native geometry conversion system within program code 60. When such system translates a CAD model file, each geometric feature is scrutinized using translator software within staged translator 56; namely, via program code 60. The translator software is operative to extract point cloud data by forwarding an instruction set to clients 14 that cooperates with program code 64 for directing extraction of point cloud data. In order to assure that points are extracted accurately, the distance between points and their corresponding associative entities (surfaces and curves) in the source model file are measured using extraction software within program code 64. All points that do not lie directly on a surface or an edge curve are then deleted. This step is necessary in order to protect against algorithmic errors that are potentially present in CAD system software. Remaining points are then stored in a file which is labeled according to type: tessellated; surface; or edge. In a similar manner, when a file translation has been completed, point cloud data is extracted from the target file and is then stored in memory 22.
System 12 implements point cloud analysis by way of geometric analyzer 58. When a user or operator of client 14 runs geometric analyzer 58, appropriate point cloud files are read by geometric analyzer 58. Such implementation occurs whether system 12 is implemented across a client server network environment or via a stand-alone workstation. The points are then compared against their corresponding entities by measuring the distance between each respective point and the nearest edge or surface that is present in the other CAD file. Points which have been extracted from the source are then measured in the target file, and points extracted from the target are measured in the source file. Surface points are then measured distance-wise against surfaces, and edge points are measured against edge curves.
If it is found that the distance between each individual point and its associated entity is less than a specific predetermined tolerance value that is required for a geometric feature, then the point is deleted from the model file. For example, the distance between a point and an edge curve in a source file is compared with the distance between the respective point and the respective edge curve in a target file. If the difference between such measured values deviates more than 0.05 mm (a specific predetermined tolerance value based upon a unit of measure), then the point is not deleted from the model file because it is found to be outside the tolerance range.
When geometric analyzer 58 has measured all of the points in the point cloud file(s), the points that are left over in the model file are points that do not lie directly on (or within a tolerance range) of any surface or edge. Such points represent differences in the geometry between the two files. The coordinates of these points are then saved in a separate file that is appropriately labeled “Bad Point File”. Where a forward check is performed, a bad point file is created from the source. Where a reverse check is performed, a bad point file is created from the target. The distance from this point to the associated curve or surface comprises the magnitude of the deviation in geometry at that specific point in space.
FIG. 4 illustrates point cloud data that is extracted from a source model 45 and recreated in a target model 45′. The distance between respective points 47 and 47′ on the corresponding surface is then measured. The resulting deviation from point 47 to the associated curve or surface (of source model 45 and target model 45′) is the magnitude of the deviation geometry at that specific point in space.
Geometric analyzer 58 also identifies different point cloud types. Each of the three previously identified types of point cloud data is extracted separately utilizing a CAD file translation engine provided by staged translator 56; namely, via program code 60 which sends instructions to clients 14. Each type of point cloud data is described below in greater detail. Geometric analyzer 58 uses each point cloud type in order to maximize the advantages of each, while minimizing relative disadvantages. Geometric analyzer 58 uses a tessellated point cloud type in order to quickly find missing features and gross differences in relative geometry. Surface point cloud types are used to very accurately determine differences between surfaces, as well as to verify the dimensional integrity of features. Edge point cloud types are used to verify boundary accuracy and can provide detailed correction information to an operator.







TABLE 1







A Comparison of Point cloud Types









Type
Advantages
Disadvantages





Tessellated
Automatically increases
May detect differences on



point density for areas
boundary edges



of high curvature
Difficult to create correcting



Quickly finds missing
geometry from these points



features
(need edge points to build



Quickly finds gross
boundaries)



geometry errors/differences
Can miss subtle geometry




errors/differences


Surface
Very accurate for surface
May not detect differences



error detection
on boundary edges



Quickest analysis to
Difficult to create correcting



perform
geometry from these points



Detects surface differences
(need edge points to build



between the boundary
boundaries)



curves


Edge
Detects boundary curve
Longer analysis time



differences
Does not detect differences



Facilitates correction
on surfaces between the



geometry creation
edge curves



(especially if used



with surface Point cloud)









Tessellated Point Cloud

Referring to FIG. 5, tessellation comprises the process of generating flat triangles 70 that approximate a curved surface of a modeled object. This process typically involves the creation of a series of points 66 that lie on a surface 68. Subsequent to generating points 66, points 66 are joined into a mesh of triangles 70. Accordingly, the vertices 69 of the triangles 70 lie on surface 68, whereas the edges 71 of the triangles may deviate from the surface.
The density of points 66 on cylindrical surface 68, the spatial distribution of points 66, and the number of triangles 70 that are created are often controlled using two parameters: first, chord length; and secondly, angle deviation. These parameters are best described below using the example of a tessellated curve (see FIG. 6).
In FIG. 6, a tessellated curve 72 for a boundary curve 73 of a geometric model is shown with a plurality of tessellation points 74–78. As shown, chord length is the maximum distance allowed between a particular line segment 80 and boundary curve 73. The angle deviation (or angle control) defines a maximum allowed angular deviation of the edges of the triangles from a tangent to the curve at the vertex. More particularly, as the curvature of the edge curve becomes greater, the individual line segments that make up a tessellated surface will inherently become smaller. This is necessary in order to maintain the specified chord length and angle deviation. Accordingly, this automatically increases the number of points generated in regions of high curvature. Similar to tessellated curves, tessellated surfaces are still controlled by a chord height, and angular control. Chord height is the largest distance that any given triangular surface is allowed to deviate from a surface being approximated. As a result, the “point cloud” used to create the vertices of all of the triangular surfaces automatically becomes denser in areas of relatively high curvature.
Most presently commercially available CAD software is provided with a tessellation function built therein. For example, Pro/E includes such a tessellation function. In many cases, these tessellation functions can simply be called upon to create points at all of the vertices of a triangular surface in order to generate a tessellated point cloud. However, the process of locating or finding points (triangle vertices) on surfaces often involves mathematical techniques with built-in tolerances. As a result, these tolerances sometimes lead to the creation of tessellated points that fall outside of the desired surface. A tessellated point extractor, configured to extract tessellation point, provided within geometric analyzer 58 analyzes all the points which are created using the tessellation engine of the CAD system, and automatically rejects all points that are not provided exactly on the surface of the model.
Surface Point Cloud
As shown in FIG. 7, surface point cloud data is extracted by stepping along each individual surface in a U parameter direction and a V parameter direction, creating points at predetermined parameter intervals. Such a method creates a matrix of points 82 along a surface, such as surfaces 84 and 86. For example, surface points 82 are shown evenly distributed about each of surfaces 84 and 86 of an object in FIG. 7.
Edge Point Cloud
Although not shown in a specific figure, by stepping along the boundary edges of each face of a solid (such as the faces of a solid shown in FIG. 7) and creating evenly dispersed points that lie on the edge, edge point cloud data can be generated. The respective faces of a solid, by way of example, can comprise trimmed surfaces that form a bounding surface for the volume of the solid. The edge surfaces are typically parametric curves. The resulting evenly dispersed points are generated by stepping along the curve parameter using a predetermined parameter interval.
Point Cloud Analysis
Once all the point cloud data has been generated with geometric analyzer 58 using the above-described techniques, three-dimensional coordinates for the resulting point cloud data are stored in files according to type. By using presently available programming interface functions of each respective CAD software, these points are created in an appropriate CAD model file. For example, API functions are available for use. The tessellated and surface point clouds are then analyzed by measuring the distance from each individual point to the nearest surface. Edge point clouds are measured to the nearest edge curve. If the resulting distance is equal to zero, or is smaller than a tolerance that has been previously specified in geometric analyzer 58, then the point is deleted from the model. Any points remaining in the model file after analysis is complete are then classified as geometry errors and their coordinates are stored in a separate geometry error file such as bad point files 122 and 124 of FIG. 3.
Because the most common type of surface encountered is a surface that is bounded by three or more edges, the number of edge points and the number of edges in a model can quickly become very large. In order to determine which edge provides a nearest edge, geometric analyzer 58 is required to measure the distance from each edge point to each edge within a given model. In models having relatively large numbers of surfaces, edges and points, this analysis can be relatively intensive and time consuming.
Accordingly, in order to speed up edge analysis, the number of edges required to be analyzed against a given point is reduced by measuring only to those edges in which a pre-sized bounding box contains the point being analyzed. More particularly, a bounding box is provided having a dimensional tolerance value in which the bounding box is the smallest three-dimensional box that can contain the entire edge curve.
Accordingly, the above techniques greatly reduce the number of times that the analyzer is required to measure the distance from a given point to a given edge within a model.
Point Cloud Analysis (Stand-Alone Analyzer)
According to an alternative construction where system 12 is implemented within a stand-alone workstation, system modifications are made in order to speed up analysis. In the past, the use of a CAD system's internal tools to measure distances from points to curves and surfaces has typically been a relatively slow process. A slow process results because the analysis tends to be subject to the speed limitations of the CAD software itself. The CAD software is typically busy doing several other operations; for example, one operation entails displaying a complex image to an operator. Accordingly, relatively slow operating speed can result from speed limitations and other operations.
For the case of a stand-alone workstation version of system 12 (and geometric analyzer 58), increases in speed of analysis are implemented by modifying the implementation procedure. Accordingly, point cloud densities can be increased, which in turn improves the accuracy of analysis.
In the case of a stand-alone workstation (and stand-alone geometric analyzer), the same analysis is implemented as was performed for an internal CAD system construction as above described. However, there is a difference in that the surfaces of all the geometric features from the source model and the target model must be extracted for use by the analyzer. The geometric analyzer does not have to display any imagery to the operator, nor does it have to perform any other CAD related functions. Therefore, the geometric analyzer can be optimized for efficient measurement.
The extraction of surfaces from the source CAD system and the target CAD system is done by extracting NURBS surfaces (as discussed below), and their associated trim curves.
Design Intent Source Analysis
With reference to design intent source analyzer 88 (of FIG. 2), there are three purposes for design intent source analysis: First, design intent source analysis is performed to evaluate the “manufacturing design intent” of the source CAD file to assist in the feature mapping between the source and target CAD systems. Secondly, design intent source analysis is performed to provide process mapping and routing details to the translation production line. Finally, design intent source analysis is performed to predict the cost of the translations and to convey a quotation back to a customer that has requested translation services.
Design intent is conveyed and interpreted by evaluating the methods used to define the geometry in the source file, and determining which methods a designer would use in order to create the same geometry in the target CAD system. A method of creating a specific feature may be perfectly natural to a designer using a source CAD application. However, that method may be very unnatural to a designer using the target CAD system. After performing design intent analysis, such methods are identified, and a natural method mapping can occur.
For example, in Pro/E a designer would create a hole by inputting the hole command, specifying the location of the hole, and the size (or dimensional) parameters of the hole, as shown in FIG. 8. FIG. 8A illustrates a model of a solid cube comprising solid base material. FIG. 8B illustrates a hole which has been inserted on a face of the cube by a Pro/E designer who has created a hole in the solid material of the cube by specifying the surface and location for the hole, and the hole dimensional parameters. In contrast, FIGS. 9A–D illustrate how a CATIA designer would create a hole by creating a solid cylinder having a desired dimension, locating the cylinder and orienting it relative to the solid cube in which it is desired to put a hole, and then subtracting the solid cylinder from the base solid cube material. Accordingly, the same function in CATIA is accomplished by creating a solid cylinder, locating and orienting the cylinder relative to the cube model, and subtracting the solid cylinder from the remainder of the cube model. FIG. 9A illustrates the cube comprising a solid base material. FIG. 9B illustrates creation of the solid cylinder. FIG. 9C illustrates a cylinder, located and oriented in a desired configuration. FIG. 9D shows the cylinder after it has been subtracted from the base, or cube. Table 2, below, illustrates in summary a natural method mapping for a Pro/E CAD file feature as well as a CATIA CAD file feature map.







TABLE 2







Natural Method Mapping








Pro/E CAD File Feature
CATIA CAD File Feature Map





Hole
Sol. Cyl → Locate & Orient → Subtract



Sol. Cyl from Base solid









It is probable that some of the geometric features created by the source CAD application are created in such a manner that the target CAD application cannot create the same geometry using the same method of creating it. One reason this happens is because the specific feature functions that were used in the source system do not exist in the target system. Another reason is due to approximation algorithms. Most CAD systems approximate complex geometry using proprietary algorithms. It is very unlikely that two CAD systems will use the same algorithms to approximate the same geometric features. Therefore, differences in the geometry are bound to occur even though the feature in the target file was created using the same methodology as the feature in the source file. Regardless of the cause of any inaccuracy, the solution is the same: A set of features needs to be found in the target CAD system that duplicates the geometry found in the source file. This requires mapping of feature geometry methods to the target CAD system.
In order to accurately predict the cost of converting a CAD model file, there are four pieces of information necessary. First, the size of the file; secondly, the number of geometric features that need to be converted; thirdly, the type of features; and finally, source and target CAD file applications. The source design intent analyzer performs a series of scans on the source file in order to determine this information. First, It counts the number of features in the source model file and parses them into specific feature type categories. Then, the features are classified into categories of a) geometry that always automatically converts over every time; b) geometry that automatically converts over X % of the time; and c) geometry that never automatically converts over and requires operator assistance to complete it. This classification will be specific to the particular source and target CAD systems. Once the features in the source model file are categorized and counted, then simple algorithms can be used to predict the conversion cost.
Native-to-Native Geometry Conversion
According to the present translation engine implementation, the approach to CAD file conversion is based upon the assumption that a purely automated software solution is not possible. Existing technical barriers are numerous, which prohibits a purely automated software solution. Therefore, a technology is needed that integrates the automatic recreation of geometry in the target CAD system.
There are two major steps to the native-to-native geometry conversion process of converter 90 (see FIG. 2). First, there is a source to Applicant's model format (an intermediate format) conversion. Secondly, there is Applicant's model to target file conversion.
Both of these steps are accomplished by utilizing the CAD system's own application program interfaces (API's). The source CAD system's own function calls are then used to extract a list of the geometric features that make up the source model file. These features and their defining parametric data are stored in a series of Applicant's proprietary data formats. The formats are described in the algorithm section below. Utilizing the equivalent function calls for the target CAD system, the geometric features are recreated by reading the geometric feature data from the Applicant's model formats. This provides a “hub and spoke” type of configuration in which once a CAD system is implemented to write to and read from the Applicant's model formats, it is then possible to convert file to or from any other CAD system that is implemented.
In order to facilitate the process of converting from a source file format to Applicant's formats and from Applicant's formats to a target file format, several CAD system specific utilities were developed. These utilities perform specific tasks including but not limited to: extracting mathematical geometric data from the source model file and storing it in Applicant's proprietary format, mapping certain geometry generation function calls from Applicant's formats to the appropriate target CAD system function calls, and determining specific geometric data that is not necessarily provided by the source CAD system, but will be needed in order to generate the equivalent geometry with the target CAD system.
Geometric Model Comparison
Geometric model (or mirror-model) comparison is the process of comparing the source CAD file with the target CAD file to determine if discrepancies exist. The comparison consists of measuring the distances between the corresponding surfaces and boundary edges of the two files. If the target file is a perfect duplicate of the source file, then all of these measurements will yield zero distances.
The process invokes Applicant's point cloud data (or Pixie Dust) analysis process, which creates a series of points that lie on the surfaces and edge curves of each geometric feature of a model. These points are then brought into the target CAD model file and the distance from the points to the corresponding surfaces and curves are measured. Any points that lie on the appropriate surface or edge curve, or within acceptable tolerances, are deleted from the target model. The points that lie outside of the acceptable tolerances are flagged as errors in the model file.
The reverse of this process, where points are extracted from the target model file and are inserted into the source file can also be invoked. This increases the probability of finding all of the discrepancies between the two files and reduces the probability of an error going undetected.
There are three general types of point cloud points generated, which include tessellated points, surface points, and edge points. Tessellated point cloud points use a tessellation routing to determine a series of vertices that are scattered all about a surface.
An operator can then select which type of point cloud analysis to run. The advantages and disadvantages of these three types were described above in Table 1.
The translation production line concept is a process that treats CAD file conversion as a manufactured product. The process applies manufacturing production line techniques to the process of converting CAD file formats.
As shown in FIG. 10, staged translator 56 includes a translation engine 57. Translation engine 57 implements conversion/translation and analysis/inspection when converting from a source CAD model (or file) (or a CAD file that a customer wishes to convert from) to a target CAD model (or file) (or a CAD file that a customer wishes to convert to). For example, various different source CAD files and target CAD files are shown in FIG. 10. For example, a Pro/E CAD file 100, an SDRC CAD file 101, and a Unigraphics CAD file 102 each comprise source CAD files; whereas, a CATIA CAD file 103, a SolidWorks CAD file 104, and an AutoCAD file 105 each comprise target CAD files.
The translator implementation of FIG. 10 enables a relatively efficient quotation process when the system of the present invention is used to implement staged translation for a third party desiring translation of drawings from a source CAD file into a target CAD file. Such a process entails: reviewing source CAD model geometric features using feature statistics; implementing design intent analysis and feature parsing; and estimating conversion costs based upon the number of features, and the types of features identified.
FIG. 11 illustrates the mapping of a regeneration process comprising the reordering of a Boolean tree. FIG. 11 illustrates a feature based Boolean tree. FIG. 12 illustrates a respective Boolean based CSG tree. By mapping the regeneration process using the feature based tree of FIG. 11 and the Boolean based CSG tree of FIG. 12, the manner in which errors can be easily and serially displayed to a technician in a serial manner and in a target CAD file are readily apparent. A technician can complete features that the software cannot properly complete (as identified by an interrupt interface). Furthermore, the technician can additionally or alternatively repair any errors that exist within the geometry as identified by the system.
Overall Implementation
In order to implement the computerized design model (or file) translation system features of the present invention, the following methodology is carried out. In Stage 1, a source model file design intent analysis is performed. Subsequently, a Stage 2 analysis generates a duplicate target model file corresponding with the source model file with the pre-existing, source model file. In Stage 3, a mirror-model comparator analysis is implemented by way of a forward check, a backward check, or a forward and backward check. Finally, a Stage 4 operation entails an operator inspecting the resulting analysis file and correcting any errors that are detected, and then rerunning the analysis of Stage 3 by way of a mirror-model comparator.
According to Stage 1, source model file design intent analysis entails receiving a pre-existing, or source model file, then storing the model file in memory. Subsequently, the pre-existing, source model file is opened using a source CAD system. Next, the pre-existing, source model file architecture is evaluated, and the model file is exploded. Subsequently, construction history indicating how the model was originally graphically built is then examined. Furthermore, comparison reference data (or point cloud data) is then extracted. Finally, the extracted data is stored in a designated metafile format (an intermediate file format).
In Stage 2, the methodology includes launching a target CAD system. Subsequently, a target model file is recreated, duplicating the same process that was used to create the original pre-existing, source model file. Interrupts are subsequently generated, when necessary, indicating to an operator that help is needed in recreating the target model file. For example, an interrupt can be displayed on a user display screen to a user indicating “I need help”. Finally, Stage 2 entails an operator “clearing” any interrupts (or removing and fixing the cause) that are presented to the user or operator during recreation of the target model file.
In Stage 3, the methodology entails a forward check and a backward check. In the forward check, points are created in the target CAD file representing the location of edges, and surfaces of the source model. Distance is then measured between the points and the edges/surfaces. Subsequently, points are deleted that fall within a predetermined tolerance. The forward check is finally completed by saving a model file containing “bad” points, or points that fall outside the predetermined tolerance. The backward check is implemented in the same manner as the forward check, except point cloud data is extracted first from the target model, then compared with point cloud data extracted from the source model. A forward and backward check entails performing both checks, then saving “bad” points from both check into a common file.
Stage 4 of the methodology includes an operator inspecting the analysis file resulting from the previous stages. Next, distances are measured between points and edges/surfaces. Subsequently, points that deviate, or fall outside a predetermined value are identified and a determination is made as to whether corrective action is required on the part of the operator. If corrective action is required, the operator then corrects any errors in the analysis file. Finally, the operator reruns the analysis, starting again with Stage 3 in order to determine whether the corrective action has remedied the problem with respect to the geometric data which is requiring corrective action to fall within the predetermined tolerance.
FIG. 13 illustrates by way of example one method for creating a target geometric model file from a source geometric model file wherein an interrupt is presented to a user at a user interface in a timed manner that occurs serially during creation of the target geometric model file and when a discrepancy is detected during creation of the target geometric model file. In this manner, a serial arrangement of interrupts can be presented to a user as the process of creating a target geometric model file progresses from start to finish. In response to each interrupt, the user is given an opportunity to evaluate the discrepancy and correct such discrepancy, after which the check is re-performed in order to confirm compliance of the target data with the respective source data.
As shown in FIG. 13, a logic flow diagram illustrates the steps of implementing a serial interrupt interface process when creating a target geometric model from a source geometric model.
In Step “S1”, a server and a client of a computational geometry system are provided having a user interface that is used to provide an interrupt to a user. After performing Step “S1”, the process proceeds to Step “S2”.
In Step “S2”, the system receives a pre-existing, source geometric model at the server. After performing Step “S2”, the process proceeds to Step “S3”.
In Step “S3”, the system stores the source geometric model in memory of the server. After performing Step “S3”, the process proceeds to Step “S4”.
In Step “S4”, the source geometric data is extracted from the source geometric model. After performing Step “S4”, the process proceeds to Step “S5”.
In Step “S5”, the system stores the extracted source geometric data in a metafile format. After performing Step “S5”, the process proceeds to Step “S6”.
In Step “S6”, the system, using a target CAD system, generates a target geometric model having target geometric data. After performing Step “S6”, the process proceeds to Step “S7”.
In Step “S7”, the system detects at least one of a discrepancy between the models and a problem in generating the target geometric model while generating the target geometric model. After performing Step “S7”, the process proceeds to Step “S8”.
In Step “S8”, the system generates an interrupt at the user interface responsive to detecting the at least one of a discrepancy between the models and a problem in generating the target geometric model. After performing Step “S8”, the process proceeds to Step “S9”.
In Step “S9”, the system interrupts generation of the target geometric model in response to generating the interrupt. After Step “S9”, the process proceeds to Step “S10”.
In Step “S10”, a user fixes the problem and/or discrepancy. After Step “S10”, the process proceeds to Step “S11”.
In Step “S11”, a user clears the interrupt using the user interface. After Step “S10”, the process proceeds to Step “S12”.
In Step “S12”, a query is made as to whether the model generation process is complete. If the file generation process is determined to be complete, the process is terminated. If not, the process returns back to Step “S6”.
According to another implementation, a method is implemented using a computational geometry system to realize an interrupt interface that notifies a user of the presence of any identified discrepancies in response to comparing geometric data between source geometric data and target geometric data in a source geometric model and a target geometric model, respectively. Such a computational geometry system utilizes a server with processing circuitry and an operation manager that is configured to compare source geometric data and a source geometric model with target geometric data and a target geometric model. The operation manager is further operative to identify discrepancies in the geometric data therebetween. A client of the computational geometry system communicates with the server over a communication link. The interrupt interface is provided by one of at least one client. The interrupt interface is operative to notify a user of the presence of any identified discrepancies in response to comparing the geometric data. In one case, the operation manager comprises a medium having program code embodied therein which, when executed by the processing circuitry, translates a source geometric model file received from a source within a client/server environment to a target geometric model file.
In one case, the program code is associated with the processing circuitry in the interrupt interface. The program code includes a production control module that is operative to implement staged translation of the source geometric model file into the target geometric model file.
In one case, staged translation includes the steps of extracting comparison reference data from the source geometric model file and a source CAD system; generating a target geometric model file and a target CAD system; comparing reference data from the source geometric model file with corresponding reference data from the target geometric model file; and, upon identifying a discrepancy, displaying the discrepancy to an operator at the client with the interrupt interface.
FIGS. 14–17 illustrate by way of example a serial interrupt interface 44 as seen from a client by a user or operator and comprising a generic CAD file overlay, or window, 130. Interrupt interface 44 is provided by way of a user display 42. User display 42 provides one implementation for a user interrupt 24 triggered by detecting a discrepancy or a problem in generating a target geometric model. Such user interface features are implemented on a client/server computer system and are presented below to illustrate one implementation of Applicant's system and method for providing a serially progressive interrupt interface with a background operation manager when translating a source geometric model to a target geometric model using a computational geometry system. According to one implementation, the computer aided design file translation system comprises a serially progressive interrupt interface which is provided by way of a pop-up interrupt interface application window 132 which is displayed within generic CAD file overlay window 130.
As shown in FIG. 14, a graphical user interface on a client such as the display screen is used to display serial interrupt interface 44 via displaying interrupt interface application window 132 within overlay window 130. With respect to FIGS. 14–17, each screen contains icons, or triggers, that may be clicked on in order to select different items and/or in order to navigate between screens.
FIGS. 14–17 each form diagrams of exemplary screen displays that the geometric model comparator and computer aided design file translation system provides to a user or operator during various steps when serially interrupting the operator when translating a source geometric model file to a target geometric model file and their existent inability to automatically accurately create geometry from the source geometric model file to the target geometric model file. For purposes of this disclosure, it is understood that a screen displays a portion of the computer aided design file translation system, and that the screen includes a window which is a predefined part of virtual space. Accordingly, a screen can include selection buttons, pop-up menus, pull-down menus, icons, links, buttons, scrolling lists, data entry fields, embedded content objects, radio buttons, check boxes, and other usable and selectable items that are capable of being configured or selected with a cursor using a tactile input such as a pointer, a mouse, and/or a keyboard or a button.
FIG. 14 illustrates one exemplary interrupt interface application window 132 that pops up within generic CAD file overlay window 130 in response to the computational geometry system encountering a problem or inability to automatically create an accurate geometry when translating from a source geometric model to a target geometric model. One exemplary problem that creates an inability to automatically create an accurate geometry results when the computational geometry system determines the presence of any identified discrepancies in response to comparing the geometric data between the source geometric model and the target geometric model.
The interrupt interface application window 132 of FIG. 14 includes a “Continue Options” field 134, an advanced options field 136, and a “Log File Viewer” field 138. “Continue Options” field 134 includes an import button 140 that selectively configures with a “Next Feature” check box 142 or a “Feature I.D.” check box 144. “Feature I.D.” check box 144 also includes a data entry field 146 for entering a desired feature identification. Such feature is entered into data entry field 146 after which check box 144 is selected such that the desired feature identification is imported when selecting import button 140. Such action continues operation or stops the translation process back up, starting with the next feature (if check box 142 is selected), or starts the process back up at the identified feature selected by way of check box 144 and data entry field 146. Advanced options field 136 includes an options button 148 that generates pop-up advanced options application window 150 of FIG. 15. “LogFileViewer” field 138 includes a start button 152 that launches a pop-up “LogFileViewer” application window 154, as shown in FIG. 16.
FIG. 15 illustrates the generation of pop-up advanced options application window 150 within generic CAD overlay window 130 of user display 42. More particularly, pop-up application advanced options application window 150 comprises an import single feature field 156, an import feature surfaces field 158, an import single surface field 160, an import section field 162, an import feature edges field 164, an import surface edges field 166, and a restart field 168. Furthermore, window 150 includes a cancel button 170 which triggers closure of window 150.
Import single feature field 156 includes a data entry (or text) field 172 for inputting an import single feature identification number (or alpha-numeric) identifier. Import single feature field 156 also includes a union check box 174, a subtraction check box 176, and an intersect check box 178. Selection of boxes 174–178 in combination with input of an identification number within field 172 enables the selection of that import single feature by way of a union, a subtraction, or an intersection, respectively. After designation of the appropriate check box and input of the identification number, an import button 180 is selected by a user to import such single feature in the manner designated by the selection of the respective check box amongst check boxes 174–178.
Import feature surfaces field 158 includes a data entry (or text) identification field 182, a volume check box 184, a trim check box 186, and an import button 188. Insertion of data within field 182, selection of the appropriate check box 184 or 186, and selection of import button 188 causes importation of the identified feature surfaces by way of volume or trim, respectively.
Import single surface field 160 includes an import single surface identification data entry (or text) field 190, a trim check box 192, and an import button 194. A user provides an identification data entry number within field 190, selects trim check box 192, and import button 194 in order to cause import of a single surface having the desired identification and respective trim characteristic.
Import section field 162 includes an import section identification data entry (or text) field 196 and an import button 198. A user provides the identification within field 196 and then selects import button 198 in order to import the identified section.
Import feature edges field 164 includes an import feature edges identification data entry (or text) field 200 and an import button 202. A user imports an appropriate identification within field 200 and selects import button 202 in order to import the identified feature edge.
Import surface edges field 166 includes an import surface edges identification data entry (or text) field 204 and an import button 206. A user merely inputs an identification number within field 204 and selects import button 206 in order to import the identified surface edge. Restart field 168 includes a restart job button 208. A user selects restart job button 208 in order to restart the translation process implemented by the computer aided design filed translation system of the present invention as described above with reference to FIGS. 1–13. Finally, a user merely selects cancel button 170 in order to cancel the advanced options features provided by way of application window 150, thereby closing window 150.
FIG. 16 illustrates a screen display in which pop-up “LogFileViewer” application window 154 is generated within generic CAD file overlay window 130 in response to selection of start button 152 of FIG. 14. “LogFileViewer” application window 154 enables an operator to view a log file for a specific job that is identified by way of a job identification (JOBID). Specific feature attributes can be entered via a sequence number data entry field 210, a type data entry field 211, a source identification entry field 212, and a target layer data entry field 213. A creation status data display box 214 generates status information on the creation of the feature attribute. A navigation filter match feature status pull-down menu 216 is also provided. Furthermore, a navigation filter match feature type pull-down menu 218 is also provided. An apply filters button 220 and a toggle status button 222 are furthermore provided. Feature attribute information can be provided by way of a message box 224. Furthermore, an internal display 226 provides feature attribute information therein.
Furthermore, application window 154 includes navigation direction buttons comprising a first button 228, a next down button 229, a “down>>” button 230, a next up button 231, an “up<<” button 232, and a last button 233. Selection of first button 228 grabs the first feature attribute. Selection of button 229 moves to the next down feature attribute. Selection of button 230 moves down to the very bottom of the feature attributes. Selection of next up button 231 moves up one feature attribute. Selection of button 232 moves to the top of the feature attributes list. Selection of last button 233 moves to the very last feature attribute.
A find data entry field 234 enables a user to input a desired feature attribute, after which selection of “Find this I.D.” 235 causes the navigation to the feature attribute identification provider within data entry field 234. Likewise, input of data (or an identification number) into data entry field 236 and selection of “Find this Sequence Number” 237 finds the respective identified sequence number. A “Total Number of Features” data field 238 displays the total number of features and a number of features created successfully data field 239 displays the number of features that have been successfully created. Such fields 238 and 239 are provided in a statistics format display 242 within application window 154. An “I Done” button 240 enables the designation that LogFileViewer utilization is done, thereby closing window 154. Selection of a reload button 241 reloads the LogFileViewer, relaunching application window 154.
FIG. 17 illustrates a pop-up graphical user interface feature identification/information application window 244 which is displayed within overlay window 130 in response to selection of import button 140 of FIG. 14. Application window 244 includes a source feature identification field 246, a feature information field 248, and a translation options field 250. Source feature identification field 246 includes a source feature identification data entry field 252, a feature type data entry field 254, a Boolean type data entry field 256, and a creation status data entry field 258. Furthermore, field 246 includes a reasons for interrupt scrollable display 260. Feature information field 248 includes a plurality of tab screens such as a summary tab screen 262 comprising a summary of the feature information. A features parameters tab screen 264 includes information on feature parameters. Translation options field 250 includes a continue button 266 that enables continuation of further translation options.
Translation Process Overview—
Translation Process Principles
Applicant has developed a unique approach to the task of translating Computer Assisted Design (CAD) models from one format to another. The process is designed to a) maximize the quality of the translation, b) minimize cost of translation. In order to achieve these two goals it is necessary to ascertain the geometric accuracy of the translation, and perform the translation with a minimization of human interaction time.
As to determining the geometric accuracy of the translation, a method has been developed for comparing a source CAD model (model to be translated), with a target CAD model (the translated model). The objective of this comparison is to locate and convey any differences in geometry that may exist between the two models, and convey them to an operator so that they can be resolved. For purposes of this comparison, the source model geometry is defined to be correct. The comparison method involves comparing all boundary surfaces, their trim curves, and all model edges to one another. This method is useful for locating differences in geometry, missing geometry, or extraneous geometry in the target model.
Human interaction is minimized by providing a systematic process in which operations that can be automated are done so without human input, and the operations that cannot be automated are presented to the human operator in a manner that displays the specific problem concisely and efficiently, and provides the operator with all of the information necessary to quickly arrive at the solution. Operations which can be automated are performed in the “background” while any human intervention operations are performed in the “foreground”.
The translation process employs the necessary controllers and systems to notify the human operator in the event it needs assistance to resolve a specific translation problem, or has incorrectly created the geometry in the target model. When the system needs such assistance, it displays the target model to an operator along with information to help the operator determine the nature of the problem, and a satisfactory solution to it. The operator then fixes the problem, and passes control of the translation process back to the system to be completed in the background. If the system needs further assistance, it will repeat the process of notifying the operator, and displaying the problem. During the process of creating the geometry in the target model and also upon completion of translation of all the geometry, the system analyzes the quality of the translation as described above to ascertain the translation accuracy. If it finds a discrepancy or problem with either the geometry or with the process of creating the geometry, it displays the discrepancy/problem to a human operator for assistance in resolving the differences between the models.
Geometry Types
B-Rep Solid Geometry
Modern CAD systems create geometry in a number of ways. These include surfaces, curves, and solids. There are two general methods for creating and defining solid geometry. One is to create a series of boundary surfaces that enclose a volume. The CAD system can then consider the enclosed volume to be solid and have material inside or outside the solid. This type of solid is commonly called a boundary representation solid or B-Rep Solid.
FIG. 18 illustrates a solid cylinder 272 created by creating B-Rep Surfaces, such as cylindrical surface 274 and end surface 276, to enclose a volume. These boundary surfaces can be created in a variety of ways including lofting, extruding, blending, sweeping, coons patch (specific mathematical method of creating a surface based upon its boundary curves), ruled surface, revolved surface, and others. Translation of these types of features is accomplished by converting the boundary surfaces along with their boundary curves to the target CAD system, enclosing the volume in the target CAD system and creating the solid.
Constructive Solid Geometry (CSG)
The other predominant method of modeling 3D solids is CSG. This involves the creation of specific geometric features and combining them to define the final solid. The individual solid features created for the CSG method may be either “parametric” features or B-Rep solid features. “Parametric” features refer to specific geometric failures created by specifying the parameters that define a primitive (a geometric object that is fully defined by its parameters). Many parametric features use a combination of geometric entities and operations to fully define the feature. Simple primitives used in parametric features include such cuboids, cylinders, spheroids, ellipsoids, toroids, etc. Examples of more complex parametric features include sketched features where the geometric object is defined by sketching a cross-section and then extruding it a specific distance, sweeping it along a trajectory curve, or revolving it about an axis. Sketched features are more complex in that they can include just about any shape that can be sketched; however; they can still be driven by parameters by dimensionally constraining the sketches, and the extrusion depth, revolve angle, or sweep trajectory. Complex geometric features can also be created by blending solid geometry between two or more sketches using suitable mathematical algorithms.
FIG. 19 illustrates a solid model geometry 278 created by extruding a circle section to create a cylinder, sweeping another circle along a trajectory to add a swept feature and revolving a complex section to create a revolved feature. A first circle system is extended to form extended section 280. A second circle section (or sweep section) 282 is swept along a sweep trajectory 284. A complex section is revolved to create a revolved feature such as revolved section 286.
Translation of these types of features is accomplished by extracting the pertinent parameters, sections, trajectories, and other associated geometry from the source model, and recreating them in the target CAD system using the same or equivalent construction geometry and parameters.
Assembly Models
Solid models are usually organized into individual parts that are then assembled to other part models to create assembly models. Parts and sub-assemblies may be assembled together to form a higher-level assembly. Different CAD systems use different methods to accomplish this. One is to create a separate assembly model that refers to the individual part or sub-assembly models file and contains assembly constraints and part (or sub-assembly) location and orientation information in the assembly. Another is to include each part (or sub-assembly) model in the assembly model as a separate entity. Some CAD systems use a combination of the two methods described above.
FIG. 20 illustrates two methods of storing assembly model data. Translation of assembly models will require mapping of these two main types of models from one to the other when the two CAD systems use the different assembly architectures. Assembly model 288 is mapped into “Part 1” 289, “Part 2” 290, “Part 3” 291, and sub-assembly 287. Sub-assembly 287 is mapped into “Sub-Assembly Part 1” 293 and “Sub-Assembly Part 2” 295. According to another method, assembly model 288 is mapped into “Part 1” 1289, “Part 2” 1290, “Part 3” 1291, and “Sub-Assembly” 1292. “Sub-Assembly” 1292 is mapped into “Sub-Assembly Part 1” 1293 and “Sub-Assembly Part 2” 1294.
Constraints, Relations, Associations, and Solid Properties
It is common for most modern CAD software systems to assign constraints to their solid model geometry. These constraints can be geometric or dimensional for part feature geometry, and inter-part (or inter-sub-assembly) relational for assembly model geometry. In addition, relations can be established between parameters of a single feature (intra-feature relations), multiple features in the same part model (inter-feature relations), or multiple features of two or more part (or sub-assembly) models in an assembly (inter-model file relations). For example, relations can be established between features of a model in which a specific sketch plane for a feature can be related to a specific face for an existing feature, or the dimensions or parameters for a section sketch can be related to an existing feature. In this way, model behavior can be controlled in the event changes are made to the model that affect features downstream, or other parts of the assembly.
FIG. 21 illustrates the relation with a part 292 between the location of a hole 296 and a revolve axis 294 of part 292. This type of information would be extracted from the source model and reconstructed in the target CAD system in a manner that is commonly used in the target CAD system.
The solids in these models can be assigned physical properties so that the “Solid Model” can now simulate various characteristics such as mass properties, static behavior, dynamic behavior, and others. These properties can be extracted from the source model and inserted into the target model as well.
Operator Tool Set Theory of Operation
Overview
The purpose of an operator toolset is to improve the efficiency of CAD model file translations by providing the operator with the information necessary to: recognize when and where the target model geometry is different from the source model geometry; complete the creation of geometric features that cannot be translated automatically by software; and allow for the conveyance of the necessary geometric information without requiring the operator to refer to the source CAD model file.
Applicant has developed a set of tools that does several things. First, the set of tools shows the operator where the surfaces and edges of the corresponding geometric features of the other CAD model are located in relation to the target model. Secondly, the set of tools details the status of each geometric feature that was converted. Thirdly, the set of tools informs the operator of the type of each geometric feature in the source model along with the methods and parameters used to construct them. Finally, the set of tools displays the required parameters and references required to complete features that were not automatically constructed in the target CAD system.
By providing the operator with this detailed information, the operator can quickly and efficiently complete CAD model file translations that duplicate as much as possible the original design intent, and are accurate.
Geometry Deviations
Point Cloud Displaying Bad Geometry
Applicant's translation system uses the Geometric Analyzer (GA) that it has developed to determine if and where two CAD model files are geometrically different. Once the differences have been determined by the GA, the bad points are displayed in the target model file. By directly viewing these representations of where the surfaces and edges of the erroneous geometric features are supposed to be, the operator can determine the nature of the discrepancy.
FIG. 22 illustrates an exemplary target model 298 having bad points 300. Bad points 300 indicate an incorrectly translated fillet radius.
Surface Representations
If desired, an operator can import a Non-Uniform Rational B-Spline Surface (NURBS) from the surfaces of selected features directly from the source model file, providing the operator with points along the surfaces and edges as well as the surfaces themselves. A NURBS surface is a standard format provided by Applicant for exporting CAD surface information to enable translation and analysis. Most CAD systems possess the functionality necessary to export NURBS (or NURB surfaces).
FIG. 23 illustrates a surface 302 from the source model provided on the target model 298. Accordingly, surface 302 enables an operator to visualize where an erroneous fillet surface should be on target model 298.
Analysis Report
An analysis report is displayed to the operator detailing the type of analysis that was performed, and the quantity of errors found. If the translation is completely accurate, the report summary quickly indicates to the operator that there are no discrepancies. The operator can quickly move to the next analysis, or the next job without the need to review the model, thus saving the operator inspection time.
When analysis reveals inconsistencies between the source and target models, the report indicates to the operator how many points are not within tolerance. Therefore, the operator is given an indication of how much of the model file is erroneous.
Translation Log Viewer
Applicant has developed a Log File Viewer that provides the operator with essential information including feature regeneration status, feature identification mapping between the source and target CAD systems, and partial geometry identifications. The operator can toggle the display parameters to display any combination of features including successfully completed features, failed features, and feature types. This allows the operator to quickly sort through the translated model file and get essential information on any feature desired.
In addition, the log file for each feature displays information regarding where to find a feature's construction geometry such as the section(s), and trajectory (if applicable). This allows the operator to quickly filter to the desired information and find the desired geometry in the target model file.
Failed Feature Aids
In the event that a feature fails to be created in the target model file, then one or more of the following aids will be inserted into the model to assist the operator in interactively creating the failed feature.
Defining Parameter Indication
Certain feature types such as rounds (fillets) and drafts will have their defining parameter and reference information displayed to the operator. For example, if a fillet fails, then the associated model edges that are supposed to be filleted will be highlighted. In addition, the radius of the fillet will be displayed with a leader pointing to the specific edge or edges to which the radius is to be applied.
For example, FIG. 24 illustrates a source model 297 for target model 298 (shown in FIGS. 22–24). FIG. 24B illustrates a failed fillet 306 which has been annotated with defining parameters and references.
Likewise, drafts will be noted by placing the neutral plan in place, and highlighting the specific surfaces to apply the draft that applies to the specific surface(s). The draft angle will be indicated with a leader to the surfaces. Similar information can be provided for chamfers, patterns, copied or translated (moved) features, and mirrored features.
Construction Geometry for Failed Features
When a feature fails in the target model, usually the construction geometry required to create the feature is created in the target model. For example, a swept cut in which the cut section is a circle and is being swept along a trajectory curve might fail to actually build the cut in the target model. However, the section and the trajectory are placed in the model in the correct locations.
FIG. 25A illustrates a source model having a sweep feature 312. FIG. 25B illustrates a corresponding target model 310 having a sweep section 314 and a sweep trajectory 316. Target model 310, as illustrated, has failed to build sweep feature 312 correctly, but has placed the construction geometry into the model.
The operator merely needs to interactively complete the sweep operation selecting the section and trajectory when prompted to do so by the CAD system.
Import Surfaces of Failed Features
The surface representations that are described above in the Geometry Deviations section are very accurate representations of the individual surfaces that exist in the source model. These surfaces are automatically placed in the target model by Applicant's translation system in the event a feature fails. An operator can interactively use these surfaces to create a boundary representation (B-Rep) of the failed feature, thereby completing the feature.
The surfaces can also be used by the operator simply as an aid in determining what the specific feature should look like. If an operator decides to build the feature using parametric or other common techniques instead of a B-Rep, then the new feature can be compared to the surfaces as an alternative method of determining accuracy. The surface could also be used to assist in generating necessary construction geometry for the feature by using its edges, or important intersections with other features as guides. Therefore, the surface can be a very powerful tool for the operator to finish features that for some reason could not be translated by software alone.
In compliance with the statute, the invention has been described in language more or less specific as to structural and methodical features. It is to be understood, however, that the invention is not limited to the specific features shown and described, since the means herein disclosed comprise preferred forms of putting the invention into effect. The invention is, therefore, claimed in any of its forms or modifications within the proper scope of the appended claims appropriately interpreted in accordance with the doctrine of equivalents.

## Claims

1. A computational geometry system, comprising:
a server having processing circuitry and an operation manager configured to translate in stages a plurality of geometric entities provided by source geometric data in a source geometric model to target geometric data in a target geometric model, and operative to identify discrepancies, if any, in the geometric data therebetween;
a communication link;
at least one client communicating with the server over the communication link; and
an interrupt interface provided by one of the at least one client and the server and which temporarily interrupts the operation manager from translating the source geometric data to the target geometric data in response to the operation manager identifying at least one discrepancy in the target geometric data relative to the source geometric data within one geometric entity, and notifies a user of a presence of an inability to automatically generate an accurate representation of the source geometric model in the target geometric model by temporarily interrupting the operation manager from translating the source geometric data to the target geometric data, prior to translating subsequent geometric entities to the target model, provides information to the user and allows the user to help fix the at least one discrepancy and to enables the operation manager to continue translating the source geometric data to the target geometric data.

2. The computational geometry system of claim 1 wherein the interrupt interface notifies a user of the presence of any identified discrepancies in response to comparing the source geometric data with the target geometric data, and comparing the target geometric data with the source geometric data.

3. The computational geometry system of claim 1 wherein the operation manager comprises a medium having program code embodied therein which when executed by the processing circuitry translates a source geometric model received from a source within a client/server environment to a target geometric model.

4. The computational geometry system of claim 3 wherein the source geometric data is derived from the source geometric model and the target geometric data is derived from the target geometric model.

5. The computational geometry system of claim 3 wherein the medium comprises memory coupled to the processing circuitry to store the source geometric model and the target geometric model in computer files.

6. The computational geometry system of claim 3 wherein the program code is associated with the processing circuitry and the interrupt interface, the program code including a production control module operative to implement translation in successive stages of the plurality of geometric entities from the source geometric model into the target geometric model with the interrupt interface configured to temporarily interrupt translation within one of the stages upon detection of a discrepancy and to continue translation responsive to the user interacting with the interrupt interface.

7. The computational geometry system of claim 6 wherein the successively-staged translation comprises:
program code for extracting comparison reference data from the source geometric model in a source CAD system;
program code for generating a target geometric model in a target CAD system;
program code for comparing reference data from the source geometric model with corresponding reference data from the target geometric model;
and upon identification of a discrepancy, program code for displaying the discrepancy to an operator at the client with the interrupt interface, enabling the user to help fix the discrepancy before further continuation of the translation.

8. The computational geometry system of claim 7 wherein the program code for comparing reference data comprises program code for extracting point cloud data from the source geometric model and comparing the extracted point cloud data with geometry in the target geometric model.

9. The computational geometry system of claim 8 wherein the program code for comparing reference data comprises program code for extracting different point cloud data from the target geometric model and comparing the extracted point cloud data with geometry in the source geometric model.

10. The computational geometry system of claim 7 wherein the program code for generating a target geometric model comprises program code for generating a user interrupt at the interrupt interface responsive to identifying a problem in generating the target geometric model.

11. A computational geometry system, comprising:
a client/server environment;
a client having an interrupt interface configured to temporarily pause translation;
a server communicating with the client via the environment and having processing circuitry and an operation manager configured to compare source geometric data in a source geometric model with target geometric data in a target geometric model, and operative to identify discrepancies in the geometric data between the source geometric model and the target geometric model;
wherein the interrupt interface is stops the operation manager from at least one of translating and comparing the source geometric data with the target geometric data in response to the operation manager a) identifying at least one discrepancy in the target geometric data relative to the source geometric data or b) encountering a problem in creating the target geometric model, and notifies a user of the presence of an identified discrepancy and enables the user to help fix the discrepancy before further continuation of the translation.

12. The computational geometry system of claim 11 wherein the operation manager further comprises program code for performing actions, including: evaluating architecture of the source geometric model including decomposing a model of the source geometric model.

13. The computational geometry system of claim 12 further comprising program code for examining construction history, in a form of a feature tree, detailing the manner in which the source geometric model was built.

14. The computational geometry system of claim 13 further comprising program code for extracting the source geometric data from the source geometric model.

15. The computational geometry system of claim 11 further comprising program code for generating the target geometric data based upon a construction history used to create the source geometric model.

16. The computational geometry system of claim 11 further comprising program code for generating an interrupt at the interrupt interface to alert a user of the client of the presence of an identified discrepancy in the geometric data between the source geometric model and the target geometric model or a problem in creating the target geometric model, thereby temporarily pausing the translation by enabling the user to help fix the identified discrepancy before further continuation of the translation.

17. An interrupt interface, comprising:
a server having a database configured to store input data of a source model, processing circuitry configured to convert the input data of the source model into corresponding output data of a target model, and a source and target model comparator configured to compare the input data with the corresponding output data and identify geometric discrepancies between the input data and the output data;
at least one client having a user interface and communicating with the server; and
a production controller having common interface production control software which temporarily stops the source and target model comparator from comparing the input data with the corresponding output data and serially interrupts a user via the user interface at one of the clients when at least one geometric discrepancy or creation problem has been identified, to enable the user to help fix the discrepancy, and to further continue the translation.

18. The interrupt interface of claim 17 wherein the source and target model comparator comprises a model comparator.

19. The interrupt interface of claim 18 wherein the model comparator comprises program code for performing actions, including implementing a forward comparison check by extracting point cloud data from the source model and comparing the extracted point cloud data with the corresponding target model.

20. The interrupt interface of claim 18 wherein the model comparator comprises program code for performing actions, including implementing a backward comparison check by extracting point cloud data from the target model and comparing the extracted point cloud data with the corresponding source model.

21. The interrupt interface of claim 17 wherein, after identifying discrepancies between the input data and the output data or a creation problem, the production controller is operative to save the output data of the target model in a memory location and identify geometric discrepancies present within the output data of the target model.

22. The interrupt interface of claim 21 wherein a user accesses the saved output data of the target model from the memory location via the user interface of the client in order to perform at least one of: inspect the saved output data and change the saved output data.

23. A method for creating a target geometric model from a source geometric model, comprising:
providing a server and a client of a computational geometry system having a user interface;
extracting source geometric data from a source geometric model file;
storing the extracted source geometric data in a metafile format;
using a target CAD system, generating a target geometric model having target geometric data;
detecting at least one of a) a discrepancy between the models and b) a problem in generating the target geometric model while generating the target geometric model by comparing the target geometric data with the source geometric data;
in response to detecting at least one of a) a discrepancy and b) a problem, stopping the comparing of the target geometric data with the source geometric data; and
in response to detecting at least one of a) a discrepancy and b) a problem, generating an interrupt at the user interface to enable a user to fix at least one of the discrepancy and the problem in the target CAD system, before further continuing a process of translation.

24. The method of claim 23 wherein, after generating an interrupt, interrupting generation of the target geometric model, and temporarily pausing the translation, to enable the user to help fix the discrepancy, to further continue the translation.

25. The method of claim 24 wherein, after generating an interrupt, further comprising clearing the interrupt via the user interface, by enabling the user to help fix the discrepancy, and to further continue the translation.

26. The method of claim 25 wherein, after clearing the interrupt, and after the user has fixed the discrepancy, continuing to generate the target geometric model.

27. The method of claim 23 wherein generating an interrupt comprises stopping generation of the target geometric model and displaying a notice to a user at the user interface requesting assistance with one of the discrepancy and the problem, and enabling the user to help fix the discrepancy, and to further continue the translation.

28. The method of claim 27 wherein generating the target geometric model comprises substantially duplicating a process used to create the source geometric model based at least in part on identified architecture, mathematical basis, and definition of the geometry of the source geometric model.

29. The method of claim 23 wherein, prior to extracting source geometric data, receiving a pre-existing source geometric model at the server and storing the source geometric model in memory of the server.

30. The method of claim 29 wherein extracting source geometric data comprises evaluating the pre-existing source geometric model to determine architecture and construction history.

31. The method of claim 23 wherein the user interface comprises an interrupt interface of a user display on the client configurable to notify the user of one of the discrepancy and the problem by providing a visual cue in the target model and enable the user to fix one of the discrepancy and the problem.

32. The method of claim 23 wherein generating an interrupt comprises providing a visual cue within the target CAD system to remove the discrepancy and help fix the geometry.

33. The method of claim 23 wherein the server and the client are provided by a common device.

34. The method of claim 32 further comprising the user interacting with the user interface responsive to the visual cue to fix one of the discrepancy and the problem, and further comprising continuing to detect at least one of: a) a discrepancy between the models and; b) a problem in generating the target geometric model while generating the target geometric model by continuing to compare the target geometric data with the source geometric data.