mirror of
https://github.com/gumyr/build123d.git
synced 2025-12-05 18:20:46 -08:00
heat_exchanger.py -> Fix example to use radius instead of apothem
This commit is contained in:
parent
43a1d93115
commit
42c91cc975
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ with BuildPart() as heat_exchanger:
|
|||
tube_locations = [
|
||||
l
|
||||
for l in HexLocations(
|
||||
apothem=(tube_diameter + tube_spacing) / 2,
|
||||
radius=(tube_diameter + tube_spacing) / 2,
|
||||
x_count=exchanger_diameter // tube_diameter,
|
||||
y_count=exchanger_diameter // tube_diameter,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue