You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To get the latest source code from [OCCT official website](https://www.opencascade.com/), you need register (free of charge)
187
+
To get the latest source code from [OCCT official website](https://www.opencascade.com/), you need register (free of charge). Registered user may setup public ssh key and get readonly access to the occt repo
"V7_4_0p1" is the tag version name, more version tags can be found on `http://git.dev.opencascade.org/gitweb/?p=occt.git`
186
194
187
-
Note for UKAEA users: I put the source code on UKAEA one drive to share: user your webbrowser with UKAEA email login to open the link, otherwise login in office 365
`sudo make install` to install to `/usr` or any other defined by `CMAKE_INSTALL_PREFIX`
233
+
`sudo make uninstall` in the build folder to uninstall.
237
234
238
-
# to run docker image locally, you can mapping dir and xwindows
239
-
# https://github.com/mviereck/x11docker
235
+
### Use after built the deb/rpm package
236
+
#### Generate deb/rpm package
240
237
241
-
```
238
+
After successfully build this software from source using cmake, `make package` will generate the platform binary package, deb or rpm (currently, only Ubuntu 18.04 and fedora 30+). see [./Packaging.md] for more details.
242
239
243
-
Inside the docker VM, or if you have managed all dep locally, change dir into the repo folder
244
-
`mkdir build && cd build && cmake -DPython_EXECUTABLE=$(which python3) .. && make -j4`
240
+
#### Install parallel processor package
241
+
Precompiled binary packages may be provided in the future.
245
242
246
-
It is a CMake project. `rm -rf build` if you want to rebuild after some change in CMakeLists.txt
243
+
Platform package rpm and deb has been generated in the build directory, install it.
244
+
`sudo rpm -Uhv parallel-preprocessor*` on fedora/RedHat systems
245
+
or `sudo dpkg -i parallel-preprocessor*` on debian/ubuntu
247
246
248
-
## Installation
249
247
### Use without system-wide installation
250
248
251
249
Without installation, this software can be evaluated by running [geomPipeline.py path_to_geometry_file](./python/geomPipeline.py), after building from source.
252
250
253
-
After out of source build in the `parallel-preprocessor/build` folder by `cmake -DPython_EXECUTABLE=$(which python3) .. && make -j6`, change directory to `cd parallel-preprocessor/build/ppptest`, run `python3 geomPipeline.py path-to-your-geometry.stp`. User can user absolute or relative path for the input geometry file.
254
-
255
251
Note: change directory to the folder containing geomPipeline.py is not necessary, if user has put full path of `parallel-preprocessor/build/bin/` folder into user path. For example, by editing PATH varialbe in `~/.bashrc` on Ubuntu, it will just work as installed program.
256
252
257
-
#### add `bin` in the `build folder` to the user path
258
-
259
253
Just append the `bin` folder to user `path` in `~/.bashrc`, that is all. you should be able to imprint geometry by `geomPipeline.py input_geometry_path`. And also append `build/lib` to `LD_LIBRARY_PATH`
260
254
261
-
This is the recommended way in this development stage, then it is easier to pull and build the latest source. There is no need for super user privilege.
262
-
263
-
However, unit test application such as `pppGeomTests` must be run in the `build/ppptest` folder for the moment, since test data in `parallel-preprocessor/build/data` are referred using relative path.
264
-
265
-
266
-
### Use after install the deb/rpm package
267
-
#### Generate deb/rpm package
268
-
269
-
After successfully build this software from source using cmake, `make package` will generate the platform binary package, deb or rpm (currently, only Ubuntu 18.04 and fedora 30+). see [./Packaging.md] for more details.
270
-
271
-
#### Install parallel processor package
272
-
Precompiled binary packages may be provided in the future.
273
-
274
-
Platform package rpm and deb has been generated in the build directory, install it.
275
-
`sudo rpm -i parallel-preprocessor*` on RedHat systems
276
-
or `sudo dpkg -i parallel-preprocessor*` on debian/ubuntu
277
-
278
-
Note, super user privilege may be needed, depending on install prefix specified in cmake configuraton.
255
+
This is the recommended way in this development stage, then it is easier to pull and build the latest source. Super user privilege is needed.
279
256
280
-
#### Use after installation
281
-
All python scripts and binary programs are installed to path, so there is no need to specify `geomPipeline.py` path. It can be run as a python3 script executable
282
-
`geomPipeline.py <your_geometry_file_path>`
283
257
284
-
### Install python conda package
285
258
286
-
A conda package can be generated to support more Linux platforms.
287
259
288
-
However, it is not completed and tested yet since there is built C-extension module involved. User should install all the necessary dependency, such as OpenCASCADE 7.x, TBB, FreeCAD.
0 commit comments