Thomas Krijnen
10ea9d700e
Check for null pointers returned by find_representation()
2018-11-20 12:10:44 +01:00
Bernd Hahnebach
91290f43ca
namespace fix for debian buster, fixes issue #506
2018-11-20 11:59:08 +01:00
Thomas Krijnen
6bcc27362f
Test powershell v5 or higher
2018-11-20 11:53:11 +01:00
Thomas Krijnen
61f8d34383
Handle python positional arguments in case of derived fields more explicitly
2018-11-19 16:38:52 +01:00
Thomas Krijnen
c6b72924d3
Fix #498
2018-11-19 14:56:21 +01:00
Thomas Krijnen
3643f8ee57
Sort instances before emitting to file
2018-11-13 14:46:15 +01:00
Thomas Krijnen
306ce83553
Use all representations if no representations found through context check
2018-10-30 12:15:35 +01:00
Thomas Krijnen
ab9c46b3e3
#487 perform fix after sewing if not valid
2018-10-30 09:05:18 +01:00
Stinkfist0
55c61465b8
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
9ca005bb0f
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
e8b09e2640
IfcConvert: prevent memory leaks and clean up code by utilizing shared_ptr.
2018-10-15 14:02:17 +02:00
Stinkfist0
9911b3a39a
IfcConvert: proper "exit routine" if initialization of input fails when trying to create geometry files.
2018-10-15 14:02:17 +02:00
Stinkfist0
96650ce720
IfcFile::Init: return false if unexpected schema encountered.
2018-10-15 14:02:17 +02:00
Jean Niklas L'orange
1849c43d19
Make API more consistent
2018-10-15 11:25:17 +02:00
Jean Niklas L'orange
048db115bd
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
afc7d82ca2
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
216089adcc
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
c28efa788b
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
966fac7164
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
86eeb33a4f
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
e12b413d7f
Check for empty bounding boxes in boolean op filter
2018-09-25 12:47:06 +02:00
Thomas Krijnen
00095028b9
No need to cast to TopoDS_Face anymore
2018-09-25 12:46:20 +02:00
Thomas Krijnen
cd17419ca5
Check for empty list of boolean operands
2018-09-21 14:53:39 +02:00
Thomas Krijnen
22a117b87d
Missing FindFromKey() overload on older versions of occt
2018-09-21 12:06:10 +02:00
Thomas Krijnen
7307d80001
That was bad
2018-09-21 11:45:36 +02:00
Thomas Krijnen
e3569ea955
Better handling of consecutive circular arc segments
2018-09-21 11:43:06 +02:00
Thomas Krijnen
80db00b882
Work around private copy constructor on older versions of occt
2018-09-21 11:21:51 +02:00
Thomas Krijnen
33757f4d16
Fail on empty face early
2018-09-21 10:22:37 +02:00
Thomas Krijnen
37683963cc
Limit tolerance on wire self-intersection to edge segment length
2018-09-21 10:22:24 +02:00
Thomas Krijnen
581444a675
Filter boolean subtraction operands by intial bounding box test
2018-09-19 16:42:34 +02:00
Unknown
d44795341b
Fix dll export on Windows
...
Fix dll export on Windows
2018-09-19 10:09:05 +02:00
Thomas Krijnen
b461a66526
Enable exception handling on occt release builds Fix #462
2018-09-18 13:39:44 +02:00
Thomas Krijnen
3bf8aba54f
Don't fail on empty bounding box during halfspace processing
2018-09-17 15:21:12 +02:00
Thomas Krijnen
be9ffa7322
Fail early on duplicate (non consecutive) points in face loops
2018-09-17 14:59:15 +02:00
Thomas Krijnen
36739b4c78
Fixes for degenerate polylines
2018-09-17 14:42:22 +02:00
Thomas Krijnen
8fe2d7e633
Emit unopened shapes in case of exceptions during subtraction
2018-09-17 14:11:03 +02:00
Thomas Krijnen
2e81efd6be
More careful face orientation check
2018-09-17 12:05:30 +02:00
Thomas Krijnen
44fab7db16
Perform additional check on boolean result output for small edges or distances
2018-09-17 12:02:41 +02:00
Thomas Krijnen
7b17131423
Retry boolean operations if output is non-manifold on manifold input
2018-09-17 12:00:49 +02:00
Thomas Krijnen
e2281143c0
Fix flaw in vertex-edge distance used to limit tolerance in boolean ops
2018-09-17 11:33:40 +02:00
Thomas Krijnen
d22f3c291b
Don't sew overly complex geometries even as part of boolean operations #455
2018-09-12 16:44:30 +02:00
Thomas Krijnen
662d6592a3
Only install/strip on Release build
2018-09-12 13:57:41 +02:00
Thomas Krijnen
507b49a125
Use BVH tree for wire intersections
2018-09-12 13:26:11 +02:00
Thomas Krijnen
09c5759a9f
Emit error messages on missing units
2018-09-07 14:25:46 +02:00
luz.paz
7e7da9cb1a
Misc. typos
...
Found via `codespell -q 3`
2018-09-07 11:52:01 +02:00
Thomas Krijnen
98c7cd03dd
Add missing patch files. Fix #448
2018-09-02 10:51:16 +02:00
Thomas Krijnen
cbbd368115
Test files in submodule
2018-08-26 17:09:01 +02:00
Thomas Krijnen
79bad3b95c
Move test files to separate repo
2018-08-26 12:30:18 +02:00
Stinkfist0
aee4fe89ae
IfcGeomIterator: compute model's bounding box only if needed (IfcConvert --center-model used).
2018-08-26 12:17:24 +02:00
johanrd
1c1fc9cd70
Create 443--segfault-beam.ifc
2018-08-26 12:12:48 +02:00