Dion Moult
1d1e051e0f
Fix #1709 .
2021-09-21 10:33:03 +10:00
Dion Moult
865c0f4895
Run black, and add black to a "qa" target to make it a standardised process.
2021-09-09 21:27:31 +10:00
Dion Moult
8792c6db63
Test IFC file module. See #1711 .
2021-08-31 17:28:31 +10:00
Dion Moult
4accf30626
Add transaction support for adding elements. See #1709 .
2021-08-31 10:25:13 +10:00
Thomas Krijnen
44c868caed
#1531 Breadth-first search and maintain insertion order on remove_deep()
2021-08-12 13:35:45 +02:00
Dion Moult
cccab9e751
Minor fix. See #1567 .
2021-07-17 18:38:04 +10:00
Thomas Krijnen
0f39b09396
#1567 add instance after the values are set
2021-07-17 09:38:31 +02:00
Dion Moult
b1d731447a
Implement undo for non-module operators. See #1475 .
2021-07-06 15:06:21 +10:00
Dion Moult
30ba45f6cb
Implement undo for pset operators. See #1475 .
2021-07-05 17:09:04 +10:00
Dion Moult
4f5d4def1e
Implement batch transaction support. See #1475 .
2021-07-05 14:16:19 +10:00
Dion Moult
b8015644e9
Implement undo for context and geometry operators. See #1475 .
2021-07-04 19:45:34 +10:00
Dion Moult
6b0a58db7d
Experimental undo and redo Python prototype ( #1539 )
...
* Experimental undo and redo Python prototype
* Simplify history, use transaction jargon, use walk for more robust serialisation
* Black file, set history size, add file reference to entity_instance constructor
* Ensure that files are always passed when entities are wrapped
* Add support for undo/redo of all project module operations
* Minor fix
* Blender to IFC mappings are now managed by Blender RNA, so they don't break on undo operations. See #1475 .
* Implement undo for all attribute operations. See #1475 .
* Update documentation for installation of add-on
* Revert Blender RNA approach for Blender-IFC mappings, because it didn't scale, but still fix the undo/redo object memory corruption with new "reload_linked_elements" method.
2021-06-30 18:34:12 +10:00
Thomas Krijnen
2fd2b49709
#1539 Option to specify id/instance_name in file::add()
2021-06-27 11:14:26 +02:00
Thomas Krijnen
5961253c29
#1376 remove_deep_batched()
2021-03-13 12:16:40 +01:00
htlcnn
286c77e3b0
black ifcopenshell-python
2020-11-02 08:28:02 +11:00
Dion Moult
fb5c25bb68
Fix #873
2020-08-09 17:32:54 +10:00
Dion Moult
0d93633326
Update docstrings as per aothms comments
2020-05-22 11:30:45 +02:00
Dion Moult
295b2fb56b
More documentation
2020-05-22 11:30:45 +02:00
Dion Moult
d62bbd995f
Add sphinx docstrings to ifcopenshell python binding
2020-05-22 11:30:45 +02:00
Thomas Krijnen
e2f79ec1ba
Work on python wrapper
2017-12-31 12:20:13 +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
Matthis Thorade
c38ac108cc
basestring for py3
...
this closes #262
2017-10-06 15:49:19 +02:00
Thomas Krijnen
430ab54602
ifcopenshell.file.from_string()
2017-08-22 10:16:07 +02:00
Thomas Krijnen
f12d8eeaa6
by_guid() and unicode in py2
2017-08-04 16:31:10 +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
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