diff --git a/src/wasm-lib/kcl/src/std/helix.rs b/src/wasm-lib/kcl/src/std/helix.rs index e4834e0799..d91486eeec 100644 --- a/src/wasm-lib/kcl/src/std/helix.rs +++ b/src/wasm-lib/kcl/src/std/helix.rs @@ -20,7 +20,7 @@ pub struct HelixData { /// Number of revolutions. pub revolutions: f64, /// Start angle (in degrees). - #[serde(rename = "angleStart", alias = "angle_start")] + #[serde(rename = "angleStart")] pub angle_start: f64, /// Is the helix rotation counter clockwise? /// The default is `false`. diff --git a/src/wasm-lib/kcl/src/std/sketch.rs b/src/wasm-lib/kcl/src/std/sketch.rs index aa5521bd1b..3f7f0fd427 100644 --- a/src/wasm-lib/kcl/src/std/sketch.rs +++ b/src/wasm-lib/kcl/src/std/sketch.rs @@ -938,13 +938,13 @@ pub enum PlaneData { /// Origin of the plane. origin: Box, /// What should the plane’s X axis be? - #[serde(rename = "xAxis", alias = "x_axis")] + #[serde(rename = "xAxis")] x_axis: Box, /// What should the plane’s Y axis be? - #[serde(rename = "yAxis", alias = "y_axis")] + #[serde(rename = "yAxis")] y_axis: Box, /// The z-axis (normal). - #[serde(rename = "zAxis", alias = "z_axis")] + #[serde(rename = "zAxis")] z_axis: Box, }, } @@ -1473,11 +1473,11 @@ pub enum ArcData { /// Angles and radius with an optional tag. AnglesAndRadius { /// The start angle. - #[serde(rename = "angleStart", alias = "angle_start")] + #[serde(rename = "angleStart")] #[schemars(range(min = -360.0, max = 360.0))] angle_start: f64, /// The end angle. - #[serde(rename = "angleEnd", alias = "angle_end")] + #[serde(rename = "angleEnd")] #[schemars(range(min = -360.0, max = 360.0))] angle_end: f64, /// The radius.