This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Below is presented some real code lacking implementation. The main purpose is to expose my thought about what a better API of | |
CadQuery could be. I have not thought to much in depth of the problematic such an API could bring but its up to be discussed. | |
My thoughts are that currently the CQ fluent API through the Workplane class (and the Sketch one) try to do too much different things at | |
the same time. This is great because it mostly succeed in this task but it's also wrong because there is a lot of edgy cases where it just doesnt work | |
well. | |
In order to tackle down this problem I think a strongly structured OOP API would help in debugging and adding new features. |