AU
AU
It starts feeling weird to have a conversation with oneself but I hope that the community will find this useful. The `has_operator_delete` (copy/paste from pybind11 source) seems to be the...
Here you can find an example of integrating PythonOCC into a medium size PyQt5 application: https://github.com/CadQuery/CQ-editor @HerveGlz
Slightly off-topic: @rainman110 @trelau I'd be willing to contribute if you would consider switching to `pybind11` (and something like `libclang`).
I don't have any specific technical reason @trelau - pybind11 feels more natural than SWIG.
@rainman110 thanks for your point of view! Regarding the performance - do you have some benchmarks? I have heared opposite claims as well (but haven't seen real data). If you...
In case someone would find it useful: I think I'll go for the following solution. Seems to be working so far and in principle should be OK for any method...
AFAICT you need to wrap it in more friendly C++ function by hand (see on of my comments above). The problem is passing of smart pointers by reference: https://dev.opencascade.org/doc/refman/html/class_shape_analysis___free_bounds.html#a4809fe812b6a663a286df71b4d7bda3b .
Likely here: https://github.com/tpaviot/pythonocc-core/blob/master/src/SWIG_files/wrapper/ShapeAnalysis.i but I'm not the right person to ask that question. You'll probably need to read the docs of SWIG.
So what is the problem with conda and RTD that would be solved by pip?
Well, you can use conda+pip (also on RTD), take a look e.g. here: https://github.com/CadQuery/cadquery/blob/2d721d0ff8a195a0902eb9c3add88d07546c05b1/environment.yml#L23 https://github.com/CadQuery/cadquery/blob/master/.readthedocs.yaml