Commit Graph

19661 Commits

Author SHA1 Message Date
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
Thomas Krijnen 479fcd9013 Further address UCS2 - UCS4 incompatibility, move compatibility layer to ifcwrap/Interface.h 2011-12-06 10:38:14 +00:00
Thomas Krijnen 203dd2107e Fixed typo 2011-12-05 17:40:14 +00:00
Thomas Krijnen 08d3eb649c Allow for string data to be passed as vectors of int between IfcPython and IfcGeom, to circumvent SWG trying to access UCS-2 data as UCS-4 and vice versa 2011-12-05 14:23:22 +00:00
Thomas Krijnen cab44ce754 IfcBlender: provide a temporary workaround for interfacing from a UCS2 Blender Python
A real solution could be to compile IfcGeom into a dynamic library and compile multiple versions of _IfcImport.so for different configurations which are selected based on sys.maxunicode
Another alternative would be not to rely on strings when exchanging textual data but vectors of int that contain the string character codes
2011-12-04 13:33:16 +00:00
Thomas Krijnen 950dd93c4f Make IfcBlender compatible with newer blender api revisions 2011-12-01 14:23:26 +00:00
Thomas Krijnen f6da8285f7 Use std::string instead of char* for IfcGeomObjects::Init() 2011-12-01 11:19:27 +00:00
Thomas Krijnen 1a40a9f78c Fix compilation of IfcMax by separating ShapeList definition into different header 2011-11-30 11:50:17 +00:00
Thomas Krijnen d102327009 Removed old comment line 2011-11-30 10:01:20 +00:00
Thomas Krijnen 59cda0ebbd Increase block size for filestream reading 2011-11-25 14:50:59 +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 d6d3333f9d - Correct calculation of normals
- More verbosity for geometry conversion settings
2011-10-28 09:55:26 +00:00
Thomas Krijnen 5ef06dca64 - Calculate normals (incorrectly for curved surfaces) 2011-10-27 20:42:51 +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 cac8d9b684 IfcBlender: process relations default to False, and warning in tooltip 2011-10-24 21:05:58 +00:00
Thomas Krijnen bede68bef7 Properly clear log_stream 2011-10-24 19:26:55 +00:00
Thomas Krijnen bd79df2be7 - Make distinction between single shape and list of shapes
- Store shapes in std::vectors rather than TopoDS_Compounds
- Apply transformation only on triangulated meshes or when processing openings
- Store transformations in a gp_GTrsf to allow arbitrary transformations
- Support IfcCartesianTransformationOperator3DnonUniform
- TODO: Create proper class for ShapeList
- TODO: Carefully check for null pointers returned from IfcGeom::convert_shape()
2011-10-23 17:11:06 +00:00
Thomas Krijnen 8bcb9ffa3e - Now with actual logging to Blender texts
- More detailed feedback on progress and pop-up when import fails
2011-10-20 16:05:21 +00:00
Thomas Krijnen 59d768bcb0 No longer skips IfcShapeRepresentations if they're linked to an IfcProduct via an IfcProductRepresentation rather than an IfcProductDefinitionShape 2011-10-19 12:52:18 +00:00
Thomas Krijnen 39dafce084 Catch errors while looking for IfcUnitAssignments 2011-10-18 08:12:39 +00:00
Thomas Krijnen 61c07dbe37 - Implement correct use of IfcCompositeCurveSegment::SenseAgreement and IfcTrimmedCurve::SameSense
- Reintroduce smaller tolerance value for IfcCompositeCurves
2011-10-13 13:37:38 +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
Thomas Krijnen e6c5e5e10c IfcBlender: Ensure correct matrices on nested parenting 2011-10-09 10:07:04 +00:00
Thomas Krijnen 523ac48afc - Progress bar in Blender console
- Fix bug freeing objects multiple times in IfcGeomObjects::CleanUp()
2011-10-09 09:07:33 +00:00
Thomas Krijnen 87b668959b Process IfcRelAggregates and IfcRelContainedInSpatialStructure to enable IfcBlender to build a parenting graph 2011-10-08 13:06:57 +00:00
Thomas Krijnen 69ad96df25 - Added id (ISO 10303-21 Table 2: ENTITY_INSTANCE_NAME) to IfcGeomObject. Thanks to laurencepike. 2011-10-08 09:01:35 +00:00
Thomas Krijnen a9143655c3 Make ICU no longer a required dependency 2011-09-27 19:30:53 +00:00
Thomas Krijnen 9edbe7e6c3 update IfcParse.vcproj 2011-09-25 10:33:31 +00:00
Thomas Krijnen f7abadc081 Ensure correct parsing and decoding of strings [#3395016] 2011-09-25 09:53:22 +00:00
Thomas Krijnen 767f7b4090 Use name for imported objects rather than GUID if name is not null 2011-09-22 11:35:03 +00:00
Thomas Krijnen eda8fd0c25 Create a python package for IfcBlender [#3412173] 2011-09-22 09:16:58 +00:00
Thomas Krijnen 1b9c9615d1 Process entities with the "Facetation" RepresentationIdentifier too
Fixed a bug in the rendering of IfcTrimmedCurve
Inverted the resulting transformation of IfcCartesianTransformationOperators
2011-09-07 11:28:55 +00:00
Thomas Krijnen d02eeac132 Reduce unnecessary use of smart pointers
Speed up type checking by using std::maps and switch statements
Add compile flag to win/IfcGeom.vcproj
2011-09-03 13:58:59 +00:00
Thomas Krijnen b17832e659 Remove unneeded file 2011-09-03 10:38:04 +00:00
Thomas Krijnen 44100ff0d4 Fixes compilation issues due to private copy constructors using older versions of gcc
Added additional default library and include directories to cmake build file
Fixes a compilation error in the python wrapper
2011-08-30 15:49:08 +00:00
Thomas Krijnen ee9c00abcb Fixed a typo preventing the geometry cache from being cleared 2011-08-30 12:42:23 +00:00
Thomas Krijnen ced0b1aa50 Fixed errors in CMake files 2011-08-24 12:53:05 +00:00
Thomas Krijnen 1842dc64da Added missing file 2011-08-24 12:35:42 +00:00
Thomas Krijnen 2561f94acb - Fixed a bug regarding IfcUnitAssignment
- Separate IFC parsing library and geometry libraries [#3395025]
- Added example for IfcParse usage without geometry or Open CASCADE functionality
- Cleanup of vcproj Open CASCADE dependencies
- Added function to query parent class type in IfcExpressParser.py
2011-08-24 12:21:07 +00:00
Thomas Krijnen 0b45066736 IfcParse: allow reading of IFC file from stdin
IfcServer: first commit of a stdin/stdout interface to IfcGeomObjects [undocumented for now]
BIMserver_plugin: first commit of IfcEngine plugin implementation for use with http://BIMserver.org [undocumented for now]
2011-08-20 09:08:56 +00:00
Thomas Krijnen 086d314a0c Fixed a crash when accessing the wrappedValue of a simple type in a SELECT 2011-08-16 18:26:02 +00:00
Thomas Krijnen c99633eb90 - Fixed CMake errors, added missing libraries
- Basic checks for valid file stream, seperated logging to stdout and stderr
- Use placement new to reconstruct MakeFace for non-planar face
2011-08-07 10:21:22 +00:00
Thomas Krijnen 5a475bfa66 IfcExpressParser: Initial commit of python script to convert the IFC2X3_TC1.exp ISO-10303-11 Express file into C++ code for the IfcParse library 2011-07-28 14:32:44 +00:00
Thomas Krijnen 46ee00983b IfcGeom: Also consider openings of IfcBuildingElementParts which are decompositions of IfcElements with IfcOpeningElements 2011-07-27 12:17:47 +00:00