Commands › › Pipework Add Valve Set To Pipe By Definition
Pipework Add Valve Set To Pipe By Definition
Coming soon
Before you run this
Pipe resolvable; station within pipe length; valve-set JSON parses.
After it runs
N fittings + (N+1) pipe segments inside one Transaction, or rollback.
When to use this
- Adding an isolation assembly to a distribution pipe.
Don't use this when
Single fitting insert — use ConnectorOpsInsertFittingOnCurveAtStationCommand.
Inputs
| Name | Kind | Type | Required | Default | Description |
|---|---|---|---|---|---|
PresetKind |
config | string |
no | "placement_config" | Deterministic config preset |
Decision flow
1) pipe unique id + station mm + valve set json required.
2) Parse JSON as [{ "symbol_unique_id": "...", "offset_mm": 50, "kind": "Union|Elbow|Tee|Transition" }].
3) Open Transaction "Pipework::AddValveSet".
4) Split pipe at station. For each entry i, split the right pipe at offset and insert fitting.
5) If any step fails, rollback + WireError.
6) Emit inserted_count + fitting ids.
What you'll see in the chat
on start
Inserting valve set on pipe…
thinking
Parsing valve set definition…
Splitting + inserting per entry…
Splitting + inserting per entry…
on success
Inserted {inserted_count} fittings.
on failure
Valve set insert failed: {error}
REST API
Not yet exposed
This command does not carry a [RestApi] attribute today. Once tagged, this section will auto-populate with:
POST /api/v1/commands/pipework_add_valve_set_to_pipe_by_definition- Request body schema (from
[RestApiParam]) - Response schema (from
[RestApiResponse]) - curl / JS / Python code examples
Keywords & intent patterns
pipeworkaddvalvesettopipebydefinition · add valve set · pipework valve set insert
Related
| Pillar |
|---|