GDL
About building parametric objects with GDL.

project2{4} transparency always solid

GDL Enthusiast
Enthusiast

Hi,

 

I am trying to get the transparency to work in the Project2{4} command but it is elusive! Here is my code, I would welcome any help:

 

3D Script (standard transparent material):

 

 

set material "glass"
block 1,1,1

 

 

2D Script:

 
project2{4} 6, 270,                       ! projection_code, angle,
1, 1 + 2,                                          ! useTransparency, statusParts,
0,                                                  ! numCutplanes,
! 1,                                                 ! cutplaneHeight1,
3, 4 + 8,                                       ! method1, parts1, 
0,                                                 ! cutFillIndex1,
0, 0,                                             ! cutFillFgPen1, cutFillBgPen1,
0, 0,                                             ! cutFillOrigoX1, cutFillOrigoY1,
0,                                                 ! cutFillDirection1,
0, 0,                                            ! cutLinePen1, cutLineType1,
coverfill,                                      ! projectedFillIndex1,
viewpen, 0,                                 ! projectedFillFgPen1, projectedFillBgPen1,
0, 0,                                             ! projectedFillOrigoX1, projectedFillOrigoY1,
0,                                                 ! projectedFillDirection1,
viewpen, solidline                      ! projectedLinePen1, projectedLineType1
 
! More controls that a 747 airplane!
 
The switch useTransparency = 1 doesn't seem to change the transparency on the floor plan, it always projects as a solid in either the 0 or 1 state. It may be a glitch but most probably it is me lol.
 
Thank you, Matt
0 REPLIES 0