mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 09:21:46 +00:00
Minor doc improvements and SQL/stream code cleanup
This commit is contained in:
@@ -62,9 +62,7 @@ class sqlite(file):
|
||||
self.ifc_class_references = {}
|
||||
self.ifc_class_inverses = {}
|
||||
|
||||
for declaration in self.ifc_schema.declarations():
|
||||
if not str(declaration).startswith("<entity"):
|
||||
continue
|
||||
for declaration in self.ifc_schema.entities():
|
||||
# print('Dealing with declaration', declaration.name())
|
||||
|
||||
self.ifc_class_subtypes[declaration.name()] = ifcopenshell.util.schema.get_subtypes(declaration)
|
||||
|
||||
@@ -167,10 +167,7 @@ try:
|
||||
self.ifc_class_references = {}
|
||||
self.ifc_class_inverses = {}
|
||||
|
||||
for declaration in self.ifc_schema.declarations():
|
||||
if not str(declaration).startswith("<entity"):
|
||||
continue
|
||||
|
||||
for declaration in self.ifc_schema.entities():
|
||||
self.ifc_class_names[declaration.name().upper()] = declaration.name()
|
||||
|
||||
self.ifc_class_subtypes[declaration.name()] = ifcopenshell.util.schema.get_subtypes(declaration)
|
||||
|
||||
@@ -54,13 +54,13 @@ class Patcher:
|
||||
specified, it is treated as the angle to rotate in plan view (i.e.
|
||||
around the Z axis). If all angle parameters are specified, then it
|
||||
is treated as the angle to rotate around the X axis. Angles are in
|
||||
decimal degrees.
|
||||
decimal degrees and positive is anticlockwise.
|
||||
:type ax: float,optional
|
||||
:param ay: An optional angle to rotate by for 3D rotations along the Y
|
||||
axis. Angles are in decimal degrees.
|
||||
axis. Angles are in decimal degrees and positive is anticlockwise.
|
||||
:type ay: float,optional
|
||||
:param az: An optional angle to rotate by for 3D rotations along the Z
|
||||
axis. Angles are in decimal degrees.
|
||||
axis. Angles are in decimal degrees and positive is anticlockwise.
|
||||
:type az: float,optional
|
||||
|
||||
Example:
|
||||
|
||||
Reference in New Issue
Block a user