Thomas Krijnen
16e8fff9ca
virtual dtor
2016-08-08 10:41:51 +02:00
Ali Kämäräinen
4a85e5e7a5
MSYS build scripts and instructions ( #99 ) and warning fixes
...
* Preliminary MSYS2 + MinGW build scripts and instructions.
* CMakeLists.txt: MinGW tweaks, enforce C++03, suppress warnings for now.
* Fix some GCC warnings.
* Fix unused parameter warnings coming from Ifc*.h.
* Fix warning regarding unreachable code (++jt) on MSVC.
* Add IfcParse_EXPORT for IfcInvalidTokenException
* Fix potentially uninitialized pointer variables.
* Note about OpenCASCADE cyclic dependencies fix.
* GCC warning fix: don't generate 'current_enum' variable that is only set and not used for anything ever
* Work around -Wmaybe-uninitialized warnings about boost::optional constructs. Also prevent passing of negative values for --bounds.
* Remove unused variable.
* CMakeLists.txt: ENABLE_BUILD_OPTIMIZATIONS for GCC (simply enforce -03)
2016-07-15 05:49:32 +02:00
Thomas Krijnen
9909e2f7e2
Don't emit OBJ vertex normal if absent (e.g --weld-vertices)
2016-05-24 15:01:34 +02:00
Thomas Krijnen
38d1ec7a78
#28
2016-05-24 13:50:50 +02:00
Johannes Obermayr
42188904af
Fixes to build on openSUSE/Packman. ( #67 )
...
- Support different BINDIR, INCLUDEDIR and LIBDIR on install
- Take right python dir on x86_64 arch
- Fix build against Boost >= 1.58
- Make it possible to build libIfcGeom shared to reduce size of dependent binaries
- Fix INSTALL_RPATH
- Fix some more compiler warnings
2016-05-15 15:47:21 +02:00
Lars Moastuen
414d7bb810
OBJ precision and log messages
...
* Fixes #68 : Increase precision in OBJ files (regression in commit 43f5d44 )
* Add some verbose logging of a few geometry errors
2016-05-13 12:59:00 +02:00
Thomas Krijnen
2c3fa89dd0
Preprocessor consistency
2016-05-03 11:21:39 +02:00
Thomas Krijnen
04acfe1169
Fix #63
2016-05-03 11:01:47 +02:00
Thomas Krijnen
39e26dff46
Merge branch 'master' into layerset_slicing
...
# Conflicts:
# src/ifcconvert/IfcConvert.cpp
# src/ifcgeom/IfcGeom.h
# src/ifcgeom/IfcGeomFunctions.cpp
# src/ifcgeom/IfcGeomIteratorSettings.h
2016-05-02 15:13:30 +02:00
Thomas Krijnen
c6d5adfa42
Merge branch 'master' into performance_improvements
...
# Conflicts:
# src/ifcexpressparser/implementation.py
# src/ifcgeom/IfcGeomFunctions.cpp
# src/ifcparse/Ifc4.cpp
2016-04-24 15:22:10 +02:00
Stinkfist0
d7f990d8bd
IfcConvert: Do not use temp file for MTL as it's such a small file. Fixes #55 .
2016-03-28 11:47:21 +03:00
Stinkfist0
b59e8e22a7
IfcConvert: Show an error msg if renaming from temp to final file fails.
2016-03-28 11:47:02 +03:00
Thomas Krijnen
4c574df1a4
Immediately emit to serializer and remove option to obtain ownership of objects
2016-03-27 21:17:51 +02:00
Thomas Krijnen
ee56aad90d
Merge branch 'master' into performance_improvements
...
# Conflicts:
# src/ifcconvert/ColladaSerializer.cpp
# src/ifcconvert/ColladaSerializer.h
# src/ifcgeom/IfcGeomIterator.h
# src/ifcgeom/IfcGeomRenderStyles.h
2016-03-22 16:15:28 +01:00
Stinkfist0
0fd2f04f08
Utilise Collada stream's double precision feature
2016-03-21 11:42:40 +02:00
Stinkfist0
b171bd4a14
Add note/todo regarding Collada stream's double precision feature.
2016-03-20 13:13:15 +02:00
Stinkfist0
54a9d72e25
IfcConvert: use temp file when writing output.
2016-03-20 12:48:20 +02:00
Stinkfist0
798597d5d9
IfcConvert: check that input file exist early, print filenames in error prints
2016-03-18 22:33:03 +02:00
Stinkfist0
f7453c033a
IfcConvert: check if output file already exists and ask user for confirmation for overwriting. Overwriting can be forced with -y/--yes
2016-03-18 22:14:05 +02:00
Thomas Krijnen
59d2d227d9
Directly re-use IfcMappedItem triangulated elements when not using world coordinates
2016-03-18 11:23:25 +01:00
Thomas Krijnen
614148e5e4
Don't iterate past material indices in collada serializer
2016-03-18 11:18:02 +01:00
Stinkfist0
562f38756f
Calculate and store min. and max. placements IfcGeom::Iterator. Implement --center-model for OBJ.
2016-03-17 23:25:53 +02:00
Stinkfist0
76d3823bd4
Make UVs a property of IfcGeom::Representation::Triangulation. Implement writing of UVs for OBJ output.
2016-03-17 00:25:33 +02:00
Stinkfist0
923f1212f5
Clean up program_options printings
2016-03-11 10:05:33 +02:00
Stinkfist0
e9f551ea71
--names for filtering included or excluded entities by name, e.g. --include --names "Wall Compound*"
2016-03-10 21:15:50 +02:00
Stinkfist0
b9c5b0e6c8
Add IFCCONVERT_DOUBLE_PRECISION build option
2016-03-10 17:00:06 +02:00
Stinkfist0
4953b35849
--generate-uvs, applicable for DAE only currently
2016-03-10 16:46:20 +02:00
Stinkfist0
83e5096570
Support for --deflection-tolerance
2016-03-10 16:09:39 +02:00
Stinkfist0
5008c3503d
--center-model for DAE output, fixes #8 (TODO: implement also for OBJ)
2016-03-10 14:39:42 +02:00
Stinkfist0
ce38854cff
Add --no-normals
2016-03-10 13:29:22 +02:00
Stinkfist0
24e2aece0b
Rename --use-guids and --use-names to --use-element-guids and --use-element-names. Add explicit --use-material-names for controlling material naming.
2016-03-10 12:01:04 +02:00
Stinkfist0
43f5d446ec
Implement --use-names and --use-guids for DAE, OBJ, and SVG output.
2016-03-10 11:35:32 +02:00
Stinkfist0
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.
2016-03-07 22:37:36 +02:00
Stinkfist0
84e7a86e77
XmlSerializer: handle openings. Original author of the commit/idea @otsoa.
2016-03-07 22:37:03 +02:00
Thomas Krijnen
a583339492
Merge pull request #29 from Tridify/win_build_script_improvements
...
Windows build script improvements
2016-02-15 16:14:51 +01:00
Stinkfist0
61ccd8a7cf
VLD, not VLC...
2016-02-07 12:28:05 +02:00
Stinkfist0
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)
2016-02-07 00:30:08 +02:00
aothms
76a3146b70
Fix one statement deleted too much in https://github.com/IfcOpenShell/IfcOpenShell/commit/f3af39546be9ecd485737ff0954cfb92807fca1d
2016-01-29 15:25:18 +01:00
aothms
ed8cc620ea
Use boost::shared_ptr
...
Fixes https://github.com/IfcOpenShell/IfcOpenShell/issues/17
2016-01-25 14:42:41 +01:00
aothms
801c7da40f
Use multiple argument boolean operands for IfcOpeningElement subtractions
2016-01-25 13:30:33 +01:00
aothms
4eee9a1936
Merge remote-tracking branch 'official/master'
...
Conflicts:
src/ifcconvert/IfcConvert.cpp
src/ifcgeom/IfcGeomIterator.h
2015-12-21 11:36:23 +01:00
aothms
e62ce005dc
Work on unit issues with step and iges files
2015-12-01 11:14:50 +01:00
aothms
bf292cccd0
Precision fixes
2015-11-30 22:59:21 +01:00
aothms
9d730054dd
Merge branch 'master' into layerset_slicing
2015-11-24 17:19:05 +01:00
Stinkfist0
2dc5cd44b7
Enable warning C4100 ("'identifier' : unreferenced formal parameter") and fix warnings.
2015-11-23 15:52:12 +02:00
Stinkfist0
a13042f227
Fix warnings: unused variables, shadowing variable names, constant conditional expressions, integer conversions, inability to generate copy-ctor and/or assignment operator, etc.
2015-11-21 23:05:28 +02:00
Stinkfist0
d4b51a82e7
Fix/suppress plethora of integer conversion warnings on x64 Visual Studio build.
2015-11-03 17:58:08 +02:00
Stinkfist0
921c3eb2d3
SvgSerializer.cpp: add missing #include <Standard_Version.hxx>
2015-10-28 21:25:23 +02:00
aothms
f3af39546b
Don't construct transformation from matrix, but use original data.
2015-10-13 11:15:45 +02:00
aothms
c9db70c7c3
Initial implementation of layerset slicing
2015-10-07 17:33:30 +02:00