Commit Graph

  • 4385f3b14d Revert some of the typemap work in b96cf38e17 and rely on a general mapping from const vector to tuple aothms 2015-09-04 11:46:52 +02:00
  • 3cba242295 When built without ICU filter characters outside of unencoded range aothms 2015-08-14 22:11:32 +02:00
  • 822fa91f4d Work on a C++ representation of the parsed EXPRESS schema aothms 2015-08-13 14:28:50 +02:00
  • 266d6f4c97 Cache the output of the parsed express schema as a Python pickle stream for speedier code generation aothms 2015-08-13 14:26:14 +02:00
  • 8406c5243c Merge pull request #1 from aothms/master Thomas Krijnen 2015-08-13 14:20:12 +02:00
  • 810d3eab1e Ignore tail remarks in the express schema parser aothms 2015-08-13 14:18:59 +02:00
  • 17f6e67706 Update README aothms 2015-08-10 11:38:43 +02:00
  • f5c32adff1 Be sure to flush fstream when finalizing SVG export Thomas Krijnen 2015-07-26 17:59:52 +00:00
  • bb43dec90f Fix typos Thomas Krijnen 2015-07-26 17:58:08 +00:00
  • 0e5edbcd84 Reverse preprocessor statement to work without definition, defaulting to 2x3 Thomas Krijnen 2015-07-26 15:26:34 +00:00
  • 68fc361d96 Add SvgSerializer developed in collaboration with ROOT B.V. Thomas Krijnen 2015-07-26 14:26:13 +00:00
  • 06b4fcb066 Remove orphaned file. Thanks Stinkfist Thomas Krijnen 2015-07-26 14:22:50 +00:00
  • 85d5d86c84 Update code examples for recent changes Thomas Krijnen 2015-07-09 13:52:55 +00:00
  • 78f4d7d592 Fix build with Boost 1.58.0. Patch by stinkfist0. Thanks. Thomas Krijnen 2015-07-09 13:23:40 +00:00
  • 92bc7b13cb Use custom typemaps for geometry related classes as well Thomas Krijnen 2015-06-26 13:06:28 +00:00
  • e518146bd6 Fix IfcCurveBoundedPlane implementation Thomas Krijnen 2015-06-21 16:15:15 +00:00
  • e39cbc6d00 Fix ensure_fit_for_subtraction() function when input shape is a solid v0.4.0-rc2 v0.4.0 Thomas Krijnen 2015-06-21 16:14:37 +00:00
  • e9eb7db620 Fix ensure_fit_for_subtraction() function when input shape is a solid Thomas Krijnen 2015-06-21 16:14:37 +00:00
  • 1068070037 Do not free the IFC file if it has not been constructed by the iterator Thomas Krijnen 2015-06-20 14:23:59 +00:00
  • 3d302619c5 Check for numbers.Integral instead of int, to catch py2.7's long type as well Thomas Krijnen 2015-06-20 14:22:54 +00:00
  • 48febb7eff Check for null values when setting attributes in IfcOpenShell-Python, also return value being set Thomas Krijnen 2015-06-18 13:15:33 +00:00
  • feaa13a809 gcc compatibility Thomas Krijnen 2015-06-18 08:55:29 +00:00
  • 76cbb79c75 Correctly wrap arbitrarily nested aggregates of entity instance attributes in IfcOpenShell-Python Thomas Krijnen 2015-06-17 19:46:11 +00:00
  • 6aabbd4a55 Correctly interpret SWIG return code of type check Thomas Krijnen 2015-06-17 19:44:15 +00:00
  • 48676a733f Rework SWIG python binding not to rely on polymorhpic functions. Use hand-written typemaps that map vectors to tuples and iterables to vectors. Add support for multidimensional aggregates in Python. Thomas Krijnen 2015-06-17 11:27:02 +00:00
  • f8c45b2a99 Fix serialization of binary values Thomas Krijnen 2015-06-17 11:22:43 +00:00
  • 1ec14118fe Introduce specific exception for out of range attribute indexing Thomas Krijnen 2015-06-17 11:04:28 +00:00
  • 381f711103 Update string representation of ArgumentTypeToString Thomas Krijnen 2015-06-16 14:47:03 +00:00
  • b748c0a573 Add source code for generation of IfcTriangulatedFaceSet test case Thomas Krijnen 2015-06-16 13:00:19 +00:00
  • c4e8a409de Add another IfcTriangulatedFaceSet test case Thomas Krijnen 2015-06-16 12:59:49 +00:00
  • 28863f90b9 Add support for IFC4.IfcTriangulatedFaceSet Thomas Krijnen 2015-06-16 12:58:51 +00:00
  • 4f60c7d48c Provide concrete C++ implementations for all multidimensional aggregate types in IFC4 Thomas Krijnen 2015-06-16 12:58:07 +00:00
  • f70b37137d Emit an error message rather than exception for GlobalId parsing inconsistencies to accomodate files with invalid GlobalIds. Thomas Krijnen 2015-06-04 14:33:13 +00:00
  • 49d491704e Add support for IfcBSplineCurveWithKnots Thomas Krijnen 2015-06-02 15:56:09 +00:00
  • a3f17cd4e7 Enable passing explicit IfcRepresentation in IfcOpenShell-Python create_shape() Thomas Krijnen 2015-06-02 13:30:02 +00:00
  • b96cf38e17 Minimize passing STL objects past dynamic library boundaries to improve stability of IfcOpenShell-Python Thomas Krijnen 2015-06-02 13:29:08 +00:00
  • 5a994ebe28 vc9 compatibility Thomas Krijnen 2015-05-26 12:56:00 +00:00
  • ffc008228d gcc compatibility Thomas Krijnen 2015-05-26 12:55:00 +00:00
  • 77ba3f5a80 Perform shape healing after opening subtraction Thomas Krijnen 2015-05-22 15:41:56 +00:00
  • 04d4095ffe Correctly mark face boundary edges in case of vertex welding Thomas Krijnen 2015-05-22 13:13:48 +00:00
  • 569fa49796 Prevent an issue with obtaining precision from sub contexts Thomas Krijnen 2015-05-22 13:13:16 +00:00
  • 7abe2df066 Update implementation of IfcBSplineSurfaceWithKnots for IfcAdvancedFace in IFC4 Thomas Krijnen 2015-05-21 13:02:10 +00:00
  • 9b64c6f4b9 Check for orientation of wires when creating outer boundary of face Thomas Krijnen 2015-05-21 13:01:01 +00:00
  • 771f78a671 Fix surface style association when compiling with IFC4 Thomas Krijnen 2015-05-21 12:55:54 +00:00
  • 3d6b330366 Reintroduce binary type in express parser Thomas Krijnen 2015-05-21 12:53:17 +00:00
  • 37d4e9bcbd Fix express parser for simple types that redefine aggregates of entities Thomas Krijnen 2015-05-21 12:09:57 +00:00
  • 7390faa654 Adapt XML serializer for changes in IFC4 decomposition and property set types Thomas Krijnen 2015-05-21 12:06:38 +00:00
  • b7d4eb62d5 Add IfcFaceSurface example Thomas Krijnen 2015-05-21 12:05:23 +00:00
  • 40a60386c8 Brand new implementation of IfcFace(Surface) Thomas Krijnen 2015-05-20 08:55:02 +00:00
  • 9bf9f82b3b Format obj and dae output predictably based on rfc notation of GlobalId. As discussed in https://sourceforge.net/p/ifcopenshell/discussion/1782717/thread/cbb0c8ca/ Thomas Krijnen 2015-05-13 14:30:21 +00:00
  • b37a684eb9 Append line segment indices in the IfcGeomServer Thomas Krijnen 2015-04-25 09:13:14 +00:00
  • c97cf661a2 1. Also emit Plan and Axis shape representations and IfcTopologyRepresentations if requested. 2. Add serialization for curves. 3. In Python add option to specify representation for which to generate shape. Thomas Krijnen 2015-04-22 09:15:48 +00:00
  • 53f625346f Fix compilation with gcc Thomas Krijnen 2015-04-07 19:26:01 +00:00
  • 608c7d9841 Don't rely on exceptions for testing whether a Python attribute names a valid (inverse) IFC attribute Thomas Krijnen 2015-04-07 15:49:38 +00:00
  • 955190b517 Add support for reading and writing BINARY attributes. Rename members of the IfcUtil::ArgumentType enumeration. Thomas Krijnen 2015-04-07 15:06:56 +00:00
  • 462425f61d Update README Thomas Krijnen 2015-03-22 20:06:04 +00:00
  • 0a0f44b674 Reduce link time for MSVC release builds. Patch by ch0kee. Thomas Krijnen 2015-03-22 19:52:29 +00:00
  • 214c228962 Change signature of attribute setters to take and return boost::optionals Remove set- prefix for setters csharp_wrapper Thomas Krijnen 2015-03-20 21:11:46 +00:00
  • 9f9a0ea3dc Update generated code for IFC4 Thomas Krijnen 2015-03-20 20:58:05 +00:00
  • a28b5517e8 Fix compilation with gcc. Thanks Ivano. Thomas Krijnen 2015-03-13 10:40:31 +00:00
  • df1805921b Create writable argument copies when duplicating entity instances Thomas Krijnen 2015-03-12 17:54:52 +00:00
  • 5ea13970c8 Instantiate xml_writer_settings based on boost version. Thanks Liam. Thomas Krijnen 2015-03-06 15:49:46 +00:00
  • aad6c77d00 Skip IfcSweptDiskSolid.InnerRadii under IfcGeometricRepresentationContext.Precision. Thanks Stefan. Thomas Krijnen 2015-03-03 19:18:51 +00:00
  • 9bbbc6e7d9 Extend Python's dir() function on entity instances with attribute and inverse attribute names of entities Thomas Krijnen 2015-02-27 13:41:33 +00:00
  • d41dbc386e DISABLE_TRIANGULATION for serializers that operate on Open Cascade's BRep format Thomas Krijnen 2015-02-23 22:01:21 +00:00
  • 9619543137 Update bl_info structure in blender addon Thomas Krijnen 2015-02-23 19:13:47 +00:00
  • 9cd0a76f84 Update bl_info structure in blender addon Thomas Krijnen 2015-02-23 19:13:47 +00:00
  • ab4d3b8cad #include <xlocale.h> header on OS X Thomas Krijnen 2015-02-20 22:02:22 +00:00
  • dada40735b #include <xlocale.h> header on OS X Thomas Krijnen 2015-02-20 22:02:22 +00:00
  • 2ce89c8b22 Properly read the CONVERT_BACK_UNITS setting for serialized elements Thomas Krijnen 2015-02-20 18:06:52 +00:00
  • 0552c336df Correct omitted initialization list item from IfcGeom::IteratorSettings Thomas Krijnen 2015-02-20 17:16:01 +00:00
  • 349e7ddaa7 USE_WORLD_COORDS by default when USE_PYTHON_OPENCASCADE is set. Thomas Krijnen 2015-02-20 16:03:20 +00:00
  • f20ae8e25e create a setting to produce pythonOCC shapes for ifcopenshell.geom.iterator and -create_shape() Thomas Krijnen 2015-02-19 21:45:17 +00:00
  • 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. Thomas Krijnen 2015-02-19 20:20:47 +00:00
  • 6822e84849 Initialize IfcGeomIterator so that no entities are skipped by default Thomas Krijnen 2015-02-19 20:17:53 +00:00
  • 73266ea216 transfer ownership from Python to C++ when adding an instance to a file Thomas Krijnen 2015-02-19 18:11:09 +00:00
  • b0ccf69870 Don't add inverse references to the entity being added itself. Thomas Krijnen 2015-02-19 14:42:19 +00:00
  • 573655e5ef Add the possibility to bundle binary modules for different architectures with the python-ifcopenshell module Thomas Krijnen 2015-02-19 13:37:37 +00:00
  • 2a7135f347 Correct visibility of IfcBaseType methods. Thanks Ian. Thomas Krijnen 2015-02-19 10:53:41 +00:00
  • 8c7346a669 Correctly cast writable enumeration attributes to string, as reported in: https://sourceforge.net/p/ifcopenshell/discussion/1782717/thread/53b70ea0 Thomas Krijnen 2015-02-17 22:14:09 +00:00
  • a57a305e9d Correctly cast writable enumeration attributes to string, as reported in: https://sourceforge.net/p/ifcopenshell/discussion/1782717/thread/53b70ea0 Thomas Krijnen 2015-02-17 22:14:09 +00:00
  • e6ff1126ad Catch errors in entity traversal while adding a new entity. In particular for late bound instances having unset attributes. Thomas Krijnen 2015-02-17 22:02:06 +00:00
  • 6c8a60db6e Fixes related to r312: gcc refuses to erase a const_iterator Thomas Krijnen 2015-02-17 21:24:18 +00:00
  • b5c9de8d64 Changes related to r312 Thomas Krijnen 2015-02-17 20:36:23 +00:00
  • 65b0f22c76 More fixes related to locales Thomas Krijnen 2015-02-17 20:23:21 +00:00
  • 5fe4cfab63 More fixes related to locales Thomas Krijnen 2015-02-17 20:23:21 +00:00
  • b3e5264aa9 WARNING: more function renames Thomas Krijnen 2015-02-17 20:07:09 +00:00
  • e3d5b6220d Rename AddEntity to addEntity Thomas Krijnen 2015-02-17 19:55:27 +00:00
  • 846e881cf4 Update build files Thomas Krijnen 2015-02-17 19:52:18 +00:00
  • 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 Thomas Krijnen 2015-02-17 19:48:41 +00:00
  • def1328a91 Some more checks and fixes in the IfcBooleanResult code. Most notably set the result to FirstOperand in case healing the result fails. Thomas Krijnen 2015-02-06 17:14:05 +00:00
  • a7c0c08725 Remove macro redefinition warning Thomas Krijnen 2015-02-06 15:56:07 +00:00
  • d79120dfcc Add missing #includes for OCC 6.8.0 specific #if Thomas Krijnen 2015-02-06 14:20:33 +00:00
  • 63e9b706c1 Add missing #includes for OCC 6.8.0 specific #if Thomas Krijnen 2015-02-06 14:20:33 +00:00
  • 16d400e192 Stricter template syntax in latest commit Thomas Krijnen 2015-02-06 13:37:50 +00:00
  • 3801e52bff Add an XML serializer (NB: Not ifcXML / 10303-28) that describes property set data, decomposition relations and SPF header fields Thomas Krijnen 2015-02-06 13:07:50 +00:00
  • c597404dfe Increase the severity of the 'different schema' message Thomas Krijnen 2015-02-06 12:59:36 +00:00
  • 47b9ed4482 Add a cast in templated list conversion Thomas Krijnen 2015-02-06 12:58:59 +00:00
  • 687cda0c4d #ifdef away the two trailing precision arguments for gp_Trsf::SetValues() when OCC >= 6.8.0 Thomas Krijnen 2015-02-06 12:49:53 +00:00
  • d23dee551c #ifdef away the two trailing precision arguments for gp_Trsf::SetValues() when OCC >= 6.8.0 Thomas Krijnen 2015-02-06 12:49:53 +00:00