pub async fn execute_and_snapshot_3d( code: &str, current_file: Option<PathBuf>, ) -> Result<Snapshot3d, ExecError>
Executes a kcl program and takes a snapshot of the result.