Thomas Krijnen
54d96fe167
Merge branch 'master' into v0.6.0
...
# Conflicts:
# src/ifcconvert/IfcConvert.cpp
# src/ifcgeom/IfcGeom.h
2018-09-07 14:42:15 +02:00
luz.paz
d78c9171db
Misc. typos
...
Found via `codespell -q 3`
2018-09-07 11:52:01 +02:00
Thomas Krijnen
03da7bc6e4
Fix missing schema identifier in geometry function
2018-09-05 14:43:25 +02:00
Thomas Krijnen
5245341cdc
Correct previous commit
2018-07-08 11:06:45 +02:00
Thomas Krijnen
49932ba5c0
Python wrapper precision updates
2018-07-08 10:32:26 +02:00
Thomas Krijnen
d105292817
Merge branch 'master' into v0.6.0
...
# Conflicts:
# src/ifcconvert/IfcConvert.cpp
# src/ifcgeom/IfcGeomFilter.h
# src/ifcgeom/IfcGeomIteratorImplementation.h
# src/ifcgeom/IfcGeomWires.cpp
# src/ifcparse/IfcFile.h
# src/ifcparse/IfcLogger.cpp
# src/ifcparse/IfcLogger.h
# src/ifcparse/IfcParse.cpp
# src/serializers/SvgSerializer.cpp
# src/serializers/schema_dependent/XmlSerializer.cpp
2018-07-07 17:15:54 +02:00
thorade
20cd383504
triple double-quoted docstring
...
and do not use builtin names for variables
2018-05-30 11:32:47 +02:00
Thomas Krijnen
fd821d08cd
Dont fail on missing AIS_MultipleConnectedShape in earlier versions of pyocc
2018-05-17 15:54:12 +02:00
Thomas Krijnen
6b772d18b8
Fixes to qt5 port of viewer app
2018-05-17 15:53:40 +02:00
civilx64
33635c2c40
Port viewer app to PyQt5
2018-05-17 00:11:09 -04:00
Thomas Krijnen
4bed639d9c
Python wrapper geometry handling
2018-01-01 11:22:12 +01:00
Thomas Krijnen
e2f79ec1ba
Work on python wrapper
2017-12-31 12:20:13 +01:00
tymokvo
39b0d11746
fixed missing bracket
2017-12-06 12:20:22 +01:00
tymokvo
e06105e878
added some documentation/examples
2017-12-06 12:20:22 +01:00
thorade
6cd59aa121
autopep8 aggressive
...
autopep8 --in-place --recursive --max-line-length=200 --aggressive --aggressive --aggressive ifcopenshell
2017-11-07 15:28:45 +01:00
thorade
8439e5b46d
autopep8
...
autopep8 --in-place --recursive --max-line-length=200 ifcopenshell
2017-11-07 15:28:45 +01:00
thorade
6bffee83fe
identical from __future__ import in ALL py files
2017-11-05 16:17:27 +01:00
Anders Granskogen Bjørnstad
f3e20ae450
geom/app.py: ConfigParser py2/py3 fix
...
When running the viewer app in python3, I got the following crash:
Traceback (most recent call last):
File "geom_app.py", line 2, in <module>
ifcopenshell.geom.app.application().start()
File "/usr/lib/python3/dist-packages/ifcopenshell/geom/app.py", line 534, in __init__
self.editor = code_edit(self.canvas, configuration().options('snippets'))
File "/usr/lib/python3/dist-packages/ifcopenshell/geom/app.py", line 68, in __init__
config = Cfg()
TypeError: 'ConfigParser' object is not callable
Unify configparser usage for py2 and py3 by making sure the py3 path
also gives a callable Cfg
2017-11-05 16:16:49 +01:00
Matthis Thorade
afce8b37c4
py 2 and 3
...
http://python3porting.com/noconv.html#handling-exceptions
this is the first error i get when i try to start th eviewer from python 3
using the two-line from https://github.com/IfcOpenShell/IfcOpenShell/commit/1d1fb6d27a5bb1f221aed4dc290c1dc99a324e0f#commitcomment-17161165
2017-10-30 10:31:35 +01:00
Thomas Krijnen
effcecc75f
ifcopenshell.template.create()
2017-10-06 16:05:55 +02:00
Thomas Krijnen
85f872d3b8
ifcopenshell.guid.new()
2017-10-06 16:03:04 +02:00
Thomas Krijnen
f3b3e2a441
More meaningful error message setting attributes in python
2017-10-06 16:02:34 +02:00
Matthis Thorade
c38ac108cc
basestring for py3
...
this closes #262
2017-10-06 15:49:19 +02:00
Thomas Krijnen
96ec925f31
Spatial Querying: Implementation of BVH tree for IFC files using NCollection_UBTree ( #130 )
...
* Implementation of BVH tree for IFC files using NCollection_UBTree
* Fixes for gcc and OCCT < v6.8
* Enable BVH selection by TopoDS_Shape
* Small fixes to tree
* Merge conflicted files and other changes
* Eliminate one warning (some remain) + add tree test
2017-09-13 13:16:58 +02:00
Thomas Krijnen
430ab54602
ifcopenshell.file.from_string()
2017-08-22 10:16:07 +02:00
Thomas Krijnen
7bea054c1e
get_log in python
2017-08-19 16:54:06 +02:00
Thomas Krijnen
f12d8eeaa6
by_guid() and unicode in py2
2017-08-04 16:31:10 +02:00
Thomas Krijnen
85524170dd
More advanced entity_instance.get_info()
2017-08-04 16:30:43 +02:00
Thomas Krijnen
a58f23fae2
Missing introspection methods in Python
2017-08-02 16:08:07 +02:00
Thomas Krijnen
94224411a9
Recursive get_info()
2017-08-02 16:06:27 +02:00
Thomas Krijnen
5c7e7cab1a
Raise IndexError
2017-08-02 16:05:56 +02:00
Thomas Krijnen
04e3018f3c
Use default logger
2017-07-17 18:09:49 +02:00
Thomas Krijnen
901ef57d60
Fix #180
2017-07-03 14:18:56 +02:00
Thomas Krijnen
a27e516011
Elided argument in ifcopenshell.file constructor
2017-06-20 18:53:39 +02:00
Thomas Krijnen
5e0da9725a
ifcparse refactoring ( #190 )
...
Unify attribute containers, provide latebound attribute access on IfcBaseEntity, more basic tests on Travis
2017-06-05 17:26:58 +02:00
Thomas Krijnen
0f825b7050
Fix missing import
2017-05-03 15:10:20 +02:00
Thomas Krijnen
4faa66f9b8
Fix for python 2.7
2017-03-09 12:04:07 +01:00
Thomas Krijnen
5705f24f3e
python: make logging import conditional in case time is not built
2017-03-09 11:47:54 +01:00
Thomas Krijnen
52d035d09a
python: don't import platform module as it may depend on select which might be unavailable
2017-03-09 10:16:22 +01:00
Jelle Feringa
5d6160b47a
log exceptions on get_info method
...
these exceptions currently are actively being hidden, which is
intransparent / could make debugging challenging
improved formatting tot pep8
2017-01-04 10:26:04 +01:00
aahoo
99bde93af5
adds get_info method for class #resolves #175
2017-01-01 18:15:55 +01:00
Thomas Krijnen
c94ed73b8d
Incorporate console into main app, fallback to QPlainTextEdit, some styling
2016-11-28 17:46:57 +01:00
jakob-beetz
90e4f21f29
Interactive scripting pane added to pyQt viewer geom.app
2016-11-28 17:46:57 +01:00
jakob-beetz
3ba2f781d8
added a property panel tab to the PyQt geom.app viewer that shows all properties from IfcPropertySets attached to the currently selected object
2016-11-28 17:46:57 +01:00
Thomas Krijnen
8a92e1a766
Speed up geometry generation in ifcopenshell.geom.application by using iterator pt2.
2016-09-22 13:45:32 +02:00
Thomas Krijnen
efd6eb7f97
Speed up geometry generation in ifcopenshell.geom.application by using iterator
2016-09-22 13:40:39 +02:00
Thomas Krijnen
7ed98869d2
Update ifcopenshell.geom.app for pyocc-0.16.5
...
https://github.com/tpaviot/pythonocc-core/commit/3d7b9745359b436b4144105f7e17aa0040acb8c6
2016-09-13 14:05:28 +02:00
Thomas Krijnen
240133515a
Unify usage of spaces in Python library code
2016-07-18 15:53:20 +02:00
Thomas Krijnen
b7f23ee701
Implement option to get generic inverses from Python
2016-07-18 14:47:32 +02:00
Thomas Krijnen
aebb9e324b
Geometry serialization ( #71 )
...
Serialize geometry to IFC instances directly from a TopoDS_Shape
2016-06-22 15:03:18 +02:00