Petru Conduraru
e389939092
serializers: expand IfcPropertySetDefinitionSet in XML output ( #6330 )
...
Property sets contained in an IfcPropertySetDefinitionSet were exported as
an empty element in XML. The XmlSerializer already had a block to expand
such a set into its member property sets, but it was gated behind
#ifdef SCHEMAS_HAS_IfcPropertySetDefinitionSet while the schema generator
emits SCHEMA_HAS_IfcPropertySetDefinitionSet (singular). The plural spelling
is defined nowhere, so the block was dead code and a RelatingPropertyDefinition
holding a set produced nothing.
Correct the macro name so the set is expanded and its property sets are
serialized. The parse layer already reads these nested sets (they are
reachable from util.element), so this only completes the XML path.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-07-11 15:26:49 +02:00
Petru Conduraru
7322263a5e
GltfSerializer: clamp roughnessFactor into the valid glTF range #8073
...
roughnessFactor was computed as 1/specularity. An IfcSpecularExponent of
0 produced infinity, which nlohmann::json serialises as null and makes
the glTF invalid; exponents below 1 produced values above 1, which glTF
also forbids. Map exponents <= 1 to full roughness and keep 1/exponent
above that, so the factor always lands in [0, 1].
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-07-06 13:33:47 +02:00
Thomas Krijnen
8bd22178f7
OCC_VER Compatibility
2026-06-29 11:30:37 +02:00
Frozen Forest Reality Technologies
38e3bb0590
Boost 1.88 Update
2026-06-29 11:30:36 +02:00
Frozen Forest Reality Technologies
7f49c945b9
OCCT 8.0 Update Part 3
2026-06-29 11:30:36 +02:00
Frozen Forest Reality Technologies
81f71e6418
OCCT 8.0 Update Part 2
2026-06-29 11:30:36 +02:00
Frozen Forest Reality Technologies
6318610bdb
OCCT Update to 8.0 Part 1
2026-06-29 11:30:36 +02:00
Thomas Krijnen
d5bed316cd
Option for ifcwrap cmake to run standalone #8165
2026-06-17 14:28:36 +02:00
Thomas Krijnen
3136c74c2f
Pass logger to proj callback
2026-06-11 21:57:42 +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
bd264f1d85
Add missing standard library includes for self-sufficient headers
...
Fixes builds with newer GCC/libstdc++ that no longer provide <cstdint>,
<cstring>, <cfloat>, <memory>, <algorithm> etc. transitively. Also
disambiguates visit<> calls in taxonomy.h with the full namespace and
casts the character value in IfcCharacterDecoder to uint32_t to silence
ambiguous overload warnings.
2026-06-05 08:54:27 +02:00
Thomas Krijnen
e6cc0e7813
Initialize ncount_total #7834
2026-03-23 10:54:38 +01:00
Andrej730
34ffaea2c9
cmake - link serializers against IfcGeom to fix wasm build
...
jsonserializer is using ifcgeom and also eigen3
2026-02-26 17:12:45 +05:00
Andrej730
d41985f23a
format cmake files
2025-12-22 18:44:42 +05:00
Andrej730
5a0f8d30cf
cmake - install headers using PUBLIC_HEADER, deprecate INCLUDEDIR
2025-12-12 19:30:21 +05:00
Esteban DUGUEPEROUX
d566ba6e1f
cmake: Use correct proj target
...
See-Also: https://proj.org/en/stable/development/cmake.html
2025-12-10 15:20:02 +01:00
Andrej730
d174ecf760
cmake - make USD_SUPPORT build succeed
2025-12-05 20:24:01 +05:00
Andrej730
1ad1883f0e
Findnlohmann_json.cmake
2025-12-05 20:24:01 +05:00
Andrej730
40cffe2dd1
cmake - remove unused installs after 8fb10d2
2025-12-05 20:24:00 +05:00
Thomas Krijnen
4fc2f623cf
Count number of emitted normals in OBJ serializer, which might be less than verts when writing line geometries
2025-12-02 16:32:37 +01:00
Andrej730
6cbd3ed014
cmake - drop OPENCASCADE_LIBRARIES variable #7388
2025-12-02 19:55:56 +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
Esteban DUGUEPEROUX
8fb10d2ff3
cmake: Use OBJECT target instead of STATIC one to avoid mix static and shared targets in a same build
2025-11-28 17:03:25 +01:00
Esteban DUGUEPEROUX
37d29e5d47
cmake: Use same PRIVATE scope for Serializers target
2025-11-28 16:17:41 +01:00
Diego Mateos
7221e72cfa
fix some target folders to respect parent cmake
2025-11-28 14:11:57 +01:00
Andrej730
7e48d712a2
cmake - fix error building with GLTF_SUPPORT=OFF ( 487a4f3, #7390 )
2025-11-21 18:28:06 +05:00
Esteban DUGUEPEROUX
1876a788a9
cmake: Externalize cmake config for Serializers
2025-11-19 11:24:15 +01:00
Thomas Krijnen
1bc4e82b7d
reorder
2025-11-17 19:15:20 +01:00
Thomas Krijnen
fc197c1d32
anon namespace
2025-11-17 19:09:31 +01:00
Thomas Krijnen
33cfa9e2b1
function3
2025-11-17 18:57:22 +01:00
Thomas Krijnen
9e9d664511
.glb --separate-z-up-node option
2025-11-17 18:26:00 +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
7db2f66685
WKT footprint massaging
2025-11-07 10:59:33 +01:00
Thomas Krijnen
44ef409335
Don't check for drawing semantics on qto or predefpset #7304
2025-10-31 09:56:54 +01:00
Thomas Krijnen
a6d20c0cc4
Follow up after 4d688170e0
2025-10-22 21:42:37 +02:00
Thomas Krijnen
e15f222a19
Address segfault #7215 #7185
2025-10-08 14:17:47 +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
a50fc3184b
Minor attribute count fixes
2025-09-10 09:13:16 +02:00
Thomas Krijnen
70286f2bcb
Minor
2025-09-04 16:49:18 +02:00
Thomas Krijnen
09f9b23153
Harmonize and complete serialization of aggregates of aggregates
2025-09-04 16:48:41 +02:00
Thomas Krijnen
59a5bf2344
RocksDB zstd encryption; cache tuning; readonly open mode
2025-09-03 11:11:55 +02:00
Thomas Krijnen
dfaa8d510c
authorisation -> authorization in header schema for compatibility
2025-08-29 16:08:42 +02:00
Thomas Krijnen
b6712602e2
Retain exact attribute counts in rdb as parsed
2025-08-28 11:15:05 +02:00
Thomas Krijnen
a0c92638d2
RDB serializer: write type declarations in case of typed refs
2025-08-26 13:25:38 +02:00
Thomas Krijnen
92d4a89a43
Support propsetdefset in rocksdb streamer
2025-08-26 12:54:04 +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