forked from 1b-agent/opencadstudio-upstream
feat: SWEEP command — sweep profile along Line/Polyline path
Picks a profile (closed or open 2D entity) then a path entity (Line or LwPolyline). For Line paths uses tsweep along the line vector; for Polyline paths uses start→end as translation direction. Closed profiles produce a capped Solid; open profiles a Shell. Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
This commit is contained in:
1 parent
6fa3157e72
commit
063a1d5be1
4 files changed
+174
No files matched your search
@@ -153,6 +153,12 @@ pub enum CmdResult {
|
||||
angle_deg: f32,
|
||||
color: [f32; 4],
|
||||
},
|
||||
/// Sweep the profile entity `profile_handle` along `path_handle`.
|
||||
SweepEntity {
|
||||
profile_handle: Handle,
|
||||
path_handle: Handle,
|
||||
color: [f32; 4],
|
||||
},
|
||||
/// INSERT landed on a block that has AttributeDefinitions.
|
||||
/// The host should look up the attdefs for `block_name` from the document
|
||||
/// and call `attreq_set_attdefs()` on the command, then loop on text input.
|
||||
|
||||
Reference in new issue
Block a user