APPLICATION OF VISUALLISP PROGRAMMING LANGUAGE TO 3D SLUICE MODELING

  • Nguyen Thi Lan Truc (School of Civil and Environmental Engineering, Nanyang Technological University) ;
  • Po-Han Chen (School of Civil and Environmental Engineering, Nanyang Technological University)
  • Published : 2007.03.01

Abstract

Nowadays, it is convenient to use 3D modeling tools for general planning before construction. Normally, a 3D model is built with 3D CAD such as 3D Studio Max, Maya, etc. or simply with AutoCAD. All these software packages are effective in building 3D models but difficult to use, because many provided functions and tools require prior knowledge to build both 2D and 3D designs. Moreover, the traditional method of building 3D models is most time-consuming as experienced operators and manual input are required. Therefore, how to minimize the building time of 3D models and provide easy-to-use functions for users who are not familiar with 3D modeling becomes important. In this paper, the VisualLISP programming language is used to create a convenient tool for efficient generation of 3D components for the AutoCAD environment. This tool will be demonstrated with the generation of a 3D sluice, an artificial passage for water fitted with a valve or gate to stop or regulate water flow. With the tool, users only need to enter the parameters of a sluice in the edit box and the 3D model will be automatically generated in a few seconds. By changing parameters in the edit box and pressing the "OK" button, a new 3D sluice model will be generated in a short while.

Keywords