Skip to content

marcuswu/occwrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OCCWrapper

A C wrapper for Open Cascade

I am using this repository as part of another project of mine. I don't intent to write wrappers for the entire Open Cascade API. The project is open to pull requests for functionality others need.

Dependencies for Open CASCADE

  • ccmake (for building)
  • tcl, tcl-dev, tk, tk-dev
  • opengl dev packages (libgl-dev, libegl-dev)
  • freetype
  • libfontconfig-dev

Getting Started

Installing opencascade binaries

This is the recommended and fastest option Installing the data-exchange packages will install all of the dependent occt packages necessary

apt install libocct-data-exchange-7.6
apt install libocct-data-exchange-dev

Building opencascade from source

  • Download Open CASCADE
  • mkdir ~/src/occt
  • cd ~/src/occt
  • ccmake [path_to_open_cascade_src] ** configure ** make ** sit back and wait 🍺 ** sudo make install
  • mkdir ~/src/occwrapperBuild
  • cd ~/src/occwrapperBuild
  • cmake [path_to_occwrapper_src]
  • make
  • sudo make install

Building and installing occwrapper

  • checkout the codebase:
    git clone [email protected]:marcuswu/occwrapper.git
  • make a directory for the build:
    mkdir occwrapperBuild && cd occwrapperBuild
  • use cmake to configure the build
    cmake ../occwrapper
  • make and make install
    make && make install
    Note: sudo may be necessary for make install

About

A (partial) C wrapper for open cascade

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published