DETECTING CUT-OUTS
20170160726 ยท 2017-06-08
Assignee
Inventors
Cpc classification
G06F2119/18
PHYSICS
Y02P90/02
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
G06T17/10
PHYSICS
G05B19/4097
PHYSICS
G05B2219/49348
PHYSICS
International classification
Abstract
The invention notably relates to a method for determining specifications of the input of a manufacturing operation that outputs a part having cut-outs. The method comprises providing specifications of the output part, including a user-designed B-Rep having cycles of edges and modeling the part, the cut-outs being represented by the user with tunnels in the B-Rep, determining the set that consists of all cycles being the one having the smallest length in a respective equivalence class, performing a process on the set that includes iterating replacing a cycle when this reduces the length, and deleting a cycle when a sum results in a boundary cycle, otherwise replacing the cycle by the sum when this reduces the length.
The invention offers an improved solution to detect, in a B-Rep having cycles of edges and modeling a part having cut-outs represented by tunnels, location of at least part of the tunnels.
Claims
1. A computer-implemented method for determining specifications of the input of a manufacturing operation that outputs a part having cut-outs, the manufacturing operation consisting in forming the cut-outs via stamping, machining, milling and/or laser cutting, the method comprising: providing specifications of the output part, including a user-designed B-Rep having cycles of edges and modeling the part, the cut-outs being represented by the user with tunnels in the B-Rep; determining, from equivalence classes of non-boundary cycles of the B-Rep with respect to the cycle-homology relationship, the set that consists of all cycles being the one having the smallest length in a respective equivalence class; performing a process on the set that includes iterating: replacing a cycle of the set by its /2
sum with an adjacent boundary cycle when this reduces the length, and for a cycle of the set and its
/2
sum with a shorter cycle of the set, deleting the cycle when the sum results in a boundary cycle, otherwise replacing the cycle by the sum when this reduces the length; then, identifying among the cycles of the set a number n of cycles as location of tunnels, wherein n is the genus of the B-Rep; and then editing the B-Rep by removing identified tunnels and filling the empty space and outputting the specifications of the output part with the edited B-Rep.
2. The method of claim 1, wherein the identifying of location of tunnels includes, for each cycle of the set, calculating a value representative of the consistence, along the cycle, between the direction of the curvature of the cycle and the outside normal of the B-Rep, the n cycles having the highest value being then identified as location of tunnels.
3. The method of claim 2, wherein the value is an integral value of the sign of a scalar product between the curvature of the cycle and the outside normal of the B-Rep.
4. The method of claim 3, wherein when the cycle corresponds to a sharp edge of the B-Rep and the outside normal of the B-Rep thereby consists of two vectors along the cycle, the sign of the scalar product is the maximum sign when the sharp edge is convex and the minimum sign when the sharp edge is non-convex.
5. The method of claim 1, wherein the equivalence classes are identified within a basis of elementary cycles, each cycle of the B-Rep being obtainable by a /2
sum of elementary cycles.
6. The method of claim 5, wherein the basis of elementary cycles is determined by computing a covering tree of the B-Rep, each elementary cycle corresponding to a respective edge outside the covering tree and being defined by adding the respective edge to the covering tree.
7. The method of claim 1, wherein the process performed on the set also includes then splitting cycles of the set into simple cycles.
8. The method of claim 1, wherein the part is a molded part, a sheet metal piece part, a forming or thermoforming plastic part, a metal casting part, an extrusion or lamination part such as a metal rolling part.
9. A non-transitory computer readable storage medium having recorded thereon a computer program comprising instructions for performing a computer-implemented method for determining specifications of the input of a manufacturing operation that outputs a part having cut-outs, the manufacturing operation consisting in forming the cut-outs via stamping, machining, milling and/or laser cutting, the method comprising: providing specifications of the output part, including a user-designed B-Rep having cycles of edges and modeling the part, the cut-outs being represented by the user with tunnels in the B-Rep; determining, from equivalence classes of non-boundary cycles of the B-Rep with respect to the cycle-homology relationship, the set that consists of all cycles being the one having the smallest length in a respective equivalence class; performing a process on the set that includes iterating: replacing a cycle of the set by its /2
sum with an adjacent boundary cycle when this reduces the length, and for a cycle of the set and its
/2
sum with a shorter cycle of the set, deleting the cycle when the sum results in a boundary cycle, otherwise replacing the cycle by the sum when this reduces the length; then, identifying among the cycles of the set a number n of cycles as location of tunnels, wherein n is the genus of the B-Rep; and then editing the B-Rep by removing identified tunnels and filling the empty space and outputting the specifications of the output part with the edited B-Rep.
10. A system comprising: a processor coupled to a memory and a graphical user interface, the memory having recorded thereon a computer program comprising instructions for performing a computer-implemented determining of specifications of the input of a manufacturing operation that outputs a part having cut-outs, the manufacturing operation consisting in forming the cut-outs via stamping, machining, milling and/or laser cutting, wherein the processor is configured by the computer program to: provide specifications of the output part, including a user-designed B-Rep having cycles of edges and modeling the part, the cut-outs being represented by the user with tunnels in the B-Rep, determine, from equivalence classes of non-boundary cycles of the B-Rep with respect to the cycle-homology relationship, the set that consists of all cycles being the one having the smallest length in a respective equivalence class, perform a process on the set that includes iterating: replacing a cycle of the set by its /2
sum with an adjacent boundary cycle when this reduces the length, for a cycle of the set and its
/2
sum with a shorter cycle of the set, deleting the cycle when the sum results in a boundary cycle, otherwise replacing the cycle by the sum when this reduces the length, then, identify among the cycles of the set a number n of cycles as location of tunnels, wherein n is the genus of the B-Rep, and then edit the B-Rep by removing identified tunnels and filling the empty space and output the specifications of the output part with the edited B-Rep.
11. The method of claim 1, wherein the method further comprises producing an input part according to the outputted specifications.
12. The method of claim 11, wherein the method further comprises performing the manufacturing operation on the produced input part.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Embodiments of the invention will now be described, by way of non-limiting example, and in reference to the accompanying drawings, where:
[0024]
[0025]
[0026]
[0027]
[0028]
[0029]
[0030]
DETAILED DESCRIPTION OF THE INVENTION
[0031] The flowchart of /2
sum (which is known as such but defined later, for the sake of clarity) with an adjacent boundary cycle when this reduces the length (in other words, the iteration may comprise evaluating whether or not the replacement would reduce length and performing the replacement only when it does, such conditional behavior being obviously known to the person skilled in computer science and thus not represented on
/2
sum with a shorter cycle of set R (again, selected in any way, e.g. the iteration possibly looping through all such candidate shorter cycles), S34 deleting the cycle when the sum results in a boundary cycle (being noted that non-boundary cycles are being summed), and otherwise (i.e. else) replacing the cycle by the sum when this reduces the (above-defined) length (e.g. and yet otherwise doing nothing). The method then comprises identifying S40 among the cycles of set R (as resulting from the iterated process S30) a number n of cycles as location of tunnels, wherein n is the genus of the B-Rep (n being mathematically uniquely defined and related to the Euler index of the B-Rep, as discussed later, the method possibly comprising determining n prior to S40 and/or retrieving it if it is provided among the B-Rep data).
[0032] Such a method improves detection of cut-outs of a part, as it improves, in a B-Rep modeling the part, detection of the location of tunnels (e.g. previously not localized, i.e. the B-Rep does not include any data allowing direct retrievali.e. determination without any processing and/or computationsof the tunnels) representing the cut-outs (e.g. assigning a tunnel type flag/value to location(s) of the B-Rep, e.g. where such a type value was not present). Notably, thanks to the systematic approach of the method, in specific during the iteration of process S30, the method allows an automatic detection of tunnels, without involving the user (or with relatively little user-involvement). Furthermore, due to the specific mathematical framework underlying the computerization (cycle algebra and /2
sums) and the fact that process S30 reduces the scope of application of the identifying S40, the method is performed relatively fast and relatively lightly (from a hardware resourcee.g. CPUpoint of view), thereby leading to a more accurate result (relatively less false negative and/or relatively less false positive) and/or in a more robust and real-time interaction manner. This holds true even when the part is relatively large (in terms of numbers of geometry), for example when the part includes more than 50, 100 or yet 500 faces (e.g. and more than 100, 500 or yet 1000 edges, and a corresponding number of vertices). Indeed, in such situations, examples of the method can still converge in less than 1 minute, or even 20 seconds, to an industrially verified and accurate result, as discussed later.
[0033] The method of
[0034] The method may comprise a further step of designing a lower and/or an upper matrix of a mold adapted for the manufacturing of the input. Such a designing is performed by a direct adaptation of the outputted specifications (e.g. automatically or semi-automatically), as known per se. Indeed, the lower and/or upper matrix may be designed such that they correspond complementarily to the 3D geometry provided by said outputted specifications. The method may then comprise producing such lower and/or upper matrix based on the design thereof.
[0035] In an example, such a method may be included as one step of a general process that starts with the design of a virtual product using a CAD system and that ends with machining the tool that is dedicated to manufacture the said product (based on the outputted specifications of the output part, which also directly correspond to the specifications of the mold). Manufacturing methods that may take benefit of the invention may involve a casting step (including die casting or sand casting), a molding step (including compression molding or injection molding), a forging step and/or a stamping step. These methods yield a preliminary version of the physical part, named the rough part, which does not feature all the details of the final product. Then, in a further step, small details are machined on the rough part by using drilling tools, cutting tools or punching tools. These details are mainly blind holes, through holes and/or functional surfaces. The diagram of
[0036] In an example, from the CAD system point of view, the data flow may run as follows. Firstly, the user designs the functional version of the virtual part. The focus is on how the part fulfils its specifications, its geometry is very simple and does not depend of any manufacturing process.
[0037] The method is computer-implemented. This means that the steps (or substantially all the steps) of the method are executed by at least one computer, or any system alike. Thus, steps of the method are performed by the computer, possibly fully automatically, or, semi-automatically. In examples, the triggering of at least some of the steps of the method may be performed through user-computer interaction. The level of user-computer interaction required may depend on the level of automatism foreseen and put in balance with the need to implement user's wishes. In examples, this level may be user-defined and/or pre-defined. In an example, referring to
[0038] A typical example of computer-implementation of the method is to perform the method with a system adapted for this purpose. The system may comprise a processor coupled to a memorye.g. and a graphical user interface (GUI), the memory having recorded thereon a computer program comprising instructions for performing the method. The memory may also store a database. The memory is any hardware adapted for such storage, possibly comprising several physical distinct parts (e.g. one for the program, and possibly one for the database).
[0039] The method includes conditional processes. This typically concerns S32 and S34. But this can even concern S20, as the part may simply have no cut-out at all, in which case the absence of detection can be seen as a detection of a nullor voidresult, which also needs to be performed robustly as false negative are as an issue as false positive are (being noted that the handling of such null situations is a mere matter of implementation, the remainder of the discussion focusing on cases where it is assumed that cut-outs are present and thus to be detected). Thus, depending on the part on which it is applied, advantages of the method may be highlighted. The method proves particularly advantageous when the B-Rep of the part has been designed via a process where tunnels are detectable by the method, which is most often the case when the part has been designed by a user of CAD system, e.g. a mechanical engineering designer. A computer program comprising instructions to perform the method thus proves to be a useful tool in the part design industry.
[0040] The method generally manipulates modeled objects, as the B-Rep is a modeled object. A modeled object is any object defined by data stored e.g. in the database. By extension, the expression modeled object designates the data itself. According to the type of the system, the modeled objects may be defined by different kinds of data. The system may indeed be any combination of a CAD system, a CAE system, a CAM system, a PDM system and/or a PLM system. In those different systems, modeled objects are defined by corresponding data. One may accordingly speak of CAD object, PLM object, PDM object, CAE object, CAM object, CAD data, PLM data, PDM data, CAM data, CAE data. However, these systems are not exclusive one of the other, as a modeled object may be defined by data corresponding to any combination of these systems. A system may thus well be both a CAD and PLM system, as will be apparent from the definitions of such systems provided below.
[0041] By CAD system, it is additionally meant any system adapted at least for designing a modeled object on the basis of a graphical representation of the modeled object, such as CATIA. In this case, the data defining a modeled object comprise data allowing the representation of the modeled object. A CAD system may for example provide a representation of CAD modeled objects using edges or lines, in certain cases with faces or surfaces. Lines, edges, or surfaces may be represented in various manners, e.g. non-uniform rational B-splines (NURBS). Specifically, a CAD file contains specifications, from which geometry may be generated, which in turn allows for a representation to be generated. Specifications of a modeled object may be stored in a single CAD file or multiple ones. The typical size of a file representing a modeled object in a CAD system is in the range of one Megabyte per part. And a modeled object may typically be an assembly of thousands of parts.
[0042] In the context of CAD, a modeled object may typically be a 3D modeled object, e.g. representing a product such as a part or an assembly of parts, or possibly an assembly of products. By 3D modeled object, it is meant any object which is modeled by data allowing its 3D representation. A 3D representation allows the viewing of the part from all angles. For example, a 3D modeled object, when 3D represented, may be handled and turned around any of its axes, or around any axis in the screen on which the representation is displayed. This notably excludes 2D icons, which are not 3D modeled. The display of a 3D representation facilitates design (i.e. increases the speed at which designers statistically accomplish their task). This speeds up the manufacturing process in the industry, as the design of the products is part of the manufacturing process.
[0043] The 3D modeled object may represent the geometry of a product to be manufactured in the real world subsequent to the completion of its virtual design with for instance a CAD software solution or CAD system, such as a (e.g. mechanical) part (or equivalently an assembly of parts, as the assembly of parts may be seen as a part itself from the point of view of the method, or the method may be applied independently to each part of the assembly), or more generally any rigid body assembly (e.g. a mobile mechanism). A CAD software solution allows the design of products in various and unlimited industrial fields, including: aerospace, architecture, construction, consumer goods, high-tech devices, industrial equipment, transportation, marine, and/or offshore oil/gas production or transportation. The 3D modeled object designed by the method may thus represent an industrial product which may be any mechanical part, such as a part of a terrestrial vehicle (including e.g. car and light truck equipment, racing cars, motorcycles, truck and motor equipment, trucks and buses, trains), a part of an aerial vehicle (including e.g. airframe equipment, aerospace equipment, propulsion equipment, defense products, airline equipment, space equipment), a part of a naval vehicle (including e.g. navy equipment, commercial ships, offshore equipment, yachts and workboats, marine equipment), a general mechanical part (including e.g. industrial manufacturing machinery, heavy mobile machinery or equipment, installed equipment, industrial equipment product, fabricated metal product, tire manufacturing product), an electro-mechanical or electronic part (including e.g. consumer electronics, security and/or control and/or instrumentation products, computing and communication equipment, semiconductors, medical devices and equipment), a consumer good (including e.g. furniture, home and garden products, leisure goods, fashion products, hard goods retailers' products, soft goods retailers' products), a packaging (including e.g. food and beverage and tobacco, beauty and personal care, household product packaging).
[0044] In examples, the part may be a molded part, a sheet metal piece part, a forming or thermoforming plastic part, a metal casting part, or an extrusion or lamination part such as a metal rolling part. Indeed, as known per se from the field of mechanical engineering, such parts generally have cutouts that correspond to stamping, machining, milling and/or laser cutting (depending on the material and/or the related manufacturing process contemplated for the part). The method thus allows detection of location of such cut-outs in the B-Reps that model these parts. The locations may be outputted as the n cycles identified at S40 as such, or with any type of post-processing (which is an implementation detail). Then, as known from the prior art, the method may further comprise removing the identified tunnels (e.g. all or part thereof, e.g. at least one, e.g. depending on user-decision and/or automatically or manually or semi-automatically) from the B-Rep, and optionally filling the empty space. This can be performed via any classical method known as such from the prior art, possibly with slight adaptations (notably to bridge the output of the method of
[0045] As known per se and as discussed above, in many industries parts are manufactured by performing cut-outs (i.e. obtained by a material discontinuous removal process, e.g. by the above-mentioned stamping, machining, milling and/or laser cutting) in a material matrix (i.e. obtained by a material continuous deforming processthat preserves at least substantially the quantity of material, e.g. the above-mentioned molding, sheet metal shaping, plastic forming or thermoforming, metal casting, and/or extrusion or lamination part, such as metal rolling). However, the designer typically models the final part (that is, with its cut-outs) without inserting any specific information on cut-out location. This allows the mechanical designer to focus on his part of the job. Then, the method of
[0046]
[0047] By PLM system, it is additionally meant any system adapted for the management of a modeled object representing a physical manufactured product (or product to be manufactured). In a PLM system, a modeled object is thus defined by data suitable for the manufacturing of a physical object. These may typically be dimension values and/or tolerance values. For a correct manufacturing of an object, it is indeed better to have such values.
[0048] By CAM solution, it is additionally meant any solution, software of hardware, adapted for managing the manufacturing data of a product. The manufacturing data generally includes data related to the product to manufacture, the manufacturing process and the required resources. A CAM solution is used to plan and optimize the whole manufacturing process of a product. For instance, it can provide the CAM users with information on the feasibility, the duration of a manufacturing process or the number of resources, such as specific robots, that may be used at a specific step of the manufacturing process; and thus allowing decision on management or required investment. CAM is a subsequent process after a CAD process and potential CAE process. Such CAM solutions are provided by Dassault Systmes under the trademark DELMIA.
[0049] By CAE solution, it is additionally meant any solution, software of hardware, adapted for the analysis of the physical behavior of modeled object. A well-known and widely used CAE technique is the Finite Element Method (FEM) which typically involves a division of a modeled objet into elements which physical behaviors can be computed and simulated through equations. Such CAE solutions are provided by Dassault Systmes under the trademark SIMULIA. Another growing CAE technique involves the modeling and analysis of complex systems composed a plurality components from different fields of physics without CAD geometry data. CAE solutions allows the simulation and thus the optimization, the improvement and the validation of products to manufacture. Such CAE solutions are provided by Dassault Systmes under the trademark DYMOLA.
[0050] PDM stands for Product Data Management. By PDM solution, it is meant any solution, software of hardware, adapted for managing all types of data related to a particular product. A PDM solution may be used by all actors involved in the lifecycle of a product: primarily engineers but also including project managers, finance people, sales people and buyers. A PDM solution is generally based on a product-oriented database. It allows the actors to share consistent data on their products and therefore prevents actors from using divergent data. Such PDM solutions are provided by Dassault Systmes under the trademark ENOVIA.
[0051]
[0052] The GUI 2100 may be a typical CAD-like interface, having standard menu bars 2110, 2120, as well as bottom and side toolbars 2140, 2150. Such menu- and toolbars contain a set of user-selectable icons, each icon being associated with one or more operations or functions, as known in the art. Some of these icons are associated with software tools, adapted for editing and/or working on the 3D modeled object 2000 displayed in the GUI 2100. The software tools may be grouped into workbenches. Each workbench comprises a subset of software tools. In particular, one of the workbenches is an edition workbench, suitable for editing geometrical features of the modeled product 2000. In operation, a designer may for example pre-select a part of the object 2000 and then initiate an operation (e.g. change the dimension, color, etc.) or edit geometrical constraints by selecting an appropriate icon. For example, typical CAD operations are the modeling of the punching or the folding of the 3D modeled object displayed on the screen. The GUI may for example display data 2500 related to the displayed product 2000. In the example of
[0053]
[0054] The client computer of the example comprises a central processing unit (CPU) 1010 connected to an internal communication BUS 1000, a random access memory (RAM) 1070 also connected to the BUS. The client computer is further provided with a graphical processing unit (GPU) 1110 which is associated with a video random access memory 1100 connected to the BUS. Video RAM 1100 is also known in the art as frame buffer. A mass storage device controller 1020 manages accesses to a mass memory device, such as hard drive 1030. Mass memory devices suitable for tangibly embodying computer program instructions and data include all forms of nonvolatile memory, including by way of example semiconductor memory devices, such as EPROM, EEPROM, and flash memory devices; magnetic disks such as internal hard disks and removable disks; magneto-optical disks; and CD-ROM disks 1040. Any of the foregoing may be supplemented by, or incorporated in, specially designed ASICs (application-specific integrated circuits). A network adapter 1050 manages accesses to a network 1060. The client computer may also include a haptic device 1090 such as cursor control device, a keyboard or the like. A cursor control device is used in the client computer to permit the user to selectively position a cursor at any desired location on display 1080. In addition, the cursor control device allows the user to select various commands, and input control signals. The cursor control device includes a number of signal generation devices for input control signals to system. Typically, a cursor control device may be a mouse, the button of the mouse being used to generate the signals. Alternatively or additionally, the client computer system may comprise a sensitive pad, and/or a sensitive screen.
[0055] The computer program may comprise instructions executable by a computer, the instructions comprising means for causing the above system to perform the method. The program may be recordable on any data storage medium, including the memory of the system. The program may for example be implemented in digital electronic circuitry, or in computer hardware, firmware, software, or in combinations of them. The program may be implemented as an apparatus, for example a product tangibly embodied in a machine-readable storage device for execution by a programmable processor. Method steps may be performed by a programmable processor executing a program of instructions to perform functions of the method by operating on input data and generating output. The processor may thus be programmable and coupled to receive data and instructions from, and to transmit data and instructions to, a data storage system, at least one input device, and at least one output device. The application program may be implemented in a high-level procedural or object-oriented programming language, or in assembly or machine language if desired. In any case, the language may be a compiled or interpreted language. The program may be a full installation program or an update program. Application of the program on the system results in any case in instructions for performing the method.
[0056] As mentioned earlier, the method or a prior process may comprise the design of the B-Rep, e.g. by an industrial designer. Designing a 3D modeled object designates any action or series of actions which is at least part of a process of elaborating a 3D modeled object. Thus, the method may comprise creating the 3D modeled object from scratch. Alternatively, the method may comprise providing the B-Rep of a 3D modeled object previously created, and then modifying the 3D modeled object.
[0057] The method may be included in a manufacturing process, which may comprise, after performing the method, producing a physical product corresponding to the modeled object, for example first without the cut-outs if the tunnels have been removed from the B-Rep (and possibly afterwards performing the cut-outs). In any case, the modeled object designed by the method may represent a manufacturing object. The modeled object may thus be a modeled solid (i.e. a modeled object that represents a solid). The manufacturing object may be a product, such as a part, or an assembly of parts. Because the method improves the design of the modeled object, the method also improves the manufacturing of a product and thus increases productivity of the manufacturing process.
[0058] The method of
[0059] Given the solid model of a mechanical part (e.g. the B-Rep), a goal of the method may be to identify and localize (e.g. all) through holes (i.e. tunnels in the B-Rep). A further step of the industrial process may be to remove these through holes in order to design the shape of the corresponding mold. Through holes recognition makes use of the combinatorial algebraic topology mathematical theory. By performing algebraic computation with cycles on the B-Rep of the solid, and by contracting these cycles to their minimal length and tension at S20 and S30, the method may compute topological tunnels and handles of the solid (being noted that these topological concepts are known per se). Through holes are localized by tunnel cycles.
[0060] The method provides automatic recognition of through holes: no user selection is required. When advantageously combined with feature removal, this provides the user with a valuable tool for molding design. The method is useful as well to add editable features to a pure B-Rep obtained through a STEP format translator for example. Recognizing through holes allows the creation of an editable through hole feature replacing the geometrical through hole. Thus, the method can be used to improve a feature recognition process. Furthermore, the method algorithm only deals with the B-Rep model (and more particularly minimal information required in the B-Rep model) of the input solid as opposed to other data structures and computations (integer number matrices, Vorono meshing). This makes the method robust.
[0061]
[0062] The input of the method is the well-known B-Rep format that models a solid. As widely known, a B-rep model includes topological entities and geometrical entities. Topological entities are: face, edge, and vertex. Geometrical entities are 3D objects: surface, plane, curve, line, point. By definition, a face is a bounded portion of a surface, named the supporting surface. An edge is a bounded portion of a curve, named the supporting curve. A vertex is a point in 3D space. They are related to each other's as follows. The bounded portion of a curve is defined by two points (the vertices) lying on the curve. The bounded portion of a surface is defined by its boundary, this boundary being a set of edges lying on the surface. Edges of the face's boundary are connected together by sharing vertices. Faces are connected together by sharing edges. By definition, two faces are adjacent if they share an edge. Similarly, two edges are adjacent if they share a vertex. Such information is enough input data for the method.
[0063]
[0064]
[0065] The method of
[0066] Concepts well-known from algebraic topology and used by the method are now introduced to the discussion. A goal of the introduction is to provide an overall view of the concepts used by the method. The mathematical formalism is detailed in next section.
[0067] The concepts of cycles and boundary cycles are first discussed.
[0068] Given a closed skin in the 3D space, a cycle is intuitively a single closed loop on said skin. Intuitively, a boundary cycle is a loop that is the boundary of a portion of the skin: cutting the skin along a boundary cycle separates two pieces. A non-boundary cycle is the contrary of a boundary cycle: there exist no portions of the skin that can be bounded by a non-boundary cycle. Intuitively, cutting the skin along a non-boundary cycle does not separate two pieces.
[0069] A goal of algebraic topology is to classify cycles on a given skin into two categories: boundary cycles and non-boundary cycles. Furthermore, a goal is also to classify the non-boundary cycles into a minimum set of independent cycles (set R, as detailed later). It turns out that the localization of through holes of a solid is to be better found among non-boundary cycles of its B-Rep.
[0070]
[0071] The concept of equivalent cycles is now discussed.
[0072] One key feature of the theory is an equivalence relationship among the set of cycles: the so called homology relationship. By definition, given a closed skin S, two cycles u and on S are homologous is there exists a portion w of S such that u and , noted u+, is the boundary of w. The symbolization u+ is formally defined later. For example, cycle u and cycle on the torus skin in
[0073] An example of counting of the number of handles is now discussed.
[0074] One theorem of differential geometry states that any single closed skin (in the 3D space) can be smoothly deformed into: a sphere, a torus, a double torus, a triple torus, etc., as illustrated in
[0075] Furthermore, if the skin is described by a topological graph (typically a triangulated mesh, or the compliant topology of a solid's B-Rep) then, the number of handles, named the genus of the skin, is easily computed by using a so called Euler formula. Noting n.sub.2 the number of faces, n.sub.1 the number of edges and n.sub.0 the number of vertices, the genus is such that:
n.sub.0n.sub.1+n.sub.2=2(1)
[0076]
n.sub.0n.sub.1+n.sub.2n.sub.l=2(1)
[0077]
[0078] The method makes use of these results to anticipate the number of minimum non-boundary cycles. In short, by identifying at S20 the equivalence classes of non-boundary cycles within a basis of elementary cycles (i.e. each equivalence class being identified as a respective subset of the basis), the basis of elementary cycles being by definition such that each cycle of the B-Rep is obtainable by a (e.g. not necessarily unique) /2
sum of elementary cycles (the example of how to determine such basis implemented by the method of
[0079] Algebraic topology background is now discussed in more details.
[0080] The method makes use of the abstract and complex mathematics of combinatorial algebraic topology. Not all the details of this theory can be given within the scope of the method, so only useful concepts and operations are detailed.
[0081] The whole theory deals with simplicial complexes of arbitrary dimension, but the useful part of the theory relates to cycles on a closed and oriented 3D skin, typically the B-Rep of a solid model. Before reaching this use, the theory is introduced for triangulated closed skins in 3D space.
[0082] p-Chains
[0083] The topology of a triangulated skin is defined as follows. Let n.sub.2 be the number of triangles, n.sub.1 the number of edges and n.sub.0 the number of vertices. Let C.sub.2={0,1}.sup.n.sup.
[0084] A goal is to associate algebraic objects (vectors) with topological entities (faces, edges, vertices). In fact, geometrical data (coordinates of vertices, normal vectors of triangles) is not relevant for the present purpose.
[0085] Now, C.sub.2, C.sub.1 and C.sub.0 are equipped with the addition modulo 2, noted +. Operation+combines integers 0 and 1 according to the following rules: 0+1=1+0=1, 0+0=0 and 1+1=0. The appropriate notations are now C.sub.2=(/2
).sup.n.sup.
/2
).sup.n.sup.
/2
).sup.n.sup.
[0086] For example, consider a tetrahedral polyhedral skin, as illustrated in /2
).sup.4 and
[0087] Similarly, C.sub.1=(/2
).sup.6 and
[0088] Finally, C.sub.0=(/2
).sup.4 and
[0089] Boundary Operators
[0090] The connectivity of triangles, edges and vertices is captured by so-called boundary operators, traditionally noted .sub.p. The boundary operator .sub.2: C.sub.2.fwdarw.C.sub.1 describes how triangles are bounded by edges. It is a linear operator from C.sub.2 to C.sub.1 defined by a matrix featuring 0,1 coefficients spread through n.sub.1 rows and n.sub.2 columns. Similarly, the boundary operator .sub.1: C.sub.1.fwdarw.C.sub.0 describes how edges are bounded by vertices. It is a linear operator from C.sub.1 to C.sub.0 defined by a matrix featuring 0,1 coefficients spread through n.sub.0 rows and n.sub.1 columns. By nature, .sub.1.sub.2=0, meaning that the boundary of a boundary has no boundary. Given wC.sub.p, the typical formalism is .sub.pw=.sub.i=1.sup.k .sub.i with .sub.iC.sub.p1 for all i. The boundary operator can be noted instead of .sub.p when it is not ambiguous.
[0091] With this model, a bounding entity (vertex, edge) occurs either zero or one time (and not twice or more) in the boundary of the bounded entity (edge, face). Consequently, an edge cannot start and end at the same vertex and cannot occur twice or more in the boundary of the same face.
[0092] Back to the example, and according to the connectivity defined in
[0093] The topological information triangle .sub.1 is bounded by edges e.sub.1, e.sub.4 and e.sub.6 is the result of the following matrix-vector product. It computes the boundary of .sub.1.
[0094] Thanks to previous definitions, the formalism .sub.2.sub.1=e.sub.1+e.sub.4+e.sub.6 is now rigorous. Notice that the sequence of edges in the triangle boundary has no importance because addition is a commutative operation.
[0095] The boundary operator .sub.1 is as follows.
[0096] The topological information edge e.sub.3 is bounded by vertices .sub.2 and .sub.4 is the result of the following matrix vector product.
[0097] Here again, the formalism .sub.1e.sub.3=.sub.2+.sub.4 is totally rigorous. Notice that the sequence of vertices in the edge boundary has no importance because addition is a commutative operation.
[0098] Finally, it can be checked that, as expected, .sub.2.sub.1=0, keeping in mind that 1+1=0 in /2
.
[0099] This formalism allows combination of chains according to a very simple rule. The sum u+ of two chains includes elements of u that are not in and elements of that are not in u.
[0100] Cycles
[0101] Thanks to this algebraic background, the formal definition of a cycle and a boundary cycle are as follows. A 1-chain u is a 1-cycle if .sub.1u=0. A 1-cycle u is boundary cycle if there exists a 2-chain w such that .sub.2w=u. Because .sub.1.sub.2=0, a boundary is always a cycle, but the reverse is not necessarily true, as previously illustrated with the torus skin.
[0102] Back to the example, the 1-chain s=e.sub.6+e.sub.5+e.sub.3+e.sub.1 is a cycle because .sub.1s=0 and it is also a boundary cycle because .sub.2(.sub.2+.sub.3)=s. In the tetrahedron example, all cycles are boundary cycles.
[0103] The method of
[0104] Homology Relationship
[0105] Let Ker.sub.1C.sub.1 be the group of 1-cycles, that is the kernel of boundary operator .sub.1:
Ker.sub.1={uC.sub.1,.sub.1u=0}
[0106] By definition, two 1-cycles u, Ker.sub.1 are homologous if there exists a 2-chain wC.sub.2 such that u+=.sub.2w. The homology relationship is an equivalence relationship, so, according to basic algebra, it defines equivalent classes on Ker.sub.1. By definition, the homology group H.sub.1 includes these equivalent classes. More precisely, let Im.sub.2 be the group of 2-chains boundaries:
Im.sub.2={.sub.2w,wC.sub.2}.
[0107] By construction, the homology group H.sub.1 is the quotient group H.sub.1=Ker.sub.1/Im.sub.2. This algebraic process provides a structure on the set of 1-cycles that are not boundary cycles. One goal of the invention is to compute the generators of H.sub.1.
[0108] The following property is very useful to the method. If u and are homologous, and if s is a boundary cycle, then u+s and are also homologous. The proof is as follows. Since u and are homologous, there exists a chain w such that u+=.sub.2w. Since s is a boundary cycle, there exists a chain t such that s=.sub.2t. So,
[0109] meaning that u+s and are homologous.
[0110] In the example of
[0111] Computing the covering tree is now discussed.
[0112] The covering tree is useful to create the basis of elementary cycles. The input of the algorithm is a non-oriented graph. The output is a labelling 2 of edges that belong to the covering tree. Before starting the algorithm, all vertices and all edges are labeled 0. The algorithm uses a last-in-first-out (LIFO) list as an internal variable. The label of entity z is noted m(z). Labelling entity z with value k is symbolized by instruction m(z):=k.
TABLE-US-00001 While exists a vertex x such that m(x) = 0 do begin Put vertex x in LIFO list m(x) := 1 While the LIFO list is not empty do begin Get vertex x from LIFO list For all edge u incident to x do begin If m(u) = 0 then Let y be the other end vertex of edge u If m(y) = 0 then m(u) := 2 Put vertex y in the LIFO list m(y) := 1 else m(u) := 1 End if End if End for End while End while
[0113] It should be noticed that the covering tree is not unique, but any one can be used.
[0114] The identification S24 of the basis of elementary cycles is now discussed.
[0115] The previous algorithm provides a labelling of edges of the input graph: label 2 edges are those of the covering tree, label 1 edges are not. According to graph theory, adding a label 1 edge to the covering tree creates a unique elementary cycle (a single loop), which can be identified by the said edge.
[0116] Each elementary cycle is obtained by adding a label 1 edge to the covering tree. Added edge is removed before next label 1 edge is added. Noting n.sub.1 the number of edges, n.sub.0 the number of vertices and n.sub.c the number of elementary cycles, n.sub.c can be computed by the formula:
n.sub.c=n.sub.1n.sub.0+1
[0117] S26 is now discussed.
[0118] S26 may start with a testing of whether a cycle is a boundary cycle or not (in order to filter out boundary cycles).
[0119] The inputs of the algorithm are: [0120] A closed and oriented skin defined by faces, edges and vertices. [0121] The cycle L defined by its list of edges.
[0122] The output of the algorithm is the answer yes or no to the question is the input cycle a boundary cycle?.
[0123] The principle of the algorithm is as follows. Marching from one side of the cycle (along faces of the B-Rep), if it is possible to reach the other side of the cycle without crossing it, then it is not a boundary cycle. Marching from both sides of the cycle, if the two paths can get together without crossing it, then it is not a boundary cycle.
[0124] The algorithm uses a last-in-first-out (LIFO) list as an internal variable. The label value of a face is noted m(). Labelling face with value k is symbolized by instruction m():=k. Before starting, all faces are labeled 0. The algorithm is based on the fact that each edge is shared by exactly two faces, which is a property of solids B-Rep.
TABLE-US-00002 Let f be an arbitrary face m(f) := +1 Put face f in the LIFO list While the LIFO list is not empty do begin Get f from LIFO list For all edges e of the boundary of f do begin Let h be the (unique) other face bounded by edge e If m(h) = 0 then If edge e L then m(h) := m(f) else m(h) := m(f) end if Put h in the LIFO list else if m(h) = m(f) and e L return no if m(h) m(f) and e .Math. L return no End if End for End while return yes
[0125] If the input cycle is a boundary cycle, all faces are visited by the algorithm. In this case, the input cycle is the boundary of all faces labeled +1 and it is also the boundary of all faces labeled 1.
[0126]
[0127] The reducing of cycles remaining in set R (process S30) is now discussed.
[0128] Reducing cycles is the main process of the method of
[0129] Eliminate Boundary Cycles
[0130] The very first step is to eliminate S25 boundary cycles from the list of elementary cycles. This is performed by using, on each elementary cycle, the dedicated testing a boundary cycle algorithm described previously. After this step is done, the number of non-boundary elementary cycles is noted n.sub.b. By construction, n.sub.bn.sub.c. Number n.sub.b depends on the choice of the covering tree used to compute elementary cycles.
[0131] Classes of Non-Boundary Cycles
[0132] The second step is to arrange S26 non-boundary elementary cycles into equivalence classes according to the homology relationship. This is done as follows.
TABLE-US-00003 For i := 1 to n.sub.b do begin If c.sub.i is not already involved in a class then Create a new class Class(c.sub.i) := {c.sub.i} For j := i + 1 to n.sub.b do begin If c.sub.i is not already involved in a class then If c.sub.i + c.sub.j is a boundary cycle then Class(c.sub.i) := Class(c.sub.i) {c.sub.j} End if End if End for End if End for
[0133] Let n.sub.h be the number of classes of non-boundary elementary cycles. By construction n.sub.hn.sub.b. A class may include only one cycle.
[0134] Next step is to select S28 a representative non-boundary elementary cycle r.sub.i in each class. It is chosen to have the smallest (cumulated e.g. Euclidian) length amongst all other cycles of the class, if any.
TABLE-US-00004 For i := 1 to n.sub.h do begin r.sub.i := ArgMin { Length(c) ; c Class(c.sub.i) } End for
[0135] Reducing S30 Classes of Non-Boundary Elementary Cycle
[0136] This step S30 is the core of the method of the example. The input data is the set R of cycles r.sub.i respectively representing classes of non-boundary elementary cycles. According to the theory, the homology group H.sub.1 is a finite group of 2.sup.2 elements and it is generated by a minimum set of 2 elements, named the generators and noted G={h.sub.1, . . . , h.sub.2}. Set R={r.sub.1, . . . , r.sub.n.sub.
[0137] The previous formula must be understood in the sense of homology classes: there exists a 2-chain w such that r+.sub.iI h.sub.i=w or, equivalently, r+w=.sub.iI h.sub.i. Since set R is built on the basis of elementary cycles and according to the fact that any cycle can be written as a sum of elementary cycles, it is sure that elements of R are generators of H.sub.1. The point is that set R not always minimal in both meanings: the number of elements n.sub.h2 and the (e.g. Euclidian) length of cycles.
[0138] The algorithm iteratively reduces as much as possible the number of cycles in set R as well as their respective (e.g. Euclidian) length. The smallest number of cycles in the final reduced R, noted R.sub.0, is known from the theory (|R||R.sub.0|2) but it may happen that |R.sub.0|>2 at the end of the algorithm. Nevertheless, all the tunnel-like cycles can be found in R.sub.0.
[0139] The iterative algorithm of the example of
[0140] Length Reduction by Adding Adjacent Faces S32
[0141] Length reduction through adjacent faces may be implemented as follows. The input data is a non-boundary cycle u and the output data is the shortest cycle homologous to cycle u according to the wireframe topology of the solid. The label of face is noted m(). Labelling face with value k is symbolized by instruction m():=k. Before starting, all faces are labeled 0.
TABLE-US-00005 While exists a face f adjacent to cycle u such that m(f) = 0 do begin m(f) := 1 If Length(u + f) < Length(u) then u := u + f End if End while
[0142] This method does not change the number of cycles in R.
[0143] Reduction by Combining Non-Boundary Cycles S34
[0144] The input data is the set R. The output data is an updated set R including less cycles and shorter cycles.
[0145] Reduction by combining cycles may be implemented as follows. Let r.sub.i and r.sub.j be two cycles of R, and r.sub.k the longest one of both. Their sum is noted r=r.sub.i+r.sub.j. If r is a boundary cycle, it means that r.sub.k is homologous to a sum of cycles of R and thus is superfluous. It is eliminated from R. Otherwise, r.sub.k is replaced by r if Length (r) is smaller than Length (r.sub.k). The algorithm is:
TABLE-US-00006 For i := 1 to n.sub.h do begin For j := 1 to n.sub.h do begin If i j then r := r.sub.i + r.sub.j k := ArgMax { Length(r.sub.p) ; p = i,j } If r is a boundary cycle then r.sub.k := 0 Else if Length(r) < Length(r.sub.k) then r.sub.k := r End if End if End for End for Remove zero cycles from R.
[0146] Splitting into Simple Cycles S36
[0147] The splitting S36 into simple cycles is an option that further improves the method. It can be performed after each iteration of S34 or after S34 has converged. Then, iterations of S34 may be performed again, and then S36 may be performed again, until convergence. Such interlacing of iterations of S34 and S36 can be implemented in any way.
[0148] S36 can be implemented as follows. The first step is to separate connected components, which is a classical algorithm in the art of graph theory. Next step is to find simple cycles. Start with an arbitrary vertex and follow a path of edges from this vertex until a visited vertex is reached. Repeat the process until all edges are visited. It should be noticed that all vertices have an even number of incident edges, otherwise, the 1-chain is not a cycle. This method increases the number of elements in R, but the overall length .sub.i=1 .sup.n.sup.
[0149] Once set R is correctly reduced, the method can accurately identify location of tunnels. In the example of
[0150] Tension of a Cycle
[0151] Let C: [0, L].fwdarw..sup.3 be a smooth closed curve. It is parameterized with arc length and L is its length. Consequently, the tangent vector is normalized |C(t)|=1 for all t[0, L] and the second derivative vector is perpendicular to the tangent vector
C(t), C(t)
=0 for all t[0, L]. If this closed curve is an elastic material, it is well known from prior art that the elastic force F at point C(t) is oriented along the curvature vector C(t).
[0152] Smooth Curve on a Smooth Surface
[0153] Now, the elastic curve is on a smooth closed surface being the boundary of a solid. The outer normal of the smooth surface at point C(t) is noted N(t). The elastic force tends to push point C(t) inside the solid when C(t), N(t)
<0. Conversely, the elastic force tends to pull point C(t) away from the solid when
C(t), N(t)
>0.
C(t), N(t)
=0 the elastic curve slides on the solid and nothing else can be concluded, as illustrated in
[0154] The tunnel vs. handle type of a smooth closed curve on a smooth closed surface is defined by measuring the length of the elastic curve where the force is directed inside the solid or outside the solid. Precisely, let : [0, L].fwdarw.{1,0,+1} be a mapping defined by (t)=1 if C(t), N(t)
<0, (t)=+1 if
C(t), N(t)
>0 and (t)=0 if
C(t), N(t)
=0. The curve C is a tunnel (resp. a handle) if .sub.0.sup.L (t)dt<0 resp. .sub.0.sup.L (t)dt>0). Function is considered (rather than the scalar product itself) in order to increase robustness of the method (and make it resist to local singularities). The integral value is computed to have a global view and discard irregularities.
[0155] For example, let a and b respectively be the small and large radius of the torus illustrated in C(t), N(t)
<0 for all t[0,2a] so .sub.0.sup.2a(t)dt=2a<0, meaning that curve C is a handle. Conversely, in the situation of
C(t), N(t)
>0 for all t[0,2b] so .sub.0.sup.2b(t)dt=2b>0, meaning that curve C is a tunnel.
[0156] A goal is to generalize this definition to the boundary of solid that features sharp edges and sharp vertices. By nature, a 3D point that belongs to the boundary of a solid is an inside point of a face or an inside point of a sharp edge or a sharp vertex. In the context of the method, a point inside a smooth edge or at a smooth vertex is equivalent to a point inside a face because the outer normal is well defined. Furthermore, curve C is a path of edges of the solid.
[0157] The method of the example may thus apply the following schemes to achieve an accurate result.
[0158] Point C(t) is Inside a Face
[0159] If C(t) is inside a face, then the outer normal N(t) is well defined and the values of mapping () are as follows.
TABLE-US-00007 C(t), N(t)
(t) + +1 0 0 +1
[0160] Point C(t) is Inside a Sharp Edge
[0161] Now, C(t) is well defined but where N(t) is not, meaning that curve C locally coincides with a sharp edge of the solid. This situation is the most common since, by nature, curve C is a path of edges. Then, there exists two adjacent faces to C(t), face 1 and face 2, and it is possible to compute scalar products C(t),N.sub.1(t)
and
C(t),N.sub.2(t)
where N.sub.i are the normal vectors of adjacent faces (numbering order is not meaningful). The mapping () is defined according to the signs of scalar products and to the local convexity of the sharp edge at point C(t).
[0162] Next table includes the values of mapping () at a point C(t) when the sharp edge is convex. Notice that this table is equal to the previous one when N.sub.1(t)=N.sub.2(t).
TABLE-US-00008 C(t), N.sub.1(t)
C(t), N.sub.2(t)
(t) + + +1 0 + +1 + +1 + 0 +1 0 0 0 0 0 + +1 0 0 1
[0163]
[0164] Next table includes the values of mapping () at a point C(t) when the sharp edge is non-convex. Notice that this table is equal to the first one when N.sub.1(t)=N.sub.2.
TABLE-US-00009 C(t), N.sub.1(t)
C(t), N.sub.2(t)
(t) + + +1 0 + 0 + 1 + 0 0 0 0 0 0 1 + 1 0 1 1
[0165]
[0166] Point C(t) is at a Sharp Vertex
[0167] The sharp vertex situation is used when previous computations do not yield any conclusion, mainly because .sub.0.sup.L (t)dt=0. This always happens when curve C involves line segments on planar faces. At a sharp vertex C(t.sub.0), curve C is the junction of two smooth curves, respectively C.sub.(t) and C.sub.+(t), meaning that C(t)=C.sub.(t) for t<t.sub.0 and C(t)=C.sub.+(t) for t>t.sub.0. Curves C.sub. and C.sub.+ respectively have two adjacent faces. Let F(t.sub.0)=C.sub.+(t.sub.0)C.sub.(t.sub.0) be the elastic force at t.sub.0. The diagnosis combines evaluations of mapping () respectively computed using curves C.sub. and C.sub.+. For {, +}, the value (t.sub.0.sup.) is computed according to the following table if curve C.sub. is a convex edge.
TABLE-US-00010 F (t.sub.0), N.sub.1.sup.(t.sub.0)
F(t.sub.0), N.sub.2.sup.(t.sub.0)
(t.sub.0.sup.) + + +1 0 + +1 + +1 + 0 +1 0 0 0 0 0 + +1 0 0 1
[0168] For {, +}, the value (t.sub.0.sup.) is computed according to the following table if curve C.sub. is a non-convex edge.
TABLE-US-00011 F(t.sub.0), N.sub.1.sup.(t.sub.0)
F(t.sub.0), N.sub.2.sup.(t.sub.0)
(t.sub.0.sup.) + + +1 0 + 0 + 1 + 0 0 0 0 0 0 1 + 1 0 1 1
[0169] Notice that the two previous tables are equal to the first one when N.sub.1.sup.(t.sub.0)=N.sub.2.sup.(t.sub.0).
[0170] Whether elastic curve C is pulled outside or inside the solid at vertex C(t.sub.0) is disclosed by the values (t.sub.0.sup.) and (t.sub.0.sup.+). Next table gathers all possibilities.
TABLE-US-00012 (t.sub.0.sup.) (t.sub.0.sup.+) Type +1 +1 Outside 0 +1 Outside 1 +1 Unknown +1 0 Outside 0 0 Unknown 1 0 Inside +1 1 Unknown 0 1 Inside 1 1 Inside
[0171] F(t.sub.0), N.sub.1.sup.(t.sub.0)
<0 and
F(t.sub.0), N.sub.2.sup.(t.sub.0)
=0. Furthermore, (t.sub.0.sup.+)=1 as well in the (0, ) configuration because
F(t.sub.0), N.sub.1.sup.+(t.sub.0)
=0 and
F(t.sub.0), N.sub.2.sup.+(t.sub.0)
<0. Force F(t.sub.0) tends to push point C(t.sub.0) of curve C inside the solid.
[0172] A full implementation of the algorithm of
[0173] Next table collects the balance of topological entities and useful Euler formulas.
TABLE-US-00013 Type Symbol Value Formula Number of vertices n.sub.0 12 Number of edges n.sub.1 24 Number of faces n.sub.2 10 Genus 2 n.sub.0 n.sub.1 + n.sub.2 = 2(1 ) Number of elementary n.sub.c 13 n.sub.c = n.sub.1 n.sub.0 + 1 cycles
[0174]
[0175] Next iteration is to shorten x by adding .sub.2w, where w is the right half cylindrical face of the solid's B-Rep, which yields cycle e, as illustrated in
[0176] The very last step is to identify that cycles a and b are tunnels and that cycles c, d and e are handles by using the cycle tension criteria. A local section of the solid in the neighborhood of point X of cycle b is as shown on C, N.sub.1
=0,
C, N.sub.2
>0 and curve b is a convex sharp edge. Same for cycle a. Cycle d is made of four line segments, making the integral computation inoperative because C=0 all along curve d. Local section of the solid in the neighborhood of point Y of curve d is as shown on
F, N.sub.1.sup.
=
F, N.sub.2.sup.
<0 and
F, N.sub.1.sup.+
=
F, N.sub.2.sup.+
<0. Same for other vertices of cycle d
[0177] An implementation of the method of
TABLE-US-00014 Running Name of Number Number Number of Euler time FIG. the part of face of edges vertices index (in ms) FIG. 84 Cap 155 424 266 9 109 FIG. 85 Laptop 872 2438 1548 32 11653 FIG. 86 Grinder 991 2762 1759 30 9547 FIG. 87 Hood 2276 6291 4029 11 17050 FIG. 88 Oil pan 2073 5200 3153 6 5959 FIG. 89 Gearbox 1027 2822 1808 16 2277 FIG. 90 wheel 53 165 111 11 46 FIG. 91 Manifold 114 268 163 3 62 FIG. 92 Sheath 90 220 134 10 46 FIG. 93 Cap 126 318 192 10 78 FIG. 94 Support 241 679 438 21 234
[0178] Selecting and Removing Cutout Faces
[0179] As mentioned earlier, editing the B-Rep by removing identified tunnels and filling the empty space can be performed classically, according to any method known per se. Examples are discussed hereunder.
[0180] This edition can be advantageously performed by using APIs of commercial CAD software providing feature recognition and face removal capacities like the CAA library of Dassault Systemes. For clarity and consistency, it is illustrated in the context of the method through a simple example.
[0181] Given a tunnel cycle identified by using the method, in an example a step of the process is to select the faces of the cutout and to remove these faces while keeping a closed boundary of the solid.
[0182] Identifying the faces of the cutout may be done as follows. By definition, a depression is a set of adjacent faces of the solid that is bounded by convex edges. Choosing the left side of the cycle, adjacent faces are collected until a first depression is found. A second depression is found the same way by choosing the right side of the cycle. The depression featuring the shortest boundary curves is selected: it is the cutout.
[0183]
[0184] Removing the cutout faces may be done as follows. The first step is to discard all the faces of the cutout from the B-Rep of the solid, which yields an open skin, as illustrated in next figure. The boundary of this open skin includes two cycles. The initial one (cycle A in
[0185] It should be understood that the local geometry and topology of the solid in the neighborhood of a cycle can be very complex, depending on the number of faces adjacent to the cycle. An ultimate solution is to compute a filling surface over the cycle and to sew it to the solid.