hlg
df49f1bc1b
prevent index out of bound in case of a single point
2019-02-15 14:22:02 +01:00
hlg
acde878946
process IfcIndexedPolyCurve without segments #549
2019-02-15 14:22:02 +01:00
Thomas Krijnen
a4c2aa8f42
IfcConvert Windows unicode support ( #258 )
2019-02-08 15:18:55 +01:00
Stinkfist0
3bef32bb87
IfcGeom::Kernel::get_layers: remove what would appear to be unnecessary code (yields 0 layers in my tests).
...
The LayerAssignments() calls can take up to 95 % of the function's execution time yielding no results.
2019-02-06 13:30:33 +01:00
Thomas Krijnen
40c2602b0e
Fix discrepancy with v06
2019-02-06 13:29:56 +01:00
Thomas Krijnen
81f978f101
Changes to Axis with missing refDirection
2019-02-06 12:18:10 +01:00
Xavier Lamorlette
3e041a1fb2
Migrate deprecated bind1st and mem_fun to C++11 bind
2019-02-06 11:01:23 +01:00
Xavier Lamorlette
bd3118b4a3
Fix a "declaration of 'identifier' hides class member" warning
2019-02-06 11:01:23 +01:00
Thomas Krijnen
944813146e
Close polylines on closed profile def. Fixes #538
2019-01-16 12:28:58 +01:00
Thomas Krijnen
b1754f7b26
Remove debug prints
2019-01-05 13:45:54 +01:00
Thomas Paviot
9048ce4857
Fixed BRepAlgoAPI_BooleanOperation::DumpErrors method only available for OCC version > 7
2019-01-02 10:26:03 +01:00
Thomas Krijnen
dec0c646cc
Only round corners on discontinuous spines. Fixes #358 .
2018-12-31 11:39:35 +01:00
Thomas Krijnen
382efc0255
Fix some warnings
2018-12-30 12:50:04 +01:00
Thomas Krijnen
bf50d0534b
Fixes for edge curves and non-planar faces with inner boundaries. #338
2018-12-29 14:34:47 +01:00
Thomas Krijnen
4936ea3ac3
Document boolean operation failure reasons, correct min len check and manifoldness check. Fix #478
2018-12-28 15:15:41 +01:00
Thomas Krijnen
a2231605a5
Take into account edge orientation; small fixes to convert(face)
2018-12-24 16:02:00 +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
a0f37cf9ea
Fix some warnings
2018-12-12 16:12:38 +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
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
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
Thomas Krijnen
334d867873
Fix #498
2018-11-19 14:56:21 +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
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
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