Thomas Krijnen
161deeb4e0
Fix warnings and compilation on clang
2018-12-22 14:05:49 +01:00
Thomas Krijnen
99b865bbd9
Some layerset processing comments
2018-12-21 14:40:58 +01:00
Thomas Krijnen
1a1b7e93ab
Changes to no-material message
2018-12-19 16:54:02 +01:00
Thomas Krijnen
f5af6ee6c0
speed-up min_vertex_edge_distance(). Fixes #518
2018-12-19 16:39:54 +01:00
Thomas Krijnen
94f49af00b
Fix header order
2018-12-19 16:30:05 +01:00
Thomas Krijnen
39b8680f64
Improve performance of layerset slicing
2018-12-19 16:10:33 +01:00
Thomas Krijnen
26282437cc
Layerset processing error message
2018-12-19 15:15:28 +01:00
Thomas Krijnen
6911b48a46
project() more efficiently onto planar surfaces
2018-12-19 15:15:00 +01:00
Thomas Krijnen
20471bd33e
Check comcurve segments extent before creating iterator
2018-12-17 10:56:26 +01:00
Thomas Krijnen
bb15446822
Make std::map inheritance private. #512 #517
2018-12-17 10:37:48 +01:00
Thomas Krijnen
a0f37cf9ea
Fix some warnings
2018-12-12 16:12:38 +01:00
Thomas Krijnen
a8f4f0270a
Don't double quote boost dependency dir #515
2018-12-11 13:01:28 +01:00
Thomas Krijnen
336601a7ae
Missing FindFromKey() overload on older versions of occt
2018-12-11 10:55:03 +01:00
Thomas Krijnen
d39c7bd641
Postfix integers
2018-12-10 17:26:41 +01:00
Thomas Krijnen
d3092090df
Substitute tiny trimmed curves with linear approximation when deflection within tolerance
2018-12-10 17:15:39 +01:00
Stinkfist0
327be7030f
ColladaSerializer minor tweaks and to-dos.
2018-12-09 12:23:44 +01:00
Michael Sundqvist
06589ca1c6
Refactor ColladaSerializer.cpp, encode material names only once, decode them before passing to OpenCollada functions that take URI parameters
2018-12-09 12:23:44 +01:00
Michael Sundqvist
1c83b2db53
Remove object name from no material log message, raise level to warning
2018-12-09 12:23:44 +01:00
Michael Sundqvist
6f3eb84f66
Fix instance_material missing material names as well.
2018-12-09 12:23:44 +01:00
Michael Sundqvist
e7a8a97639
If material name is empty when writing collada file, name it as a missing material. Logger::Notice() objects that do not have a material assigned.
2018-12-09 12:23:44 +01:00
Otso Alho
fe1cb9e92b
default to blank material with IfcMaterial name
2018-12-09 12:23:44 +01:00
Thomas Krijnen
f849434f24
More defensive IfcCurveBoundedPlane processing
2018-12-09 11:59:49 +01:00
Thomas Krijnen
8c0c216a1d
Check boolean result manifoldness for shells individually. Fixes #516 .
2018-12-08 10:37:54 +01:00
Thomas Krijnen
747ddeb20c
Apply openings in batches sorted by increasing detail
2018-11-23 11:45:23 +01:00
Thomas Krijnen
4afd104f3d
fit_halfspace() correct padding
2018-11-21 11:28:22 +01:00
Thomas Krijnen
4ed9166e8a
Check for null pointers returned by find_representation()
2018-11-20 12:10:44 +01:00
Bernd Hahnebach
64eb5b4d1d
namespace fix for debian buster, fixes issue #506
2018-11-20 11:59:08 +01:00
Thomas Krijnen
116de5daec
Test powershell v5 or higher
2018-11-20 11:53:11 +01:00
Thomas Krijnen
0018224da7
Handle python positional arguments in case of derived fields more explicitly
2018-11-19 16:38:52 +01:00
Thomas Krijnen
334d867873
Fix #498
2018-11-19 14:56:21 +01:00
Thomas Krijnen
50e5d5f4d5
Sort instances before emitting to file
2018-11-13 14:46:15 +01:00
Thomas Krijnen
e64d8750e1
Use all representations if no representations found through context check
2018-10-30 12:15:35 +01:00
Thomas Krijnen
342cce89d7
#487 perform fix after sewing if not valid
2018-10-30 09:05:18 +01:00
Stinkfist0
ffa282af9d
IfcGeomIterator: check the filtered products, not unfiltered ones, for reusability. Speeds up things significantly and also fixes geometry reusability in many cases.
2018-10-15 15:22:44 +02:00
Stinkfist0
fbc0215ef1
IfcGeomIterator: optimize filtering by performing it prior to geometry reuse inspections.
...
Improves the iteration speed immensely, especially on very large files when only a fraction of the content is wanted to be converted.
2018-10-15 15:22:44 +02:00
Stinkfist0
58759cf365
IfcConvert: prevent memory leaks and clean up code by utilizing shared_ptr.
2018-10-15 14:02:17 +02:00
Stinkfist0
2024a24e31
IfcConvert: proper "exit routine" if initialization of input fails when trying to create geometry files.
2018-10-15 14:02:17 +02:00
Stinkfist0
c420cc1abb
IfcFile::Init: return false if unexpected schema encountered.
2018-10-15 14:02:17 +02:00
Jean Niklas L'orange
e39835d25e
Make API more consistent
2018-10-15 11:25:17 +02:00
Jean Niklas L'orange
9c1660a84b
Catch and inform about errors
...
The changes in how specular roughness and transparency is read in was
done to ensure type safety. If you added
"transparency": "0.8"
to the file, then that would be silently ignored. In the new style, it
instead errors out if the type cannot be converted to a double.
2018-10-15 11:25:17 +02:00
Jean Niklas L'orange
7e9e56cd2c
Support setting default "fallback" material style
...
Specifying a fallback default material style is added by specifying a
style for "*" in the --default-material-file.
2018-10-15 11:25:17 +02:00
Jean Niklas L'orange
a6d3619449
Fix bug where default material was not initialised
...
We kind-of sort-of do double work here, but I think it is better to
always assume that InitDefaultMaterials when setting the defaults, to
avoid too many code paths.
2018-10-15 11:25:17 +02:00
Jean Niklas L'orange
dab3382b29
Implement support for custom default materials
...
The support for custom default materials is implemented as a JSON
file passed via the command line. The default material specification
will override the defaults, except the toplevel default value.
2018-10-15 11:25:17 +02:00
Stinkfist0
882d27fe25
Use /permissive- introduced in VS 2017 to enforce standards-conformance.
...
https://docs.microsoft.com/en-us/cpp/build/reference/permissive-standards-conformance?view=vs-2017
2018-10-01 10:30:04 +02:00
paul
81a9d0e747
Changing opencollada version to "v1.6.63"
...
Discussion:
https://github.com/IfcOpenShell/IfcOpenShell/issues/480
Summary:
"... Compiling OpenCOLLADA fail on fedora 27... changing opencollada version to "v1.6.63" (since some time now they do proper tagging over there, the commit we track now is from 19 Dec 2013, probably worth updating as newer compilers might rightfully complain)...
Probably best to rm -rf ... IfcOpenShell/build/Linux/x86_64/build/OpenCOLLADA before restarting."
2018-10-01 10:29:01 +02:00
Thomas Krijnen
3102a1c179
Check for empty bounding boxes in boolean op filter
2018-09-25 12:47:06 +02:00
Thomas Krijnen
a8effa8289
No need to cast to TopoDS_Face anymore
2018-09-25 12:46:20 +02:00
Thomas Krijnen
92f4d76c81
Check for empty list of boolean operands
2018-09-21 14:53:39 +02:00
Thomas Krijnen
d2337dc692
Missing FindFromKey() overload on older versions of occt
2018-09-21 12:06:10 +02:00
Thomas Krijnen
6b8681b74a
That was bad
2018-09-21 11:45:36 +02:00