Petru Conduraru
a0f493b471
IfcConvert: report an error when the output file cannot be opened ( #438 )
...
Converting to a path whose directory does not exist (or is not writable)
failed silently: the serializer's ready() check correctly returned false,
but IfcConvert deleted the temp file and returned EXIT_FAILURE without any
message, so the user saw no reason for the failure.
Log a SYS error naming the output file before returning, matching the
existing "Unable to open output file" reporting used elsewhere.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-07-11 15:28:51 +02:00
Petru Conduraru
eb7324e7fc
IfcConvert: add --fail-on-error to exit non-zero when conversion logs errors ( #1118 )
...
IfcConvert returned a success exit code even when geometry conversion logged
errors and silently dropped elements (for example a failed TopoDS::Shell build
under layerset slicing produced valid looking output with most objects
missing), so CI and scripts could not detect a partial conversion.
Add an opt-in --fail-on-error flag that makes IfcConvert exit non-zero when any
error was logged during processing, reusing the existing MaxSeverity based
failure check already used for --validate. The default exit behaviour is
unchanged, so pipelines that tolerate individual element failures are
unaffected.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-07-11 15:10:03 +02:00
Thomas Krijnen
347a3c80bb
More logger changes
2026-06-11 21:09:56 +02:00
Thomas Krijnen
a7738eeb64
Pass around non-static logger instances and programmatic access to messages in-memory
2026-06-10 18:40:17 +02:00
Thomas Krijnen
a751fb956d
Introduce unique error codes
2026-06-10 18:40:17 +02:00
Esteban DUGUEPEROUX
9b257b0a10
Remove support of cityjson for ifcconvert binary
2025-11-19 11:19:58 +01:00
Thomas Krijnen
487a4f345d
Creoox json serializer
2025-11-17 14:06:39 +01:00
Thomas Krijnen
d6daa64c48
Support --element-hierarchy in .glb output
2025-11-17 14:05:59 +01:00
Thomas Krijnen
bf0aa247a0
IfcConvert: only conditionally bypass properties
2025-11-17 13:50:50 +01:00
Thomas Krijnen
0494bd9677
Option to bypass storing types when opening model
2025-10-24 12:06:59 +02:00
Andrej730
babf95785c
Move IFCOPENSHELL_VERSION definition from IfcParse.h
...
To prevent recompiling all files that have IfcParse.h include and improve caching.
2025-09-30 19:17:46 +05:00
Thomas Krijnen
ce91d296b6
dllimport/export #6926
2025-09-26 14:24:49 +02:00
Thomas Krijnen
9d9e9ed4cb
Merge remote-tracking branch 'origin/v0.8.0' into tfk-rocksdb-storage
2025-08-26 10:17:57 +02:00
Thomas Krijnen
d2c7c1532c
Implement streaming scan through file and use in rocksdb serializer and python
2025-08-25 12:45:10 +02:00
Andrej730
29ba0f3c03
IfcConvert - prompt expected user response
2025-08-12 19:05:53 +05:00
Thomas Krijnen
439f9c14ce
OcctNoCleanTriangulation CacheShapes PermissiveShapeReuse setting; Cgal conditional copy during triangulation; occt cheaper check for triangulation existance #6712
2025-05-18 22:14:22 +02:00
Thomas Krijnen
8ce56db0c3
Align preprocessor flags #6706
2025-05-14 13:09:17 +02:00
Thomas Krijnen
f37bda2d7c
Add hybrid-cgal-simple-opencascade to CLI help
2025-03-28 20:43:17 +01:00
Thomas Krijnen
c935b2fc12
Merge branch 'v0.8.0' into tfk-rocksdb-storage
2025-03-25 13:05:45 +01:00
Thomas Krijnen
e658b00768
Reinstate old bespoke model-offset/rotation parsing in IfcConvert #6290
2025-03-19 11:42:11 +01:00
Thomas Krijnen
df6b7a34f7
Auto-detect filetype
2025-03-13 13:09:39 +01:00
Thomas Krijnen
ce4407ff3c
Some successes writing and reading
2025-02-27 22:07:31 +01:00
Thomas Krijnen
a420c4b707
Work towards serialization of data
2025-02-25 21:29:54 +01:00
Thomas Krijnen
69139dee5c
Update late bound inst in ifcconvert
2025-02-21 16:14:34 +01:00
Thomas Krijnen
72eed36313
Rework debug flags in settings
2024-12-10 21:17:37 +01:00
Thomas Krijnen
3a687fecda
SVG reliance on UseElemHierarchy for storey decomposition
2024-12-01 11:20:37 +01:00
Thomas Krijnen
4ec8ceb134
Reintroduce --center-model and --center-model-geometry
2024-11-29 13:03:56 +01:00
Thomas Krijnen
bfe3601fd1
wkt-use-section option for svg-like occt section cuts instead of polyhedral topology
2024-10-08 20:57:27 +02:00
Thomas Krijnen
314534436d
Add .ttl + Well Known Text geometry serializer
2024-09-27 16:32:47 +02:00
Thomas Krijnen
d879bf9f89
Reintroduce --model-offset/-rotation MODEL_OFFSET/_ROTATION setting #5231
2024-09-13 11:38:24 +02:00
Thomas Krijnen
d80bcd1a94
Unify variant storage ( #5118 )
2024-08-23 20:29:07 +02:00
Thomas Krijnen
4d698deb21
Various improvements to USD serializer related to object naming
2024-07-21 02:41:43 +02:00
Thomas Krijnen
0357d15ce4
Exhaustive USD Format extensions
2024-07-01 20:30:34 +02:00
Thomas Krijnen
c68dcba087
Implement element-hierarchy setting in USD
2024-06-29 14:16:07 +02:00
Thomas Krijnen
2ccc598270
Re #4833
2024-06-10 21:30:26 +02:00
Thomas Krijnen
d125699ca6
Re #4835
2024-06-10 21:30:01 +02:00
Thomas Krijnen
74a42ba006
More precisely target cityjson code #4835
2024-06-10 20:56:50 +02:00
Thomas Krijnen
f2074d95fd
Adapt USD serializer for v0.8 and define nominmax for windows.h compatibility
2024-06-10 20:13:12 +02:00
Thomas Krijnen
d382cf7e23
Fix WeldVertices default in IfcConvert
2024-04-29 20:49:11 +02:00
Thomas Krijnen
0edfb0e791
Settings rework for plan/model/context and interfacing with python
2024-04-18 21:04:02 +02:00
Thomas Krijnen
dc84f84e86
#3660 setSegmentProjection() / --svg-segment-projection options
2024-04-16 10:26:51 +02:00
luzpaz
1819a45e4c
Fix various typos in src/ifcgeom* subdirs
2024-04-16 10:05:04 +02:00
Thomas Krijnen
09d7cd97c8
SVG prefiltering elements based on large faces
2024-04-15 13:28:13 +02:00
D4ve-R
7c40ce10e6
fix typo
2024-04-15 11:39:21 +02:00
D4ve-R
448f543e3d
fix filename bug
2024-04-15 11:39:21 +02:00
D4ve-R
c8b0b65564
works fine
2024-04-15 11:38:39 +02:00
D4ve-R
38b4a225ad
compile & link successful
2024-04-15 11:37:03 +02:00
D4ve-R
c8205b4a9e
Add USDSerializer to IfcConvert
2024-04-15 11:29:01 +02:00
Thomas Krijnen
4418397d2c
fixes to cityjson invocation
2024-02-18 12:06:02 +01:00
Thomas Krijnen
c595adfb7b
Use world coords on OBJ/STP/IGS serializers as before
2023-12-05 21:10:42 +01:00