Docs / Creo Integration (PTC Creo Parametric)
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 · 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 |
creo profiles
creo profile configurator
creo profile live
creo profile enable toolkit
creo profile disable live
Commands
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:
creokit status|doctor|profiles|profile <name>|demo|selftest|recipe <name>
Bridge manager:
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)
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:
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):
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 → STEPfamily_instance— activate family table rowdrawing_refresh— regen + PDFsupplier_pack— STEP + PDF + BOM CSVwhat_if_mass— LENGTH sweep mass tableinterference_gate— block export on mock collisionstart_part_apply— new from template paramsdesign_review_brief— context JSON for LLMprint_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 (
LENGTH20–500 mm, etc.). - Failed features simulated when
HOLE_DIAis unsafe vs plate size. - Toolkit profile can create unknown parameters; others reject unknown names.
Fixtures
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(orjlink),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.
Generated from the project markdown docs on 2026-07-24. This is a static, self-contained site.