Function kcl_lib::ast::modify::modify_ast_for_sketch
source ยท pub async fn modify_ast_for_sketch(
engine: &Arc<Box<dyn EngineManager>>,
program: &mut Program,
sketch_name: &str,
plane: PlaneType,
sketch_id: Uuid,
) -> Result<String, KclError>
Expand description
Update the AST to reflect the new state of the program after something like a move or a new line.