apps/fabric runs SAM 3D Body in-process (install + licence through the hub panel), measures the rest-pose body mesh (libs/fabric/measure: 25 tape measurements from plane slices and landmarks) and drafts parametric patterns (libs/fabric/draft: T-shirt, A-line skirt, easy trousers; nesting, true-scale SVG, tiled A4 PDF). Live mode streams the webcam at a few frames a second, shows the posed body with the measurement rings riding on it, and re-drafts when the numbers settle. Measurements sit in a DataGrid that copies as tab-separated text. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
16 lines
754 B
TOML
16 lines
754 B
TOML
[package]
|
|
name = "makepad-fabric"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
license = "MIT OR Apache-2.0"
|
|
description = "Fabric: a photo in, a fitted sewing pattern out — body model, measurements, draft, cut sheet"
|
|
|
|
[dependencies]
|
|
makepad-widgets = { path = "../../widgets" }
|
|
makepad-fabric-measure = { path = "../../libs/fabric/measure" }
|
|
makepad-fabric-draft = { path = "../../libs/fabric/draft" }
|
|
# The body model runs in-process (Metal on the Mac, CUDA on a box); the
|
|
# hub does install, licence acknowledgement and weight location.
|
|
makepad-ai-body = { path = "../../libs/ai/models/body" }
|
|
makepad-ai-hub = { path = "../../libs/ai/hub", default-features = false, features = ["local", "body-native"] }
|
|
makepad-ai-hub-ui = { path = "../../libs/ai/hub_ui" }
|