Rapid algorithm prototyping in Gocad using Python plugin.

in: Proc. 28th Gocad Meeting, Nancy

Abstract

Python is a modern and intuitive programming language which is very convenient for fast prototyping of algorithms. The strengths of this interpreted and portable language are many, in particular a large set of standard libraries, possibility to talk to other languages, a fast learning curve, and fast execution times. In this paper, we introduce a new Gocad plugin which couples Python and Gocad commands. Currently, this plugin currently oers the same functionalities as the existing TCL wizard system, with increased ease of programming and access to the rich Python libraries. In particular, it can be used to make Gocad scripts more generic using parametric names of both properties and objects. This is illustrated by an implementation of typical image processing techniques such as dilation and erosion on 3D grids.

Download / Links

    BibTeX Reference

    @inproceedings{211_antoine,
     abstract = { Python is a modern and intuitive programming language which is very convenient for fast
    prototyping of algorithms. The strengths of this interpreted and portable language are many, in
    particular a large set of standard libraries, possibility to talk to other languages, a fast learning
    curve, and fast execution times. In this paper, we introduce a new Gocad plugin which couples
    Python and Gocad commands. Currently, this plugin currently oers the same functionalities as
    the existing TCL wizard system, with increased ease of programming and access to the rich Python
    libraries. In particular, it can be used to make Gocad scripts more generic using parametric names
    of both properties and objects. This is illustrated by an implementation of typical image processing
    techniques such as dilation and erosion on 3D grids. },
     author = { Antoine, Christophe AND Caumon, Guillaume },
     booktitle = { Proc. 28th Gocad Meeting, Nancy },
     title = { Rapid algorithm prototyping in Gocad using Python plugin. },
     year = { 2008 }
    }