mirror of
https://github.com/gumyr/build123d.git
synced 2025-12-06 10:41:20 -08:00
fixed examples to work with build1223d
This commit is contained in:
parent
70c14fdd0d
commit
f65bc75976
13 changed files with 32 additions and 135 deletions
|
|
@ -1,5 +1,4 @@
|
|||
from build123d import *
|
||||
import build123d.alg_compat as COMPAT
|
||||
|
||||
segment_count = 6
|
||||
|
||||
|
|
@ -27,7 +26,7 @@ for i in range(segment_count + 1):
|
|||
section = plane * Circle(1)
|
||||
else:
|
||||
section = plane * Rectangle(1.25, 3)
|
||||
section = COMPAT.fillet(section, section.vertices(), radius=0.2)
|
||||
section = fillet(*section.vertices(), radius=0.2, target=section)
|
||||
sections += section
|
||||
|
||||
# Create the handle by sweeping along the path
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue