mirror of
https://github.com/gumyr/build123d.git
synced 2025-12-06 02:30:55 -08:00
Linked from lego tutorial
This commit is contained in:
parent
b484650a55
commit
cf5b49e885
2 changed files with 5 additions and 3 deletions
|
|
@ -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:
|
||||
|
||||
***********************************************
|
||||
Isn’t ``from build123d import *`` bad practice?
|
||||
***********************************************
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue