LLM-friendly copy of the T-FLEX CAD 17 API documentation prepared from a local installation.
t-flex-cad tflex cad-api open-api dotnet-api chm xml-docs jsonl markdown llm rag
raw/— original copied documentation files fromC:\Program Files\T-FLEX CAD 17\Program:TFlexAPI.chmTFlexAPI.xmlTFlexAPI3D.xmlTFlexAPIData.xmlTFlexCommandAPI.xml
llm/symbols.jsonl— compact machine-readable API reference, one XML documentation member per JSON line.llm/types/— Markdown pages grouped by API type/class and assembly.llm/chm_pages.jsonl— CHM pages extracted fromTFlexAPI.chm, one page per JSON line.llm/index.md— generated index for LLM usage.llm/manifest.json— generated counts and source metadata.scripts/convert_tflex_docs.py— repeatable converter fromraw/plus extracted CHM HTML intollm/.
Current generated counts:
- API symbols: 17,929
- Type/class Markdown pages: 2,452
- CHM JSONL pages: 19,350
Assemblies:
TFlexAPI: 9,271 symbolsTFlexAPI3D: 6,692 symbolsTFlexAPIData: 119 symbolsTFlexCommandAPI: 1,847 symbols
Use llm/symbols.jsonl for search, retrieval, indexing, and tool calls. Use llm/types/*.md when the model needs a whole class/type context. Use llm/chm_pages.jsonl for explanatory CHM content.
A symbols.jsonl record contains fields such as:
{"id":"M:...","kind":"method","assembly":"TFlexAPI","namespace":"...","type":"...","name":"...","signature":"...","summary":"...","params":{},"returns":null}- Put source files into
raw/. - Extract CHM HTML with Windows Help:
hh.exe -decompile .tmp_chm_extract raw\TFlexAPI.chm- Run the converter:
python scripts\convert_tflex_docs.py --raw raw --out llm --chm-extract .tmp_chm_extract- Remove
.tmp_chm_extractafter conversion.