fix typos

This commit is contained in:
benjamaan476
2025-06-05 17:43:33 +01:00
parent 75c1a35a25
commit 9b35ca06da
2 changed files with 3 additions and 3 deletions

View File

@ -2385,7 +2385,7 @@ pub async fn conic(exec_state: &mut ExecState, args: Args) -> Result<KclValue, K
// unlabeled_first = true, // unlabeled_first = true,
// args = { // args = {
// sketch = { docs = "Which sketch should this path be added to?" }, // sketch = { docs = "Which sketch should this path be added to?" },
// start_tangent = { docs = "The tangent of the conic at the start point (the end of the previous path segement)" }, // start_tangent = { docs = "The tangent of the conic at the start point (the end of the previous path segment)" },
// end_tangent = { docs = "The tangent of the conic at the end point" }, // end_tangent = { docs = "The tangent of the conic at the end point" },
// interior = { docs = "Any point between the arc's start and end? Incompatible with `coefficients`." }, // interior = { docs = "Any point between the arc's start and end? Incompatible with `coefficients`." },
// coefficients = { docs = "The coefficients [a, b, c, d, e, f] of the generic conic equation ax^2 + by^2 + cxy + dx + ey + f = 0. Incompatible with `endTangent`."}, // coefficients = { docs = "The coefficients [a, b, c, d, e, f] of the generic conic equation ax^2 + by^2 + cxy + dx + ey + f = 0. Incompatible with `endTangent`."},

View File

@ -1967,7 +1967,7 @@ export fn conic(
coefficients?: [number(Count); 6], coefficients?: [number(Count); 6],
/// The tangent of the conic section at the start. If not provided the tangent of the previous path segment is used. /// The tangent of the conic section at the start. If not provided the tangent of the previous path segment is used.
startTangent?: Point2d, startTangent?: Point2d,
/// The tangnet of the conic section at the end. Incompatible with `coefficients`. /// The tangent of the conic section at the end. Incompatible with `coefficients`.
endTangent?: Point2d, endTangent?: Point2d,
/// Create a new tag which refers to this segment. /// Create a new tag which refers to this segment.
tag?: tag, tag?: tag,
@ -2098,7 +2098,7 @@ export fn elliptic(
/// The minor radius, b, of the elliptic equation x^2 / a^2 + y^2 / b^2 = 1. /// The minor radius, b, of the elliptic equation x^2 / a^2 + y^2 / b^2 = 1.
@(includeInSnippet = true) @(includeInSnippet = true)
minorRadius: number(Length), minorRadius: number(Length),
/// Any point between the segment's start and end. Requies `endAbsolute`. Incompatible with `interior` or `end`. /// Any point between the segment's start and end. Requires `endAbsolute`. Incompatible with `interior` or `end`.
interiorAbsolute?: Point2d, interiorAbsolute?: Point2d,
/// Where should this segment end? Requires `interiorAbsolute`. Incompatible with `interior` or `end`. /// Where should this segment end? Requires `interiorAbsolute`. Incompatible with `interior` or `end`.
endAbsolute?: Point2d, endAbsolute?: Point2d,