From Second Life Wiki
PRIM_TYPE_SCULPT
integer PRIM_TYPE_SCULPT = 7;
The integer constant PRIM_TYPE_SCULPT has the value 7
PRIM_TYPE_SCULPT is a parameter of PRIM_TYPE used to make a prim into a sculpty of specific shape and type.
Sculpted Prims: FAQ
Related Functions, Events & Constants
Constants
Functions
Events
Examples
llSetPrimitiveParams([PRIM_TYPE,
PRIM_TYPE_SCULPT,
"d962089b-2197-993c-9ec9-4993eb0a95f2", // sculpty texture
PRIM_SCULPT_TYPE_SPHERE // type
]);
//Rotates between the different sculpt types.
default
{
touch_start(integer a)
{
list b = llGetPrimitiveParams([PRIM_TYPE]);
integer type = llList2Integer(b,2) % 4;
llSetObjectDesc(llList2String([ "Sphere",
"Torus",
"Plane",
"Cylinder"], type));
llSetPrimitiveParams(PRIM_TYPE + llList2List(b, 0, 1) + (type + 1));
}
}