Elsevier

Computer-Aided Design

Volume 43, Issue 6, June 2011, Pages 699-706
Computer-Aided Design

Direct generation of extended STL file from unorganized point data

https://doi.org/10.1016/j.cad.2011.02.010Get rights and content

Abstract

An extended STL file format is presented in this paper. Differing with existing solutions, it proposes a new format to produce and store triangles. The format uses a cluster unit composed of several triangles. The main advantages of the format are that it contains both geometry and topological information and has improved storage capability. Direct generation of the extended STL from the scanned data has a great advantage in that it can reduce the time and error in modeling process. In order to obtain the format from unorganized point cloud, a new triangulation algorithm was introduced. The algorithm is based on reconstructing the relative Delaunay triangulation of the sample points on the surface. Other advantages of the extended STL format were also presented in this paper.

Highlights

► We present an extended STL file format in this paper. ► It stores and sends data at high speed. ► The new format needs to store and reconstruct less point information. ► The number of points stored with the format is one third of the number with the STL format.

Introduction

Since the life cycle of products is getting shorter due to the rapid industrial development, the efficient reduction of the new production development time and the manufacturing process should be the significant issue. To cope with customer’s diverse needs and aesthetic design, which are considered in design process, reverse engineering has become important these days in real workshops. Reverse engineering refers to the process of creating design data from existing parts [1], [2], [3], [4]. It recreates or clones an existing part by acquiring the surface data of an existing part using a scanning or measurement device. It is useful in recreating the CAD model of an existing part when the design engineering design is lost or other conditions. The CAD model developed by the reverse engineering (RE) process can be converted to the physical prototype using a rapid prototyping (RP) technique. Generally, in RP, physical parts are fabricated layer by layer. It uses additive manufacturing processes, which do not need a tool compared to the subtractive techniques used in the traditional machining operation. Although, different fabrication methods exist for RP, nearly all use the same geometry input format, called STL (Stereo Lithography), which consists of a list of triangular facet data. The STL format has advantages due to its sample structure and ease of use, but it also has serious drawbacks [5].

The shortcomings of the STL have been discussed by many researchers for the last several years [6], [7], [8], [9], [10], [11], [12], [13], [14]. Chandrajit [6], proposed an automatic surface reconstruction algorithm to obtain surfaces and fields from 3D scan data. In [7], Yan and Gu categorized the common sources of errors in RP and state that the approximation used in the STL format as one of the major errors. Makela and Dolenc [8] and Rock and Wozny [9] also discussed STL file problems. Stroud and Xirouchakis [10] summarized the deficiencies of STL as following. There is redundancy in the format since the facet normal can be determined in two different ways. The vertices are ordered counter-clockwise round the facet, this determines the facet normal, so the normal specified in the STL format line is redundancy, unless the facet is very small in which case the normal calculated from the vertex positions is inaccurate. Another deficiency is the lack of coherence between the facets. There is no information except for the vertex positions, which means that it is necessary to search for matching vertices if the model is to be recreated. This is potentially time consuming and dangerous, since the geometric point positions are inherently inaccurate and it is necessary to use a tolerance to test for coincidence. Finally, technological information could not be attached since the facet–face relationship is not defined and therefore, it is not possible to identify the faces of the object in the approximation. Also, Kumar and Dutta [11] summarized the shortcomings of STL, the intrinsic problems, the problems in conversion to the STL format and the problems in process planning due to STL. The deficiencies of STL are well known, this is merely a summary of some of the known problems. Cazals and Giesen [12] presented a Delaunay triangulation algorithm to reconstruct surface from data points. Hur [13] introduced a STL file generation algorithm based on data reduction. Yong-bo [14] gave a Delaunay-based algorithm to reconstruct surface from unorganized sampled points. Kumar and Dutta [11] also presented the alternatives to STL that have been proposed in the literature. It is clear that STL should be replaced by a suitable, more sophisticated format such as STEP standard, which adequately reflects RP’s needs as a manufacturing method of growing importance. The use of STEP has already been proposed by [15], [16], [17]. However, this possibility is difficult because of the well-known problem of introducing new standards. Such that, based on STL format, some researchers presented its extensions [10], [18].

