Full Text:   <2161>

CLC number: TP391.9; TH122

On-line Access: 2011-12-29

Received: 2011-03-24

Revision Accepted: 2011-07-28

Crosschecked: 2011-12-08

Cited: 3

Clicked: 3691

Citations:  Bibtex RefMan EndNote GB/T7714

-   Go to

Article info.
1. Reference List
Open peer comments

Journal of Zhejiang University SCIENCE C 2012 Vol.13 No.1 P.20-28


A generic approach of integrating 3D models into virtual manufacturing

Author(s):  Hwa-Jen Yap, Zahari Taha, Siti Zawiah Md Dawal

Affiliation(s):  Department of Engineering Design and Manufacture, Faculty of Engineering, University of Malaya, Kuala Lumpur 50603, Malaysia, Centre for Product Design and Manufacturing, Faculty of Engineering, University of Malaya, Kuala Lumpur 50603, Malaysia, Faculty of Manufacturing Engineering & Technology Management, Universiti Malaysia Pahang, Kuantan26300, Malaysia

Corresponding email(s):   hjyap737@um.edu.my, jyap737@yahoo.com

Key Words:  Virtual manufacturing, Lex, OpenGL, Three-dimensional mesh data, Quaternion, Neutral format

Hwa-Jen Yap, Zahari Taha, Siti Zawiah Md Dawal. A generic approach of integrating 3D models into virtual manufacturing[J]. Journal of Zhejiang University Science C, 2012, 13(1): 20-28.

@article{title="A generic approach of integrating 3D models into virtual manufacturing",
author="Hwa-Jen Yap, Zahari Taha, Siti Zawiah Md Dawal",
journal="Journal of Zhejiang University Science C",
publisher="Zhejiang University Press & Springer",

%0 Journal Article
%T A generic approach of integrating 3D models into virtual manufacturing
%A Hwa-Jen Yap
%A Zahari Taha
%A Siti Zawiah Md Dawal
%J Journal of Zhejiang University SCIENCE C
%V 13
%N 1
%P 20-28
%@ 1869-1951
%D 2012
%I Zhejiang University Press & Springer
%DOI 10.1631/jzus.C11a0077

T1 - A generic approach of integrating 3D models into virtual manufacturing
A1 - Hwa-Jen Yap
A1 - Zahari Taha
A1 - Siti Zawiah Md Dawal
J0 - Journal of Zhejiang University Science C
VL - 13
IS - 1
SP - 20
EP - 28
%@ 1869-1951
Y1 - 2012
PB - Zhejiang University Press & Springer
ER -
DOI - 10.1631/jzus.C11a0077

Various 3D modeling software has been developed for design and manufacturing. Most of the commercially available software uses native file formats, which may not be able to be read or understood by other software. This paper deals with the development of a generic approach of a 3D model conversion program for virtual manufacturing (VM), using a lexical analyzer generator lex and the Open Graphic Library (openGL). The program is able to convert 3D mesh data between four universal file formats, i.e., Stereolithography (STL), Virtual Reality Modeling Language (VRML), eXtensible Markup Language (XML), and Object (OBJ). Simple assembly functions can be applied to the imported models. The quaternion angle is used for object rotation to overcome the problem of gimbal lock or a loss of one degree of rotational freedom. The program has been validated by importing the neutral format models into the program, applying the transformation, saving the new models with a new coordinate system, and lastly exporting into other commercial software. The results showed that the program is able to render and re-arrange accurately the geometry data from the different universal file formats and that it can be used in VM. Therefore, the output models from a VM system can be transferred or imported to another VM system in a universal file format.

Darkslateblue:Affiliate; Royal Blue:Author; Turquoise:Article


[1]Berta, J., 1999. Integrating VR and CAD. IEEE Comput. Graph. Appl., 19(5):14-19.

[2]Bourke, P., 2010. Object Files (.obj). Available from http://local.wasp.uwa.edu.au/~pbourke/dataformats/obj [Accessed on Dec. 20, 2010].

[3]Hartman, J., Wernecke, J., 1996. The VRML 2.0 Handbook: Building Moving Worlds on the Web. Addison-Wesley, Redwood City, California.

[4]ISO/IEC 14772-1:1997. Virtual Reality Modeling Language (VRML)–Part 1: Base Functionality and Text Encoding.

[5]ISO/IEC 14772-2:2004. Virtual Reality Modeling Language (VRML)–Part 2: Base Functionality and All Bindings for the VRML External Authoring Interface.

[6]Jacobs, P.F., 1995. StereoLithography and Other RP&M Technologies: from Rapid Prototyping to Rapid Tooling. Society of Manufacturing Engineers, Princeton, New Jersey, USA.

[7]Jezernik, A., Hren, G., 2003. A solution to integrate computer-aided design (CAD) and virtual reality (VR) databases in design and manufacturing processes. Int. J. Adv. Manuf. Technol., 22(11-12):768-774.

[8]Levine, J., Tony, M., Brown, D., 1992. Lex & Yacc. O′Reilly & Associates, Sebastopol, California.

[9]Ong, S.K., Jiang, L., Nee, A.Y.C., 2002. An Internet-based virtual CNC milling system. Int. J. Adv. Manuf. Technol., 20(1):20-30.

[10]Peng, Q., 2007. Virtual Reality Technology in Product Design and Manufacturing—the Design and Implementation of a Course for the Graduate Study. The Canadian Design Engineering Network (CDEN) and the Canadian Congress on Engineering Education (CCEE).

[11]Rule, K., 1996. 3D Graphic File Formats: a Programmer’s Reference. Addison-Wesley, Redwood City, California.

[12]Schilling, A., Kim, S., Weissmann, D., Tang, Z., Choi, S., 2006. CAD-VR geometry and meta data synchronization for design review applications. J. Zhejiang Univ.-Sci. A, 7(9):1482-1491.

[13]Shreiner, D., Mason, W., Neider, J., Davis, T., 2007. OpenGL Programming Guide, the Official Guide to Learning OpenGL. Version 2.1, 6th Edition. Addison-Wesley Professional, Boston, Massachusetts.

[14]Wang, Q.Y., Tian, L., 2007. A systematic approach for 3D VRML model-based assembly in Web-based product design. Int. J. Adv. Manuf. Technol., 33(7-8):819-836.

[15]Whyte, J., Bouchlaghem, N., Thorpe, A., McCaffer, R., 2000. From CAD to virtual reality: modelling approaches, data exchange and interactive 3D building design tools. Autom. Construct., 10(1):43-55.

[16]Williamson, H., 2008. XML: the Complete Reference. McGraw-Hill, New York.

[17]Yap, H.J., Taha, Z., Liew, K.S., Ghazilla, R.A.R., Ahmad, N., 2008. Development of a 3D CAD Model Conversion and Visualization System Using Lexical Analyzer Generator and OpenGL. Proc. Asia Pacific Industrial Engineering and Management Society, p.2700-2706.

[18]Zhong, Y., Ma, W., Shirinzadeh, B., 2005. A methodology for solid modelling in a virtual reality environment. Robot. Comput.-Integr. Manuf., 21(6):528-549.

Open peer comments: Debate/Discuss/Question/Opinion


Please provide your name, email address and a comment

Journal of Zhejiang University-SCIENCE, 38 Zheda Road, Hangzhou 310027, China
Tel: +86-571-87952783; E-mail: cjzhang@zju.edu.cn
Copyright © 2000 - Journal of Zhejiang University-SCIENCE