Coin3d snippets/es: Difference between revisions

From FreeCAD Documentation
(Created page with "Puede encontrar el código fuente de estos scripts en GitHub: [https://github.com/MariwanJ/COIN3D_Examples COIN3D ejemplos].")
(Created page with "[http://coindesigner.sourceforge.net/ CoinDesigner], aunque antiguo, es un programa útil si quieres entender cómo se puede utilizar la biblioteca Coin3D, y cómo puedes escr...")
Line 87: Line 87:
== Software para el aprendizaje de la biblioteca COIN3D ==
== Software para el aprendizaje de la biblioteca COIN3D ==


[http://coindesigner.sourceforge.net/ CoinDesigner], although old, is a useful program if you want to understand how the Coin3D library can be used, and how you can write your own code both in the Inventor 2.x format or for FreeCAD.
[http://coindesigner.sourceforge.net/ CoinDesigner], aunque antiguo, es un programa útil si quieres entender cómo se puede utilizar la biblioteca Coin3D, y cómo puedes escribir tu propio código tanto en el formato de Inventor 2.x como para FreeCAD.


No installation is required. Thanks go to the author of the program.
No installation is required. Thanks go to the author of the program.

Revision as of 07:29, 26 August 2021

Other languages:

Descripción de esta lista

Bibliotecas complejas como COIN3D necesitan una buena documentación y buenos tutoriales. Por desgracia, no hay muchos tutoriales para la biblioteca COIN. Después de una larga búsqueda, se encontraron los ejemplos de código que aparecen a continuación. Han sido modificados para que puedan ser cargados en FreeCAD. Pero algún código puede fallar ya que estos ejemplos fueron creados para otros entornos. Encontrarás advertencias a tal efecto en el código.

Usuarios pueden ejecutar estos scripts como una macro o directamente en la consola de Python. Tenga en cuenta que muchas de las funciones tienen 'Exe' o 'Execu', abreviatura de 'Execute', en su nombre.

Estos archivos también se mencionan en el Inventor Mentor tutorial para el lenguaje C.

Lista de los archivos y sus capturas de pantalla (scripts de Python)

Código fuente

Puede encontrar el código fuente de estos scripts en GitHub: COIN3D ejemplos.

Software para el aprendizaje de la biblioteca COIN3D

CoinDesigner, aunque antiguo, es un programa útil si quieres entender cómo se puede utilizar la biblioteca Coin3D, y cómo puedes escribir tu propio código tanto en el formato de Inventor 2.x como para FreeCAD.

No installation is required. Thanks go to the author of the program.

Notas

  1. Click the names of the scripts to see the screenshot. The scripts that do not have a link probably cannot be executed under FreeCAD. But even so, please try to look at the code. These scripts may still give you some ideas.
  2. There are many other drawing files (Inventor 2.x format) that can be loaded in FreeCAD and saved as a python script. The formatting will not be great, but such a script can still help you understand the COIN3D library.
  3. Generally, COIN3D doesn't provide good primitive drawings. The widget system Design456 does provide some: some basic shapes, and also some complex shapes. The arrow widget and the line widget used by the Design456 Workbench are examples.