Reply To: Double use of buffer

Home Forums Problems and solutions in GDL 3D modelling Double use of buffer Reply To: Double use of buffer

#3561
Bruce Walker
Participant

To answer my own question, the below code example seems to give me the functionality I’m after:

! Define profile
nProfile = 0

PUT -1, 0, 0,
1, 0, 0,
1, 1, 0,
-1, 1, 0
nProfile = nProfile + 4

! Define path
nPath = 0

PUT 0, -1, 0, 0,
0, 0, 0, 0,
0, 5, 0, 0,
0, 5, 5, 0,
0, 0, 5, 0,
0, -1, 5, 0
nPath = 6

TUBE nProfile, nPath, 3 + 16 + 32,
GET(nProfile * 3),
USE(nPath * 4)

www.brucepwalker.com
https://www.mindmeister.com/65450406

AC20 6005 AUS Full & AC 21 3009 NZE Full | Win 10 Pro 64 | Intel i7-7700HQ 2.80GHz | 16 Gb RAM
NVIDIA GeForce GTX 1060 8Mb