Thomas Krijnen
533fd59c14
Better Unicode handling in the 3ds max importer
...
Don't initiate progress handler until valid file is opened
2013-01-01 15:10:14 +00:00
Thomas Krijnen
55e3d2959f
Do revert to unknown plane angle unit state after guessing when creating an IfcCompositeCurve
2012-12-31 15:48:04 +00:00
Thomas Krijnen
0714fbdab5
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 15:13:35 +00:00
Thomas Krijnen
91d6d9f20f
Add the LGPL license text supplement to the repository
2012-12-31 14:47:02 +00:00
Thomas Krijnen
0bc187faaa
IfcGeom: Use the 'wire creation tolerance' on point projection for trimmed curves
...
Fall back to trimming by parameter if possible and point projection fails
2012-12-31 14:38:00 +00:00
Jang Myeongho
69384e87aa
Added getter to IfcFile object
...
fixed wrong operator to judge plan angle unit is not exist.
guessed plane angle unit stay in a file processing.
2012-12-31 14:35:14 +00:00
Thomas Krijnen
8895368ae3
Fix some errors and warnings
2012-12-31 14:29:18 +00:00
Thomas Krijnen
22ab3ad06a
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
2012-12-31 14:17:16 +00:00
Thomas Krijnen
23450c7c39
If no plane angle unit is provided in the IFC file, create composite curves using both radians and degrees and see which 'looks best' (=successfully created and/or closed curve)
...
Forget information about plane angle units in previously processed files
2012-12-31 13:50:33 +00:00
Thomas Krijnen
b11f5929bf
Remove BOM in Interface.h
...
Remove dependency on nullptr for older compilers
2012-12-31 13:41:52 +00:00
Thomas Krijnen
e2bb18476d
Convert all .cpp and .h files to UTF-8 with BOM
2012-12-31 13:28:01 +00:00
Jang Myeongho
de756166e0
Added enum 'DEFAULT' to 'IfcCharacterDecoder::ConversionMode': using default converter as system default codepage.
...
Added IfcCharacterDecoder::compatibility_mode
avoid leaks (compatibility_converter)
fixed wrong assertion.
added break statements.
Only allow character decoder compatibility mode if HAVE_ICU is defined since it relies on ICU to be available.
2012-12-31 13:17:15 +00:00
Thomas Krijnen
43e6d5f105
Apply patch #3537663 by myueho: https://sourceforge.net/tracker/?func=detail&atid=2204968&aid=3537663&group_id=543113
2012-12-31 12:22:36 +00:00
Thomas Krijnen
0a5ddece8e
Use positive vertex indices for Wavefront OBJ files: https://sourceforge.net/projects/ifcopenshell/forums/forum/1782717/topic/5341422
2012-06-13 07:29:22 +00:00
Thomas Krijnen
2137ad2488
Apply patch #3534755 by myueho to use the standard M_PI instead of relying on PI defined in OCC, which recently got removed upstream.
2012-06-13 07:13:31 +00:00
Thomas Krijnen
b1adf124c6
Reorder the definition of IfcCircleHollowProfileDef and IfcCircleProfileDef in order for the hollow profiles to get interpreted correctly
2012-06-12 17:03:39 +00:00
Thomas Krijnen
a824eb38f1
Append suggestions by myueho to the CMake file: https://sourceforge.net/tracker/?func=detail&atid=2204968&aid=3509752&group_id=543113
2012-06-12 10:36:34 +00:00
Thomas Krijnen
1681d5f1da
Applied patch #3509752 (again?) by mv2a to CMake file to correct CMake behaviour using msvc and mingw
2012-06-12 10:21:32 +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
e3f0a5fafd
Prefix IfcUtil::ArgumentType in order to avoid collisions with Windows API defines
2012-06-07 11:42:02 +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
89a6e7375a
Fix a bunch of msvc warnings regarding empty switch statements in the reflection methods
2012-05-16 10:52:49 +00:00
Jochem Berndsen
a5107b9182
fix small issue in character decoding
2012-05-04 15:46:29 +00:00
Jochem Berndsen
7732801eb9
Reflection of object properties.
2012-05-04 15:15:12 +00:00
Thomas Krijnen
c9f9997e67
Use floats in IfcPython
2012-04-08 08:42:03 +00:00
Thomas Krijnen
4866953119
Revert the IfcGeomObjects API to float precision instead of double. Internally double precision is still used.
2012-04-08 08:39:09 +00:00
Thomas Krijnen
b2b51e343f
Only add faces to shells that have a surface area larger than some threshold value
2012-04-07 14:34:44 +00:00
Thomas Krijnen
aa7a290ea1
Adjust some tolerances
2012-04-07 09:59:04 +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
df2bcecf96
- Fix a regression due to too high tolerance in Polyline -Loop creation.
...
- Make tolerances slightly more explicit, ideally these should obviously be configurable at runtime.
2012-03-20 09:32:51 +00:00
Thomas Krijnen
4760ad1910
Fix a typo preventing gcc compilation
...
Increment version string to 0.3.0-rc3
Add version string to IfcObj output
2012-03-19 10:12:56 +00:00
Thomas Krijnen
c31bc16dba
Try to better my life as a programmer, starting with more comments and documentation
2012-03-17 11:47:31 +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
2b27b86b34
- IfcGeom: Major performance improvement by only sewing faces of IfcConnectedFaceSets when needed for boolean operations
...
- Automatic tests for several well known IFC files on the Internet
- IfcBlender: Make visibility in render consistent with 3d view
- Some compatibility for Ifc2x files with IfcShapeRepresentations and RepresentationIdentifier 'IAI'
2012-03-01 21:17:06 +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
3336102b46
No longer warn about 'empty' halfspace solids
2012-01-31 17:30:46 +00:00
Thomas Krijnen
b719e12417
Provide access to IfcGeomObject geometry as Open Cascade BRep data
2012-01-31 08:56:10 +00:00
Thomas Krijnen
5ebc23656a
Update cmake and vcprojs to reference ICU correctly
2012-01-31 08:53:53 +00:00
Thomas Krijnen
644ff7c033
- IfcJni: Fix access violation errors by creating a copy of the byte[]
...
- Add version identifier to bimserver_plugin and IfcJni
2012-01-24 13:38:37 +00:00
Thomas Krijnen
456adceef9
Add install targets to makefile
2012-01-11 13:57:00 +00:00
Thomas Krijnen
798397fa21
Do not trim conical curves if the difference between parametric values is 2pi
2012-01-02 14:56:11 +00:00
Thomas Krijnen
60aa198a0a
Update bimserver_plugin and ifcjni for IfcEngineModel::getInstanceFromExpressId()
2012-01-01 15:30:19 +00:00
Thomas Krijnen
2d30fb4615
Catch errors in the processing of lists of shapes
2011-12-29 14:45:32 +00:00
Thomas Krijnen
508cb2679f
#3452372 Parent Elements to Openings to Walls
2011-12-27 09:26:16 +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
bc56aa3397
Fixes #3452367 Incorrect parenting in ADT-FZK-Haus-2005-2006.ifc
...
When multiple IfcShapeRepresentations exist for one IfcProduct, all are correctly parented in IfcBlender
2011-12-07 13:44:16 +00:00
Thomas Krijnen
63e39003ae
Correct parent names if using the unicode compatibilty layer
2011-12-06 11:04:05 +00:00