Repository navigation
CAM library importers
loobric import now reads Vectric .vtdb, SprutCam .db, and CAMotics JSON tool tables.
- CAM user libraries have no manufacturer/product_code natural key, so they become ToolInstanceRecords through the 0.15.0 batch sync door, keyed by
(client, client_item_id)— re-imports update in place, never duplicate. - Cutting data rides along as preset contributions where the floor is met: Vectric's per-material/per-machine rows normalize to vc/fz/ratio with labels like
Acrylic @ Journeyman; SprutCam when its material id resolves. - Shape is asserted only from each format's declared type enum (verified subsets) — honest absence over a wrong silhouette.
- Verified against the real Cadence Jenny Line
.vtdband a real SprutCam library; CAMotics read from its open source. - Fusion-library JSON is redirected to loobric-fusion by name.
New API: loobric.importers.base.LibraryToolDraft, run.import_library_drafts().
Tracking: loobric-clients #11 #17 #18 #22.