Stinkfist0
b058647d46
IfcLogger: convenience shorthands Notice(), Warnings() and Error()
2017-03-04 13:54:19 +01:00
Stinkfist0
0383221d00
IfcConvert: print information about the used filters.
2017-03-04 13:54:19 +01:00
Stinkfist0
678d422ec8
Fix errors in rebase merge.
2017-03-04 13:54:19 +01:00
Stinkfist0
eade74c919
Fix --traverse --exlucde=<entities|layers> + clean up duplicate code. filter::traverse_match: dynamic_cast instead of static_cast as the decomposing entity is not guaranteed to be IfcProduct
2017-03-04 13:54:19 +01:00
Stinkfist0
9074f25e93
Fix --exclude=arg when --traverse used also.
2017-03-04 13:54:19 +01:00
Stinkfist0
4b5790e83a
IfcConvert: minor cleanup + fix guid exclusion filter's value population.
2017-03-04 13:54:19 +01:00
Stinkfist0
470b08cd04
IfcConvert: output regular prints to cout instead of cerr.
2017-03-04 13:54:19 +01:00
Stinkfist0
d88c93a150
Cleaning up geom filters.
2017-03-04 13:54:19 +01:00
Stinkfist0
7101ac22c8
Refactor template class arg_filter into string_arg_filter instead, support for IfcProxy.Tag (untested, did not find suitable test input yet).
2017-03-04 13:54:19 +01:00
Stinkfist0
1b7d38a56d
support for IfcConvert -include=arg <Description|Tag> (for IfcElement.Tag, not yet for IfcProxy.Tag).
2017-03-04 13:54:19 +01:00
Stinkfist0
de5864fc72
IfcConvert: change syntax of --<include|exclude>=<names|guids> to --<include|exclude>=arg <Name|GlobalId>. The plan is to support arbitrary arguments in the future.
2017-03-04 13:54:19 +01:00
Stinkfist0
195d68cd0a
Generalize IfcGeom::Iterator filtering and move make the filter specification external to the Iterator.
2017-03-04 13:54:19 +01:00
Stinkfist0
d8a11dd096
Refactoring and cleaning up geom iterator filtering.
2017-03-04 13:54:19 +01:00
Stinkfist0
63b0488909
Implement filtering created geometry by layer assignments.
2017-03-04 13:54:19 +01:00
Stinkfist0
3abee03b9b
Filtering by entity GUID and layer name w.i.p.
2017-03-04 13:54:19 +01:00
Stinkfist0
f1709dc71a
IfcConvert/IfcGeom: Possibility to include and exclude simultaneously by type and name, w.i.p.
2017-03-04 13:54:19 +01:00
Stinkfist0
fa76aa9bb0
IfcConvert: add --unicode=utf8|escape when UNICODE_SUPPORT enabled.
2017-01-14 20:13:46 +01:00
Stinkfist0
f0e07f3447
Add status prints for writing XML output. Re: #122
2017-01-14 20:13:46 +01:00
Stinkfist0
80f0ff688d
IfcConvert: add --model-ofset x;y;z option. Remove SerializerSettings::CENTER_MODEL as unneeded.
2017-01-14 20:13:46 +01:00
Stinkfist0
ecff54c480
IfcConvert --precision option.
...
Sets the decimal precision to be used to format floating-point values, 15 by default.
Use a negative value to use the system's default precision (should be 6 typically).
Applicable for OBJ and DAE output. For DAE output, value >= 15 means that up to 16 decimals are used,
and any other value means that 6 or 7 decimals are used.
2017-01-14 20:13:46 +01:00
Stinkfist0
2d58a1bc7c
Separate serialization-specific settings from IteratorSettings into its own class, SerializerSettings.
2017-01-14 20:13:46 +01:00
Ali Kämäräinen
714a365942
IfcConvert/IfcGeom --traverse option ( #159 )
...
geometry filtering option for including/excluding decomposition and containment of filtered entities.
Usage example: IfcConvert Duplex_A_20110907.ifc Level1.dae --include --traverse --names "Level 1"
2016-11-13 13:44:38 +01: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
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
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
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
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
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
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
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
aothms
c9db70c7c3
Initial implementation of layerset slicing
2015-10-07 17:33:30 +02:00
aothms
db6630c1f8
Use boost::to_lower()
2015-10-05 13:34:43 +02:00