Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tracing calls into OCP #129

Open
42sol-eu opened this issue Nov 21, 2023 · 3 comments
Open

Tracing calls into OCP #129

42sol-eu opened this issue Nov 21, 2023 · 3 comments

Comments

@42sol-eu
Copy link

Hi @adam-urbanczyk,
we would like to suggest additional tracing / logging calls in this or another fitting library between CadQuery/Build123d and OCCT.
The idea is to catch and investigate strange behaviour in OCCT and getting good examples to either build OCCT fixes or improve the usage of CadQuery and Build123d.

I would be willing to support or contribute the work. I am able to do it in Python or C++ being a Software-Engineer since 20 Year.
My opinion is that it would be best done in Python though I am open for other suggestions.

The tracing and logging should be definitively default off and only be used if an error occurs.

What is you take on that?

Thanks for all your great work and contribution
Sincerely from Germany
Felix

@adam-urbanczyk
Copy link
Member

adam-urbanczyk commented Nov 22, 2023

Hi there, weird repo for this issue. If you need tracing in Python then use trace from the standard lib or something like this. Am I missing something?

@42sol-eu
Copy link
Author

Hi Adam, you are right my issue is more a message than an issue.

We are trying to investigate some weird cases in the OCCT library where users reported cases of library failures.

On first glimpse the 'hunter' package could be exactly what we need.

I will investigate this further.
Thanks Felix

P.S. if you're interested in some of the details we created a occt channel on the CadQuery discord server

@adam-urbanczyk adam-urbanczyk transferred this issue from CadQuery/OCP-stubs Nov 25, 2023
@adam-urbanczyk
Copy link
Member

BTW: if you find OCCT issues, @lorenzncode has experience with submitting them to the OCCT tracker. AFAIR it is preferred to provide MREs with draw.exe and use .brep files to store the direct inputs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants