Skip to content

๐Ÿงพ 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
JSON export type Type of JSON to export.
0 = Standard Cadify JSON
1 = 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.