# 
# ACP Pre Database File
# 
# (c) 2005 - 2015 by
# ANSYS Switzerland GmbH
# 
# Product: ANSYS Composite PrepPost
# Version: 16.1
# Revision: 22128
# Written: 2015-03-13 02:14:30
# 
db.file_revision=22128
db.import_model(name=u'ACP Model', path=u'ACP-Pre.h5', format='ansys:h5', reduced_integration=True, ignored_entities=['materials'], post_processing_model=False, unit_system_type='mpa')
db.models[u'ACP Model']._pre_unit_system_type = 'mpa'
db.models[u'ACP Model'].material_data.import_matml(path=u'material.engd', material_apdl_path=u'material.apdl')
db.models[u'ACP Model'].material_data.create_fabric(name='UD_T700_200gsm', material=db.models[u'ACP Model'].material_data.materials.find(lambda v: v.ext_id == 'cd16abb5-ba2f-4330-bf59-3b1ea5af0948'), thickness=0.2, area_price=0.0, draping0=1.0, draping1=0.0, draping2=0.0, ignore_for_postprocessing=False, drop_off_material_handling='Global', cut_off_material_handling='Computed',  )
db.models[u'ACP Model'].material_data.create_fabric(name='Core', material=db.models[u'ACP Model'].material_data.materials.find(lambda v: v.ext_id == '8ff6d1e2-fccf-4d60-ab8f-fe81a6690ddd'), thickness=15.0, area_price=0.0, draping0=1.0, draping1=0.0, draping2=0.0, ignore_for_postprocessing=False, drop_off_material_handling='Global', cut_off_material_handling='Computed',  )
db.models[u'ACP Model'].material_data.create_stackup(name='Biax_Carbon_UD', fabrics=[(db.models[u'ACP Model'].material_data.fabrics.get('UD_T700_200gsm'), -45.0), (db.models[u'ACP Model'].material_data.fabrics.get('UD_T700_200gsm'), 45.0)], area_price=0.0, symmetry='No Symmetry', layup_sequence='Top-Down', draping0=1.0, draping1=0.0, draping2=0.0,drop_off_material_handling='Global', cut_off_material_handling='Computed', )
db.models[u'ACP Model'].material_data.stackups['Biax_Carbon_UD'].graph_plot.query={'layup': ['ap'], 'polar_properties': ['E1', 'E2', 'G12'], 'text_plot': []}
db.models[u'ACP Model'].material_data.create_sub_laminate(name='SubLaminate', symmetry='No Symmetry', layup_sequence='Top-Down', fabrics=[(db.models[u'ACP Model'].material_data.stackups.get('Biax_Carbon_UD'), 0.0), (db.models[u'ACP Model'].material_data.fabrics.get('UD_T700_200gsm'), 90.0), (db.models[u'ACP Model'].material_data.stackups.get('Biax_Carbon_UD'), 0.0)])
db.models[u'ACP Model'].material_data.sub_laminates['SubLaminate'].graph_plot.query={'layup': ['ap'], 'polar_properties': ['E1', 'E2', 'G12'], 'text_plot': []}
db.models[u'ACP Model'].create_element_set(name='All_Elements', op='add', middle_offset=False)
db.models[u'ACP Model'].create_edge_set(name='all_edges', edge_set_type='By Reference', origin=(0.0, 0.0, 0.0), element_set=db.models[u'ACP Model'].element_sets.get('All_Elements'), limit_angle=-1.0)
db.models[u'ACP Model'].geometry.create_cad_geometry(name='Core_limit.stp', path=u'Core_limit.stp', scale_factor=1.0, use_default_precision=True, precision=1e-09, locked=True, visible_sub_shapes=None, color=(1.0, 1.0, 0.0), opacity=0.75)
db.models[u'ACP Model'].geometry.create_virtual_geometry(name='Core_limit.stp')
db.models[u'ACP Model'].geometry.virtual_geometries['Core_limit.stp'].create_cad_reference(name='Core_limit.stp', path='Core_limit.stp', size=10591.1266539, cog=(127.31462369646479, -100.0, 10.08102624643531), dimension=2, bounding_box_min=(-200.08721421355435, -200.08721421355435, 1.6911926970073747), bounding_box_max=(243.14307179988734, 243.14307179988734, 14.430565649121645))
db.models[u'ACP Model'].create_rosette(name='Rosette.1', origin=(0.0, 0.0, 0.0), dir1=(1.0, 0.0, 0.0), dir2=(0.0, 1.0, 0.0), rosette_type='parallel', edge_set=None)
db.models[u'ACP Model'].create_tube_selection_rule(name='TubeRule.1', outer_radius=30.0, inner_radius=0.0, include_rule_type=True, edge_set=db.models[u'ACP Model'].edge_sets.get('all_edges'))
db.models[u'ACP Model'].create_cutoff_selection_rule(name='CoreLimitRule', cutoff_rule_type='geometry', offset=0.0, angle=0.0, origin=(0.0, 0.0, 0.0), direction=(1.0, 0.0, 0.0), ply_cutoff_type='analysis_ply_cutoff', ply_tapering=True, cutoff_geometry=db.models[u'ACP Model'].geometry.virtual_geometries.get('Core_limit.stp'), edge_set=None )
db.models[u'ACP Model'].create_oriented_selection_set(name='OSS_Plate', orientation_point=(46.875, 46.875, 0.0), orientation_direction=(-0.0, 0.0, 1.0), rosette_selection_method='minimum_angle', element_sets=[db.models[u'ACP Model'].element_sets.get('All_Elements')], rosettes=[db.models[u'ACP Model'].rosettes.get('Rosette.1')], selection_rules=[], draping=False, draping_direction=(0.0, 0.0, 1.0), draping_seed_point=(0.0, 0.0, 0.0), auto_draping_direction=True, draping_mesh_size=-1.0, draping_material=None, reference_direction_field=None)
db.models[u'ACP Model'].create_modeling_group(name='sandwich_bottom')
db.models[u'ACP Model'].modeling_groups['sandwich_bottom'].create_modeling_ply(name='bottom_1', ply_angle=0.0, number_of_layers=1, draping='no_draping', draping_seed_point=(0.0, 0.0, 0.0), auto_draping_direction=True, draping_thickness_correction=True, draping_direction=(1.0, 0.0, 0.0), draping_mesh_size=18.75, thickness_definition='nominal', global_ply_nr=1, ply_material=db.models[u'ACP Model'].material_data.sub_laminates.get('SubLaminate'), active=True, oriented_selection_sets=[db.models[u'ACP Model'].oriented_selection_sets.get('OSS_Plate')])
db.models[u'ACP Model'].create_modeling_group(name='sandwich_core')
db.models[u'ACP Model'].modeling_groups['sandwich_core'].create_modeling_ply(name='core', ply_angle=0.0, number_of_layers=1, draping='no_draping', draping_seed_point=(0.0, 0.0, 0.0), auto_draping_direction=True, draping_thickness_correction=True, draping_direction=(1.0, 0.0, 0.0), draping_mesh_size=18.75, thickness_definition='nominal', global_ply_nr=2, ply_material=db.models[u'ACP Model'].material_data.fabrics.get('Core'), active=True, oriented_selection_sets=[db.models[u'ACP Model'].oriented_selection_sets.get('OSS_Plate')], selection_rules=[(db.models[u'ACP Model'].selection_rules.get('CoreLimitRule'),False,(0.0,))], taper_edges=[(db.models[u'ACP Model'].edge_sets.get('taper_2_edges'),10.0,0.0)])
db.models[u'ACP Model'].create_modeling_group(name='sandwich_top')
db.models[u'ACP Model'].modeling_groups['sandwich_top'].create_modeling_ply(name='top_1', ply_angle=0.0, number_of_layers=1, draping='no_draping', draping_seed_point=(0.0, 0.0, 0.0), auto_draping_direction=True, draping_thickness_correction=True, draping_direction=(1.0, 0.0, 0.0), draping_mesh_size=18.75, thickness_definition='nominal', global_ply_nr=3, ply_material=db.models[u'ACP Model'].material_data.sub_laminates.get('SubLaminate'), active=True, oriented_selection_sets=[db.models[u'ACP Model'].oriented_selection_sets.get('OSS_Plate')])
db.models[u'ACP Model'].modeling_groups['sandwich_top'].create_modeling_ply(name='upper_reinf_1', ply_angle=0.0, number_of_layers=1, draping='no_draping', draping_seed_point=(0.0, 0.0, 0.0), auto_draping_direction=True, draping_thickness_correction=True, draping_direction=(1.0, 0.0, 0.0), draping_mesh_size=10.0, thickness_definition='nominal', global_ply_nr=4, ply_material=db.models[u'ACP Model'].material_data.fabrics.get('UD_T700_200gsm'), active=True, oriented_selection_sets=[db.models[u'ACP Model'].oriented_selection_sets.get('OSS_Plate')], selection_rules=[(db.models[u'ACP Model'].selection_rules.get('TubeRule.1'),False,(0.0, 0.0))])
db.models[u'ACP Model'].layup_plots.create_thickness_plot(name='Thickness.1', ply_wise=False, show_ply_offsets=False, ply_offset_scale_factor=1.0, show_on_solids=False, data_scope=[db.models[u'ACP Model'].element_sets.get('All_Elements')])
db.models[u'ACP Model'].layup_plots.create_angle_plot(name='Angle.1', ply_offset_scale_factor=1.0, show_ply_offsets=False, show_on_section_cuts=True, show_on_solids=False, data_scope=[db.models[u'ACP Model'].element_sets.get('All_Elements')])
db.models[u'ACP Model'].create_scene(name='Scene.1', id='Scene.1', title='', projection='perspective', show_global_coordinate_system=True, show_legend=True, show_surface=True, show_edges=True, show_selected_mesh=False, show_normals=False, show_orientations=False, show_ref_directions=False, show_fiber_directions=False, show_draped_fiber_directions=False, show_draped_transverse_directions=False, show_transverse_directions=False, show_flatwrap=False, show_draping_mesh=False, show_solid_elements=False, continuous_pick_enabled=False, active_set=["db.models[u'ACP Model'].layup_plots['Thickness.1']","db.models[u'ACP Model'].rosettes['Rosette']","db.models[u'ACP Model'].rosettes['Rosette.1']","db.models[u'ACP Model'].element_sets['All_Elements']","db.models[u'ACP Model'].edge_sets['all_edges']"])
p_=db.models[u'ACP Model'].plybook
p_.reST_title_page = ''
p_.reST_chapter = ''
p_.reST_ply = ''
