diff --git a/CHANGELOG.md b/CHANGELOG.md index 821fa08e..548764ee 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,19 @@ see the notices in the README. ### Added +- **SolidCraft plugin ↔ desktop app** (research page *Talking to the desktop + app from inside SolidCraft*). SolidCraft plugins have no network, so the + plugin and the desktop app share `/.teamcraft/solidcraft`: + the app writes a heartbeat and the state of each revision it shows, the + plugin's new entries read it and leave requests – *TeamCraft live status*, + *Check out in TeamCraft*, *Check in with TeamCraft*, *Open in TeamCraft*. + The app checks each request (a revision of its working folder, a known + action, fresh, small, a regular file), asks before a check-out and opens its + check-in dialog for a check-in. The app not running is never an error: the + plugin says so and shows what the app last knew; a request waits 10 minutes. + The old entries need no folder. 14 cases in `plugins/solidcraft/tests/` run + on the real SolidCraft (`solidcraft-cli plugin test --require-cases`), and + `build.sh` also makes the `.zip` SolidCraft installs. - **SolidCraft designs show their picture** (#364). The preview image of a `.sc` design is the PNG SolidCraft embeds when saving with its model, read from the ZIP container with size and CRC checks and shown only when its key diff --git a/README.md b/README.md index 640f6b92..ec60a453 100755 --- a/README.md +++ b/README.md @@ -324,7 +324,7 @@ end-to-end tests against a real PostgreSQL. - **SolidCraft and FieldCraft** – [SolidCraft](https://github.com/tangency-labs/solidcraft) designs (`.sc`, checked by content) and [FieldCraft](https://github.com/tangency-labs/fieldcraft) models (`.fieldcraft`) are recognised, SolidCraft's embedded picture is the preview image, linked designs are - file references with quantities, SolidCraft's BOM CSV and the design itself import as a BOM, the desktop app exports designs to STEP with `solidcraft-cli`, a TeamCraft plugin for SolidCraft shows and checks the design's TeamCraft item inside SolidCraft, and their STEP and 3MF + file references with quantities, SolidCraft's BOM CSV and the design itself import as a BOM, the desktop app exports designs to STEP with `solidcraft-cli`, a TeamCraft plugin for SolidCraft shows and checks the design's TeamCraft item inside SolidCraft – and, through a folder shared with the desktop app, its live state and requests to check out, check in or open it – and their STEP and 3MF exports previewed – design, export and analysis in one revision ([more](https://warr-ev.github.io/TeamCraft/reference/interop.html)). diff --git a/desktop/README.md b/desktop/README.md index 088b3895..cae14cfc 100755 --- a/desktop/README.md +++ b/desktop/README.md @@ -35,6 +35,7 @@ TeamCraft server – it is a client, not an offline copy. | Park | *Park…* (Workspace tab, *More ▾*, the check-in dialog): the ticked files go up as new versions through the upload endpoint (`POST …/files`) and the check-out **stays** – work in progress survives a lost laptop. After somebody else released your check-out, the Workspace tab shows *Released by X; your local changes are kept and need a new check-out* (`released` of the server's file status) | | Native CAD previews | The preview image stored in Inventor and Solid Edge files in the Files tab, a picture of the 3D preview for NX and SOLIDWORKS files; on Windows *STEP* in the Workspace tab and *Create STEP exports … first* at check-in export with the installed Inventor or Solid Edge (COM automation through Windows PowerShell; uses your own licence); on every system SolidCraft designs (`.sc`) export through SolidCraft's `solidcraft-cli run --in … --out ….stp` (found through `SOLIDCRAFT_CLI`, `PATH` or the default install folders). A failed export never stops the check-in: the file goes without its STEP and the result says why | | SolidCraft item data | *Item data* in the Workspace tab (SolidCraft designs of your check-out, not open in SolidCraft): `solidcraft-cli run