Couple of years ago I started work on using OpenNurbs https://www.rhino3d.com/opennurbs
to be able to read Rhino files into FreeCAD. I was able to parse the Rhino files but got stuck adding code to create FreeCAD objects.
A copy of my efforts are available at https://www.dropbox.com/sh/9xtd5pmfkxze ... eqyGa?dl=0
Happy for people to use as long as I get some acknowledgement.
The source is in sub directory Lib which has a Makefile
testRead : Reads a test Rhino file and parses ( Note: test file location is hard coded )
importNurbs.so is a shared module library that should exist in /usr/lib/freecad/libs
i.e. Needs a softlink ( ln -s ) to /usr/lib/freecad/libs/importNurbs.so
Unfortunately I did not backup the FreeCAD module directory /usr/lib/freecad/Mod/Nurbs, but it should be fairly easy to recreate if you look at /usr/lib/freecad/Mod/Import
Note: the version of OpenNurbs will be several years out of date.
I added in places code to print out the relevant data that is needed to add info to FreeCAD
Quite happy to work with microelly2 if he/she could provide details on creating FreeCAD objects and control points