The extensions to STL format should avoid the deficiencies mentioned above and can exchange/transfer with standard STL and other formats easily. In this research, we developed a new extended STL format. The motivation behind our extensions is the voronoi graph. This paper proposes the new extended STL format based on layered manufacturing (LM) system shown in Fig. 1. Given a set of unorganized points, which lie approximately on the boundary surface of a physical object, for which there is no a priori information about the topology of the given data points. Direct generation of extended STL file from data point points is pivotal in the system. The extend STL file is then sliced to generate a series of layers for RP fabrication.

In Section 2, we present a new algorithm for triangulation of data points. In Section 3, an extended STL format is introduced in detail. Section 4 outlines a method for generation of rapid prototyping slice files. Section 5 is devoted to discuss the conversion between the proposed extended STL and other formats.

Section snippets

Triangulate surface and direct generation of extended STL file in 3D using unorganized point cloud

The goal of most approaches of triangulation is to build a 3D triangular mesh from a set of data points. Many algorithms are based on the Delaunay tessellation of the sample point set, or an α-shape of the points. The α-shape is also strongly related to discovering the topology of a given points cloud [18]. A generalization of α-shape by using local weights on the local point densities was also suggested in [19]. Similar to Kós triangulation algorithm [20] the motivation behind the proposed

Extensions to STL format

As mentioned above, there are deficiencies in the STL file format: (1) redundancy in the format, (2) lack of a complete geometric description (exact shape reconstruction impossible), and, (3) lack of technological information (such as surface finish) due to lack of a mechanics to attach it. The extended STL file format should correct the main deficiencies, moreover, it should exchange/transfer with traditional STL format easily.

Calculation method for slicing based on extend STL file

The extended STL file format describes the normal vectors and coordinates of the vertices of a cluster unit consisting of one or more triangle facets. The normal vector refers to the direction on the outside the part or the waste material. As shown in Fig. 12, let L be the length between two points of coordinates (B1x,B1x,B1z) and (B2x,B2x,B2z). The slicing plane (Z=Zp) passes through L, and (XP,YP,XP) is the intersection point between the slicing plane and L. Then by parametric representation,

3D model transfer for the extended STL

Why do we call the new exchange format as extended STL file format? From the description of extended STL file format, it is obvious that the extended STL is the standard STL in essence in that it contains a list of cluster units which are consisting of triangular facets.

Being a neutral exchange format, it should be converted from data points and CAD models. Direct generation of extended STL file format from unorganized data points has discussed in Section 2. For rapid prototyping, any 3D model

Experiences and discussion

To test the effectiveness and efficiency of the proposed algorithm for direct generation of extend STL format files from digitized points, several physical objects were manufactured in our lab based on the proposed method. We have implemented the algorithm for triangulation described in Section 2. We also implemented the algorithm for generation of the proposed extended STL file from an existed standard STL file described in Section 3.3. Three industrial examples and results are shown in Fig. 16

Conclusion

An extended STL file format is discussed in the paper. In order to directly generate the extended STL files from unorganized digitized points, an algorithm for triangulation of digitized data points is developed in this paper. The algorithm is based on reconstructing the relative Delaunay triangulation of the sample points on the surface. After triangulation, we obtain a list of cluster units consisting of one or more triangular facets. For layered manufacturing, this paper presents the

Acknowledgement

The authors gratefully acknowledge the National Natural Science Foundation of China (50875165).

Zhongwwei Yin received a Ph.D. degree in Mechanical Engineering from Shanghai Jiaotong University, China. He has been on faculty staff in the school of Mechanical engineering of Shanghai Jiaotong University. Dr. Yin’s current research interests are in the areas of Computer aided geometric design, CAD/CAM, reverse engineering, and rapid prototyping.

