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
222cbe73d3
Use unnamed enum instead of static const member variable for SerializerSettings::DEFAULT_PRECISION in order to fix compilation on GCC & Clang.
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
Thomas Krijnen
5667f3f94a
build script changes for boost
2017-01-09 13:10:01 +01:00
Jelle Feringa
5d6160b47a
log exceptions on get_info method
...
these exceptions currently are actively being hidden, which is
intransparent / could make debugging challenging
improved formatting tot pep8
2017-01-04 10:26:04 +01:00
Stinkfist0
37905c6725
Windows/MSVC: support spaces in the IfcOpenShell build directory's path. re: #171
2017-01-01 18:16:56 +01:00
aahoo
99bde93af5
adds get_info method for class #resolves #175
2017-01-01 18:15:55 +01:00
Thomas Krijnen
e6ff78fa29
Size() -> Length()
2016-12-10 15:39:20 +01:00
Thomas Krijnen
c08aa3216d
Fix #163 Disallow narrow IfcPolygonalBoundedHalfSpace
2016-12-10 14:11:01 +01:00
Thomas Krijnen
da0b350378
Fix #140
2016-12-09 16:51:03 +01:00
Thomas Krijnen
4354361a13
More elaborate wire ordering check and shell sewing code ( #147 )
2016-12-09 16:40:14 +01:00
Thomas Krijnen
51409aff8f
Fix #87
2016-12-09 16:33:06 +01:00
Thomas Krijnen
c94ed73b8d
Incorporate console into main app, fallback to QPlainTextEdit, some styling
2016-11-28 17:46:57 +01:00
jakob-beetz
90e4f21f29
Interactive scripting pane added to pyQt viewer geom.app
2016-11-28 17:46:57 +01:00
jakob-beetz
3ba2f781d8
added a property panel tab to the PyQt geom.app viewer that shows all properties from IfcPropertySets attached to the currently selected object
2016-11-28 17:46:57 +01:00
Ali Kämäräinen
aec20057c7
Fix build when USE_IFC4=1 ( #160 )
2016-11-18 12:43:14 +01:00
Thomas Krijnen
5c107eb165
Merge pull request #161 from IfcOpenShell/aothms-travis-2x3-4
...
Build Ifc2x3 and Ifc4 on travis
2016-11-18 12:42:50 +01:00
Thomas Krijnen
3d1ea31098
Build Ifc2x3 and Ifc4 on travis
2016-11-18 12:22:02 +01:00
Thomas Krijnen
3d24b67146
Fix #157
2016-11-17 16:05:28 +01:00
Thomas Krijnen
18c87b515b
Install ifcopenshell binaries in nix build script
2016-11-13 20:27:22 +01:00
Thomas Krijnen
11a95e7045
Merge pull request #156 from aothms/nix_python_build_script
...
Nix python build script
2016-11-13 13:45:12 +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
Thomas Krijnen
739bbcc744
Don't run build script on travis, doesn't complete in under 50m0s
2016-11-11 14:55:07 +01:00
Thomas Krijnen
6a275d04b9
Don't export TARGET_ARCH in nix build script
2016-11-09 11:12:29 +01:00
Thomas Krijnen
e8ae491dc3
Type hint from schema when encountering empty aggregate. Fixes #127
2016-11-08 17:24:08 +01:00
Thomas Krijnen
8e2f528a99
Fix python build script
2016-11-06 19:07:25 +01:00
Carmen Fan
00215867c0
Fix matrix multiplication ordering for nested mapped items ( #144 )
2016-11-06 16:18:30 +01:00
Thomas Krijnen
1e86a31b81
Add nested_mapped_item.ifc test case, based on acad2010_objects.ifc
2016-11-06 16:15:52 +01:00
Ali Kämäräinen
f0c4ce5753
Add layer information (IfcPresentationLayerAssignment) to IfcConvert's XML output. Closes #141 ( #149 )
...
Add layer information (IfcPresentationLayerAssignment) to IfcConvert's XML output. Closes #141
2016-10-31 18:21:25 +01:00
Thomas Krijnen
ea514e9528
Fix #148 catch errors when computing model bounding box from product placements.
2016-10-25 10:11:14 +02:00
Thomas Krijnen
229b123798
Fix potential segfault in hierarchy helper
2016-10-09 12:45:17 +02:00
Thomas Krijnen
86c9d7074b
Fix traversal of type relationships in IFC4 XML output
2016-10-09 12:44:37 +02:00
Thomas Krijnen
bc000fcbab
Fix additional warnings identified in #139
2016-10-09 12:42:39 +02:00
Ali Kämäräinen
a171b2b9b0
Couple warning fixes ( #139 )
...
* Use -Wno-tautological-constant-out-of-range-compare for Clang (these warnings come from the sanity checks in generated IfcXXX files).
* Remove unused variable and typedefs + suppress uint->bool conversion warnings (MSVC) + add note about Clang in README
* MSVC uint->bool convesion warning fixes when IFC4 is defined
2016-10-09 12:39:47 +02:00
Thomas Krijnen
8a92e1a766
Speed up geometry generation in ifcopenshell.geom.application by using iterator pt2.
2016-09-22 13:45:32 +02:00
Thomas Krijnen
efd6eb7f97
Speed up geometry generation in ifcopenshell.geom.application by using iterator
2016-09-22 13:40:39 +02:00
Thomas Krijnen
7ed98869d2
Update ifcopenshell.geom.app for pyocc-0.16.5
...
https://github.com/tpaviot/pythonocc-core/commit/3d7b9745359b436b4144105f7e17aa0040acb8c6
2016-09-13 14:05:28 +02:00
Karl-Philipp Richter
72d8b5377c
ported nix/build-all.sh to python in order to be able to provide any feedback
...
for the user at all (shell scripts systematically are working against providing
any useful user feedback, so the port is the only option)
2016-09-12 15:50:39 +02:00
Thomas Krijnen
8efd9757b7
Check for null shapes among layer set slicing results
2016-09-01 15:13:48 +02:00
Thomas Krijnen
a0f5a422e2
Fix #128 . XML serializer. HasPropertySets is an optional attribute.
2016-09-01 14:47:27 +02:00
Thomas Krijnen
8a950b1475
Fix compilation of ifcopenshell-python in nix build script
2016-09-01 12:53:32 +02:00
Thomas Krijnen
d2ce8d70b1
Add template disambiguation to make g++ happy
2016-09-01 12:42:12 +02:00
Thomas Krijnen
ac1a8f6d16
Add types and placement to XML output
2016-09-01 11:59:43 +02:00
Thomas Krijnen
7883953290
Do not find PCRE in default paths on Windows
2016-09-01 11:40:49 +02:00
Ali Kämäräinen
64dc2ea95c
Windows/MSVC + OCCT 7.0.0 ( #124 )
...
* Windows/MSVC build scripts: option to build and use official Open CASCADE instead of the community edition.
* Fix C4800 warnings ("'Standard_Boolean': forcing value to bool 'true' or 'false' (performance warning)") + unnecessary integer cast.
* build-deps.cmd: fix OCCT download
* Fix MSVC linking against OCCT 7.0.0. Example executables fail still, needs research.
* occt-V7_0_0-9059ca1_CMakeLists.txt: add_definitions(-DHAVE_NO_DLL) in order to fix static linking to OCCT. Mark IfcOpenShell patches in the OCCT patch files for clarity.
* Patch OCCT in order to fix compliaction when HAVE_NO_DLL is defind. Clean up IfcOpenSHell's linker warnings by defining HAVE_NO_DLL.
* CMakeLists.txt: remove linking to the newly added OCCT libs, these are not needed when HAVE_NO_DLL is defined.
* cmake/CMakeLists.txt: make add_debug_variants() function to handle filenames/paths also. Apply the coding conventions while at it. Fixes #123 .
* Patch OCCT's OpenGl_PrimitiveArray.cxx and XCAFDoc_GeomTolerance.cxx in order to fix Debug build. Do not trigger OCCT rebuild each time build-deps.cmd is ran.
* build-deps.cmd: fix OCCT file patch copy.
* Non-MSVC compiler: use -Wextra, suppress/fix -Wignored-qualifiers warnings.
* build-deps.cmd: do not check return values of copy commands as they seem not to be fully reliable.
2016-09-01 11:28:17 +02:00
Ali Kämäräinen
e064098f84
Build instructions and PCRE lib dir ( #120 )
...
* CMakeLists.txt: show fatal error if PCRE not found if COLLADA_SUPPORT is on.
* Compiling on *nix instruction tweaks.
2016-08-22 11:45:37 +02:00
Bernd Hahnebach
8dadb71648
Add OpenCollada to travis and fix cmake ( #119 )
...
* travis: collada support
* travis: opencollada, specify pcre library
2016-08-15 13:14:15 +02:00
Thomas Krijnen
9d757e1b3c
Correct typo https://github.com/IfcOpenShell/IfcOpenShell/pull/114/files#r74275264
2016-08-13 10:51:04 +02:00