An array of DataTree objects representing the input data for the compute job.
The Grasshopper definition, which can be:
Compute configuration (server URL, API key, etc. along with optional timeout, units, etc.)
An object containing the compute result and extracted file data.
// Using a URL
await solveGrasshopperDefinition(trees, 'https://example.com/definition.gh', config);
// Using a base64 string
await solveGrasshopperDefinition(trees, 'UEsDBBQAAAAIAL...', config);
// Using binary data
const fileData = new Uint8Array([...]);
await solveGrasshopperDefinition(trees, fileData, config);
Runs a Rhino Compute job using the provided tree prototypes and Grasshopper definition.
Use this for direct compute control. For high-level API, use
GrasshopperClient.solve().