{ "cells": [ { "cell_type": "markdown", "id": "a0f193450eed0115", "metadata": {}, "source": [ "# Boolean Operations\n", "\n", "Boolean operations in ada-py can be applied to individual object or to any part in the assembly (including the top-level Assembly object). Any boolean applied to a part will automatically be applied to its children. Any primitive can be used as a boolean." ] }, { "cell_type": "code", "execution_count": 1, "id": "7ba1fffdb1e4aa5a", "metadata": { "ExecuteTime": { "end_time": "2025-03-16T13:34:53.228599Z", "start_time": "2025-03-16T13:34:53.222413Z" } }, "outputs": [], "source": [ "import ada" ] }, { "cell_type": "code", "execution_count": 2, "id": "c9bc66364502ae52", "metadata": { "ExecuteTime": { "end_time": "2025-03-16T13:37:18.053239Z", "start_time": "2025-03-16T13:37:17.961517Z" } }, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ "C:\\Work\\code\\adapy\\.pixi\\envs\\tests\\Lib\\site-packages\\h5py\\__init__.py:36: UserWarning: h5py is running against HDF5 (1, 14, 4) when it was built against (1, 14, 4, 3), this may cause problems\n", " _warn((\"h5py is running against HDF5 {0} when it was built against {1}, \"\n" ] }, { "data": { "text/html": [ "
" ], "text/plain": [ "