Andrej730
2155e3206f
logger: use Logger* instead of Logger& to propagate signature using swig
...
See the comment in IfcLogger.h explaining this.
2026-07-16 17:28:24 +05:00
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
Bruno Postle
1d5108f934
Fix linking for builds with -Wl,--as-needed
2026-02-06 16:51:41 +00:00
Andrej730
d41985f23a
format cmake files
2025-12-22 18:44:42 +05:00
Andrej730
2627052b55
cmake - export IfcOpenShellConfig.cmake
2025-12-11 19:55:41 +05:00
Andrej730
1ad1883f0e
Findnlohmann_json.cmake
2025-12-05 20:24:01 +05:00
Andrej730
0555523c98
cmake - move all cgal related stuff to CGAL::CGAL target
2025-12-04 19:59:07 +05:00
Andrej730
172d840a77
cmake - remove unused WITH_RELATIONSHIP_VALIDATION compilation definition
2025-12-04 17:44:12 +05:00
Esteban DUGUEPEROUX
083fab5255
cmake: Use standard install way
...
For specific install customization, use CMAKE_INSTALL_BINDIR, CMAKE_INSTALL_LIBDIR and CMAKE_INSTALL_INCLUDEDIR variables.
See-Also: https://cmake.org/cmake/help/latest/guide/tutorial/Installation%20Commands%20and%20Concepts.html
2025-11-30 11:11:51 +01:00
Diego Mateos
7221e72cfa
fix some target folders to respect parent cmake
2025-11-28 14:11:57 +01:00
Esteban Dugueperoux
613015e37e
cmake: Externalize OpenCascade config ( #7365 )
...
Co-authored-by: Andrej <azhilenkov@gmail.com >
2025-11-19 18:02:07 +05:00
Esteban DUGUEPEROUX
be0eea1bed
cmake: Have a dedicated CMakeLists.txt for IfcConvert & co
2025-11-19 13:28:45 +01: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
54eb83f080
CGAL 6 compatibility regarding aabb_traits_3 and stdlib usage
2024-11-14 13:30:19 +01:00
Thomas Krijnen
e7d88ba851
cityjson submodule
2024-11-14 13:29:47 +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
Dion Moult
2d5be6cf89
Search replace 0.7.0 with 0.8.0
2024-06-27 11:49:12 +10: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