sweep_cut
Create curved grooves, oil channels, or milled profiles by sweeping a closed profile along a path to subtract material from a part.
Instructions
Cortar por barrido — sweep cut: subtract a swept-profile-along- path volume from existing material.
Standard autoparts use: ranuras curvas (curved grooves), canales de aceite (oil channels along a contour), perfiles de fresado (milling tool paths simulated as cuts), recortes ergonómicos siguiendo un perfil.
Args: profile_sketch_name: Closed profile sketch name (e.g. 'Croquis1' for the cross-section of the cut). path_sketch_name: Path sketch name. Must be a different sketch than the profile.
Returns Feature (name='CortarBarrido{n}', type='cut_sweep', dimensions={}).
Caveat (v1): same constraints as sweep_sketch.
Example — 2mm-wide groove following a curved path on a plate: # Profile: 2x4mm rectangle on Front create_sketch('front') create_rectangle(-1, 0, 1, 4) # Croquis1 # Path: arc on the plate's top face, then sweep_cut create_sketch_on_face([...]) create_arc(...) # Croquis2 sweep_cut('Croquis1', 'Croquis2')
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path_sketch_name | Yes | ||
| profile_sketch_name | Yes |