Commit Graph

  • 884b3fe850 Project wires onto a plane if non-planar. Fixes #57. Thomas Krijnen 2016-04-16 14:47:09 +02:00
  • 81ee60079e Enable per-item styles in the pythonOCC viewer Thomas Krijnen 2016-04-11 11:50:43 +02:00
  • 426b1279e3 Implement __hash__ and __eq__ functions on entity_instance Thomas Krijnen 2016-04-09 20:20:08 +02:00
  • 1142db3265 remove msvc specific leniencies Thomas Krijnen 2016-04-09 17:54:23 +02:00
  • 191c029546 Correctly allow rule labels to be optional Thomas Krijnen 2016-04-09 13:29:35 +02:00
  • 9bcfe2f50e Generate code for IFC4_ADD1 Thomas Krijnen 2016-04-08 23:24:35 +02:00
  • fa585e60ee Update EXPRESS code generator to work on ancient IFC schemas Thomas Krijnen 2016-04-08 23:23:45 +02:00
  • 0ff9de3cd9 Update EXPRESS code generator to work on ancient IFC schemas Thomas Krijnen 2016-04-08 23:23:29 +02:00
  • 63c3b54762 Merge pull request #56 from Tridify/obj_mtl_fix Thomas Krijnen 2016-03-28 11:17:20 +02:00
  • d7f990d8bd IfcConvert: Do not use temp file for MTL as it's such a small file. Fixes #55. Stinkfist0 2016-03-28 11:32:29 +03:00
  • b59e8e22a7 IfcConvert: Show an error msg if renaming from temp to final file fails. Stinkfist0 2016-03-28 11:47:02 +03:00
  • 25a5135e8d Disable geometry re-use with world coords Thomas Krijnen 2016-03-27 21:18:28 +02:00
  • 4c574df1a4 Immediately emit to serializer and remove option to obtain ownership of objects Thomas Krijnen 2016-03-27 21:17:51 +02:00
  • f3d5954aee Merge pull request #53 from shsteven/fix_build_script_osx_boost Thomas Krijnen 2016-03-24 10:42:03 +01:00
  • 7d145a5f69 fix build script under os x Steven Zhang 2016-03-24 15:07:52 +08:00
  • 5b30dfc580 Set required boost components again after merge Thomas Krijnen 2016-03-23 10:27:34 +01:00
  • e1bb6c95c3 Merge pull request #51 from shsteven/osx_build_fix Thomas Krijnen 2016-03-23 10:15:56 +01:00
  • edc6f8ebd4 fix build script under os x Steven Zhang 2016-03-23 15:27:03 +08:00
  • ee56aad90d Merge branch 'master' into performance_improvements Thomas Krijnen 2016-03-22 16:15:28 +01:00
  • 5c1ac39f19 Merge pull request #42 from Tridify/ifcconvert_enhancements Thomas Krijnen 2016-03-22 13:28:15 +01:00
  • 0fd2f04f08 Utilise Collada stream's double precision feature Stinkfist0 2016-03-21 11:42:40 +02:00
  • b171bd4a14 Add note/todo regarding Collada stream's double precision feature. Stinkfist0 2016-03-20 13:13:15 +02:00
  • 54a9d72e25 IfcConvert: use temp file when writing output. Stinkfist0 2016-03-20 12:48:20 +02:00
  • 798597d5d9 IfcConvert: check that input file exist early, print filenames in error prints Stinkfist0 2016-03-18 22:33:03 +02:00
  • f7453c033a IfcConvert: check if output file already exists and ask user for confirmation for overwriting. Overwriting can be forced with -y/--yes Stinkfist0 2016-03-18 22:14:05 +02:00
  • bf76bd17b2 Add large_offset.ifc (wallwindow.ifc, courtesy of @klokoy) as test input case. Stinkfist0 2016-03-18 14:45:00 +02:00
  • 59d2d227d9 Directly re-use IfcMappedItem triangulated elements when not using world coordinates Thomas Krijnen 2016-03-18 11:23:25 +01:00
  • 4a3a0bff71 Cleanup triangulations after use Thomas Krijnen 2016-03-18 11:21:23 +01:00
  • 8ecc1269d7 Compile-time options to manipulate caching behaviour Thomas Krijnen 2016-03-18 11:21:04 +01:00
  • 614148e5e4 Don't iterate past material indices in collada serializer Thomas Krijnen 2016-03-18 11:18:02 +01:00
  • 74e495cec0 python2.7 compatibility on code generator Thomas Krijnen 2016-03-18 11:17:26 +01:00
  • 0ceef8fe67 Use constant time parent enumeration lookup Thomas Krijnen 2016-03-18 11:14:14 +01:00
  • 562f38756f Calculate and store min. and max. placements IfcGeom::Iterator. Implement --center-model for OBJ. Stinkfist0 2016-03-17 23:25:53 +02:00
  • 76d3823bd4 Make UVs a property of IfcGeom::Representation::Triangulation. Implement writing of UVs for OBJ output. Stinkfist0 2016-03-17 00:25:33 +02:00
  • 28560d164c Add IfcGeomServer description Thomas Krijnen 2016-03-12 16:54:21 +01:00
  • 923f1212f5 Clean up program_options printings Stinkfist0 2016-03-11 10:05:33 +02:00
  • e9f551ea71 --names for filtering included or excluded entities by name, e.g. --include --names "Wall Compound*" Stinkfist0 2016-03-10 21:15:50 +02:00
  • b9c5b0e6c8 Add IFCCONVERT_DOUBLE_PRECISION build option Stinkfist0 2016-03-10 17:00:06 +02:00
  • 4953b35849 --generate-uvs, applicable for DAE only currently Stinkfist0 2016-03-10 16:46:20 +02:00
  • 83e5096570 Support for --deflection-tolerance Stinkfist0 2016-03-10 16:09:39 +02:00
  • 5008c3503d --center-model for DAE output, fixes #8 (TODO: implement also for OBJ) Stinkfist0 2016-03-10 14:39:42 +02:00
  • ce38854cff Add --no-normals Stinkfist0 2016-03-10 13:29:22 +02:00
  • 24e2aece0b Rename --use-guids and --use-names to --use-element-guids and --use-element-names. Add explicit --use-material-names for controlling material naming. Stinkfist0 2016-03-10 12:01:04 +02:00
  • 43f5d446ec Implement --use-names and --use-guids for DAE, OBJ, and SVG output. Stinkfist0 2016-03-10 11:35:32 +02:00
  • 50a467fda5 Fix IfcUtil::wildcard_string_to_regex() Stinkfist0 2016-03-07 23:15:29 +02:00
  • 0da0e63687 Begin to implement IfcConvert enhancements discussed in #20. Remove C++-specific getters and setters and use the same set() and get() functions in in both C++ and Python. Enhance output of IfcConvert, especially in error situations (spamming a hundred lines of options always hides the original error message), utilize Boost's foreach macro to provide cleaner iteration code. Stinkfist0 2016-03-07 22:37:36 +02:00
  • e35cefac52 Fix crash (deleting garbage ptr) when nonexisting file passed to IfcSpfStream ctor. Bug surfaced due to recent memory leak fix. Stinkfist0 2016-03-05 00:40:08 +02:00
  • 84e7a86e77 XmlSerializer: handle openings. Original author of the commit/idea @otsoa. Stinkfist0 2016-02-28 19:51:50 +02:00
  • 82a1e33386 Merge pull request #39 from Tridify/fixed_opencollada_revision Thomas Krijnen 2016-03-05 13:50:41 +01:00
  • 827c6fd407 Build script fixes and compatibility with OSX / bash 3.2 Thomas Krijnen 2016-03-03 20:36:16 +01:00
  • 851fadb4ec build-deps.cmd: GitCloneAndCheckoutRevision - always checkout the revision, so that users don't have the nuke their existing clones before running the script. Stinkfist0 2016-02-27 17:44:45 +02:00
  • 90f72c4b2c Merge pull request #35 from Tridify/ifcmax Thomas Krijnen 2016-02-27 15:52:10 +01:00
  • 7ed219af70 Use a fixed revision of OpenCOLLADA in order to prevent introducing breaking changes. Closes #36, related to #38 Stinkfist0 2016-02-25 17:31:47 +02:00
  • d1a1759016 Use a fixed revision of OpenCOLLADA in order to prevent introducing breaking changes. Closes #36, related to #38 Stinkfist0 2016-02-25 17:23:04 +02:00
  • 2a0471ec27 Add support for storing aggregate values in separate datasets aothms 2016-02-24 11:26:47 +01:00
  • 418b78cdd5 Fix wrapper code aothms 2016-02-24 11:26:15 +01:00
  • c1c738390f Add support for aggregate of bool aothms 2016-02-24 11:25:45 +01:00
  • acc4af87d6 Merge pull request #34 from yilativs/master Thomas Krijnen 2016-02-24 09:03:06 +01:00
  • ee75545ecd README tweaks Stinkfist0 2016-02-21 16:52:00 +02:00
  • 58b5838da9 README.md tweaks Stinkfist0 2016-02-20 00:43:35 +02:00
  • e171e308d0 Enable solution folders Stinkfist0 2016-02-20 00:13:04 +02:00
  • 645315a8f4 remove win/sln as these are not needed anymore Stinkfist0 2016-02-19 23:02:09 +02:00
  • 5ee9bed590 CMakeLists.txt for IfcMax. Tested with VS 2015 and 3ds Max + SDK 2016 Stinkfist0 2016-02-19 22:53:09 +02:00
  • 0f88520e75 [fix] CmakeLists.txt now works on ubuntu 16.04 without the need to compile oce instead you can apt-get install git swig cmake gcc g++ libftgl-dev libtbb2 libtbb-dev libboost-all-dev libgl1-mesa-dev libfreetype6-dev liboce-modeling-dev opencollada-dev liboce-foundation-dev yilativs 2016-02-19 20:28:46 +03:00
  • 766d45e0cb Add missing include aothms 2016-02-19 14:25:56 +01:00
  • df88474bc5 Merge remote-tracking branch 'origin/master' into hdf5 aothms 2016-02-19 14:19:57 +01:00
  • 481515f5ae Add missing include aothms 2016-02-18 16:57:22 +01:00
  • a33f5b6e17 Merge pull request #31 from aothms/cmake_compile_schema Thomas Krijnen 2016-02-18 15:43:52 +01:00
  • 10bec3eee0 Replace PYTHONPATH with PYTHONHOME aothms 2016-02-18 14:57:57 +01:00
  • da0af77570 Compatibility for older versions of cmake, python, open cascade, boost aothms 2016-02-18 13:17:15 +01:00
  • a6094f50b9 Let CMake find python interpreter for schema compilation and installation dir Remove unused compiled schema in cpp installation target aothms 2016-02-17 12:03:38 +01:00
  • c3f1b41860 Fix https://github.com/IfcOpenShell/IfcOpenShell/issues/30 aothms 2016-02-15 17:59:31 +01:00
  • 4122759f1a Add option to compile (external) schema by cmake aothms 2016-02-15 16:59:47 +01:00
  • a583339492 Merge pull request #29 from Tridify/win_build_script_improvements Thomas Krijnen 2016-02-15 16:14:51 +01:00
  • f12e980bfe build-all.cmd: simplify "yes" trick Stinkfist0 2016-02-15 15:08:13 +02:00
  • 4979deb111 CMakeLists.txt: Remove sources specific to an IFC release we are not using from the project Stinkfist0 2016-02-09 15:51:18 +02:00
  • c575352d20 ~IfcCharacterDecoder: call ucnv_flushCache() to fix two ICU mem leaks. Stinkfist0 2016-02-07 23:01:34 +02:00
  • 2f8fa3282b Fix mem leak in IfcSpfStream (not closed upon destruction), make Entity's dtor virtual. Stinkfist0 2016-02-07 22:45:42 +02:00
  • 993e322a8e Fix memory leakage from IfcSpfHeader Stinkfist0 2016-02-07 13:14:14 +02:00
  • 61ccd8a7cf VLD, not VLC... Stinkfist0 2016-02-07 12:28:05 +02:00
  • 450baf224f Remove accidentally committed lines Stinkfist0 2016-02-07 00:51:10 +02:00
  • 7b2197fa37 add /test/__pycache__ to ignore list Stinkfist0 2016-02-07 00:31:29 +02:00
  • cde1c5f2ee Add build option for using Visual Leak Detector for debugging memory leaks. Initial report: - IfcConvert (no arguments): 2 leaks (140 bytes) (from OCE) - IfcConvert (acad2010_objects.ifc): 47 memory leaks (6,158 bytes) - IfcGeomServer: 2 leaks (from OCE) - IfcOpenHouse: 11,952 leaks (1,169,658 bytes)! - IfcParseExamples (acad2010_objects.ifc): 40 memory leaks (4,564 bytes) Stinkfist0 2016-02-07 00:30:08 +02:00
  • 33772a4710 run-cmake.bat & build-all.cmd: fix cmake arguments parsing when arguments passed for the batch scripts Stinkfist0 2016-02-06 18:48:18 +02:00
  • 178c34fb22 README.md: document the supported IFC releases with links Stinkfist0 2016-02-05 14:48:51 +02:00
  • 17ecc43f78 vs-cfg.cmd: remove if-clause, an erroneous syntax print comes if this script is called when VS env vars not set but that's OK. Stinkfist0 2016-02-04 11:46:53 +02:00
  • 72999e04d9 vs-cfg.cmd: clean up output when used wrongly (VS tools not in path and empty/no generator argument passed). Stinkfist0 2016-02-04 00:43:52 +02:00
  • f191b1fdd2 Fix warning regarding shadowing variable names. Stinkfist0 2016-02-03 22:34:50 +02:00
  • d095bfecde Fix command-line argument parsing in run-cmake.bat and build-all.cmd Stinkfist0 2016-02-03 22:16:50 +02:00
  • 2e1699beea build-all.cmd: support for passing arguments, e.g. build-all.cmd vs2015-x64 RelWithDebInfo -DUSE_IFC4=1 -DENABLE_BUILD_OPTIMIZATIONS=1 Stinkfist0 2016-02-03 16:36:07 +02:00
  • 5c07c8dc95 run-cmake.bat print tweak Stinkfist0 2016-02-03 16:15:40 +02:00
  • 0fa05faee8 Simplify run-cmake.bat, the script can now be used e.g. run-cmake.bat vs2015-x64 -UDUSE_IFC4=1 -DCMAKE_INSTALL_PREFIX=C:/IfcOpenShell/Ifc4 Stinkfist0 2016-02-03 16:01:06 +02:00
  • 21e8a1e8e6 vs-cfg.cmd: provide support for user-friendly VS generators, e.g. vs2013-x86, and converted them to the appropriate CMake ones. Stinkfist0 2016-02-03 15:21:12 +02:00
  • 2e6601b3e7 build-deps.cmd: do not print build times if build did not even start properly. Stinkfist0 2016-02-03 12:01:53 +02:00
  • 634932e6e7 run-cmake.bat: set CMAKE_INSTALL_PREFIX also when passing extra parameters for the script Stinkfist0 2016-02-01 18:08:27 +02:00
  • a041d289c6 Add build-all.cmd script for convenience. Stinkfist0 2016-01-31 20:26:40 +02:00
  • 01f8882311 adjust build-ifcopenshell & install-ifcopenshell to the build cfg batch file change Stinkfist0 2016-01-31 18:45:33 +02:00
  • f2bdfbd049 Windows build scripts: move build configuration type to a separate file. Stinkfist0 2016-01-26 09:21:38 +02:00
  • c7bf03e8f8 Add set-python-to-path.bat helper, add instructions for using preinstalled Python. Stinkfist0 2016-01-19 17:03:05 +02:00
  • 18e451b874 Windows build scripts: detect case where user installed Visual Studio but not the C++ toolset. Also detect case where user's CMake version is too old for the desired generator. Stinkfist0 2016-01-19 16:43:42 +02:00