Apache License 2.0

项目介绍

CadQuery/OCP 是一个托管在 GitHub 上的开源项目,主要使用 C++ 编写,采用 Apache License 2.0 许可证,目前获得 213 个 Star、52 次 Fork。

仓库全名
CadQuery/OCP
开源许可证
Apache License 2.0
Star 数
213
Fork 数
52
未关闭 Issue
28

README 摘要

OCP Python wrapper for OCCT generated using pywrap. Typing stubs available here. Goals Provide thin bindings to OCCT. Wrap all OCCT modules (if practical). React quickly to new OCCT releases. Cater primarily for the CadQuery project. Non-goals Provide additional functionality not present in OCCT Installation The easiest way to get started is to use conda: Generating and building from sources is also possible using…

完整内容见 GitHub 原始 README 或本页 。

常见问题

OCP 用什么语言开发?

主要使用 C++ 编写,采用 Apache License 2.0 许可证,目前有 213 个 Star。

OCP 可以免费商用吗?

仓库采用 Apache License 2.0 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 OCP 的源码?

可以直接克隆仓库:git clone https://github.com/CadQuery/OCP.git,默认分支为 master;安装与运行步骤见仓库 README。

OCP 最近还在维护吗?

仓库最近一次更新为 1 天前,当前有 28 个未关闭 Issue;Star 数为 213,可作为社区活跃度的参考。

简要分析

热度分
327
价值分
143
活跃状态
活跃

语言占比

C
C++
CMake
Jinja
Python

Release

README

OCP

Build Bindings Anaconda-Server Badge

Python wrapper for OCCT generated using pywrap. Typing stubs available here.

Goals

  • Provide thin bindings to OCCT.
  • Wrap all OCCT modules (if practical).
  • React quickly to new OCCT releases.
  • Cater primarily for the CadQuery project.

Non-goals

  • Provide additional functionality not present in OCCT

Installation

The easiest way to get started is to use conda:

conda install -c conda-forge -c cadquery ocp

Generating and building from sources is also possible using https://github.com/CadQuery/pywrap , but not advised.

pywrap all ocp.toml
cmake -S OCP -B build
cmake --build build

To generate the bindings you’ll need to use packages version specified in the environment.devenv.yml file and you might need to specify additional headers and libclang location for pywrap.

pywrap -i path1/include -i path2/include -l path/to/libclang.so all ocp.toml

Building from the released sources without the generation step is possible too. Note that this is how the conda-forge package is built.

评论

暂无评论