Skip to content

Commit

Permalink
Linked from lego tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
barnabywalters committed Jan 8, 2024
1 parent b484650 commit cf5b49e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions docs/tips.rst
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -172,6 +172,8 @@ padding (right):
:align: right


.. _are_glob_imports_bad_practice:

***********************************************
Isn’t ``from build123d import *`` bad practice?
***********************************************
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial_lego.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cf5b49e

Please sign in to comment.