ifcopenshell.geom.app

Module Contents

class ifcopenshell.geom.app.application(settings=None)

Bases: PyQt5.QtWidgets.QApplication

A pythonOCC, PyQt based IfcOpenShell application with two tree views and a graphical 3d view

class abstract_treeview

Bases: PyQt5.QtWidgets.QTreeWidget

Base class for the two treeview controls

clicked_(index)
contextMenuEvent(event)
get_children(inst)
select(product)
children
instanceDisplayModeChanged
instanceSelected
instanceVisibilityChanged
class decomposition_treeview

Bases: abstract_treeview

Treeview with typical IFC decomposition relationships

load_file(f, **kwargs)
parent(instance)
ATTRIBUTES = ['Entity', 'GlobalId', 'Name']
class property_table

Bases: PyQt5.QtWidgets.QWidget

load_file(f, **kwargs)
select(product)
layout
prop_dict
scroll
scrollContent
scrollLayout
class type_treeview

Bases: abstract_treeview

Treeview with typical IFC decomposition relationships

load_file(f, **kwargs)
ATTRIBUTES = ['Name']
class viewer(widget)

Bases: OCC.Display.pyqt5Display.qtViewer3d

HandleSelection(X, Y)
finished(file_shapes)
initialize()
load_file(f, setting=None)
select(product)
toggle(product_or_products, fn)
toggle_visibility(product_or_products, flag)
toggle_wireframe(product_or_products, flag)
ais_to_product
counter = 0
instanceSelected
product_to_ais
thread = None
window
class window

Bases: PyQt5.QtWidgets.QMainWindow

add_menu_item(menu, label, callback, icon=None, shortcut=None)
closeEvent(*args)
TITLE = 'IfcOpenShell IFC viewer'
menu
menus
window_closed
browse()
change_displaymode(tree, inst, flag)
change_visibility(tree, inst, flag)
clear()
load(fn)
makeSelectionHandler(component)
start()
canvas
components
editor
files
propview
settings
splitter
splitter2
tabs
tree
tree2
class ifcopenshell.geom.app.configuration
options(s)
conf_file
config
config_decode
config_encode
class ifcopenshell.geom.app.geometry_creation_signals

Bases: pyqode.qt.QtCore.QObject

completed
progress
class ifcopenshell.geom.app.geometry_creation_thread(signals, settings, f)

Bases: pyqode.qt.QtCore.QThread

run()
f
settings
signals
ifcopenshell.geom.app.QString
ifcopenshell.geom.app.USE_OCCT_HANDLE = False