forked from 1b-agent/opencadstudio-upstream
Align arc creation and editing behavior
This commit is contained in:
1 parent
573ed3245e
commit
5f9d8a9e0e
15 files changed
+537
-337
No files matched your search
@@ -29,8 +29,17 @@ pub enum SnapHint {
|
||||
pub enum TangentGeom {
|
||||
/// Infinite line through these two world-space points.
|
||||
Line { p1: [f32; 3], p2: [f32; 3] },
|
||||
/// Circle/arc.
|
||||
/// Complete circle.
|
||||
Circle { center: [f32; 3], radius: f32 },
|
||||
/// Bounded circular arc in its world-space plane.
|
||||
Arc {
|
||||
center: [f32; 3],
|
||||
axis_x: [f32; 3],
|
||||
axis_y: [f32; 3],
|
||||
radius: f32,
|
||||
start_angle: f32,
|
||||
end_angle: f32,
|
||||
},
|
||||
}
|
||||
|
||||
/// A 1-D entity (line, arc, polyline) represented as an ordered set of
|
||||
|
||||
Reference in new issue
Block a user