Creo Integration (PTC Creo Parametric)
_CreoBridge implements all five strategy profiles from the Creo brainstorm inside _AugmentedIntelligence, with a full offline mock session so CI and desktops without Creo still work.
Related: PluginBridges.md (PluginBridges.md) · Plugin-SDK.md (Plugin-SDK.md)
Strategy profiles
| Profile | Strategy | Default use |
| live | Interactive session bridge (VB API / J-Link worker) | Co-pilot while user works in Creo |
| batch | Headless job runner | Overnight configure/export packs |
| configurator | Parameter / family-table only | Safest agent default |
| file | File-centric STEP/PDF/JSON (no live session) | Locked-down sites / neutral files |
| toolkit | Toolkit/OTK advanced façade | Licensed deep feature access |
[text]
creo profiles
creo profile configurator
creo profile live
creo profile enable toolkit
creo profile disable live
Commands
[text]
creo status|doctor|metrics|selftest|help
creo profiles | profile <name> | profile enable|disable <name>
creo bridge start|stop|status
creo dry-run on|off
creo configure <host> <port> <token> [workdir]
creo open <model> | demo [name] | models | close | context
creo param list|get <n>|set <n> <v>|batch K=V…
creo family list|set <instance>
creo regen | features [failed] | mass | bbox
creo asm bom|interfere
creo draw update|pdf [path]
creo export <step|stl|pdf|iges|json> [path]
creo recipe list|run <name> [K=V…]
creo job run <json|path>
creo action <json>
Plugin façade:
[text]
creokit status|doctor|profiles|profile <name>|demo|selftest|recipe <name>
Bridge manager:
[text]
bridge start creo
bridge stop creo
bridge info creo
bridge replay creo tests/fixtures/creo/context.json
bridge dry-run creo on
Quick start (offline mock)
[text]
creo doctor
creo bridge start
creo demo
creo param set LENGTH 120
creo regen
creo mass
creo export step creo/work/out.step
creo recipe run config_to_order LENGTH=150 THICKNESS=8
creo selftest
Exports honor dry_run (default on): files are written as *.dryrun markers describing the would-be artifact. Turn off for real sandbox writes:
[text]
creo dry-run off
creo export step creo/work/out.step
Environment
| Variable | Meaning | ||||
| AI_CREO_PROFILE | Initial profile (configurator, live, …) | ||||
| AI_CREO_API | mock (default) \ | vb \ | jlink \ | trail \ | toolkit |
| AI_CREO_HOST / AI_CREO_BRIDGE_PORT | Worker TCP (default 127.0.0.1:8777) | ||||
| AI_CREO_TOKEN | Shared bridge token | ||||
| AI_CREO_WORKDIR | Sandbox directory (default creo/work) | ||||
| AI_CREO_WORKER | Path to worker script/exe | ||||
| AI_CREO_EXE | Path to parametric.exe / Creo install | ||||
| AI_CREO_DRY_RUN | on/off default dry-run |
Worker sidecar
Mock worker (protocol stub):
[text]
python tools/creo_worker/creo_worker.py –port 8777 –token change-me
Replace execute_verb with VB API / J-Link for production. The host keeps tokens and ethics gates; the worker should not call cloud LLMs.
Recipes
Built-in recipe names (also under creo/recipes/*.yaml as documentation):
- config_to_order — param batch → regen → STEP
- family_instance — activate family table row
- drawing_refresh — regen + PDF
- supplier_pack — STEP + PDF + BOM CSV
- what_if_mass — LENGTH sweep mass table
- interference_gate — block export on mock collision
- start_part_apply — new from template params
- design_review_brief — context JSON for LLM
- print_prep_stl — STL export
Safety
- Default profile: configurator (no freeform feature creation).
- Default dry-run on for exports when using live-oriented flows.
- Parameter limits enforced on demo model (LENGTH 20–500 mm, etc.).
- Failed features simulated when HOLE_DIA is unsafe vs plate size.
- Toolkit profile can create unknown parameters; others reject unknown names.
Fixtures
[text]
tests/fixtures/creo/context.json
tests/fixtures/creo/action_param_set.json
tests/fixtures/creo/job_batch.json
Files
| Path | Role |
| CreoBridge.hpp / .cpp | Host bridge + all profiles |
| tools/creo_worker/creo_worker.py | Mock sidecar |
| creo/recipes/*.yaml | Recipe docs |
| BuiltinPlugins.cpp (creokit) | Plugin SDK entry |
| BridgeManager id creo | Unified registry |
Live Creo (next hardware step)
- Install Creo Parametric + enable VB API or J-Link.
- Implement real verbs in creo_worker (or C# worker).
- Set AI_CREO_API=vb (or jlink), AI_CREO_WORKER, AI_CREO_EXE.
- creo profile live → creo bridge start → creo context.
Until then, mock models (BRACKET_A.PRT, BRACKET_ASM.ASM) exercise the full command surface.
Filed under: Uncategorized - @ July 18, 2026 6:27 am