Replies: 1 comment
-
It's up to the user how they do the import but the documentation is for build123d users and represents the most simple and clear way to use it. The documentation will not be changed in this way. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, the Build123D documentation encourages users to import build123d by:
from build123d import *
for the sake of simplicity
However, thanks to PartCAD, it is much easier to reuse other parts created by Build123D or other code-CAD systems in public repositories.
This will make it more likely for a build123d part to be imported together with other python-based parts such as a cadquery part.
Therefore, moving forward, to avoid the risk of namespace collision, would it be a good idea to call build123d each time:
import build123d
build123. ......
Beta Was this translation helpful? Give feedback.
All reactions