Andrej730
b8f4149603
HdfSerializer::read_surface_style - use isnan for clarity
2025-08-08 19:12:10 +05:00
Andrej730
2855e96e53
HdfSerializer::read_surface_style - fill style.instance
...
E.g. Bonsai is relying on geometry.materials to identify what styles object has and in this case it would skip all styles without entities.
2025-08-07 21:02:35 +05:00
Andrej730
4b7dfcdae5
HdfSerializer::read - fix nullptr dereference reading surface styles
...
The problem was with the line `read_surface_style(surface_styles[i], surface_style_ptrs[i]);` since `surface_style_ptrs[i]` was a nullptr.
Changed the signature to `style&` to make it more clear that it's expecting already created style struct.
2025-08-07 21:02:35 +05:00
Andrej730
67d405ba76
HdfSerializer - fix missing edges_item_ids item in cache ( dd9de98)
...
It wasn't written, but HdfSerializer was still requiring and throwing errors if it couldn' t find it, so cache wasn't working...
Honestly, me when I realized what happened - 🫣 🫣
2025-08-07 21:02:35 +05:00
Andrej730
d671d6bed1
HdfSerializer - avoid crashes when passing CgalShape
2025-08-07 21:02:35 +05:00
Thomas Krijnen
7e2b9dc7f3
Warn about failure to create camera from IfcAnnotation/DRAWING in Svgserializer
2025-08-06 09:22:47 +02:00
skemaikin
21a4db7823
serialize roughnessFactor
...
add roughnessFactor for gltf serialization
2025-06-29 14:24:52 +02:00
Thomas Krijnen
2741acf4fe
Fix compilation
2025-06-11 10:39:02 +02:00
Thomas Krijnen
4d7453f9a4
Increase SVG precision to prevent self-intersections on detailed polygons
2025-06-09 21:31:55 +02:00
Thomas Krijnen
3180004a28
WKT serializer: adapt section height to geometry height and emit height as geo:length
2025-06-02 13:30:06 +02:00
Thomas Krijnen
4bc88eac2f
ifdefs around geometry handling for 4.3 rc schemas #6710
2025-05-17 16:01:28 +02:00
Thomas Krijnen
7b71e2ce2a
Don't set xstep.cascade.unit as it appears to result in scaling during export #6623
2025-04-29 10:53:01 +02:00
Thomas Krijnen
b64dcfd4b8
Fix compilation on schemas prior to ifc4 #6549
2025-04-19 09:21:22 +02:00
Thomas Krijnen
360e08f268
SVG matrix #5676
2025-04-17 15:25:35 +02:00
Sebastian Friston
dc84d85f7b
ISSUE #6340 check if material is null before trying to get id
2025-04-17 14:33:07 +02:00
Thomas Krijnen
858e73c9d9
IfcPropertySetDefinitionSet in xml serializer #6330
2025-04-11 15:53:27 +02:00
Sebastian Friston
35fe79dfb2
ISSUE #6328 fix in dispatch_token to avoid missing unknown in logicals
2025-03-20 14:03:07 +01:00
Thomas Krijnen
5510fb1e3c
Add constexpr
2025-02-24 13:30:45 +01:00
Thomas Krijnen
8bba25497b
Add material name in gltF
2024-12-07 16:36:40 +01:00
Thomas Krijnen
aef38bd869
Fix matrix access in XmlSerializer #5840
2024-12-04 10:39:01 +01:00
Thomas Krijnen
049173286a
Bump precision in wkt output
2024-12-01 19:05:22 +01:00
Thomas Krijnen
b9f790217e
Initialize only_valid_
2024-12-01 11:21:58 +01:00
Thomas Krijnen
8edbb37121
Fix latebound entity inheritance hierarchy wrt id() #5822 - not ideal, because BaseEntity.declation now returns declaration
2024-11-28 12:57:08 +01:00
Thomas Krijnen
68062f54d8
Gracefully handle missing aggregate header fields #5626
2024-10-26 17:21:15 +02:00
Thomas Krijnen
e3223db059
More includes to make gcc happy
2024-10-08 21:04:11 +02: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
461e3d478a
Store lowest_z in WKT footprint generation
2024-10-07 20:45:52 +02:00
Thomas Krijnen
2c08cff67b
Make sure $ chars in TTL are only enclosed in <IRI> not shortened postfixes"
2024-10-03 10:30:53 +02:00
Thomas Krijnen
8f443a79f3
Merge pull request #5184 from csritter/v0.8.0
...
Adding --surface-colour in conversion settings to force the use of surface color instead of diffuse color. Issue #5075
2024-10-02 17:24:34 +02:00
Thomas Krijnen
99ae69f1e4
Don't estimate normal from collinear edges in TTL serializer
2024-10-02 11:12:23 +02:00
Thomas Krijnen
b700c5e448
Don't escape $ in TTL output
2024-10-02 11:12:23 +02:00
Thomas Krijnen
dd01cb0e51
BaseUri setting for TTL+WKT
2024-09-28 14:47:08 +02:00
Thomas Krijnen
314534436d
Add .ttl + Well Known Text geometry serializer
2024-09-27 16:32:47 +02:00
csritter
a8157e7dd6
Merge branch 'v0.8.0' into v0.8.0
2024-09-25 11:20:47 -03:00
Andrej730
dd9de98290
Store edges representation item ids in Triangulation
2024-09-25 19:09:14 +05:00
Thomas Krijnen
555eb44f00
Add IfcAlignmentSegments to XML output
2024-09-17 13:07:33 +02:00
Thomas Krijnen
0b555b30d2
Add IfcAlignmentSegments to XML output
2024-09-17 13:03:25 +02:00
Thomas Krijnen
bcc3b43dc1
--element-hierarchy matrix transpose #5191
2024-09-09 09:57:09 +02:00
csritter
2b8124071a
Merge branch 'v0.8.0' into v0.8.0
2024-08-26 10:26:10 -03:00
Thomas Krijnen
81bdb551ab
SvgSerializer fix: Z == 2
2024-08-23 20:43:27 +02:00
Thomas Krijnen
d80bcd1a94
Unify variant storage ( #5118 )
2024-08-23 20:29:07 +02:00
Cristian Ritter
d714eca4ee
replacing diffuse to get_color method
2024-08-20 11:44:20 -03:00
Cristian Ritter
b5a61753a5
Adding --surface-color in conversion settings to force the use of surface color instead of diffuse color. Issue #5075
2024-08-15 13:56:31 -03:00
Thomas Krijnen
a689fc6377
Consistency TopExp_Explorer::Current()
2024-08-02 04:50:06 +02:00
Thomas Krijnen
4d698deb21
Various improvements to USD serializer related to object naming
2024-07-21 02:41:43 +02:00
Thomas Krijnen
a4532cc722
Remove assumptions on solid topology in SVG camera frustrum detection #4924
2024-07-03 20:04:52 +02:00
Thomas Krijnen
c68dcba087
Implement element-hierarchy setting in USD
2024-06-29 14:16:07 +02:00
Thomas Krijnen
a0458eeb91
Fix USD transformations after v0.8 migration
2024-06-28 20:26:11 +02:00
Dion Moult
2d5be6cf89
Search replace 0.7.0 with 0.8.0
2024-06-27 11:49:12 +10:00
Thomas Krijnen
c01263d721
shared_ptr styles all over #4833
2024-06-10 20:13:12 +02:00