[Fix] Updating docs for mirror2d (#7013)

* fix: mirror2d works on closed sketches

* fix: generating docs
This commit is contained in:
Kevin Nadro
2025-05-17 13:00:29 -05:00
committed by GitHub
parent b0a41939e8
commit 29d511d085
3 changed files with 0 additions and 6 deletions

View File

@ -14,8 +14,6 @@ mirror2d(
): Sketch ): Sketch
``` ```
Only works on unclosed sketches for now.
Mirror occurs around a local sketch axis rather than a global axis. Mirror occurs around a local sketch axis rather than a global axis.
### Arguments ### Arguments

View File

@ -18,7 +18,6 @@ use crate::{
/// Mirror a sketch. /// Mirror a sketch.
/// ///
/// Only works on unclosed sketches for now.
pub async fn mirror_2d(exec_state: &mut ExecState, args: Args) -> Result<KclValue, KclError> { pub async fn mirror_2d(exec_state: &mut ExecState, args: Args) -> Result<KclValue, KclError> {
let sketches = args.get_unlabeled_kw_arg_typed("sketches", &RuntimeType::sketches(), exec_state)?; let sketches = args.get_unlabeled_kw_arg_typed("sketches", &RuntimeType::sketches(), exec_state)?;
let axis = args.get_kw_arg_typed( let axis = args.get_kw_arg_typed(
@ -36,7 +35,6 @@ pub async fn mirror_2d(exec_state: &mut ExecState, args: Args) -> Result<KclValu
/// Mirror a sketch. /// Mirror a sketch.
/// ///
/// Only works on unclosed sketches for now.
async fn inner_mirror_2d( async fn inner_mirror_2d(
sketches: Vec<Sketch>, sketches: Vec<Sketch>,
axis: Axis2dOrEdgeReference, axis: Axis2dOrEdgeReference,

View File

@ -5,8 +5,6 @@
/// Mirror a sketch. /// Mirror a sketch.
/// ///
/// Only works on unclosed sketches for now.
///
/// Mirror occurs around a local sketch axis rather than a global axis. /// Mirror occurs around a local sketch axis rather than a global axis.
/// ///
/// ``` /// ```