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
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
c597404dfe
Increase the severity of the 'different schema' message
2015-02-06 12:59:36 +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
b789839e4a
Fix errors in serialization
2015-01-25 10:50:12 +00:00
Thomas Krijnen
7b17c2dccd
Make header values writable
2015-01-16 16:26:40 +00:00
Thomas Krijnen
8581fed39b
Track inverse attributes more correctly
...
Rename Size() to size() on EntityList and friends
2015-01-10 22:13:52 +00:00
Thomas Krijnen
1c757c351b
Fix compilation of IfcOpenHouse, move IfcGeom::tesselate back directly in IfcGeom namespace
2015-01-06 10:19:24 +00:00
Thomas Krijnen
f3c26c372d
Parse the spf header and check schema_identifiers against compiled schema
2015-01-05 17:46:23 +00:00
Thomas Krijnen
4d5d749255
Merge developments from the python_wrapper branch into master
2015-01-05 14:11:42 +00:00
Thomas Krijnen
3f285ea639
Prevent another exception being thrown upon adding entity instances to a file, as reported by ch0kee
2014-11-27 09:22:58 +00:00
Thomas Krijnen
96ce5f6b25
Don't compare smart pointers to zero, but convert to bool
2014-11-04 12:02:28 +00:00
Thomas Krijnen
872dd4e831
Rewrite IfcFile::AddEntity() not to rely on exceptions, as suggested by ch0kee.
2014-11-02 18:36:51 +00:00
Thomas Krijnen
948d7675f0
- Take better care of inverse cardinalities and respect more CoordinationView agreements in IfcOpenHouse
...
- Track inverse relationships in an IfcWrite context as well
- Fix for lists of SELECT types
2014-05-05 16:17:28 +00:00
Thomas Krijnen
1b54ba039d
- Add support for IFC4 nurbs surfaces (IfcBSplineSurfaceWithKnots and IfcAdvancedFace)
...
- Remove unnecessary typedefs
2014-05-04 14:42:55 +00:00
Thomas Krijnen
bd83259d2b
More fixes for parsing files with comments
2014-04-19 09:35:08 +00:00
Thomas Krijnen
aebb9469a9
Fixes for parsing files with comments
2014-04-02 15:04:09 +00:00
Thomas Krijnen
80b39c0d22
No longer accept and silently convert invalid REAL tokens to zero
2014-03-22 13:02:21 +00:00
Thomas Krijnen
05c98de100
Add parameterized profile test files and script to generate them
2014-02-23 11:25:35 +00:00
Thomas Krijnen
17f873b486
First stab at a new express parser to have some more luck with Ifc4
2014-02-17 22:13:55 +00:00
Thomas Krijnen
4f26622e03
Do revert to unknown plane angle unit state after guessing when creating an IfcCompositeCurve
2012-12-31 15:48:04 +00:00
Thomas Krijnen
71b5cd12a8
- Getting ready for Blender 2.65 and Python 3.3.0 with universal Unicode according to PEP 393
...
- Allow opening of non-latin filenames on Windows, by using the non-standard _wfopen(), meaning that the IfcSpfStream no longer relies on a std::istream but a FILE* descriptor
2012-12-31 11:47:46 +00:00
Thomas Krijnen
578dce4a47
Provide more contextual information in the IFC SPF file header
2012-11-17 15:19:38 +00:00
Thomas Krijnen
e729795da2
Add an option to disable the subtraction of IfcOpeningElements from relating building elements to the IfcGeomObject settings
2012-10-19 08:20:43 +00:00
Thomas Krijnen
8b11a1baf7
Correctly escape apostrophes in strings on write using the IfcCharacterEncoder
2012-10-09 19:54:35 +00:00
Thomas Krijnen
cb6884b48e
Encode characters outside the valid range for IFC SPF files and escape backslashes when writing IFC files
2012-09-09 11:55:53 +00:00
Thomas Krijnen
6f1e1c3bad
NOTE: From now on Boost is required in order to compile IfcOpenShell
...
====================================================================
- Use boost::optional for optional IFC arguments
- Use boost::uuid for the creation of GlobalIds
- New IfcGeomObjects setting to force alignment of TopoDS_Face normal to CCW orientation
- Removed static Ifc class, renamed to non-static IfcFile. IfcFile renamed to IfcSpfStream
- Introduced Logger class
- Introduced EntityBuffer class that keeps track of all writable entities created to add them all in once to the IfcFile class
2012-08-11 13:24:08 +00:00
Thomas Krijnen
31daf8dd20
Forget information about plane angle units in previously processed files
2012-07-29 15:26:36 +00:00
Thomas Krijnen
4b2bbc63de
Correctly redirect parse status update messages
2012-07-21 21:48:10 +00:00
Thomas Krijnen
b4e42025fd
Convert all .cpp and .h files to UTF-8 with BOM
2012-07-19 18:26:47 +00:00
Thomas Krijnen
6ced646413
IfcParse: get entities by type string
2012-07-19 00:14:01 +00:00
Thomas Krijnen
1d4a999381
Initial draft of writing and modifying IFC files
2012-07-18 19:32:58 +00:00
Thomas Krijnen
700cc772fb
- Add an alternative method to process openings that is potentially faster. Use IfcGeomObjects::FASTER_BOOLEANS to enable.
...
- Begin working on verbosity levels
2012-06-07 14:38:21 +00:00
Thomas Krijnen
82289bf065
Correctly interpret integer tokens without a leading #. Bug report: https://sourceforge.net/projects/ifcopenshell/forums/forum/1782717/topic/5280357
2012-06-07 11:56:20 +00:00
Thomas Krijnen
ca194ea423
Disable to paging functionality of the parser, IFC files are now always entirely read into memory.
2012-05-26 09:00:30 +00:00
Thomas Krijnen
5c71ae6f89
Catch one more IfcException
2012-03-31 09:54:15 +00:00
Thomas Krijnen
a9bba39b9d
Applied Patch #3509752 by mv2ax
...
Made the sewing of TopoDS_Shells into a IfcGeomObjects::Setting
Limit the maximum number of faces a shell to be sewed
2012-03-23 17:38:44 +00:00
Thomas Krijnen
cdbafac676
Fix a bug in the order of applying the scaling of a IfcCartesianTransformationOperator3DnonUniform
...
Fix a bug in the formatting of IFC simple types
Provide a way of iterating over all entities in the IFC file
Added IFC test file by Ryan Schultz
Added another IFC test file from AutoCAD Architecture 2010
2012-03-16 15:21:52 +00:00
Thomas Krijnen
3bb008c89f
- Switch to double precision
...
- Allow accessing entities by GlobalId
- Some more support for writing back IFC
- Prefix EXPRESS Enum values to avoid collisions
- Fix a bug in the SenseAgreement of Cartesian trimmed curves
- Use straight line segment in case point projection failed on trimmed curve
- Add epsilon to polylines and -loops point equality test
- Decompose a convex polygonal bounded halfspace into several unbounded halfspace and process only if they operate on a volume larger than some epsilon
- No longer fail connected facesets if a single face is invalid
- Updated IfcBlender for compatibility with Blender 2.62
- Added additional test files
2012-03-13 11:56:52 +00:00
Thomas Krijnen
a9a5f8dc69
- Fix a crash if eof is unexpectedly encountered
...
- Warn if an entity with same ENTITY_NAME is encountered
2012-02-04 15:10:17 +00:00
Thomas Krijnen
9d88d75b3b
Fixes #3452363 Fail to create meshes of parametric curves when no angular unit information is present in the IFC file
2011-12-07 14:07:22 +00:00
Thomas Krijnen
4dc0bdbe02
Guess units if none are present and convert back if needed
2011-11-02 12:52:35 +00:00
Thomas Krijnen
ac155dc810
- Jave Native Interface library for use with the open source http://BIMserver.org
...
- IfcParse accepts char* as input
- IfcOpeningElements now return geometry
2011-10-27 16:13:29 +00:00
Thomas Krijnen
bede68bef7
Properly clear log_stream
2011-10-24 19:26:55 +00:00
Thomas Krijnen
39dafce084
Catch errors while looking for IfcUnitAssignments
2011-10-18 08:12:39 +00:00
Thomas Krijnen
6dbf618360
- Throw and catch IfcExceptions while parsing
...
- Fix issues with left-handed IfcCartesianTransformationOperator3D [fixes #3405491 Issues with MappingTarget of IfcMappedItem]
2011-10-13 11:25:59 +00:00
Thomas Krijnen
34efb480d6
- Provide logging information to IfcBlender
...
- Disallow open curves for IfcPolygonalBoundedHalfSpace [fixes #3405490 Incorrectly rendered wall in FZK-Haus-EliteCAD.ifc]
- Disable tolerance on IfcCompositeCurve
- Try to convert IfcConnectedFaceSets to TopoDS_Solids regardless of whether they are open or closed shells, improves openings in IFC files exported by Revit
- Provide debugging information based on shape volume on IfcBooleanClippingResult and IfcOpeningElement
2011-10-12 16:43:29 +00:00