Skip to content

KeithSloan/ImportNURBS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ImportNURBS

Add Import of 3DM files to FreeCAD

##########################################################

Some coded added lots more to do.

Please report any problems as Issues - Thanks

##########################################################

Requirements

  • rhino3dm - Open Python Rhino 3dm library

You need to use the same version and level of Python that FreeCAD is using to install rhino3dm.

You can find out the version FreeCAD is using by using

FreeCAD | About freecad | Libraries 

or Looking at the heading in FreeCAD python console

Installing for FreeCAD 1.0.0 on MacOS

  • FreeCAD 1.0.0 on Mac uses Python 3.11

    Make sure Mac is also 3.11 using homebrew

    brew instal python@3.11

  • install rhino3dm in FreeCAD path

  • Start FreeCAD

    • In python console
      • import sys
      • print(sys.path)
  • python3.11 -m pip install rhino3dm --no-cache -t '/Applications/FreeCAD 1.0.0.app/Contents/Resources/lib/python3.11/site-packages'

Installation - Add on Manager

  • The workbench is available via the FreeCAD AddonManager
  • However users may have to install rhino3dm depending on OS.
  • One suggestion
    • Start FreeCAD

    • In python console

      • import sys
      • print(sys.path)
    • Select one the the directories listed

      If FreeCAD is using Python 3.8

      python3.8 -m pip install rhino3dm -t [directory path]

    • restart FreeCAD

Alternate Installation ( Linux )

Sample Rhino files

Can be downloaded from https://www.rhino3d.com/download/opennurbs/6/opennurbs6samples

Acknowledgements

  • Icon design by Freepik
  • 3dm testCases kindly supplied by Jonne Neva (cheezebreeze)

Developers

  • Chris Grellier
  • Keith Sloan

About

Add Import of 3DM files to FreeCAD

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages