#################
# Use Array
@Order(0)
attr Color_array = [0,0,0]
Lot1 -->
color(Color_array[0], Color_array[1], Color_array[2])
extrude(10)
X.
##################
#################
# OR
@Order(1)
@Range(min=0, max=1, stepsize=0.1)
attr Red = 0
@Order(2)
@Range(min=0, max=1, stepsize=0.1)
attr Green = 0
@Order(3)
@Range(min=0, max=1, stepsize=0.1)
attr Blue = 0
Lot2 -->
color(Red, Green, Blue)
extrude(10)
X.
##################
@Color
attr col = "#FFFFFF"
lot-->
color(col)
extrude(30)
没有回复内容