Coin3d snippets

Description of this list
Complex libraries like COIN3D need good documentation and good tutorials. Unfortunately, there aren't many tutorials for the COIN library. After much research, the code examples listed below were found. They have been modified so that they can be loaded in FreeCAD. But some code may fail as these examples were created for other environments. You will find warnings for those problems in the code.

Users can run these scripts either as a macro or directly in the Python console. Please notice that many of the functions have 'Exe' or 'Execu', short for 'Execute', in their name.

These files are also mentioned in the Inventor Mentor tutorial for the C language.

List of the files and their screenshot (Python scripts)

 * 02.1.HelloCone.py
 * 02.2.EngineSpin.py
 * 02.3.Trackball.py
 * 02.4.Examiner.py
 * 03.1.Molecule.py
 * 03.2.Robot.py
 * 03.3.Naming.py
 * 04.1.Cameras.py
 * 04.2.Lights.py
 * 05.1.FaceSet.py
 * 05.2.IndexedFaceSet.py
 * 05.3.TriangleStripSet.py
 * 05.4.QuadMesh.py
 * 05.5.Binding.py
 * 05.6.TransformOrdering.py
 * 06.1.Text.py
 * 06.2.Simple3DText.py
 * 06.3.Complex3DText.py
 * 07.1.BasicTexture.py
 * 07.2.TextureCoordinates.py
 * 07.3.TextureFunction.py
 * 08.1.BSCurve.py
 * 08.2.UniCurve.py
 * 08.3.BezSurf.py
 * 08.4.TrimSurf.py
 * 09.1.Print.py
 * 09.2.Texture.py
 * 09.3.Search.py
 * 09.4.PickAction.py
 * 09.5.GenSph.py
 * 10.1.addEventCB.py
 * 10.2.setEventCB.py
 * 10.3and4.MotifList.py
 * 10.5.SelectionCB.py
 * 10.6.PickFilterTopLevel.py
 * 10.7.PickFilterManip.py
 * 10.8.PickFilterNodeKit.py
 * 11.1.ReadFile.py
 * 11.2.ReadString.py
 * 12.1.FieldSensor.py
 * 12.2.NodeSensor.py
 * 12.3.AlarmSensor.py
 * 12.4.TimerSensor.py
 * 13.1.GlobalFlds.py
 * 13.2.ElapsedTime.py
 * 13.3.TimeCounter.py
 * 13.4.Gate.py
 * 13.5.Boolean.py
 * 13.6.Calculator.py
 * 13.7.Rotor.py
 * 13.8.Blinker.py
 * 14.1.FrolickingWords.py
 * 14.2.Editors.py
 * 14.3.Balance.py
 * 15.1.ConeRadius.py
 * 15.2.SliderBox.py
 * 15.3.AttachManip.py
 * 15.4.Customize.py
 * 16.1.Overlay.py
 * 16.2.Callback.py
 * 16.3.AttachEditor.py
 * 16.4.OneWindow.py
 * 16.5.Examiner.py
 * 17.1.ColorIndex.py
 * 17.2.GLCallback.py
 * 17.3.GLFloor.py

Source code
You can find the source code of these scripts on GitHub: COIN3D examples.

Software for learning COIN3D library
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.

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