Sunday
Hello all,
Please, In TUBE or TUBE{2}, Is there a flag which allows displaying diagonal when TUBE change direction to 90 degrees?
Image attache show the TUBE preview, and I marked in red the lines I want to keep visible in 3D, elevations etc.
Thanks in advance.
yesterday
muril00ng, You can control the visiility edgelines in many ways by mask value
Please, read GDL manual on page 93:
TUBE n, m, mask,
u1, w1, s1,
un, wn, sn,
x1, y1, z1, angle1,
...
xm, ym, zm, anglem
mask: controls the existence of the bottom and top polygons’ surfaces and edges.
mask = j1 + 2*j2 + 16*j5 + 32*j6 + 64*j7 + 128*j8 + 512*j10 + 1024*j11 + 2048*j12 + 4096*j13,
where each j can be 0 or 1.
j1: base surface is present,
j2: end surface is present,
j5: base edges (at x2, y2, z2) are visible,
j6: end edges (at xm-1, ym-1, zm-1) are visible,
j7: cross-section edges are visible, surface is articulated,
j8: cross-section edges are sharp, the surface smoothing will stop here in OpenGL and rendering,
j10: base edges participate in line elimination (Compatibility: introduced in Archicad 23.),
j11: end edges participate in line elimination (Compatibility: introduced in Archicad 23.),
j12: longitudinal edges (which connect cross sections) participate in line elimination (Compatibility: introduced in Archicad 23.),
j13: edges of cross sections participate in line elimination (Compatibility: introduced in Archicad 23.).
si: status of the lateral edges.
0: lateral edges starting from the node are all visible,
1: lateral edges starting from the node are used for showing the contour.
2: when using Archicad or Z-buffer Rendering Engine and setting Smooth Surfaces, the lateral edge belonging to this point defines a
break. This solution is equivalent to the definition of additional nodes. The calculation is performed by the compiler. With other rendering
methods, it has the same effect as using 0.
yesterday
Thanks Pertti,
I 've tried that already, however diagonals don't appear.
Here's the code:
!!! A = 0.300
!!! B = 0.250
material 18
TUBE 5, 6, 1+2+16+32+64,
!!! profile
0, 0, 0,
0.040, 0, 0,
0.040, 0.010, 0,
0, 0.010, 0,
0, 0, 0,
!!! path
0,-0.2,0,0,
0,0,0,0,
0,B,0,0,
A,B,0,0,
A,0,0,0,
A,-0.2,0,0