We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

MASS masking values: one for the Gurus

David Collins
Advocate
This weathervane rooster's body is made from two mirrored MASS objects, like a plastic model kit. The mask value is set to 21, all ridges smooth, so it looks okay in shaded 3d.

However, the contours show up in sections and elevations. Is there any way I can turn the contour lines off in hidden line views?

Rooster detail.jpg
David Collins

Win10 64bit Intel i7 6700 3.40 Ghz, 32 Gb RAM, GeForce RTX 3070
AC 27.0 (4001 INT FULL)
6 REPLIES 6
Anonymous
Not applicable
David,
To have the ridges be hidden you need to have the "s" values
of the surface points set to -1.
In this respect the MASS command is unlike the PRISM_ command.
Peter Devlin
David Collins
Advocate
Thank you, peter! You da man!
This helped clean up my rooster wonderfully.

How on earth did you learn this? Was it just trial and error or is there some logic to this that has escaped me? The GDL manual only mentions the -1 status value as a kind of end marker, which is how I've always seen it used. I tried changing the status value to 1 or 0, but never imagined -1 would do anything but cook the rooster.
David Collins

Win10 64bit Intel i7 6700 3.40 Ghz, 32 Gb RAM, GeForce RTX 3070
AC 27.0 (4001 INT FULL)
Anonymous
Not applicable
David,
Actually, I discovered this by accident.
The manual says the "s" values are "similar to the PRISM_ statement".
I modeled a pedestal sink with the Mesh tool with independent points
so that I would not have any ridge lines in the bowl and when I saved
the mesh as an object it was converted to the MASS command and,
to my surprise, all of the "s" values were -1.
So once again the manual is not complete.
Peter Devlin
Anonymous
Not applicable
Peter wrote:
So once again the manual is not complete.
Unfortunately, this is not new... all was said.
Why GDL is not a standard, despite the potential ?
David Collins
Advocate
Peter,

I get it: the -1 value does make some sort of GDL sense. We're saying that each of these points on the MASS object is a separate entity. The code stops here. Incidently, I didn't know you could do insert just points into a mesh. That's going to be useful somewhere down the line.

The GDL manual is particularly unhelpful when it come to status codes. I have mostly learned about them by trial and error and looking at auto-scripted objects. I understand the logic behind the numbers and have even come to a grudging appreciation of the binary system, but every time I see "s = j1 + 2*j2 + 4*j3 + 8*j4 + 16*j5 + 32*j6 + 64*j7 [+ a_code] where j1, j2, j3, j4, j5, j6, j7 can be 0 or 1..." I just want to bang my head on the table.
David Collins

Win10 64bit Intel i7 6700 3.40 Ghz, 32 Gb RAM, GeForce RTX 3070
AC 27.0 (4001 INT FULL)
Anonymous
Not applicable
David,
To insert independent points in a mesh, set the geometry method
to polygon and double click in the mesh where you want a point
created, and then assign it an elevation.
As to the binary system, I agree, it is tedious but necessary.
Peter Devlin