B.E.A.T. wrote:
Thx for the reply Barry!
that is what I thought, and that is why I figured out that the reason for not seeing a section fill has to do with the object not being 'solid'...
So bottom line: are only prisms and primitives "capable" of being solid within GDL?
Primitives are only surfaces so unless they form a closed form they can not be solid.
I just created a couple of quick morphs and deleted the face on one.
This of course creates an empty box.
When save as an object the closed one is solid but the empty box is not.
If you look I the GDL manual all the 3D shapes can be solid but the trick is you must give the MODEL SOLID command before scripting them.
You can also make them MODEL SURFACE (in which case they will be empty inside) or MODEL WIRE (in which case they will just be edge lines).
The primitive elements are just 2D planes but if put together to form a fully enclosed shape they can be solid - but only with the MODEL SOLID command first.
Hope this helps a bit.
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11