ifcopenshell.geom.app#

Module Contents#

ifcopenshell.geom.app.QString#
ifcopenshell.geom.app.USE_OCCT_HANDLE = False#
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_(self, index)#
contextMenuEvent(self, event)#
get_children(self, inst)#
select(self, product)#
class decomposition_treeview#

Bases: application.abstract_treeview

Treeview with typical IFC decomposition relationships

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

Bases: PyQt5.QtWidgets.QWidget

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

Bases: application.abstract_treeview

Treeview with typical IFC decomposition relationships

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

Bases: OCC.Display.pyqt5Display.qtViewer3d

instanceSelected#
HandleSelection(self, X, Y)#
finished(self, file_shapes)#
initialize(self)#
load_file(self, f, setting=None)#
select(self, product)#
toggle(self, product_or_products, fn)#
toggle_visibility(self, product_or_products, flag)#
toggle_wireframe(self, product_or_products, flag)#
class window#

Bases: PyQt5.QtWidgets.QMainWindow

TITLE = IfcOpenShell IFC viewer#
window_closed#
add_menu_item(self, menu, label, callback, icon=None, shortcut=None)#
closeEvent(self, *args)#
browse(self)#
change_displaymode(self, tree, inst, flag)#
change_visibility(self, tree, inst, flag)#
clear(self)#
load(self, fn)#
makeSelectionHandler(self, component)#
start(self)#
class ifcopenshell.geom.app.configuration#

Bases: object

options(self, 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(self)#