A Python node code generator for the G'MIC Node Editor Blender addon.
Writing code for nodes can be a repetitive and time-consuming task. To simplify the development process, this code generator automates the creation of node code, significantly reducing development time.
-
Filter Command Array: The generator starts with an array of filter commands.
-
Filter Library Lookup: Each command is matched with entries in the G'MIC filter library JSON file.
-
Simplified JSON Creation: A simplified JSON file is prepared based on the matched filters, which organizes the data for easier use.
-
Final Node Code Generation: The simplified JSON file is processed to generate the final node code, ready to be used with the addon.
app.js
: The main script that generate complete node code.construct.js
: Searches the G'MIC filter library JSON file to create a simplified JSON file for a given set of commands.generate.js
: Uses the simplified JSON file to generate the final node code.download.js
: Handles downloading the G'MIC filter library JSON file.