Construct: plane through an axis and a point (#10178) (#10472)

* claim: #10178

* feat: add plane through axis and point (#10178)
This commit is contained in:
PapaEcho
2026-11-01 09:15:25 +00:00
committed by GitHub
parent f25a8e6abc
commit ce72abacf9
24 changed files with 361 additions and 16 deletions
+12
View File
@@ -175,6 +175,18 @@ pub struct PlaneTwoEdgesParams {
pub common: PlaneCommon,
}
/// Add a construction plane containing an axis and a point off that axis.
#[derive(Debug, Deserialize, JsonSchema)]
#[schemars(deny_unknown_fields)]
pub struct PlaneAxisPointParams {
/// An origin axis, construction axis, straight edge or sketch line reference.
pub axis: GeoRefParam,
/// A vertex, sketch point, construction point or fixed point, not on the axis.
pub point: GeoRefParam,
#[serde(flatten, deserialize_with = "feature_common")]
pub common: PlaneCommon,
}
/// Add a construction plane through three points.
#[derive(Debug, Deserialize, JsonSchema)]
#[schemars(deny_unknown_fields)]