Document the new TRO_INSERT BricsCAD command
dxfmakros' TRO menu can now insert new TRO markers by hand (TRO_INSERT), not just edit ones tro_annotate.py placed; note it here since this is where the workflow and --emit-lisp switch are documented.
This commit is contained in:
@@ -173,6 +173,14 @@ own `TRO_`-prefixed layers and carries XDATA under the app id
|
|||||||
`SPS_SKEL_TRO`; a re-run removes exactly those tagged objects (not by layer
|
`SPS_SKEL_TRO`; a re-run removes exactly those tagged objects (not by layer
|
||||||
name) and rebuilds them, so hand-drawn content on the same layers survives.
|
name) and rebuilds them, so hand-drawn content on the same layers survives.
|
||||||
|
|
||||||
|
Once at least one marker of a given type has been annotated, the `dxfmakros`
|
||||||
|
BricsCAD menu (`SSG_LIB > TRO`) can insert further markers of that type by
|
||||||
|
hand — `TRO_INSERT` reuses the `TRO_SYM_<Typ>` block definition this tool
|
||||||
|
created and only asks for a point, an id and (optionally) a different type;
|
||||||
|
`TRO_EDIT` changes `ID`/`TYPE` on an existing marker. Neither command draws
|
||||||
|
new shapes — a type with no prior annotated instance in the drawing must be
|
||||||
|
run through this tool at least once first.
|
||||||
|
|
||||||
CSV and DXF live in different coordinate systems; the offset between them is
|
CSV and DXF live in different coordinate systems; the offset between them is
|
||||||
handled by `dxf_registration.py` — derived once, verified on every run, and
|
handled by `dxf_registration.py` — derived once, verified on every run, and
|
||||||
cached per CSV/DXF filename pair in `%SKEL_CFG%\dxf_registration.json` unless
|
cached per CSV/DXF filename pair in `%SKEL_CFG%\dxf_registration.json` unless
|
||||||
@@ -193,7 +201,7 @@ overridden.
|
|||||||
| `--re-register` | — | off | Re-derive the coordinate offset even if a verified one is already cached in `%SKEL_CFG%`. |
|
| `--re-register` | — | off | Re-derive the coordinate offset even if a verified one is already cached in `%SKEL_CFG%`. |
|
||||||
| `--max-residual` | `MM` (float) | `600.0` | Largest residual error of the coordinate registration that is still accepted; above it the run fails (exit 4). |
|
| `--max-residual` | `MM` (float) | `600.0` | Largest residual error of the coordinate registration that is still accepted; above it the run fails (exit 4). |
|
||||||
| `--check` | — | off | Dry run: only analyze and report, write no output file. |
|
| `--check` | — | off | Dry run: only analyze and report, write no output file. |
|
||||||
| `--emit-lisp` | — | off | Regenerate `cad/tro_types.lsp` (the type list for the `TROEDIT` dialog) from `tro_catalog.py` and exit — no `--dxf` needed. Written under `%DXFM_LISP%` if set (next to the `dxfmakros` SSG_LIB modules that provide the dialog), otherwise under `<SPS_SKEL>/cad`. |
|
| `--emit-lisp` | — | off | Regenerate `cad/tro_types.lsp` (the type list for the `TRO_INSERT`/`TRO_EDIT` dialogs) from `tro_catalog.py` and exit — no `--dxf` needed. Written under `%DXFM_LISP%` if set (next to the `dxfmakros` SSG_LIB modules that provide the dialogs), otherwise under `<SPS_SKEL>/cad`. |
|
||||||
|
|
||||||
**Output** (in `%SKEL_RESULTS%`, unless `--check`): `<name>_annotated.dxf`,
|
**Output** (in `%SKEL_RESULTS%`, unless `--check`): `<name>_annotated.dxf`,
|
||||||
`<name>_registration.json` (the coordinate transform used, with its proof).
|
`<name>_registration.json` (the coordinate transform used, with its proof).
|
||||||
|
|||||||
Reference in New Issue
Block a user