Design of parts featuring protrusions or depressions
Patent Information
- Application Number
- JP2020010851
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2019-02-01
- Filing Date
- 2020-01-27
- Publication Date
- 2024-10-09
- Estimated Expiration
- 2040-01-27
Smart Images

Figure 0007564624000046 
Figure 0007564624000047 
Figure 0007564624000048
Abstract
Description
[Technical field]
[0001] The present invention relates to the field of computer programs and systems, and more particularly to methods, systems and programs for designing 3D modeled objects representing mechanical parts. [Background technology]
[0002] For the design, engineering and manufacturing of objects, numerous systems and programs are offered on the market. CAD is an acronym for Computer-Aided Design, e.g., related to software solutions for designing objects. CAE is an acronym for Computer-Aided Engineering, e.g., related to software solutions for simulating the physical behavior of a future product. CAM is an acronym for Computer-Aided Manufacturing, e.g., related to software solutions for defining manufacturing processes and operations. In such Computer-Aided Design systems, the graphical user interface plays a key role regarding the efficiency of the technique. These technologies may be incorporated within Product Lifecycle Management (PLM) systems. PLM refers to a business strategy that helps companies share product data, apply common processes and leverage corporate knowledge to help develop products from concept to life, beyond long-term corporate concepts. The PLM solutions offered by Dassault Systèmes (under the trademarks CATIA, ENOVIA and DELMIA) provide an Engineering Hub that organizes product engineering knowledge, a Manufacturing Hub that manages manufacturing engineering knowledge, and an Enterprise Hub that allows connections to both the Enterprise Hub and the Engineering and Manufacturing Hubs. Overall, the system provides an open object model that links products, processes, and resources to enable dynamic knowledge-based product creation and decision support that drives optimized product definition, manufacturing preparation, production, and service.
[0003] In the context of mechanical design, a cavity (or protrusion) is a functional feature represented by faces and edges of a B-rep that represents a mechanical part, which can be very complex. Internal details may include convex and concave edges of the B-rep. These details are hidden from the user due to adjacent shapes and view orientation. For these reasons, selecting all faces of a B-rep that represents a complex cavity (or protrusion) can be very difficult.
[0004] Existing methods for recognition and / or selection of protrusions or depressions are not effective: these methods suffer from a lack of efficiency and / or ergonomics.
[0005] In this regard, there remains a need for improved methods for designing mechanical parts. Summary of the Invention
[0006] Thus, there is provided a computer-implemented method for designing a 3D modeled object representing a mechanical part in a CAD system. The method includes providing a B-rep representing the mechanical part, the B-rep having faces and edges. The method further includes providing a first set of faces and a feature type, the feature type being either a recess feature type or a protrusion feature type. The method further includes recognizing, automatically by the CAD system, a second set of faces within the first set of faces, the second set of faces representing features of the provided feature type.
[0007] Such a method provides an improved method for designing mechanical parts.
[0008] Of particular note, the method allows for the recognition of surfaces that represent recessed or special features of B-reps that represent mechanical parts, which in turn allows for the determination of information relevant to the mechanical design.
[0009] Moreover, the method recognizes the faces automatically, in other words, the method does not involve user interaction for recognition, and the method is ergonomic.
[0010] Moreover, the method proceeds in two steps: providing a first set of faces and providing a second set of faces by recognizing a second set of faces within the first set of faces. This two-step approach improves robustness. Moreover, this two-step approach can provide the first set in a coarse-grained manner, since the first set does not necessarily consist of only the respective faces that represent the feature. In fact, the automatic recognition may operate filtering within the first set.
[0011] The method may include one or more of the following. the second set of faces forms connections between one or more basic subsets, where a smooth skin is a face or set of connected faces having only smooth internal edges; if the provided feature type is a concave feature type, the base subset is a connected set of one or more faces that are bounded only by convex edges or rounded faces and do not include convex internal edges and no rounded faces, and the base subset is either not a smooth skin or is a smooth skin that satisfies a concavity criterion; and / or ··If the provided feature type is a protrusion feature type, the base subset is a connected set of one or more faces bounded only by concave edges or fillet faces and not including concave internal edges and fillet faces, and the base subset is either not a smooth skin or is a smooth skin satisfying a convexity criterion. The second set of faces includes all fundamental subsets of the first set. Each basic subset is connected to at least one other basic subset, and two basic subsets are connected if they share only edges of a given edge type or only faces of a given face type; if the provided feature type is a concave feature type, the predetermined edge type is a convex edge type and the predetermined surface type is a rounded surface type; and / or if the provided feature type is a protrusion feature type, the predetermined edge type is a concave edge type and the predetermined face type is a fillet face type. A smooth skin that is bounded only by convex edges or rounded faces, does not contain convex internal edges, and does not contain rounded faces satisfies the concavity criterion if said smooth skin cannot be arbitrarily offset in the direction of its normal vector while remaining smooth; A smooth skin that is bounded only by concave edges or fillet faces, contains no concave internal edges, and does not contain fillet faces satisfies the convexity criterion if the smooth skin cannot be arbitrarily offset in the opposite direction of its normal vector while remaining smooth. The step of recognizing comprises: determining one or more candidate base subsets; if the provided feature type is the hollow feature type, the candidate basic subset is a connected set of one or more faces that are bounded only by convex edges or rounded faces and that do not include convex interior edges and no rounded faces; and / or if the provided feature type is a protrusion feature type, a candidate base subset is a connected set of one or more faces bounded only by concave edges or fillet faces and not including concave interior edges and fillet faces; The step of determining one or more candidate basic subsets includes dividing the first set of faces into faces that each belong to exactly one candidate basic subset and faces that do not belong to any candidate basic subset; ··Identifying one or more base subsets from among the determined candidate base subsets. determining the one or more candidate basic subsets includes repeatedly visiting the first set of faces, the step of visiting the faces comprising: determining whether the face should be included in the candidate basic subset; If the face should be included in the candidate basic subset, then including the face in the basic subset and determining that the face should not be visited again. The step of providing a first set of surfaces (S20) comprises: displaying the B-rep on a display of the CAD system; Selecting a first set of faces through graphical user interaction. The step of selecting the first set of faces comprises: Defining a closed curve on a display by graphical user interaction; and automatically identifying, by a CAD system, each face of the B-rep projected onto the closed curve. The step of selecting the first set of faces comprises: partitioning the identified faces into disjoint connected subsets of faces, only one subset being the first set of faces; Discarding all other subsets; is performed automatically by the CAD system. The mechanical part is Molded parts, Machined parts, Drilling parts, ·· Turned parts, Forged parts, Pressed parts and / or ...It is a folding bending part. If the feature type is a dent feature type, the features of the specified feature type are ·Mass reduction feature, Space reservation features, Fixed features, Hardness characteristics, Adjustment features, Positioning features, Mechanical joining features; Cooling features, Space reservation features, Rotational or cylindrical mechanical joint features, Assembly features, and / or Rigidity characteristics It is.
[0012] Further provided is a computer program comprising instructions for carrying out the above method.
[0013] Further provided is a computer readable storage medium having the above computer program recorded thereon.
[0014] Further provided is a computer including a processor, coupled to a memory and a display, having the above computer program recorded thereon. [Brief description of the drawings]
[0015] [Figure 1] 1 shows a flow chart of an example method. [Diagram 2] 1 shows an example of a graphical user interface of the system. [Diagram 3] FIG. 1 illustrates an example of a system. [Figure 4] The B-rep concept included in this method is shown. [Diagram 5] The B-rep concept included in this method is shown. [Figure 6] The B-rep concept included in this method is shown. [Figure 7] The B-rep concept included in this method is shown. [Figure 8] The B-rep concept included in this method is shown. [Figure 9] The B-rep concept included in this method is shown. [Figure 10] The B-rep concept included in this method is shown. [Figure 11] The B-rep concept included in this method is shown. [Figure 12] The B-rep concept included in this method is shown. [Figure 13]The B-rep concept included in this method is shown. [Figure 14] The B-rep concept included in this method is shown. [Figure 15] The B-rep concept included in this method is shown. [Figure 16] 1 shows the geometry of recessed and protruding features in an example mechanical part designed by the present method. [Figure 17] 1 shows the geometry of recessed and protruding features in an example mechanical part designed by the present method. [Figure 18] 1 shows the geometry of recessed and protruding features in an example mechanical part designed by the present method. [Figure 19] 1 shows the geometry of recessed and protruding features in an example mechanical part designed by the present method. [Figure 20] 1 shows the geometry of recessed and protruding features in an example mechanical part designed by the present method. [Figure 21] This method is shown. [Figure 22] This method is shown. [Diagram 23] This method is shown. [Figure 24] This method is shown. [Diagram 25] This method is shown. [Figure 26] This method is shown. [Figure 27] This method is shown. [Figure 28] This method is shown. [Figure 29] This method is shown. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0016] With reference to the flow chart of Fig. 1, a computer-implemented method for designing a 3D modeled object representing a mechanical part in conjunction with a CAD system is proposed. The method includes a step S10 of providing a B-rep representing the mechanical part. The B-rep has faces and edges. The method further includes a step S20 of providing a first set of faces and a feature type. The feature type is either a dent feature type or a protrusion feature type. The method further includes a step S30 of automatically recognizing by the CAD system a second set of faces within the first set of faces. The second set of faces represents features of the provided feature type.
[0017] The method is computer-implemented. This means that the steps of the method (or substantially all steps) are performed by at least one computer or any system. The steps of the method are therefore performed by a computer, possibly fully automatically or semi-automatically. In an example, the triggering of at least some of the steps of the method may be performed via user / computer interaction. The level of user / computer interaction required depends on the level of automation expected and may be balanced against the need to implement the user's wishes. In an example, this level may be user-defined and / or predefined.
[0018] A typical example of a computer implementation of the method is to execute the method using a system adapted for this purpose. The system may comprise a processor coupled to a memory and a graphical user interface (GUI), in which a computer program is recorded, the computer program comprising instructions for executing the method. The memory may also store a database. The memory is any hardware adapted for such storage, and may optionally comprise several physically distinct parts (e.g. a part for the program and possibly a part for the database).
[0019] The methods generally manipulate modeled objects. A modeled object is any object defined by data stored, for example in a database. In this line, the expression "modeled object" designates the data itself. The system may be a CAD system, where the modeled objects are defined by the corresponding data. Thus, one can speak of CAD objects.
[0020] A CAD system further means any system adapted to at least design a modeled object based on a graphical representation of the modeled object, such as CATIA. In this case, the data defining the modeled object includes data enabling the representation of the modeled object. A CAD system may, for example, provide a representation of a CAD modeled object using edges or lines, in some cases with faces or surfaces. The lines, edges or surfaces may be represented in various ways, for example with non-uniform rational B-splines (NURBS). In particular, a CAD file contains a specification from which a geometry may be generated, and thus a representation may be generated. The specification of the modeled object may be stored in a single CAD file or in multiple CAD files. A typical size of a file representing a modeled object in a CAD system is in the range of one megabyte per part. And the modeled object may typically be an assembly of thousands of parts.
[0021] In the context of CAD, a modeled object may typically be a 3D modeled object that represents a product, such as a part or an assembly of parts, or possibly an assembly of a product. By "3D modeled object" is meant any object that is modeled by data that allows for its 3D representation. The 3D representation allows for viewing the part from all angles. For example, when a 3D modeled object is represented in 3D, it can be manipulated and rotated around any of its axes or around any axis within the screen on which the representation is displayed. This notably excludes 2D icons that are not 3D modeled. The display of 3D representations facilitates design (i.e. increases the speed at which designers statistically accomplish their tasks). This speeds up the manufacturing process in industry, since the design of the product is part of the manufacturing process.
[0022] The 3D modeled object may represent the geometry of a product that is manufactured in the real world after completion of the virtual design using, for example, a CAD software solution or a CAD system. The product may be, for example, a (e.g., mechanical) part or assembly of parts (which is synonymous with an assembly of parts, since an assembly of parts can be viewed as a part itself from the perspective of the method), or more generally, any rigid assembly (e.g., a moving mechanism). CAD software solutions enable the design of products in a variety of unlimited industrial sectors, including aerospace, architecture, construction, consumer goods, high-tech devices, industrial equipment, transportation, marine, and / or offshore oil / gas production or transportation. Thus, the 3D modeled objects designed by the present method may represent industrial products which may be any mechanical parts, such as parts of land vehicles (including, for example, automobiles and light truck equipment, racing cars, motorcycles, trucks and motor equipment, trucks and buses, trucks and buses), parts of air vehicles (including, for example, airframe equipment, aerospace equipment, propulsion equipment, defense products, aviation equipment, space equipment), parts of naval vehicles (including, for example, naval equipment, commercial vessels, offshore equipment, yachts and workboats), general mechanical parts (including, for example, industrial manufacturing machinery, heavy mobile machinery or equipment, installation equipment, industrial equipment, fabricated metal products, tire manufacturing products), electric mechanical or electronic parts (including, for example, consumer electronics, security and / or control and / or instrumentation products, computer and communication equipment, semiconductors, medical devices and equipment), consumer goods (including, for example, furniture, household goods, leisure goods, fashion goods, hard goods retailer products, soft goods retailer products), packaging (including, for example, food and beverage and tobacco, beauty and personal care, household goods packaging).
[0023] In examples, the mechanical part designed by the method is one or any suitable combination of a molded part (i.e., a part produced by a forming process), a machined part (i.e., a part produced by a machining process), a punched part (i.e., a part produced by a punching process), a turned part (i.e., a part produced by a turning process), a forged part (i.e., a part produced by a forging process), a stamped part (i.e., a part produced by a stamping process), and / or a folded part (i.e., a part produced by a folding and bending process). The method is particularly effective for designing such examples of mechanical parts that often include recesses and / or protrusions.
[0024] The concepts of features, depression feature types, protrusion feature types, and feature geometries are now discussed. In the following, for brevity, features of the depression feature type may be referred to as "depression features" and features of the protrusion feature type may be referred to as "protrusion features."
[0025] A mechanical component may be designed to perform a mechanical function that is performed by one or more features. In an example, the mechanical function is performed by one feature. In an example, the mechanical function is decomposed into several mechanical functions, each performed by a feature. A feature is a layout (e.g., arrangement) of material that performs a mechanical function. A dimple feature type may be a category of features, where each feature in the category is a layout of material having a dimple geometry. Additionally or alternatively, a protrusion feature type may be a category of features, where each feature in the category is a layout of material having a protrusion geometry.
[0026] A feature has a geometry that can be a geometry that corresponds to and / or represents and / or forms the layout of the material that is the feature. The geometry of a feature can include (e.g., includes a combination of) several basic geometries. The basic geometry can be a linear extrusion. The linear extrusion can be a pad (that adds material). The linear extrusion can be a pocket (that removes material). The basic geometry can be a revolution. The revolution can be a shaft (that adds material). The revolution can be a groove (that removes material). The basic geometry can be a swept profile. The swept profile can be a rib (that adds material) and / or a stiffener (that adds material). The revolution can be a slot (that removes material).
[0027] The second set of faces represents features of a provided feature type. If the provided feature type is a recess feature type, the features of the provided feature type may be one or plausible combination of mass reduction features, space reservation features, fixture features, clamping features, adjustment features, positioning features, mechanical connection features, cooling features, space reservation, orbital or cylindrical mechanical connection features, assembly features, and / or rigidity features. Alternatively or additionally, if the feature type is a protrusion feature type, the features of the provided feature type may be one or plausible combination of stiffening features, fixture features, positioning pin features, orbital or cylindrical mechanical connection features, supports for all machined and drilled protrusion features, assembly features, and / or space reservation features.
[0028] We now describe an example function performed by an example pit feature represented by the second set of faces.
[0029] In examples, the mechanical part is manufactured by a fabrication process. In these examples, the recess features represented by the second set of surfaces may be mass reduction features (i.e., perform a mass reduction function) and / or space reservation features (i.e., perform a space reservation function).
[0030] Alternatively or additionally, the mechanical part may be manufactured by a machining process. In these examples, the recess features represented by the second set of faces may be mass reduction features (i.e., performing a mass reduction function), fixation features (i.e., performing a fixation function), clamping features (i.e., performing a clamping function), adjustment features (i.e., performing an adjustment function), positioning features (i.e., performing a positioning function), mechanical articulation features (i.e., performing a mechanical articulation function), cooling features (i.e., performing a cooling function), and / or space reservation features (i.e., performing a space reservation function).
[0031] Alternatively or additionally, the machine part may be manufactured by a drilling process. In these examples, the recess features represented by the second set of faces may be fixation features (i.e., performing a fixation function), positioning features (i.e., performing a positioning function), rotary or cylindrical machine joint features (i.e., performing a rotary or cylindrical machine joint function), cooling features (i.e., performing a cooling function), and / or space reservation features (i.e., performing a space reservation function).
[0032] Additionally or alternatively, the mechanical part may be manufactured by a turning process, in which case the recess features represented by the second set of faces may be rotary or cylindrical mechanical mating features (i.e., performing a rotary or cylindrical mechanical mating function).
[0033] Additionally or alternatively, the mechanical component may be manufactured by a forging process. In these examples, the indentation features represented by the second set of faces may be mass reduction features (i.e., perform a mass reduction function).
[0034] Additionally or alternatively, the mechanical part may be manufactured by a stamping process. In these examples, the recess features represented by the second set of faces may be assembly features (i.e., perform an assembly function), stiffness features (i.e., perform a stiffness function), and / or space reservation features (i.e., perform a space reservation function).
[0035] Additionally or alternatively, the mechanical part may be manufactured by a folding and bending process. In these examples, the recess features represented by the second set of faces may be assembly features (i.e., perform an assembly function), rigidity features (i.e., perform a rigidity function), and / or space reservation features (i.e., perform a space reservation function).
[0036] Examples of functions performed by example protruding features are now discussed.
[0037] In examples, the mechanical part is manufactured by a fabrication process. In these examples, the protruding features represented by the second set of faces are rigid features (i.e., perform a rigidity function).
[0038] Alternatively or additionally, the mechanical part may be manufactured by a machining process. In these instances, the protruding features represented by the second set of faces may be fixation features (i.e., perform a fixation function) and / or locating pin features (i.e., perform a locating pin function).
[0039] Additionally or alternatively, the mechanical part may be manufactured by a turning process. In these examples, the protruding features represented by the second set of faces may be rotary or cylindrical mechanical mating features (i.e., performing a rotary or cylindrical mechanical mating function) and / or locating pin features (i.e., performing a locating pin function).
[0040] Additionally or alternatively, the mechanical component may be manufactured by a forging process. In these instances, the protrusion features represented by the second set of faces may be rigid features (i.e., perform a rigidity function) and / or supports for all machined and drilled protrusion features (i.e., perform a support for all machined and drilled protrusion functions).
[0041] Additionally or alternatively, the mechanical part may be manufactured by a stamping process. In these examples, the protruding features represented by the second set of faces may be assembly features (i.e., perform an assembly function), rigidity features (i.e., perform a rigidity function), and / or space reservation features (i.e., perform a space reservation function).
[0042] Additionally or alternatively, the mechanical part may be manufactured by a folding and bending process. In these examples, the protruding features represented by the second set of faces may be assembly features (i.e., perform an assembly function), rigidity features (i.e., perform a rigidity function), and / or space reservation features (i.e., perform a space reservation function).
[0043] 16-20 show example geometries of example recess and protrusion features in example machine parts designed by the method. FIG. 16 shows the geometry 162 of a mass reduction recess feature on a forged part. FIG. 17 shows the geometry 172 of a fastening feature on a cast drilled part. The geometry 172 includes the geometry of a fastening boss corresponding to the protruding portion of the fastening feature and the geometry of a fastening hole corresponding to the drilled portion of the fastening feature. FIG. 17 further shows the geometry 174 of a stiffener protrusion feature on a cast drilled part. FIG. 17 further shows the geometry 176 of a locating recess geometry 176 on a cast drilled part. FIG. 18 shows the geometry 182 of a cooling protrusion feature on a cast machined part. FIG. 19 shows the geometry 192 of a support for a machined protrusion feature on a machined part and the geometry 194 of a mechanical joint protrusion feature obtained by machining a portion of it. Figure 20 shows two geometries 202, 204 of two corresponding locating dimple features on a stamped part. Figure 20 also shows a space reservation dimple feature on the stamped part.
[0044] FIG. 2 shows an example of a GUI for a system, the system being a CAD system.
[0045] The GUI 2100 may be a typical CAD-like interface with standard menu bars 2110, 2120, and bottom and side toolbars 2140, 2150. Such menu bars and toolbars include a set of user-selectable icons, each icon associated with one or more operations or functions, as known in the art. Some of these icons are associated with software tools adapted to edit and / or work with the 3D modeled object 2000 displayed in the GUI 2100. The software tools may be grouped into workbenches. Each workbench includes a subset of software tools. In particular, one of the workbenches is an editing workbench suitable for editing geometric features of the modeled product 2000. During operation, the designer may, for example, pre-select a part of the object 2000 and then edit the operations (e.g., change dimensions, color, etc.) or geometric constraints by selecting the appropriate icon. For example, a typical CAD operation is modeling a stamping or 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 illustrated example, the data 2500, displayed as a "feature tree", and their 3D representation 2000, relate to a brake assembly including a brake caliper and a disk. A brake assembly such as that represented by the 3D representation 2000 may be designed by the method. The GUI may further show various types of graphic tools 2130, 2070, 2080 for facilitating, for example, 3D orientation of objects, for triggering a simulation of the operation of the edited product, or for rendering various attributes of the displayed product 2000. A cursor 2060 may be controlled by a haptic device to allow the user to interact with the graphic tools.
[0046] FIG. 3 shows an example of a system where the system is a client computer system, eg, a user's workstation.
[0047] The client computer in this example comprises a central processing unit (CPU) 1010 connected to an internal communications bus 1000, and a random access memory (RAM) 1070 also connected to the bus. The client computer is further provided with a graphical processing unit (GPU) 1110 associated with a video random access memory 1100 connected to the BUS. The video RAM 1100 is also known in the art as a frame buffer. A mass storage controller 1020 manages access to mass storage devices such as a hard drive 1030. Mass memory devices suitable for tangibly embodying computer program instructions and data include all forms of non-volatile 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 access to a network 1060. The client computer may also include a cursor control device, a haptic device 1090 such as a keyboard. A cursor control device is used in the client computer to allow the user to selectively position a cursor at any desired location on the 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 generators for inputting control signals to the system. Typically, the cursor control device may be a mouse, with the buttons of the mouse being used to generate the signals. Alternatively or additionally, the client computer system may include a sensitive pad and / or a sensitive screen.
[0048] A computer program may include instructions executable by a computer, the instructions including means for causing the device to carry out the method. The program may be recordable on any data storage medium including the memory of the system. The program may be implemented, for example, in digital electronic circuitry, or in computer hardware, firmware, software, or a combination thereof. The program may be implemented as an apparatus, for example an article tangibly embodied in a machine-readable storage device for execution by a programmable processor. The steps of the method may be performed by a programmable processor executing a program of instructions for performing the functions of the method by operating on input data and generating output. Thus, the processor is programmable and may be coupled to receive data and instructions from, and to transmit data and instructions to, the 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 language or machine language as appropriate. In either case, the language may be a compiled or interpreted language. The program may be a full installation program or an update program. Applying the program on the system will, in any case, provide instructions for carrying out the method.
[0049] "Designing a 3D modeled object" specifies any action or sequence of actions that is at least part of a process of creating a 3D modeled object. Thus, the method can include creating a 3D modeled object from scratch. Alternatively, the method can include providing a previously created 3D modeled object and then modifying the 3D modeled object.
[0050] The method may be included in a manufacturing process, which may include, after performing the method, generating a physical product corresponding to the modeled object. In either case, the modeled object designed by the method may represent a manufacturing object. Thus, the modeled object may be a modeled solid (i.e., a modeled object representing 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 the product, thus increasing the productivity of the manufacturing process.
[0051] Step S10 of providing a B-rep representing a machine part will now be described.
[0052] A B-rep is a 3D representation of a mechanical part. Specifically, a B-rep (i.e., a boundary representation) is a persistent data representation describing a 3D modeled object representing a mechanical part. A B-rep can be the result of a calculation and / or a series of operations performed during the design phase of a 3D modeled object representing a mechanical part. The shape of the mechanical part displayed on a computer screen when the modeled object is rendered is (a tessellation of) a B-rep. As an example, a B-rep represents a part of a model object.
[0053] B-Rep contains topological and geometric entities. Topological entities are faces, edges, and vertices. Geometric entities are 3D objects, i.e. surfaces, planes, curves, lines, and points. 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 as follows: The boundary portion of a curve is defined by two points (vertices) that lie on the curve. The boundary portion of a surface is defined by its boundary. This boundary is the set of edges that lie on the surface. The edges of the boundary of a face are connected by sharing a vertex. Faces are connected by sharing an edge. Two faces are adjacent if they share an edge. Similarly, two edges are adjacent if they share a vertex. Figure 4 shows a B-rep of a cylindrical slot made of three faces, a top planar face and two side cylindrical faces. The left image shows a perspective view of the slot. Visible faces, edges, and vertices are numbered. The right diagram is an exploded view of all the faces. Duplicate numbers indicate edge and vertex sharing. Face 1 is the boundary portion of the plane. The boundary of face 1 includes edges 4 and 5, each of which is bounded by vertices 10 and 11. Both have the same support circle. Face 2 is bounded by edges 6, 8, 5, and 13, which all lie on the infinite cylindrical surface. Faces 1 and 2 are adjacent because they share edge 5. Faces 2 and 3 are adjacent because they share edges 8 and 13. Faces 1 and 3 are adjacent because they share edge 4. Figure 5 is a graph showing the "boundary" topological relationships of the B-Rep in Figure 4, where the nodes in the upper layer are faces, the nodes in the lower layer are vertices, the nodes in the middle layer are faces, and the nodes in the lower layer are vertices. Figure 6 shows a graph (left) showing the relationships between the topological entities (faces, edges, vertices) of the B-Rep in Figure 4 and the supporting geometry (right). In a CAD system, the B-rep is a suitable data structure that collects the "boundary" relationships, the relationships between the topological entities and the supporting geometry, and the mathematical description of the supporting geometry.
[0054] By definition, an interior edge of a B-Rep is shared by exactly two faces. By definition, a boundary edge is not shared and bounds only one face. By definition, a bounding face is bounded by at least one boundary edge. A B-Rep is said to be closed if all its edges are interior edges. A B-Rep is said to be open since it contains at least one boundary edge. The example B-Rep shown in Figure 4 is open since edges 6 and 7 are boundary edges. Conversely, edges 4, 5, 8 and 13 are interior edges. A closed B-Rep is obtained from the example of Figure 4 by adding a disk-shaped face 14 bounded by edges 6 and 7 as illustrated in Figure 7. The diagram on the left shows a closed B-rep, and the diagram on the right shows a graph showing the "bounded" topological relationships of a closed B-rep. Closed B-Reps are used to model thick 3D volumes, since they define a material that (effectively) encloses an interior portion of a space. Open B-Reps are used to model the 3D skin that represents the 3D object with a thickness that is small enough to be negligible.
[0055] Each face of a B-Rep is provided with a normal vector defined with the help of the support faces. First, the normal vector is collinear with the normal vector of the support faces. Moreover, the normal vector of a closed B-Rep representing a machine part is directed towards the exterior of the material. Let F be a face of a B-Rep and N its exogenous normal vector. Let E be an edge of face F, X be a point on edge E, and T be the normalized tangent vector of edge E at point X. By definition, edge E is oriented counterclockwise if vector M=N×T is directed towards the interior area of the face, as shown in the left diagram of Figure 8. Note that vector M is normalized since vectors N and T are normalized and perpendicular. By convention, all edges of all faces of a B-Rep are oriented counterclockwise, as shown by the right diagram of Figure 8.
[0056] In the following, we will explain the concept of edge convexity. Given a B-Rep of a 3D modeled object, let E be the edge shared by faces F1 and F2, and let X be a point on edge E. Let N1 and N2 be the exterior normal vectors of faces F1 and F2, respectively. Let P1 and P2 be planes passing through point X for the respective normal vectors N1 and N2. Planes P1 and P2 locally define the exterior 3D region and the interior 3D region in the vicinity of point X. In essence, vector N1+N2 refers to the exterior 3D region. Now, let M1 and M2 be the material vectors of point X relative to faces F1 and F2, respectively. By nature, vector M1+M2 refers to a convex 3D region. By definition, edge E is convex at point X if N1+N2 and M1+M2 point in opposite directions (i.e., (M1+M2, N1+N2)<0), as shown in FIG. 9. An edge E is convex if it is convex at every point. Conversely, an edge is concave at point X if N1+N2 and M1+M2 point in the same direction (i.e., (M1+M2,N1+N2)>0), as shown in Figure 10. An edge E is concave if it is concave at every point. Otherwise, (M1+M2,N1+N2)=0 means the edge is either a smooth edge or a knife edge. A smooth edge is M1+M2+0 and N1+N2, as shown in Figure 11. This usually occurs in the B-Rep of a typical mechanical part. A knife edge is N1+N2+0 and M1+M2, as shown in Figure 12. Knife edges are described for completeness and are not usually used to model mechanical parts.
[0057] From a geometrical point of view, a rounded face replaces a convex sharp edge with a smooth transition. The transition surface is the envelope of a rolling ball that connects the adjacent surfaces of the first sharp edge. Similarly, a filleted face replaces a concave sharp edge with a smooth transition based on the same rolling ball geometry. Figure 13 illustrates the geometry of rounded and filleted faces. Figure 13 shows a convex edge 130, a concave edge 132, a rounded face 134, and a filleted face 136. As with rounded and filleted faces of canonical surfaces (cylinders, planes, spheres, cones, etc.), they generally have a logical type in the B-Rep data structure. In cases where this logical type is missing, it can be recognized as follows: The parameterization of the following equations:
number
number
number
number
number
[0058] In the following, we introduce the concept of a B-rep dual graph. A B-Rep dual graph is a logical graph that captures only the adjacencies of faces. It is defined as follows: Dual graph nodes are associated with faces of the B-Rep and dual graph arcs are associated with edges of the B-Rep. An arc of the dual graph connects two nodes of the dual graph if the B-Rep edges associated with the arcs are shared with the B-Rep faces associated with the nodes, respectively. For example, the dual graph of the cylindrical B-Rep of Fig. 7 is shown in Fig. 15. Arcs are labeled by edge number. By definition, a set of faces is connected if the nodes of the dual graph representing the set of faces are nodes of a connected subgraph of the dual graph. In other words, the set of connected faces forms the arcwise connected part of the B-rep. A skin is a face or a set of connected faces. A smooth skin is a face or a set of connected faces that contains only smooth interior edges.
[0059] A feature may be represented by a set of connected faces. In other words, the portion of the B-rep that corresponds to the set of connected faces may model and / or represent the geometry of the feature. If the feature is a recessed feature, the set of connected faces may be bounded by protruding edges or rounded faces. If the feature is a protruding feature, the set of connected faces may be bounded by concave edges or fillet faces.
[0060] The step S10 of providing the B-rep may include displaying the B-rep on a display of the CAD system. The step S10 of providing the B-rep may result from a user action, e.g., an interaction between the user and the CAD system of the method. In an example, the 3D modeled object (e.g., a part) represented by the B-rep was designed by another user on another CAD system and stored in the CAD system of the method, in memory and / or sent (e.g., over a network). The step S10 of providing the B-rep may include retrieving the B-rep from memory. In an example, the other user is different and the CAD system of the method and the other CAD system are different. In these examples, the CAD system of the method and the other CAD system may be connected by a network. In an example, the other user is the same and the CAD system of the method and the other CAD system are the same.
[0061] Step S20 of providing the feature type will now be described.
[0062] Providing the feature type S20 includes specifying that the feature type is a protrusion feature type or that the feature type is a depression feature type. The provided feature type forms data that is input to recognizing the second set of surfaces S30, e.g., input to one or more algorithms included in recognizing the second set of surfaces S30.
[0063] Step S20 of providing the feature type may be performed in response to a user action. Here, an example of performing step S20 of providing the feature type in response to a user action will be described.
[0064] In examples, the step of identifying the feature type may include selecting the feature type between a protrusion feature type and a dent feature type in response to a user's action, for example by interacting with software (e.g., a CAD system) that provides a choice between the two types of features. Alternatively, the user may specify that the feature type is a protrusion feature type or that the feature type is a dent feature type by declaring the feature type by interacting with the CAD system (e.g., using a keyboard or a haptic device or touch). In these examples, the step S30 of recognizing the second set is adapted to accept as input any one of the feature types of the dent feature type and the protrusion feature type. In these examples, the step S30 of recognizing may include determining (e.g., recognizing) the feature type received as input. In examples, there may be one or more first algorithms involved in the step S30 of recognizing if the provided feature type is a dent feature type, and there may be one or more second algorithms involved in the step S30 of recognizing if the provided feature type is a protrusion feature type. In these examples, the determination of the feature type received as input triggers the application of either one or more first algorithms or one or more second algorithms. Alternatively or additionally, the one or more first algorithms and the one or more second algorithms may be identical but dependent on one or more parameters. In this case, the determination of the feature type received as input specifies (e.g., instantiates) one or more parameters such that a set of second surfaces representative of features of the received feature type are searched for and recognized.
[0065] In examples, the user may be provided with a single feature type to specify, which the user specifies (e.g., declares) by, for example, interacting with the CAD system (e.g., via a keyboard or a haptic device or touch) (e.g., via a graphical user interface). In other words, only protrusion feature types may be selected (e.g., specified as declared) by the user, or only depression feature types may be selected (e.g., specified as declared) by the user. In these examples, step S30 of recognizing the second set is adapted to receive only said single feature type as input.
[0066] Also, step S20 of providing feature types may be performed automatically by a CAD system.
[0067] Next, step S20 of providing a first set of faces will be described.
[0068] The first set of surfaces includes (e.g., has, e.g., contains, e.g., comprises) surfaces that represent features of the provided feature type. In other words, at least all surfaces that contain protrusions (or depressions) of interest (i.e., surfaces to be recognized by the method) are part of the provided first set. The first set can include additional surfaces that are not part of the surfaces that represent features of the provided feature type. By way of example, the set consisting of all surfaces of B-rep is composed of a strict subset of the surfaces. The strict subset of the surfaces includes the surfaces that represent features of the provided feature type and one or more other surfaces. In these examples, the first set of surfaces is a subset of the strict subset, which is a subset of the strict subset that includes at least all surfaces that represent features of the provided feature type. In examples, the subset of the strict subset includes one or more other surfaces. In examples, the set of surfaces made of the one or more other surfaces does not include any set of surfaces that represent another feature of the provided feature type. The first set of surfaces can be referred to as a superset or a superset of surfaces.
[0069] The step S20 of providing the first set of faces may include selecting (e.g. selecting simultaneously) a first set of faces among the faces of the provided B-rep. The provided first set of faces forms data that is input to the step S30 of recognizing a second set of faces, e.g. input to one or more algorithms included in the step S30 of recognizing the second set of faces. Prior to the step S20 of providing the first set of faces, the B-rep can be displayed on a display of the CAD system.
[0070] Step S20 of providing the first set of faces may be performed by a user. For example, the user may directly select the first set of faces and not select other faces, for example, by interacting (e.g., graphically) with the CAD system. Selecting the first set of faces by graphically interacting with the CAD system may be by drawing a shape (e.g., a closed curve) on a B-rep displayed on the display of the CAD system, such that the shape encompasses the first set of faces. For example, drawing the shape may be performed using a haptic device such as a mouse. The user may begin (e.g., start) the drawing by clicking with the haptic device on a location on the screen. The click may result in a cursor being displayed at the location. The cursor may then be dragged across the screen to perform the drawing, such that the trajectory of the cursor forms the shape. Alternatively, drawing the shape may be performed by successive touches of the user, which form the shape.
[0071] Alternatively or additionally, the step S20 of providing the first set of faces may be performed semi-automatically, i.e., the step S20 of providing the first set of faces may involve one or more user actions and one or more actions performed automatically by the computer. A user may, for example, select an initial set of faces by interacting with the CAD system. The step S20 of providing the first set may include automatic processing of the selected initial set of faces. The processing may include adding faces to the initial set of faces and / or discarding (e.g., removing) faces from the initial set of faces. In these examples, the processing takes as input the selected initial set of faces and outputs the first set of faces. Selecting the initial set of faces by graphically interacting with the CAD system may be by drawing a shape (e.g., a closed curve) on a B-rep displayed on the display of the CAD system such that the shape encompasses the initial set of faces. For example, drawing the shape may be performed using a haptic device such as a mouse. A user may begin (e.g., start) drawing by clicking with the haptic device on a location on the screen. The click may result in a cursor appearing at the location. The cursor may then be dragged across the screen to draw, with the trajectory of the cursor forming the shape. Alternatively, the drawing of the shape may be performed by successive touches of the user, which form the shape. In an embodiment, drawing of the shape results in several disjoint connected sets of faces being contained in the shape, with only one of these sets having one or more faces that are at least partially visible. A face is at least partially visible if at least a portion of the face is not hidden by other faces of the B-rep. The first set of faces is the only set that has one or more partially visible faces. In other words, the faces of the other sets are discarded during processing.
[0072] The first set of surfaces may be provided after the feature type. In such an example, the first set of surfaces includes surfaces representing features of an already provided feature type. Alternatively, the first set of surfaces may be provided before the feature type. In such an example, the first set of surfaces includes surfaces representing dimple features (or protrusion features). The later provided feature type is a dimple feature type (or protrusion feature type).
[0073] An example of step S20 of providing the first set of faces will now be described.
[0074] In an example, the step S20 of providing the first set of faces includes displaying the B-rep on a display of a CAD system and selecting the first set of faces by graphical user interaction.
[0075] The graphical user interaction may be a drawing of the shape as described above. In this way, the user can select all faces of the initial set at once by a simple graphical interaction. This is an ergonomic improvement compared to, for example, multiple selection of faces using the shift key on the keyboard, where faces are selected one by one and each time a face is selected, the face is saved by pressing and releasing the shift key on the keyboard, which implies a large number of user / machine interactions.
[0076] In examples, selecting the initial set of faces includes defining a closed curve on the display by graphical user interaction. In these examples, selecting the initial set of faces further includes identifying, automatically by the CAD system, each face of the B-rep whose projection is entirely contained within the closed curve.
[0077] Defining a closed curve is a particularly simple and ergonomic way for a user to perform the selection of the first set of faces. The closed curve defined by the user may encompass faces that the user does not want to select, i.e. faces that are not completely projected inside the closed curve. The method does not require the user to perform a difficult and precise definition of the closed curve that would avoid such undesired faces, but rather only identifies faces that are completely projected inside the closed curve and removes them. The selection of the first set of faces is therefore efficient and constitutes an improved user / machine interaction.
[0078] Defining the closed curve may include drawing the closed curve on the display. The closed curve encompasses the first set of faces and may encompass additional faces. The closed curve may be displayed as a solid or dotted line on the display. The area bounded (e.g., enclosed) by the closed curve may be, in examples, a planar, simply connected area on the display, i.e., the closed curve forms the boundary of the area. The domain may be (e.g., substantially) rectangular, circular, square, elliptical, or triangular. Drawing the closed curve may include a first user interaction at a first position with the display, for example by clicking (e.g., by a haptic device such as a mouse) or touching (e.g., by a user's finger). The first user interaction may be maintained. Drawing the closed curve may then include performing a drag and / or a slide and / or a translation on the display from the first position to the second position on the display. Performing the dragging and / or sliding and / or translating may consist of dragging and / or sliding and / or translating the user's haptic device or finger cursor from a first position to a second position, e.g., while following (e.g., substantially) the diagonal of a rectangle or square, or the diameter of a circle, or the axis of a triangle or ellipse, or the average of any closed path that starts and ends at the first position (where the first and second positions are identical). The first user interaction may be maintained throughout the drawing of the closed curve and released to finish the drawing and fix the curve.
[0079] The projection of the face on the display may be an orthogonal projection of the face onto a domain bounded (e.g., enclosed) by the closed curve. Thus, each projection of each face may be calculated automatically by a CAD system, for example, according to one or more stored known mathematical formulas. A closed curve encompasses a set of faces only if each projection of each face of the set is completely contained inside the closed curve, e.g., completely contained in a region bounded (e.g., enclosed) by the closed curve. In an example, the closed curve encompasses a first set of faces.
[0080] In examples, the selecting further includes dividing, automatically by the CAD system, the identified faces into disjoint connected subsets of faces, where only one subset is the first set of faces. In these examples, the selecting further includes, automatically by the CAD system, discarding all other subsets.
[0081] As a result, regardless of the user-defined accuracy of the closed curve, the method automatically retains the first set of faces among all faces encompassed by the user's closed curve. In other words, the user does not need to define an accurate, complex closed curve that exactly encompasses the first set of faces. Instead, the user only needs to define a simple closed curve that at least (e.g., roughly) encompasses the first set of faces, and the system automatically retains and outputs the first set of faces. Thus, the method is highly ergonomic.
[0082] In the examples, the CAD system automatically visits all identified faces and finds all maximal connected subsets of faces. In these examples, a subset of connected faces in the set of all identified faces is maximal if adding one identified face to the connected subset forms a set of disconnected faces. In other words, since the identified faces correspond to nodes of subgraphs of the B-rep dual graph, each maximal connected subset of faces corresponds to a node of a respective maximal connected component of the subgraph. The maximal connected subsets of faces form a partition of the set of all identified faces, and are, by theory, disjoint from one another.
[0083] In the examples, a face is visible if there are no other faces between it and the interior of the closed curve. A face is partially visible if only part of it is visible. In these examples, only one subset is the only subset of faces resulting from the division that contains at least one (e.g., partially) visible face. All other subsets are discarded, since they contain only invisible faces.
[0084] Discarding all other subsets means that at the end of the selection, only the first set of faces remains, which is provided in step S20.
[0085] An embodiment of the step S20 of providing a first set of surfaces will now be described with reference to figure 29. The step S20 of providing a first set of surfaces is performed by using a graphical trap and trapping algorithm.
[0086] Graphical trap selection involves a user drawing a rectangle on the display of the CAD system (e.g., with two mouse clicks, e.g., one click at each end of the diagonal of the rectangle). The rectangle edges are horizontal and vertical, respectively. On the one hand, this roughness of the shape makes it very easy to place and size it from the user's point of view. On the other hand, even if the user defines the smallest possible rectangle to contain the set of interesting faces, some undesired faces may fall inside the rectangle anyway. A trap algorithm is applied to discard the undesired faces. Given a B-rep and a user-defined graphical trap, the trap algorithm selects the set of relevant faces in three steps. The first step is to identify whether all faces of the B-rep included in the trap are visible or not. By definition, a face is included in the trap if its projection on the display is included in the rectangle that defines the trap. These faces are called trapped faces. The second step is to calculate the adjacency relations within the trapped faces. This divides the captured faces into disjoint connected subsets of adjacent faces. All subsets that contain only non-visible faces are discarded. That leaves only one subset that contains at least one visible face, this subset being the first set of faces provided in step S20.
[0087] For example, consider the B-rep in the left diagram of FIG. 29 with a shape trap (dotted rectangle). This user selection defines the trapped faces {1,2,3,4,5} according to the first step of the algorithm. Note that faces 3, 4, 5 are not visible on the B-rep. According to the second step, the adjacency calculation results in a first subset {1,2,3} and a second subset {4,5}. According to the third step, the subset {4,5} is discarded since it contains only non-visible faces, and the subset {1,2,3} is kept since it contains at least one (partially) visible face. Thus, the first set of faces of S20 provided is {1,2,3}. Note that the algorithm is able to select face 3, even though it is not visible. Face 3 is relevant since it defines the front notch.
[0088] Next, step S30 of recognizing the second set of faces will be described.
[0089] The recognizing step S30 is performed automatically by the CAD system. In other words, when the first set of faces and feature types are provided in the providing step S20 and received as input for the recognizing step S30, the recognizing step, for example, automatically recognizes the second set of faces throughout execution (e.g., by one or more processors of one or more algorithms that take as input the first set of faces and feature types). In these examples, upon receiving input by the one or more algorithms, the CAD system automatically executes and / or performs the one or more algorithms, which execution and / or execution results in the recognition (e.g., detection or determination) of the second set of faces. The recognizing step S30 can include the execution of any set of one or more algorithms adapted to recognize faces that represent features of the provided feature types in the first set of faces.
[0090] The method recognizes, in a very efficient and ergonomic way, faces representative of features of a provided feature type. In particular, a first set of faces is provided, which encompasses all faces representative of features. Thus, instead of selecting one face among the faces representative of features of the provided feature type and trying (e.g. iteratively) to identify other faces representative of features of the provided feature type, one or more of said other faces being potentially missing, the method starts with a larger set of faces (the first set of faces provided). Then, the method recognizes a subset (the second set of faces) within this larger set of faces, which subset is made of faces representative of features of the provided feature type. None of these faces are missing. Furthermore, the recognition of faces representative of features of the provided feature type is performed automatically, resulting in a step S20 providing a larger set which can be performed by the user in a very ergonomic way. The method is therefore very ergonomic and efficient.
[0091] In an example, the recognizing step S30 outputs a second set of faces. In an example, all faces of the face set are combined to form data corresponding to the second face set. In an example, as a result of the recognizing step S30, there is a pointer to a memory space in which all data relative to all faces of the second face set is stored. In an example, the method includes storing the data relating to the second face set and / or transmitting the data, for example over a network, to another CAD system.
[0092] In an example, the recognized second set of surfaces may be processed. Processing the second set of surfaces may include one or more of the following: Extracting the second set of faces from the B-rep and / or displaying it, for example in a separate window in the CAD system's display and / or highlighting it in the display of the B-rep. applying one or more design and / or editing operations (e.g., change dimension, change size, change thickness, translate, change thickness, rotate, cut, copy, copy, and / or paste) to all faces of the second set of faces in an automated and uniform manner; and / or Applying one or more design and / or editing operations (e.g., translation, change size, change dimension, circularity, fillet, draft angle, and / or change thickness) automatically and in a uniform manner to all edges of one type (e.g., sharp type, smooth type, knife type, convex type, or concave type) interface faces of the second set of faces.
[0093] Applying an operation to a set of faces and / or edges in an automatic and unified manner comprises specifying the set and the operation (e.g., in response to a user action), initiating the operation (e.g., in response to a user action, by interacting with a CAD system), and automatically (e.g., by the CAD system) applying the operation to all objects in the set (e.g., substantially) and / or simultaneously (e.g., substantially). Rounding or filleting edges of B-rep can smooth the shape of detected features. This provides a geometry detection feature adapted for easy application of manufacturing tools in machining processes of machine parts, such as milling tools in machining processes, forming matrices in forming processes, rotary cutting tools in drilling processes, non-rotary cutting tools in turning processes, hammers or dies in forging processes, stamping presses and / or press brakes in pressing processes, or folders or panel benders in folding and bending processes.
[0094] In examples, the second set of faces forms connections between one or more base subsets. In these examples, when the provided feature type is a dent feature type, the base subsets are as follows (e.g., defined as follows): A connected set of one or more faces that is bounded only by convex edges or rounded faces, and does not include convex interior edges or rounded faces. Either not smooth skin or smooth skin that meets the concave criteria Additionally or alternatively, when the provided feature type is a protrusion feature type, the basic subset is as follows (eg, defined as follows): A connected set of one or more faces that are bounded only by concave edges or fillets and do not include concave internal edges or fillets; Either it is not a smooth skin or it is a smooth skin that satisfies the convexity criterion.
[0095] In an example, the one or more base subsets include two or more base subsets.
[0096] The method is particularly efficient in that it allows the recognition of several basic subsets within a larger set of faces (i.e. the first set of faces). In contrast, a method starting from an initial face that is part of a basic subset and that attempts to iteratively visit the neighboring faces of the initial face to identify the basic subset may block when crossing a convex or rounded edge (in the case of dent recognition) or a concave or rounded edge (in the case of protrusion recognition). Such a method would therefore at most recognize one basic subset. To recognize further basic subsets, it would be necessary to start from another initial face and revisit the neighboring faces again, which is less efficient. However, the method is very efficient, since internal convex (or concave) edges and rounded (e.g. fillet) faces do not prevent the recognition of several disjoint subsets. Moreover, selecting several initial starting faces is not as ergonomic as step S20 of providing a first set of faces according to the method. Moreover, the method allows the recognition of connections between the basic subsets.
[0097] If the provided feature type is a depression feature type, the basic subset may be referred to as "basic depressions" or "representing basic depressions", and additionally, or alternatively, if the provided feature type is a protrusion feature type, the basic subset may be referred to as "basic protrusions" or "representing basic protrusions".
[0098] Next, the convex and concave references will be described.
[0099] In an example, a smooth skin that is bounded only by convex (or concave) edges or rounded (fillet) faces, contains no convex (or concave) internal edges, and contains no rounded (or fillet) faces, respects the concave (or convex) criterion if the smooth skin is concave (or convex) relative to the inward orientation of the B-rep. As an example, a smooth skin will be relatively inwardly concave (or convex) if it is a single fillet (or round) face, or if the face obtained by suppressing all internal edges of a smooth skin and fusing all faces of the smooth skin is a fillet (or round) face.
[0100] In an example, a smooth skin that is bounded only by convex edges or rounded faces and does not contain convex internal edges or rounded faces satisfies the concave criterion if the smooth skin cannot be arbitrarily offset in the direction of its normal vector while remaining smooth. Alternatively or additionally, a smooth skin that is bounded only by concave edges or filleted faces and does not contain concave internal edges or filleted faces satisfies the convex criterion if the smooth skin cannot be arbitrarily offset in the opposite direction of its normal vector while remaining smooth.
[0101] In other words, in an example, a smooth skin that is bounded only by convex edges or rounded faces, does not contain convex internal edges, and does not contain rounded faces satisfies the concave criterion if there is an offset of the smooth skin in the direction of its normal vector such that the edge is not smooth. Alternatively or additionally, a smooth skin that is bounded only by concave edges or filleted faces, and does not contain concave internal edges or filleted faces satisfies the convex criterion if there is an offset of the smooth skin in the opposite direction of its normal vector such that the edge is not smooth.
[0102] Thus, the method allows the recognition of basic depressions (or depressions) that are smooth skinned.
[0103] 22 shows three examples of B-reps each consisting of three smooth skins 222, 224, and 226, each bounded only by convex edges or rounded faces, with no convex interior edges, and no rounded faces at all. Each smooth skin 222, 224, 226 respects the concavity criterion such that if the feature type provided is a dimple feature type, in other words, a primitive dimple, then each smooth skin 222, 224, 226 is a primitive subset.
[0104] Next, examples of convex and concave references will be described.
[0105] In these examples, the smooth skin forms a smooth parameterized surface. The parameterized surface is a mapping
number
number
number
number
[0106] A self-intersection of a surface S is determined by a pair of parameter values such that
number
number
number
number
number
number
number
number
number
number
number
number
number
number
number
number
number
number
number
number
number
[0107] FIG. 23 represents a basic dimple, showing the smooth skin of a U-shape made from two vertical wall faces, two filleted corner faces, and a horizontal base, hence the common radius of the corner fillets.
number
number
number
number
number
number
[0108] Here, the concept of connection will be explained.
[0109] In examples, the connectivity between one or more base subsets is a connected set of faces that includes one or more base subsets. In examples, the set of all faces of one or more base subsets is a disconnected set of faces. In these examples, the connectivity between one or more base subsets is a connected set of faces that includes one or more base subsets and one or more additional faces that connect one or more base subsets, i.e., one or more additional faces that are added to the set of all faces of one or more base subsets, making it connected. In examples, each face of the one or more additional faces does not belong to any candidate base subset. In examples, the set of all faces of one or more base subsets is a connected set of faces.
[0110] In the examples, the interface between two sets of faces consists of one or more edges shared by one or more faces of the two sets and / or one set, and one or more face sets are adjacent to each of the two sets. Two sets are connected if they share an interface, i.e., if there is an interface between the two sets. In these examples, the second set of faces forms a connection between two or more base subsets when, for each base subset, there exists at least one interface between the base subset and another base subset. In other words, a base subset is connected to at least another base subset. And the faces of said at least one interface, if any, are included in the second set of faces. All faces of all base subsets are also included in the second set of faces. In the examples, one or more base subsets consist of exactly one base subset, and the second set of faces consists solely of said one base subset.
[0111] In the example, the second set of faces includes all the fundamental subsets of the first set.
[0112] In these examples, all basic subsets in the first set are identified and / or found during the identifying step S30. For example, let the first set of faces be S1 and the second set of faces be S2. Then, the set
number
[0113] In the examples, each base subset is connected to at least one other base subset. In these examples, two base subsets are connected if they share either only edges of a given edge type or only faces of a given face type. If the provided feature type is a recess feature type, the given edge type is a convex edge type and the given face type is a rounded face type. If the provided feature type is a protrusion feature type, the given edge type is a concave edge type and the given face type is a fillet face type.
[0114] The method thus recognizes faces representing hollow features (or protruding features) and allows for the formation of connections between disjoint subsets even if the connections include internal convex (or concave) edges or round (or fillet) faces. The method is thus highly efficient in that the recognition step S30 is not blocked (e.g., stopped) by internal edges or faces. In the example, connections between basic subsets that include internal convex (or concave) edges or round (or fillet) faces represent complex hollows (or protrusions). Figure 21 shows four examples of B-reps 212, 214, 216, 218, each B-rep showing a set of faces representing a complex depression. The sets of faces are shown for clarity to be enclosed in dashed rectangles 2122, 2142, 2162, and 2182, respectively. The method allows for the recognition of complex hollows (or protrusions). For example, complex hollows such as those represented by B-reps 212, 214, 216, 218 can be detected by the method.
[0115] In examples, the edge type and / or surface type are pre-determined in that they may be one or more parameters of one or more algorithms included in the recognizing step S30. In these examples, these one or more parameters may be specified (e.g., set) as a result of the feature type providing step S20. For example, the feature type providing step S20 may automatically trigger the specification of edge type and / or surface type for detection of features of the provided feature type. Additionally or alternatively, the pre-defined edge type and / or surface type may be specifically included in one or more algorithms involved in the step S30 of recognizing a particular protrusion (or recess feature).
[0116] In examples, the basic subsets represent basic features of the provided feature type, i.e., basic protrusions or basic depressions. In these examples, a basic feature is either a feature in itself, i.e., a layout of material that performs a mechanical function, or a part of a feature, i.e., a sublayout of (e.g., a part of) a layout of material that is a feature. In these examples, a feature made up of two or more basic features is a complex feature of the provided feature type (hence a complex depression or a complex protrusion).
[0117] As discussed above, a feature can have a geometry that is a combination of one or more basic geometries. In an example, the layout of materials forming the basic feature corresponds to and / or is represented by and / or formed by one basic geometry. In an example, the geometry of a complex feature made up of two or more basic features is obtained by combining the basic geometries of two or more basic features.
[0118] In the example where the second set of surfaces consists of exactly one basic subset, the features represented by the surfaces of said basic subset may be basic features, in other words said basic subset may correspond to a part of a B-rep that models and / or represents the basic geometry of the basic feature.
[0119] In examples where the second set of faces form connections between two or more basic features, the feature represented by the second set of faces may be a complex feature made up of two or more basic features, each represented by one of two or more basic subsets. Each basic subset may correspond to a portion of a B-rep that models and / or represents a basic geometry of the basic feature represented by the basic subset. The connections formed by the second set of faces may represent a combination of the basic shapes of the two or more basic features that form the shape of the complex feature.
[0120] For example, a complex feature may consist of several sets or groups of basic features, each set consisting of basic features or consisting of connections between the basic features, the sets being separated one by one (i.e. the complex feature does not correspond to connections between the sets or between some of them). Thus, in such an example, the method allows to recognize sets of each second facet forming a respective one of the basic feature sets. Thus, by repeating the method, it becomes possible to recognize a complex feature consisting of several sets.
[0121] The method thus allows the recognition of both basic and complex features: in particular complex depressions (or protrusions) characterized by internal convex (or concave) edges and / or rounded (or filleted) surfaces are detected by the method.
[0122] Here, an example of the recognition step S30 will be described.
[0123] In the examples, the step S30 of recognizing includes a step S310 of determining one or more candidate basic subsets. If the provided feature type is a concave feature type, the candidate basic subset is a connected set of one or more faces that are bounded only by convex edges or rounded faces and do not include convex internal edges and rounded faces (e.g., defined as ). Alternatively or additionally, if the provided feature type is a protrusion feature type, the candidate basic subset is a connected set of one or more faces that are bounded only by concave edges or filleted faces and do not include concave internal edges and filleted faces (e.g., defined as ). The step S310 of determining one or more candidate basic subsets divides faces that each belong to exactly one candidate basic subset and faces that do not belong to the candidate basic subsets. In these examples, the step S30 of recognizing further includes a step S320 of identifying one or more basic subsets from the determined candidate basic subsets.
[0124] In S310, determining one or more candidate base subsets includes searching in the first set of faces for all subsets of faces that respectively verify a definition of a candidate base subset (note that said definition depends on the provided feature type as written above). The step S310 of determining one or more candidate base subsets may also include a step of outputting data corresponding to said subsets of faces and / or a step of providing respective pointers respectively pointing to respective memory spaces in which data corresponding to each one of said subsets of faces is stored. The step S310 of determining one or more candidate base subsets divides the first set of faces in that, as a result of the step S310 of determining one or more candidate base subsets, each face of the set of faces either belongs to exactly one candidate base subset or does not belong to any candidate base subset. In an example, such partition of the first set of faces is unique.
[0125] A candidate elementary subset is a connected set of one or more faces that partially verifies the definition of an elementary subset (which again depends on the provided feature type, as described above). In particular, if the provided feature type is a concave feature type (or a protruding feature type), the base subset is a candidate elementary subset that is a non-smooth skin, or a smooth skin that satisfies the concave (or convex) criterion. In other words, the set of all candidate elementary subsets includes the set of all elementary subsets. In the example, the set of all candidate elementary subsets strictly includes the set of all elementary subsets, which means that the two sets are not equal.
[0126] The step S320 of identifying one or more base subsets among the determined candidate base subsets includes, for each candidate base subset, if the provided feature type is a concave feature type (or a protruding feature type), retaining it if the candidate base subset is a non-smooth skin or a smooth skin that satisfies the concave (or convex) criterion, and discarding it if it is a smooth skin that does not satisfy the concave (or convex) criterion. In an example, retaining the subset of facets includes outputting data corresponding to the subset and / or providing a pointer to a memory space in which the data corresponding to the subset is stored.
[0127] The step S30 of recognizing the second set of faces includes the step of recognizing one or more basic subsets, i.e. all of them. The definition of a basic subset must meet more requirements than the definition of a candidate basic subset in order to be verified. In other words, candidate basic subsets are easier and faster to identify than basic subsets, since less verification is required. Thus, instead of directly recognizing all basic subsets, the method first recognizes all subsets that partially verify the definition of the basic subset (i.e. candidate basic subsets), which is easier than checking that the entire definition is verified, and discards faces (first set of faces not included in the candidate basic subsets) that cannot possibly be part of the basic subset at all (because they do not comply with at least part of the definition of the basic subset). Secondly, since in S320 the identification of the basic subsets is performed on a set of faces (i.e. the set of all candidate basic subsets) that is (for example) smaller than the first set of faces (i.e. the set of all candidate basic subsets), it is easier and faster, since on this set of faces only part of the definition of the basic feature remains to be verified. In other words, instead of recognizing all the basic subsets in one long and difficult step, the method recognizes all the basic subsets in two shorter and easier steps. Therefore, the method is very efficient.
[0128] Next, an example of step S310 of determining one or more candidate basic subsets will be described.
[0129] In an example, the step S310 of determining one or more candidate base subsets includes repeatedly visiting the first set of faces. Visiting the face includes determining whether the face should be included in the candidate base subset. Visiting the face further includes including the face in the base subset if the face should be included in the candidate base subset and determining that the face should not be visited again.
[0130] Repeatedly visiting the first set of faces means that the first set of faces are visited one at a time (e.g., one by one) until finally, all the faces of the first set have been visited. Each time a face is visited, it is included in one and only one candidate base subset, in which case the face cannot be included in another candidate base subset or is not included in a candidate base subset when the face is visited. If the face is included in a candidate base subset, it is determined that the face should not be visited again since it is not part of another candidate base subset (by the definition of the candidate base subset). In this way, the step S310 of determining one or more candidate base subsets effectively partitions the first set of facets between the candidate base subsets and other facets that do not belong to any other candidate base subset. Because each time a candidate base subset is determined, there are smaller facets to visit for the next determination of the candidate base subset. Therefore, the method is very efficient.
[0131] In one example, prior to step S310 of determining one or more candidate base subsets, all faces in the first face set are marked (e.g., labeled) as "unvisited." In these examples, determining S310 includes running an algorithm that iteratively visits the faces in the first face set. The algorithm starts by visiting a first face in the first face set, and the first face is marked as "visited." Marking a face as "visited" is determining that the face will not be visited again by the algorithm. The first face may be randomly selected (e.g., selected, e.g., provided to the algorithm) from among the faces in the first face set. The algorithm then iteratively visits all adjacent faces to the initial face, collecting all adjacent faces that share a predefined type of edge with the initial face or that share a smooth edge with the initial face and are not of the predefined face type. If the provided feature type is a concave feature type (e.g., a protrusion feature type), the predefined face type is a round (e.g., a fillet) face type and the predefined edge type is a concave (or convex) edge type. All the collected adjacent faces are marked as "visited." The algorithm then collects all adjacent faces of each previously collected adjacent face that either share a predefined type of edge with a previously collected adjacent face, or share a smooth edge with a previously collected adjacent face, and the newly collected face is marked as "visited" instead of the previously collected adjacent face type, etc. Thus, the algorithm performs an iterative collection of adjacent faces, resulting in the identification of a candidate base subset that includes the initial face. It is possible that the candidate base subset consists exactly of the first face, i.e., no adjacent faces are collected. Next, the algorithm visits the unvisited faces of the first set of faces (i.e., the faces marked as "unvisited") and re-performs an iterative collection of adjacent faces of said unvisited faces, and so on, until all faces of the first set are marked as "visited".
[0132] Next, an implementation of step S310 of determining one or more candidate basic subsets will be described. In this embodiment, the provided feature type is a dimple feature type. Determining S310 includes running a propagation algorithm on the provided first set of faces. Let the first set of faces be F and the number of candidate basic features be n. The propagation algorithm is described by the following pseudocode:
number
[0133] The function ElemDepression(f) is to repeatedly visit the neighboring faces f of the first face until a convex edge or a rounded face is reached. The propagation algorithm uses a last-in-first-out (LIFO) list H and an output list E. The LIFO list is the internal data structure for the propagation. It is used by the standard instructions Push(·), Pop(·), and Size. The instruction Push(x) adds an object x to the top of the list and increments its size. The instruction Pop(x) creates the last object x in the list, removes it from the list, and decrements its size. The output list E contains the faces of the candidate basic subset starting at the input face. The function ElemDepression(f) is explained in the following pseudocode:
number
number
number
[0134] Next, another embodiment of step S310 of determining one or more candidate basic subsets will be described. In this embodiment, the provided feature type is a protruding feature type. The determining S310 includes running a propagation algorithm on the provided first set of faces. Let the first set of faces be F and the number of candidate basic features be n. The propagation algorithm is described by the following pseudocode:
number
[0135] The function ElemProtrusion(f) repeatedly visits the neighboring faces of an initial face f until a concave edge or fillet face is reached. The propagation algorithm uses a last-in-first-out (LIFO) list H and an output list E. The LIFO list is the internal data structure for the propagation. It is used by the standard instructions Push(·), Pop(·), and Size. The instruction Push(x) adds an object x to the top of the list and increments its size. The instruction Pop(x) creates the last object x in the list, removes it from the list, and decrements its size. The output list E contains the faces of the candidate basic subset starting with the input face f. The function ElemProtrusion is explained in the following pseudocode:
number
[0136] In the example, each of the two propagation algorithms of the two implementations above is specifically linked to a provided feature type, i.e. exactly one propagation algorithm is created for one feature type. In the example, the propagation algorithm is the same for both feature types, but the functions ElemProtrusion or ElemDepression are two different instances of the parameters of the propagation algorithm, said parameters being set (e.g. specified) as a result of the step S20 of providing the feature type.
[0137] FIG. 28 shows a flow chart illustrating the implementation of step S310 of determining whether smooth skin is a candidate base subset, and step S320 of identifying whether the candidate base subset is a base subset.
[0138] In an example, the recognizing step S30 includes a step S330 of combining the identified basic subsets. If the provided feature type is a dent feature type, two basic subsets are combined if they share only convex edges or if they are adjacent to the same set of one or more rounded faces, in which case the one or more rounded faces are combined with the two basic subsets. Additionally or alternatively, if the provided feature type is a dent feature type, two basic subsets are combined if they share only concave edges or if they are adjacent to the same set of one or more filleted faces, in which case the one or more filleted faces are combined with the two basic subsets.
[0139] The step S330 of combining the basic subsets includes forming connections between all the basic subsets that are of a second set of faces. In other words, by combining the basic subsets, a second set of faces is formed and / or output. Forming the connections includes forming (e.g., iteratively, e.g., one by one) each interface between every two basic subsets to be connected, i.e., two subsets that share either only edges of a given edge type or only faces of a given face type.
[0140] In an example, a combining step S330 consists in all faces of the face set being merged to form data corresponding to a second face set. In an example, as a result of the recognizing step S30, there exists a pointer to a memory space in which all data relative to all faces of the second face set is stored.
[0141] In the example previously described with reference to FIGS. 26 and 27, the basic subsets L3 and L4 share only convex edges, so
number
number
Claims
1. 1. A computer-implemented method for designing a 3D modeled object representing a mechanical part in a CAD system, comprising: - providing a B-rep (S10) representing a mechanical part, said B-rep having faces and edges; - providing a first set of surfaces and feature types (S20), the feature types being either pit feature types or protrusion feature types; Recognizing (S30), automatically by the CAD system, a second set of faces within the first set of faces, said second set of faces representing features of a provided feature type. Including, the second set of faces form connections between one or more basic subsets, where a smooth skin is a face or set of connected faces having only smooth internal edges; if the provided feature type is the concave feature type, the base subset is a connected set of one or more faces bounded only by convex edges or rounded faces and does not include convex internal edges and no rounded faces, the base subset being either non-smooth skins or smooth skins satisfying a concavity criterion; and / or if the provided feature type is the protrusion feature type, the base subset is a connected set of one or more faces that are bounded only by concave edges or fillet faces and do not include concave internal edges and fillet faces, and the base subset is either not a smooth skin or is a smooth skin that satisfies a convexity criterion; A smooth skin that is bounded only by convex edges or rounded faces, does not contain convex internal edges, and does not contain rounded faces satisfies the concavity criterion if the smooth skin cannot be arbitrarily offset in the direction of its normal vector while remaining smooth, and / or A smooth skin that is bounded only by concave edges or fillets, does not contain any concave internal edges, and does not contain any fillets satisfies the convexity criterion if the smooth skin cannot be arbitrarily offset in the opposite direction of its normal vector while remaining smooth. method.
2. The second set of faces includes all fundamental subsets of the first set. The method of claim 1.
3. Each basic subset is connected to at least one other basic subset, and two basic subsets are connected if they share only edges of a given edge type or only faces of a given face type; if the provided feature type is a concave feature type, the predetermined edge type is a convex edge type and the predetermined surface type is a rounded surface type; and / or if the provided feature type is a protrusion feature type, the predetermined edge type is a concave edge type and the predetermined face type is a fillet face type; The method according to claim 1 or 2.
4. The step of recognizing (S30) - determining one or more candidate basic subsets (S310), if the provided feature type is the hollow feature type, the candidate basic subset is a connected set of one or more faces that are bounded only by convex edges or rounded faces and do not include convex internal edges and no rounded faces; and / or If the provided feature type is a protrusion feature type, then a candidate base subset is a connected set of one or more faces that are bounded only by concave edges or fillet faces and do not include concave interior edges and fillet faces; The step of determining one or more candidate basic subsets (S310) comprises dividing the first set of faces into faces each belonging to exactly one candidate basic subset and faces not belonging to any candidate basic subset; - Identifying one or more basic subsets from among the determined candidate basic subsets (S320). The method of claim 1.
5. The step of determining the one or more candidate basic subsets (S310) comprises repeatedly visiting the first set of faces, the step of visiting the faces comprising: - determining whether the face should be included in the candidate basic subset; If the face should be included in the candidate basic subset, then including the face in the basic subset and determining that the face should not be visited again; The method of claim 4 , comprising:
6. The step of providing a first set of surfaces (S20) comprises: - displaying the B-rep on a display of the CAD system; Selecting an initial set of faces through graphical user interaction; The method of any one of claims 1 to 5, comprising:
7. the step of selecting the first set of faces comprises the steps of: defining a closed curve on a display by graphical user interaction; - automatically identifying, by a CAD system, each face of the B-rep projected into the closed curve; The method of claim 6, comprising:
8. The step of selecting the first set of faces comprises: - partitioning the identified faces into disjoint connected subsets of faces, where only one subset is the first set of faces; - discarding all other subsets; is performed automatically by the CAD system. The method according to claim 7.
9. The mechanical part is Molded parts, ・Machine processed parts, ・Drilling parts, ・Lathe processed parts, ・Forged parts, Pressed parts, and / or ・Folding parts The method according to any one of claims 1 to 8, wherein
10. If the feature type is a dent feature type, the features of the specified feature type are ・Mass reduction characteristics, - Space reservation features, Fixed features, Hardness characteristics, Adjustment features, Positioning features, - mechanical joining features; Cooling characteristics, - Space reservation features, Rotational or cylindrical mechanical joint features; Assembly features, and / or ・Rigidity characteristics The method according to any one of claims 1 to 9, wherein
11. A computer program for causing a computer to execute a method according to any one of claims 1 to 10.
12. A computer-readable storage medium having the computer program according to claim 11 recorded thereon.
13. 12. A computer comprising a processor coupled to a memory having a computer program according to claim 11 recorded thereon and a display, the processor being operated by said computer program.
Citation Information
Patent Citations
Method for generating mesh model
JP2007233560A
Image retrieving device, image retrieving method, and program
JP2009053864A
Data processing system and method
WO2016178106A1
