DrapeCut
Simulate composite fabric draping on CAD surfaces; compare fibre angles and export DXF/PDF patterns.
- 0.2.0
- Version
- remote
- Transport
- 16
- Tools
Security review
Review passedReviewed Jan 1, 2000.
- tools: 16 tools scanned
- metadata: scanned
No findings.
Tools (16)
create_workspace
Create a private two-hour workspace and return its ID and CAD upload page. Start here before loading a sample or importing a user's CAD part. The ID and upload/download links grant access; do not publish them.
list_uploads
List files uploaded through this workspace's upload_url; pass an upload_id to import_part.
compare_drapes
Compare up to 12 warp angles, sequentially, at one fixed seed and cloth configuration. When omitted, seed is suggested once for the first angle. Results rank by coverage descending, then percentage above lock ascending, then maximum shear ascending. This is a stated comparison rule, not a global optimum. Runs use the requested/preset pitch, never a hidden coarse approximation. Export the chosen result promptly: backend result IDs are temporary.
create_layout
Start covering one surface with multiple pieces of the same ply/fabric. This is not a laminate stack. overlap is mm; supplied seeds are laid first and additional pieces fill remaining ground, up to max_pieces. Poll the returned job_id with get_job(kind='layout'); export with layout=true.
export_pattern
Export a built-in example as DXF or tiled 1:1 PDF and return a temporary download_url. Uploaded-part exports require the signed-in website or an authenticated local adapter; this hosted workspace cannot be linked to a website account. Use layout=true with a layout_id to export all example pieces. Download before workspace expiry.
get_job
Poll STEP import or multi-piece layout; retry after a short delay while done=false. STEP completion returns a step_id and at most 20 basic face descriptions; use list_faces for geometric descriptions and pagination. Layout completion returns compact per-piece statistics and a layout_id for export_pattern.
import_part
Import a file already uploaded to this workspace. Get upload_id from list_uploads. STEP/STP returns a job to poll with get_job(kind='step'), then inspect and select faces.
list_fabrics
List fabric IDs, nominal locking angles, tow pitch (mm), thickness and UD settings.
list_faces
Inspect STEP face IDs, areas, bounds, centroids, neighbours and planar mesh normals. This requires the MCP face-metadata endpoint in the configured backend. Centroids/bounds describe the tessellation; do not assume a closed solid's entire skin is the intended draping surface. Ask for explicit face IDs when the intended surface cannot be identified from this information.
list_samples
List built-in example parts that can be loaded without uploading a file.
load_sample
Register a built-in sample and return a mesh_id for draping.
mesh_landmarks
Inspect seed landmarks in mm, paged within each category (max 100 per category). Returns centre, corners, edge midpoints and origin intersections. Full section polylines are omitted. Follow next_offset for more points.
run_drape
Drape one fabric at one warp angle (degrees); return statistics and an exportable result_id. Omitted seed is suggested on the surface. Omitted pitch/lock_angle use the fabric preset, including its UD spread/compression settings. pitch/offset are mm; hole_area is mm² (null bridges holes). The API may increase pitch to bound the grid; pitch_used reports the actual resolution. Kinematic shear/locking statistics are not a structural strength calculation.
select_faces
Create a drapable mesh from explicitly chosen STEP face IDs; reports connectedness.
server_status
Check the hosted DrapeCut solver and read connection/workspace limits.
suggest_seed
Suggest a starting point on a mesh. Validate its coverage with an actual drape.