looking through the scripting manual, it seems that you can't change the geo shape of an object from a script, only read what type it is. am i misreading things or are you planning to add that as a feature?
Breathing new life into classic NES games by magically converting it into 3D and letting you play in VR · By
What scripting currently allows you to access is the shape/shape3D instances of the current frame, not the pattern3D collection. The shape3D has more or less the same property set as the pattern3D and filled by the linked pattern3D before modified by scripting. To semi-automatic changing geo-type and other properties, you could use "Track" feature or Property Slots.
figured it was worth asking about and the reasoning makes sense. though in the scripting manual it also says that things like Rot, Offset and Pivot are also listed as get only:
PVector3 Scale { get; }
PVector3 Rot { get; }
PVector3 Offset { get; }
PVector3 Pivot { get; } // the pivot of scale and rotation operation
even though you can have a script modify those temporarily. are those only modifiable because those aren't recalculating all the data per frame, just that one attribute?