Matthias Hochsteger
e502eeee2f
test with Ubuntu 20.04, fix occ versions compatibility
2021-07-26 16:59:43 +02:00
Matthias Hochsteger
d01bde60f6
OCC versions compatibility
2021-07-26 16:39:33 +02:00
Joachim Schoeberl
7e0f0326de
occ material, copy names from step-loading to global names
2021-07-26 09:10:50 +02:00
Joachim Schoeberl
f3caa7182a
occ: setting boundary conditions, and propagating it through intersection
2021-07-25 22:16:43 +02:00
Joachim Schoeberl
ca0201b301
OCCGeometry from list of shapes
2021-07-25 01:26:09 +02:00
Joachim Schoeberl
5066fe0fce
boolean operations for occ in Python
2021-07-24 22:31:40 +02:00
Joachim Schoeberl
56e848eea9
pywrapping occ
2021-07-24 19:53:30 +02:00
Joachim Schoeberl
54af8014c4
back to trying both occ surface-meshing versions
2021-07-24 16:18:22 +02:00
Joachim Schoeberl
157b246f7f
occ: box, cyl
2021-07-24 13:14:21 +02:00
Joachim Schoeberl
d783b71d49
few occ exports
2021-07-24 11:07:39 +02:00
Christopher Lackner
fb13152004
create occ geometry from TopoDS_Shape and export constructor
...
this only works if OCC bindings are done using pybind11!
2020-07-13 18:54:55 +02:00
Joachim Schöberl
dc15e50956
Added glueing to OCC interface, geom.Glue() from Python
2020-05-31 21:58:21 +02:00
Christopher Lackner
303aebc27e
throw on meshing failure
2019-11-26 17:08:21 +01:00
Christopher Lackner
073e215bb6
add closeedge meshsize to base geometry (not used)
...
closedgefac moved to meshingparameters for this
2019-11-04 19:34:46 +01:00
Matthias Hochsteger
2a51bf76c1
[testing] Add results for OCC 7.4, skip tests on Ubuntu (with OCC 7.3)
2019-10-28 15:11:42 +01:00
Matthias Hochsteger
22a894b8cf
Set OCC geometry in GenerateMesh()
2019-10-23 11:26:23 +02:00
Christopher Lackner
bee097b153
start unify meshing with occ meshing
2019-10-07 15:17:03 +02:00
Christopher Lackner
9feb9de9b1
Fix docstring
2019-09-16 12:48:27 +02:00
Christopher Lackner
9d96c0e432
occ parameters from python, gui and meshsize parameters now the same
2019-08-27 10:10:17 +02:00
Christopher Lackner
bc7e632368
set meshsize for occ face from python
2019-08-13 18:45:27 +02:00
Christopher Lackner
c22ec2dcc2
meshingparameters from python as in gui
2019-07-29 07:11:57 +02:00
Christopher Lackner
091494c6b3
cleanup python export, generate mesh functions not monkeypatched
2019-07-25 23:25:58 +02:00
Matthias Hochsteger
d89b328979
Get rid of pybind11 include in archive.hpp
...
Forward-declare pybind11::object and move implementation of
Archive::Shallow() to new header python_ngcore.hpp
All files using the Shallow/Python archive functionality must include
core/python_ngcore.hpp. Missing includes result in link errors, due to
missing instantiations of Archive::Shallow<T>();
2019-07-11 17:09:59 +02:00
Christopher Lackner
829defd3eb
archive now support python exported objects
2018-12-20 17:01:27 +01:00
Christopher Lackner
099acc9fa1
pickling for all geometry types
2018-12-14 12:01:58 +01:00
Christopher Lackner
f065651227
set global geometry when occ file is loaded
2018-08-01 15:53:01 +02:00
Christopher Lackner
c9cd9eea2c
add functions to collect visualization data to python export of geometries
2018-07-12 16:35:52 +02:00
Joachim Schöberl
e72d90fcbb
Merge branch 'derive_geos_netgengeometry' into 'master'
...
derive geometry class in python from NetgenGeometry, gil call guard
See merge request jschoeberl/netgen!82
2018-04-18 22:00:03 +02:00
Christopher Lackner
bc520769ba
derive geometry class in python from NetgenGeometry, gil call guard
...
for generatemesh in 2d
2018-04-17 19:37:29 +02:00
Christopher Lackner
96f9e01aba
release GIL in expensive functions
2018-03-12 22:38:21 +01:00
Christoph Wintersteiger
753c2280c0
add Heal function to the python interface with the same functionality as the "Heal Geometry" button in the gui
2017-11-03 17:44:14 +01:00
Christoph Wintersteiger
df01ffcb5a
setting occparms not necessary
2017-10-27 11:40:44 +02:00
Christoph Wintersteiger
a90ee2e437
set occparams and generate triangulation with BRepMesh
2017-10-20 16:39:37 +02:00
Matthias Hochsteger
1430b89e39
Update pybind11 to version 2.2.0
...
- Replace PYBIND11_PLUGIN with PYBIND11_MODULE
- Fix warnings about symbol visibility by replacing
'namespace pybind11' with 'namespace PYBIND11_NAMESPACE'
- Pybind sets the default visibility of its namespace to 'hidden'
Thus, our export functions like ExportCSG(py::module &m) also are
hidden by default. To work around that define DLL_HEADER
'__attribute__ ((visibility ("default")))
on GNUC platforms.
2017-09-01 10:16:56 +02:00
Matthias Hochsteger
0c611c339c
Python opencascade interface (by Gerhard Kitzler)
2017-05-31 19:39:09 +02:00