/pyp3d

Python Interface of P3D

Primary LanguagePythonMIT LicenseMIT

pyp3d

介绍: pyp3d是一个可在python上使用的工具包,它提供了一种可使用python脚本驱动创建模型的方法,为三维建模提供了全新的思路。 pyp3d中定义了一系列建模相关的必要的数据类型,例如球体、圆锥台、四棱锥台、 拉伸体、圆角管等几何体,pyp3d还提供了许多函数来实现放置集合体、连线、截面、缩放等功能。并且库还支持布尔运算,以方便用户进行模型之间的减、并、交。

下载: 使用pip工具进行下载:pip install pyp3d
安装pyp3d前,需要先确认numpy以及pywin32是否正确安装。

Introduction: pyp3d, which stands for Python Interface of P3D, is a library that can be used on Python. It provides a way to create models that can be driven by python scripts and provides a brand new idea for 3D modeling. A series of necessary data types related to modeling is defined in pyp3d, such as a sphere, truncated cone, quadrangular pyramid, stretched body, rounded tube, and other geometric bodies. pyp3d also provides many functions to place models, connect points into lines, get cross-section, zoom model, and so on. In addition, the library also supports Boolean operations to facilitate users to subtract, merge, and intersect between models.

Download: Use the tool pip to download: pip install pyp3d
Before installing pyp3d, you need to confirm whether NumPy and pywin32 are installed correctly.