๐งพ CadifyDartJson
The CadifyDartJson
function generates a JSON string representing the model parameters, ready for use in machine learning or automation scenarios.
๐ What It Does
When you enter this function into a cell, it collects relevant values from the Cadify master tab and outputs a JSON string. This can be used as input for Dart or other ML/image-generation services.
๐งพ Syntax
=CadifyDartJson(jsonType)
๐งฎ Parameters
Parameter | Description |
---|---|
jsonType |
Type of JSON to export.0 = Standard Cadify JSON1 = Floris-style prompt for AI image generation |
โ Example
=CadifyDartJson(1)
This generates a Floris-style prompt JSON for image generation (using the parameters on the Cadify master tab).
๐ Behavior
- If
jsonType = 1
, the output is a prompt for AI image generation, using baseplate, thickness, length, width, hole diameter, edge distance, and other parameters from the master tab. - If
jsonType = 0
, the output is a standard Cadify JSON structure (Generated by Model parameters from Cadify MASTER range from 'AA' column). - Only works if the active workbook contains a Cadify master tab.
๐ Notes
- The generated JSON is intended for use with
CadifyDartImage
or external ML APIs. - All source values must be present on the Cadify Master Tab.
- Returns a string; copy the result for use in ML or automation workflows.