When modifying the code from the thread_example.py and change the finishes for external threads from ("fade","square") to :
either ("square", "chamfer") or ("chamfer","square") the thread is not produced.
Maybe I do not understand correctly those parameters. From the doc I expect one of the two to be for the bottom of the cylinder and the other for the top of the cylinder.
If I understand correctly, I expect that bug to be a problem with the occ_kernel.
Do you have ideas how to solve it ?
Furthermore when I use the ("square","square") parameter I expect the result to be clamped at the beginning and end of the iso_external_core cylinder, but on the bottom it extends.
I think I might be able to secure some processing time to perform unit tests with all the possible configurations.
I am just not sure how to test automatically that the result is correct, at least it could be possible to detect when the result is empty for the thread or just a cylinder for the union of the thread and the core.
I would like to have the thoughts of others about the feasibility and the soundness of such kind of tests.
I would like to finish by express my thanks to the developers of cq_warehouse it was really features lacking in cadQuery and it makes cq much, much more complete for CAD.
When modifying the code from the thread_example.py and change the finishes for external threads from ("fade","square") to : either ("square", "chamfer") or ("chamfer","square") the thread is not produced. Maybe I do not understand correctly those parameters. From the doc I expect one of the two to be for the bottom of the cylinder and the other for the top of the cylinder.
If I understand correctly, I expect that bug to be a problem with the occ_kernel. Do you have ideas how to solve it ?
Furthermore when I use the ("square","square") parameter I expect the result to be clamped at the beginning and end of the iso_external_core cylinder, but on the bottom it extends.
Below is the code I used:
I think I might be able to secure some processing time to perform unit tests with all the possible configurations. I am just not sure how to test automatically that the result is correct, at least it could be possible to detect when the result is empty for the thread or just a cylinder for the union of the thread and the core. I would like to have the thoughts of others about the feasibility and the soundness of such kind of tests.
I would like to finish by express my thanks to the developers of cq_warehouse it was really features lacking in cadQuery and it makes cq much, much more complete for CAD.