Linked from lego tutorial

This commit is contained in:
Barnaby Walters 2024-01-08 22:52:49 +01:00
parent b484650a55
commit cf5b49e885
2 changed files with 5 additions and 3 deletions

View file

@ -1,6 +1,6 @@
#####################
############################
Tips, Best Practices and FAQ
#####################
############################
Although there are countless ways to create objects with build123d, experience
has proven that certain techniques can assist designers in achieving their goals
@ -172,6 +172,8 @@ padding (right):
:align: right
.. _are_glob_imports_bad_practice:
***********************************************
Isnt ``from build123d import *`` bad practice?
***********************************************

View file

@ -14,7 +14,7 @@ Step 1: Setup
Before getting to the CAD operations, this Lego script needs to import the build123d
environment. There are over 100 python classes in build123d so we'll just import them
all with a ``from build123d import *`` but there are other options that we won't explore
all with a ``from build123d import *`` but :ref:`there are other options <are_glob_imports_bad_practice>` that we won't explore
here.
The dimensions of the Lego block follow. A key parameter is ``pip_count``, the length