forked from 1b-agent/opencadstudio-upstream
The codec and kernel repositories and crates are renamed opencadcodec and opencadkernel. Inside OCS they are depended on under short keys, so code reads `codec::`, `kernel::` and the new `graph::` (opencadgraph, the node graph engine). File-format and protocol spellings stay as they were: the ACIS product id `acadrust`, the ACADRUST_* switches and the plugin version keys `acadrust_version` / `acadrust_source`. A button left of MCP on the command line opens a translucent node graph over the viewport, with a palette of object, input, math, logic, list, text and geometry nodes added by click or drag. An object node owns drawing entities and its rows are the Properties panel's own rows for them: the single-object page is extracted from refresh_properties as entity_property_sections, values use the control protocol's property_json, and writes go through set_property_value with a property target override, so the panel, MCP and the graph share one read/write path. A list reaching an object row makes one entity per element. Each graph action is one undo step; the canvas pans and zooms. Co-Authored-By: Claude Opus 5.5 <[email protected]>
23 lines
805 B
TOML
23 lines
805 B
TOML
[plugin]
|
|
id = "opencad.python"
|
|
name = "Python Scripting"
|
|
version = "0.1.0"
|
|
description = "Embedded Python scripting (RustPython) for Open CAD Studio."
|
|
author = "Felix Riestra"
|
|
license = "GPL-3.0-only"
|
|
repository = "HakanSeven12/OpenCADStudio"
|
|
|
|
[opencad]
|
|
api_version = 7
|
|
# Both filled by release.yml at build time from the actual compiler and
|
|
# Cargo.lock's resolved opencadcodec source. Declare acadrust_source even though
|
|
# it's optional: the host's compatibility check only runs at all if this
|
|
# field is present, so an omitted field is silently treated as compatible
|
|
# rather than rejected (see OpenCADStudio's plugin-architecture.md,
|
|
# "Build-time ABI metadata").
|
|
rustc_version = "__RUSTC_VERSION__"
|
|
acadrust_source = "__ACADRUST_SOURCE__"
|
|
ribbon_order = 60
|
|
command_prefixes = ["PY_"]
|
|
xdata_apps = []
|