Thomas Krijnen
214c228962
Change signature of attribute setters to take and return boost::optionals
...
Remove set- prefix for setters
2015-03-20 21:11:46 +00:00
Thomas Krijnen
a28b5517e8
Fix compilation with gcc. Thanks Ivano.
2015-03-13 10:40:31 +00:00
Thomas Krijnen
df1805921b
Create writable argument copies when duplicating entity instances
2015-03-12 17:54:52 +00:00
Thomas Krijnen
5ea13970c8
Instantiate xml_writer_settings based on boost version. Thanks Liam.
2015-03-06 15:49:46 +00:00
Thomas Krijnen
aad6c77d00
Skip IfcSweptDiskSolid.InnerRadii under IfcGeometricRepresentationContext.Precision. Thanks Stefan.
2015-03-03 19:18:51 +00:00
Thomas Krijnen
9bbbc6e7d9
Extend Python's dir() function on entity instances with attribute and inverse attribute names of entities
2015-02-27 13:41:33 +00:00
Thomas Krijnen
d41dbc386e
DISABLE_TRIANGULATION for serializers that operate on Open Cascade's BRep format
2015-02-23 22:01:21 +00:00
Thomas Krijnen
9cd0a76f84
Update bl_info structure in blender addon
2015-02-23 19:13:47 +00:00
Thomas Krijnen
dada40735b
#include <xlocale.h> header on OS X
2015-02-20 22:02:22 +00:00
Thomas Krijnen
2ce89c8b22
Properly read the CONVERT_BACK_UNITS setting for serialized elements
2015-02-20 18:06:52 +00:00
Thomas Krijnen
0552c336df
Correct omitted initialization list item from IfcGeom::IteratorSettings
2015-02-20 17:16:01 +00:00
Thomas Krijnen
349e7ddaa7
USE_WORLD_COORDS by default when USE_PYTHON_OPENCASCADE is set.
2015-02-20 16:03:20 +00:00
Thomas Krijnen
f20ae8e25e
create a setting to produce pythonOCC shapes for ifcopenshell.geom.iterator and -create_shape()
2015-02-19 21:45:17 +00:00
Thomas Krijnen
8f853ac5af
Initialize the attributes of IfcLateBoundEntity to NULL upon construction.
...
Make sure IfcWritableEntity does not return null pointers, since getArgumentCount() is unreliable for instances being created from keyword arguments in Python.
2015-02-19 20:20:47 +00:00
Thomas Krijnen
6822e84849
Initialize IfcGeomIterator so that no entities are skipped by default
2015-02-19 20:17:53 +00:00
Thomas Krijnen
73266ea216
transfer ownership from Python to C++ when adding an instance to a file
2015-02-19 18:11:09 +00:00
Thomas Krijnen
b0ccf69870
Don't add inverse references to the entity being added itself.
2015-02-19 14:42:19 +00:00
Thomas Krijnen
573655e5ef
Add the possibility to bundle binary modules for different architectures with the python-ifcopenshell module
2015-02-19 13:37:37 +00:00
Thomas Krijnen
2a7135f347
Correct visibility of IfcBaseType methods. Thanks Ian.
2015-02-19 10:53:41 +00:00
Thomas Krijnen
a57a305e9d
Correctly cast writable enumeration attributes to string, as reported in: https://sourceforge.net/p/ifcopenshell/discussion/1782717/thread/53b70ea0
2015-02-17 22:14:09 +00:00
Thomas Krijnen
e6ff1126ad
Catch errors in entity traversal while adding a new entity. In particular for late bound instances having unset attributes.
2015-02-17 22:02:06 +00:00
Thomas Krijnen
6c8a60db6e
Fixes related to r312: gcc refuses to erase a const_iterator
2015-02-17 21:24:18 +00:00
Thomas Krijnen
b5c9de8d64
Changes related to r312
2015-02-17 20:36:23 +00:00
Thomas Krijnen
5fe4cfab63
More fixes related to locales
2015-02-17 20:23:21 +00:00
Thomas Krijnen
b3e5264aa9
WARNING: more function renames
2015-02-17 20:07:09 +00:00
Thomas Krijnen
e3d5b6220d
Rename AddEntity to addEntity
2015-02-17 19:55:27 +00:00
Thomas Krijnen
846e881cf4
Update build files
2015-02-17 19:52:18 +00:00
Thomas Krijnen
ee87466521
1) Implement a breadth-first traversal of forward references 2) implement entity instance deletion from a file 3) recursively copy entity instances to another file
2015-02-17 19:48:41 +00:00
Thomas Krijnen
def1328a91
Some more checks and fixes in the IfcBooleanResult code. Most notably set the result to FirstOperand in case healing the result fails.
2015-02-06 17:14:05 +00:00
Thomas Krijnen
a7c0c08725
Remove macro redefinition warning
2015-02-06 15:56:07 +00:00
Thomas Krijnen
63e9b706c1
Add missing #includes for OCC 6.8.0 specific #if
2015-02-06 14:20:33 +00:00
Thomas Krijnen
16d400e192
Stricter template syntax in latest commit
2015-02-06 13:37:50 +00:00
Thomas Krijnen
3801e52bff
Add an XML serializer (NB: Not ifcXML / 10303-28) that describes property set data, decomposition relations and SPF header fields
2015-02-06 13:07:50 +00:00
Thomas Krijnen
c597404dfe
Increase the severity of the 'different schema' message
2015-02-06 12:59:36 +00:00
Thomas Krijnen
47b9ed4482
Add a cast in templated list conversion
2015-02-06 12:58:59 +00:00
Thomas Krijnen
d23dee551c
#ifdef away the two trailing precision arguments for gp_Trsf::SetValues() when OCC >= 6.8.0
2015-02-06 12:49:53 +00:00
Thomas Krijnen
79817341e0
Ignore entity types earlier in IfcConvert so that representations are not processed in vain
2015-02-05 11:55:25 +00:00
Thomas Krijnen
0124034803
Fix typo in locale code
2015-02-04 15:31:01 +00:00
Thomas Krijnen
2da6f5428d
Make real number parsing and serializing locale-independent, as suggested by Ian Clevy.
2015-02-03 13:53:36 +00:00
Thomas Krijnen
5f677baf63
Fixes #30 . Thanks to Ian Clevy.
2015-02-03 09:40:17 +00:00
Thomas Krijnen
b5f055e54b
Fix repr() of ifcopenshell.geom.settings
2015-01-29 11:34:11 +00:00
Thomas Krijnen
4c79f713ed
Make sure C++ exceptions do not crash the Python interpreter
2015-01-26 18:11:48 +00:00
Thomas Krijnen
b789839e4a
Fix errors in serialization
2015-01-25 10:50:12 +00:00
Thomas Krijnen
23d5827229
Zero exit code when printing help and version information in IfcConvert
2015-01-23 16:10:49 +00:00
Thomas Krijnen
f0425b16d1
Have a peek at a representation's context in the geometry wrapper as well to determine suitability for processing
2015-01-22 10:39:48 +00:00
Thomas Krijnen
e1edda588e
Properly test for the optional IfcGeometricRepresentationContext.ContextType being null in IfcGeomIterator.h
2015-01-22 10:38:35 +00:00
Thomas Krijnen
6c7c88d7a5
Python wrapper: enable iteration over all entities, get attribute optionality information
2015-01-21 17:01:22 +00:00
Thomas Krijnen
3503c8c933
Fix typo in wrapper generator
2015-01-20 14:39:52 +00:00
Thomas Krijnen
e37b062757
python 2/3 compatibility: from functools import reduce
2015-01-20 13:52:08 +00:00
Thomas Krijnen
97b6f444d1
Use BRepMesh_IncrementalMesh rather than BRepMesh::Mesh. Thanks lorinma.
2015-01-19 16:02:34 +00:00