Diferencia entre revisiones de «Obijuan:Notas:Python Object Oriented Mechanics (POOM)»

De WikiRobotics
Saltar a: navegación, buscar
Línea 3: Línea 3:
  
 
* Opencascade github: [https://github.com/tpaviot/pythonocc https://github.com/tpaviot/pythonocc]
 
* Opencascade github: [https://github.com/tpaviot/pythonocc https://github.com/tpaviot/pythonocc]
 +
 +
* Instalación de opencascade:
 +
Descargar del github:
 +
git clone https://github.com/tpaviot/pythonocc.git
 +
 +
Configurar para compilar la libreria geom:
 +
cd pythoncc/src/contrib/geom-6.3.1.8
 +
mk cmake-build
 +
cd cmake-build
 +
cmake-gui ..
 +
 +
Darle a Configure y luego a Generate
 +
 +
modificar las variables:
 +
  OCE_INCLUDE_PATH  /usr/include/oce
 +
  OCE_LIB_PATH      /usr/lib
 +
 +
Volver a dar a Configure y Generate. Salir del cmake y compilar con make:
 +
make

Revisión del 04:27 25 ene 2014

  • Instalación de opencascade:

Descargar del github:

git clone https://github.com/tpaviot/pythonocc.git

Configurar para compilar la libreria geom:

cd pythoncc/src/contrib/geom-6.3.1.8
mk cmake-build
cd cmake-build
cmake-gui ..

Darle a Configure y luego a Generate

modificar las variables:

 OCE_INCLUDE_PATH  /usr/include/oce
 OCE_LIB_PATH      /usr/lib

Volver a dar a Configure y Generate. Salir del cmake y compilar con make:

make