<jupyter_start><jupyter_text>CCAD<jupyter_code>import ccad.model as cm
import OCC.Display.SimpleGui as SimpleGui
import numpy as np 
import ccad.display as cd
s1=cm.sphere(1.0)
#s1.translate(np.array([1,12,3]))
b1 = cm.box(1,2,5)
s = s1-b1
u =cm.solid(lshell[0:5])
def view(model):
    display, start_display, add_menu, add_function_to_menu = SimpleGui.init_display()
    display.DisplayShape(model.shape, update = True)
    start_display()
t1 = cm.from_step('level1/ASM0001_ASM_1_ASM.stp')
pc = np.array(t1.center())
t2 = t1.copy()
t2.translate(-pc)
lshell = t1.subshapes('shell')
view(u)
view(lshell[1])
tabby.center()
cm.__dict__<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.1540785498489426, 'fraction_numerical': 0.04380664652567976, 'mean_word_length': 6.053191489361702, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '467812', 'license': 'MIT', 'n_tokens_mistral': 289, 'n_tokens_neox': 280, 'n_words': 48, 'path': 'src/ccad.ipynb', 'repo_name': 'BootCampOSV/bcosv', 'size': '662'}