Core Commands

CmdPrimitiveGeometryCreate

Generates a standard primitive shape (Cube, Sphere, etc.) as a geometry resource.

Arguments

Field Type Description
geometryId u32 ID for the generated geometry
label Option (Optional) Semantic name
shape PrimitiveShape "cube", "plane", "sphere", "cylinder", "torus", "pyramid", "pill"
options Option (Optional) Parameters (size, radius, subdivisions, etc.)

Response

Returns CmdResultPrimitiveGeometryCreate:

Field Type Description
success bool Whether the primitive was generated
message String Status or error message
Documentation Vulfram Core