Documentation under development.
The Adobe Illustrator extension primarily builds upon
gRPC via Javascript but deals with some particularities of Adobe extensions. To run the extension, copy the folder to
C:\Program Files\Common Files\Adobe\CEP\extensions
You will need to enable debugging, we recommend using that third-party software for it:
‣
Also refer to ‣
If you want to sign and distribute a extension, refer to ‣
It was only tested on Adobe Illustrator, though with some changes it should also work e.g. in Photoshop.
Draw some curves, “Connect” with PRC, select them and click “Update Toolpath” to turn the curves into toolpaths and send them to PRC for simulation and code generation.
You can connect to localhost:8004 to debug the Javascript code.
ScriptUI-Dialog-Builder-Joonas
joonaspaakko • Updated May 30, 2025
The interaction happens through the is used to serialize and deserialize.
hostscript.jsx
file, which uses ExtendScript (basically an older Javascript dialect) to interact with Illustrator. To be able to exchange data, json.jsx
indiscripts
In the
hostscript.jsx,
GetToolpath()
gets the currently selected curves and uses their anchor points for linear movements. Consider using Path/Add Anchor Points
to add more points and then Path/Simplify
to reduce them again locally.Currently, the base values are only updated if you set them before clicking Connect. Otherwise use the settings in the PRC browser-based UI.