In [1]:
import os, sys
sys.path.insert(0, os.path.abspath('..'))

In [2]:
import hublib.tool
from gui import *
from gui2 import *

Composite Laminate Analysis

Uses basic laminate theory to estimate effective laminate properties and residual stresses, strains and deformations due to thermal loading.

https://nanohub.org/tools/complam


In [4]:
complam_menu


CB: units= None
CB: units= None
cb 2e-06
CB: units= None
CB: units= None
cb 1e-06
CB: units= None
cb 1e-06
CB: units= None
cb 1e-06
CB: units= None
cb 1e-06
CB: units= None
cb 1e-06
CB: units= None
cb 1e-06
CB: units= None
cb 1e-06
CB: units= None
cb 1e-06
CB: units= None
cb 1e-06
CB: units= None
cb 1e-06

In [4]:
tf

In [5]:
mymenu

In [6]:
complam_menu2

In [7]:
from hublib.ui import Checkbox, Text, Radiobuttons, Togglebuttons
x = Checkbox(name="MyCheckBox", description="This is my checkbox example.", value=True, width='20%')

In [8]:
x

In [9]:
t = Text(name="Text Field", description='My text field descriptiopn', value='#####')
t

In [10]:
r = Radiobuttons(name='radio', description='My Radio Buttons', options=['AM', 'FM'], value='FM')
r

In [11]:
import ipywidgets as widgets

In [12]:
list = ['P0', 'P1', 'P2', 'P3', 'P4']
children = [widgets.Text(description=name) for name in list]
tab = widgets.Tab(children=children)
tab

In [13]:
tab.visible = True

In [14]:
w = widgets.HTML("FDOO")

In [15]:
w

In [16]:
w.disabled


Out[16]:
False

In [17]:
x = {}
x[0] = 'foo'
x.values()


Out[17]:
['foo']