Читать книгу Computer Aided Design and Manufacturing - Zhuming Bi - Страница 71

2.4.5.5 Data Structure of CSG Models

Оглавление

Figure 2.32 shows that a CSG model consists of geometric and topological data, which is similar to a model from the B‐Rep modelling process. A data structure of a CSG model does not give the model shape directly; instead, it consists of a number of solid primitives and combines them through a procedural description. More specifically, the data structure corresponds to a graph and tree as the history of applying the Boolean operations on solid primitives, in such a way that:

1 The topological information is stored in a binary tree format.

2 The outer leaf nodes correspond to solid primitives.

3 The interior nodes are the Boolean operations over solid primitives or components.

Figure 2.33 shows the data structure of an example CSG model. It consists of two data types: (i) three solid primitives, i.e. two blocks with different dimensions and one cylinder, and (ii) a topological tree, i.e. one union operation of two blocks and then one difference operation of the united component with the cylinder.


Figure 2.33 Data structure example of a CSG model.

Since CSG modelling begins with solid primitives, CSG models are always valid and they have complete and unambiguous information of solids. In addition, the primitives are defined directly at the volume level and low‐level entities such as vertices, edges, and faces are defined implicitly. However, an entity at any level of solid can be utilized and accessed readily when it is needed. The advantages of CSG modelling are:

1 It constructs a solid model with the minimized steps.

2 It leads to a concise database with less storage since the entities at the low level are represented implicitly.

3 It provides a complete history of the model, which is retained but can be altered at any phase of product design.

4 A CSG model can be easily converted to the corresponding boundary representation.

The tools for CSG modelling were introduced in the 1980s. However, early CSG modelling tools suffered from a number of limitations as follows:

1 They can only provide far fewer types of basic solid primitives in modelling than the vast number of varieties that would be required in engineering practice.

2 CSG modelling does not adequately support engineering thinking. It implies that a final solid model is created from a theoretical sketch through continued modifications. In other words, traditional CSG modelling is rather used to reconstruct solid models than to actually design.

3 CSG modelling does not provide a comprehensive description of solids to be modelled. Early CSG models do not cover the information on microgeometry, materials, and physical characteristics. All of the above are important for operation, manufacturing, and control of products.

Computer Aided Design and Manufacturing

Подняться наверх