References (26)

  • Makela, Dolenc. Some efficient procedures for correcting triangulation models. In: Solid freeform fabrication...
  • Rock, Wozny. Generating topological information from a “bucket of facets”. In: Solid freeform fabrication sysposium. p....
  • F. Cazals et al.

    Delaunay triangulation based surface reconstruction

  • Cited by (20)

    • Surface reconstruction and tissue recognition for robotic-based in situ bioprinting

      2022, Bioprinting
      Citation Excerpt :

      By applying explicit (i.e., surfaces described with their exact location) or implicit (i.e., surfaces described as isocontours of a scalar function) algorithms, the digital model of the body is reconstructed as a triangular mesh [14]. This is usually exported as STL format, which contains the information about the vertices and normal vectors of the mesh triangles, with no units and scale specified [15]. In the literature, there are some attempts (mostly in vitro) of using 3D scanners for the identification and reconstruction of the target defect site.

    • Status, comparison, and future of the representations of additive manufacturing data

      2019, CAD Computer Aided Design
      Citation Excerpt :

      These solutions are either based on the idea of improving the method or built upon the idea of replacing it. For the improvement of the STL format, Leong et al. [123] proposed a generic solution to address the issue of missing facets in the proper creation of a prototype; Stroud and Xirouchakis [124] presented an extended version of STL format with the advantages of avoidance of volume distortion for consistent control of slice and layer approximations and allowance of the attachment of manufacturing information; Chiu and Tan [125] proposed a revised version of STL format to represent multiple material objects in CAD systems; Wu and Cheung [126] presented a scheme to enhance the approximation accuracy and extend the functions of the STL format; Pan and Zhou [127] designed an effective filtering and optimisation algorithm for the STL format; Lee and Kim [128] proposed a method to generate a deformed model which satisfies the given error criteria from an STL model; Yin [129] developed an extended STL file format with the strengths of reducing the time and error in modelling process and improving the storage capability; Navangul et al. [130] presented a chordal error based approach to locally reduce the CAD to STL translation error; Zha and Anand [131] designed a surface-based modification algorithm to adaptively and locally increase the facet density of a STL model; Manmadhachary et al. [132] presented an approach to improve the accuracy, surface smoothing, and material adaption in STL files; Hiller and Lipson [133] developed a new compact extensible markup language (XML) based AM file format named as STL 2.0, which is actually the prototype of the AMF format jointly developed by the International Standardisation Organisation (ISO) and the American Society for Testing and Materials (ASTM) [13]. For the replacement of the STL format, some scholars and institutions either developed new representations or introduced existing representations from other fields to 3D model data representation for AM.

    • Volume element model mesh generation strategy and its application in ship thermal analysis

      2015, Advances in Engineering Software
      Citation Excerpt :

      Furthermore, the strategy allows for the visualization and analysis of VEM computational grids and numerical results using VisIt visualization software [7]. In recent years, several studies have been published proposing methods to construct and refine hexahedral meshes [8–17]. Mesh generation techniques and algorithms developed in previous works created 3D meshes with great accuracy as a result of novel refinement techniques like the octree node-boundary adjustment.

    • CAD Issues in Additive Manufacturing

      2014, Comprehensive Materials Processing
    • CAD Issues in Additive Manufacturing

      2014, Comprehensive Materials Processing: Thirteen Volume Set
    View all citing articles on Scopus

    Zhongwwei Yin received a Ph.D. degree in Mechanical Engineering from Shanghai Jiaotong University, China. He has been on faculty staff in the school of Mechanical engineering of Shanghai Jiaotong University. Dr. Yin’s current research interests are in the areas of Computer aided geometric design, CAD/CAM, reverse engineering, and rapid prototyping.

    View full text