Skip to content

Latest commit

 

History

History
75 lines (53 loc) · 1.92 KB

File metadata and controls

75 lines (53 loc) · 1.92 KB

CLI

The lineforge command provides every Phase-1 capability without writing Python.

Discover

lineforge --help
lineforge list-geometries
lineforge describe-geometry microstrip
lineforge export-schema | jq .          # full discriminated-union JSON Schema
lineforge info                          # version, native kernel, parallel status

Solve

Per-field flags:

lineforge solve --type microstrip --W 6mil --H 4mil --T 1.4mil --er 4.4

JSON file input:

lineforge solve --json examples/04_geometry_json.json --frequency 1GHz

Machine-readable output for piping to jq, CSV tools, etc.:

lineforge solve --type microstrip --W 6mil --H 4mil --T 1.4mil --er 4.4 \
    --output json | jq '.z0'

All Phase-1 geometries

# Microstrip (default 50Ω, 4 mil FR4):
lineforge solve --type microstrip --W 6mil --H 4mil --T 1.4mil --er 4.4

# Embedded (coated) microstrip with er=4.4 substrate, er=3.5 coating:
lineforge solve --type embedded_microstrip \
    --W 6mil --H 4mil --H2 4mil --T 1.4mil --er 4.4 --er2 3.5

# Symmetric stripline:
lineforge solve --type stripline_symmetric --W 5mil --T 1.4mil --B 14mil --er 4.4

# Asymmetric stripline:
lineforge solve --type stripline_asymmetric \
    --W 5mil --T 1.4mil --H1 4mil --H2 8mil --er 4.4

# CPWG:
lineforge solve --type cpwg --W 5mil --S 8mil --H 4mil --T 1.4mil --er 4.4

# Edge-coupled diff microstrip:
lineforge solve --type edge_coupled_diff_microstrip \
    --W 4mil --S 6mil --H 4mil --T 1.4mil --er 4.4

# Edge-coupled diff stripline:
lineforge solve --type edge_coupled_diff_stripline \
    --W 4mil --S 6mil --B 14mil --T 1.4mil --er 4.4

# Broadside-coupled diff stripline:
lineforge solve --type broadside_coupled_diff_stripline \
    --W 5mil --H1 4mil --H-between 4mil --T 0.7mil --er 4.4

MCP server

lineforge mcp-serve              # stdio transport (only one supported in Phase 0/1)

See the MCP tutorial.