2019-05-28 12:00:15 +00:00
|
|
|
[![Build status](https://ci.appveyor.com/api/projects/status/b2o8jw7xnfqghqr5?svg=true)](https://ci.appveyor.com/project/KmolYuan/solvespace)
|
2019-09-23 13:20:10 +00:00
|
|
|
[![Build status](https://img.shields.io/travis/KmolYuan/solvespace.svg?logo=travis)](https://travis-ci.org/KmolYuan/solvespace)
|
|
|
|
[![PyPI](https://img.shields.io/pypi/v/python-solvespace.svg)](https://pypi.org/project/python-solvespace/)
|
2019-05-28 12:00:15 +00:00
|
|
|
[![GitHub license](https://img.shields.io/badge/license-GPLv3+-blue.svg)](https://raw.githubusercontent.com/KmolYuan/solvespace/master/LICENSE)
|
|
|
|
|
2019-09-25 10:32:27 +00:00
|
|
|
# python-solvespace
|
2019-05-28 12:00:15 +00:00
|
|
|
|
2020-07-09 03:40:27 +00:00
|
|
|
Python library from the solver of SolveSpace, an open source CAD software.
|
2019-05-28 12:00:15 +00:00
|
|
|
|
2019-09-25 10:32:27 +00:00
|
|
|
+ [Python API](https://pyslvs-ui.readthedocs.io/en/stable/python-solvespace-api/)
|
|
|
|
+ [C API](https://github.com/solvespace/solvespace/blob/master/exposed/DOC.txt)
|
2019-05-28 12:00:15 +00:00
|
|
|
|
2019-09-25 10:32:27 +00:00
|
|
|
# Install
|
2019-05-28 12:00:15 +00:00
|
|
|
|
2019-09-25 10:32:27 +00:00
|
|
|
```bash
|
|
|
|
pip install python-solvespace
|
|
|
|
```
|
2019-05-28 12:00:15 +00:00
|
|
|
|
2019-09-25 10:32:27 +00:00
|
|
|
# Build and Test (Repository)
|
2019-05-28 12:00:15 +00:00
|
|
|
|
|
|
|
Build and install the module:
|
|
|
|
|
|
|
|
```bash
|
2021-02-12 06:21:07 +00:00
|
|
|
pip install python-solvespace
|
|
|
|
# From repository
|
|
|
|
git submodule update --init
|
|
|
|
pip install -e .
|
2019-05-28 12:00:15 +00:00
|
|
|
```
|
|
|
|
|
2021-02-11 15:51:18 +00:00
|
|
|
Run unit tests:
|
2019-05-28 12:00:15 +00:00
|
|
|
|
|
|
|
```bash
|
2021-02-11 15:51:18 +00:00
|
|
|
python test
|
2019-05-28 12:00:15 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
Uninstall the module:
|
|
|
|
|
|
|
|
```bash
|
2019-09-25 10:32:27 +00:00
|
|
|
pip uninstall python-solvespace
|
2019-05-28 12:00:15 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
[GNU Make]: https://sourceforge.net/projects/mingw-w64/files/latest/download?source=files
|
|
|
|
[Cython]: https://cython.org/
|