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

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

Bases: abstract_treeview

Treeview with typical IFC decomposition relationships

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

Bases: PyQt5.QtWidgets.QWidget

load_file(f, **kwargs)
select(product)
class type_treeview

Bases: abstract_treeview

Treeview with typical IFC decomposition relationships

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

Bases: OCC.Display.pyqt5Display.qtViewer3d

instanceSelected
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)
class window

Bases: PyQt5.QtWidgets.QMainWindow

TITLE = 'IfcOpenShell IFC viewer'
window_closed
add_menu_item(menu, label, callback, icon=None, shortcut=None)
closeEvent(*args)
browse()
change_displaymode(tree, inst, flag)
change_visibility(tree, inst, flag)
clear()
load(fn)
makeSelectionHandler(component)
start()
class ifcopenshell.geom.app.configuration
options(s)
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()
ifcopenshell.geom.app.QString
ifcopenshell.geom.app.USE_OCCT_HANDLE = False