Skip to content

Commit a231e66

Browse files
authored
Merge pull request #34 from mahgadalla/stlDev
Add generate_stl method
2 parents 8d3799e + 4cee845 commit a231e66

File tree

6 files changed

+422
-185
lines changed

6 files changed

+422
-185
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ install:
6969
- source activate test
7070
- conda install --yes numpy scipy matplotlib pip nose sip=4.18
7171
- if [[ "$TOXENV" == "py27" ]]; then
72-
conda install --yes -c conda-forge -c dlr-sc -c pythonocc -c oce pythonocc-core=0.18.1 python=2.7;
72+
conda install --yes -c conda-forge -c dlr-sc -c pythonocc -c oce pythonocc-core=0.18.1 smesh=6.7.5 python=2.7;
7373
else
74-
conda install --yes -c conda-forge -c dlr-sc -c pythonocc -c oce pythonocc-core=0.18.1 python=3.6;
74+
conda install --yes -c conda-forge -c dlr-sc -c pythonocc -c oce pythonocc-core=0.18.1 smesh=6.7.5 python=3.6;
7575
fi
7676
- pip install setuptools
7777
- pip install enum34

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,12 @@ See the [**Examples**](#examples) section below and the [**Tutorials**](tutorial
4343
**BladeX** requires `numpy`, `scipy`, `matplotlib`, `sphinx` (for the documentation), and `nose` (for the local test). They can be easily installed using `pip`.
4444
**BladeX** is compatible with Python 2.7 and Python 3.6. Moreover, some of the modules require `OCC` to be installed for the `.iges` or `.stl` CAD generation. Please see the table below for instructions on how to satisfy the `OCC` requirements. You can also refer to `pythonocc.org` or `github.com/tpaviot/pythonocc-core` for further instructions.
4545

46-
| Package | Version | How to install (precompiled binaries via conda) |
47-
|---------|-------------|----------------------------------------------------------------------------------------------------------|
48-
| OCC | ==0.18.1 | Python2.7 `conda install -c conda-forge -c dlr-sc -c pythonocc -c oce pythonocc-core==0.18.1 python=2.7` |
49-
| OCC | ==0.18.1 | Python3.6 `conda install -c conda-forge -c dlr-sc -c pythonocc -c oce pythonocc-core==0.18.1 python=3.6` |
46+
| Package | Version | How to install (precompiled binaries via conda) |
47+
|---------|-------------|----------------------------------------------------------------------------------------------------------------------|
48+
| OCC | ==0.18.1 | Python2.7 `conda install -c conda-forge -c dlr-sc -c pythonocc -c oce pythonocc-core==0.18.1 smesh=6.7.5 python=2.7` |
49+
| OCC | ==0.18.1 | Python3.6 `conda install -c conda-forge -c dlr-sc -c pythonocc -c oce pythonocc-core==0.18.1 smesh=6.7.5 python=3.6` |
5050

51+
conda install -c pythonocc -c dlr-sc -c oce smesh=6.7.6
5152

5253
### Installing from source
5354
The official distribution is on GitHub, and you can clone the repository using

0 commit comments

Comments
 (0)