Skip to content

Convert Plugins

Morgan Guimard edited this page Jun 13, 2013 · 25 revisions

DocDokuPLM has a modularized architecture that makes it possible to extend the core feature set easily. For instance, the CAD files converters are provided as plugins.

Available converters

The OBJ File converter

The converter relies on a python interpreter. If your server is running on Linux or Mac OS, no need to worry you already have one installed on your system. For Windows just go [there] (http://www.python.org/download/).

Then, you have to indicate the path to the python command. For that, inside the docdoku-server-ejb.jar which is itself inside the docdoku-server-ear.ear file, edit the file com/docdoku/server/converters/obj/conf.properties:

pythonInterpreter=/usr/bin/python

For Linux and Mac, the value should be correct, for Windows you have to specify yours.

The STEP / IGES File converter

The converter relies on a python interpreter and the Freecad API. To install Freecad API on your system, refer to this page You may also need to edit the file depending on the location of FreeCad API : com/docdoku/server/converters/obj/conf.properties:

freeCadLibPath=/usr/lib/freecad/lib
Clone this wiki locally