Commit Graph

276 Commits

Author SHA1 Message Date
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
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 6f540e61ac Remove outdated todo note 2024-04-29 21:03:09 +02:00
Thomas Krijnen c16d49d683 #4450 don't fail on empty bbox in prefiltering 2024-04-18 10:48:06 +02:00
Thomas Krijnen 75b9e6cec9 setOnlyValid() option that skips and logs invalid topology #4130 2024-04-17 14:57:44 +02:00
Thomas Krijnen 946a21146a Add missing includes after merge resolution 2024-04-17 14:54:39 +02:00
Dion Moult bceac22ca0 See #4389. Accommodate null pset values when serializing to SVG. 2024-04-17 14:42:55 +02:00
Thomas Krijnen 7f37ba2fad convert closed wires to faces prior to processing in svg serializer #4283 2024-04-17 13:41:05 +02:00
Martin15135215 2b49c6e752 add cff for serializers 2024-04-16 11:12:08 +02:00
Thomas Krijnen f504053b27 Fixes after gltf ECEF merge 2024-04-16 11:04:21 +02:00
Thomas Krijnen 2eecfd6422 Option to write Earth-Centered Earth-Fixed glTF 2024-04-16 10:55:54 +02:00
Thomas Krijnen 5af30b6f07 #3660 Oops... propagate setting 2024-04-16 10:26:58 +02:00
Thomas Krijnen dc84f84e86 #3660 setSegmentProjection() / --svg-segment-projection options 2024-04-16 10:26:51 +02:00
Chetan 76708dd8ce Create constants ELEMENT_ARRAY_BUFFER and ARRAY_BUFFER to allow for more descriptive bufferview construction. Change the bufferViewId variable from a static variable to a member variable because python instances of IfcOpenShell can have multiple serializers open at any given time. This commit also includes some minor code reformatting and code comments explaining the changes done. Finally integer constants GLB_FILE_HEAER, GLB_JSON_HEADER, GLB_BINARY_CHUNK_HEADER were added to make the glb file header creation more descriptive 2024-04-16 10:26:48 +02:00
Chetan f4cce9878f Give each accessor its own buffer view to improve the memory and rendering efficiency of the glb file 2024-04-16 10:25:02 +02:00
Thomas Krijnen 0b673f725e #3158 Fix unify inputs 2024-04-16 10:25:02 +02:00
Dion Moult 9cb3ce1f9a See #2894. Implement SVG mirroring options (typically used for RCPs or useful when converting to other things like DXF). 2024-04-16 10:24:54 +02:00
Thomas Krijnen 9adb4ac82b #3510 Sample points along diagonal as well for quick and dirty occlusion detection 2024-04-16 10:24:53 +02:00
Chetan 0ef14bad6f When creating a GLTF file, make the material double sided to fix a bug where some surfaces were transparent. This will allow surfaces created from a mesh to be be viewed from all angles regardless of the shape of the mesh or the directions of the normals. 2024-04-16 10:10:50 +02:00
Thomas Krijnen 23d096be07 SVG serialization UnifyInputs option 2024-04-16 10:10:48 +02:00
Thomas Krijnen 26d0f98cd9 #3359 return early in case of no-prefiltering 2024-04-15 13:30:41 +02:00
Thomas Krijnen fe7d550ef7 Help swig not to trip over old occt handle definitions 2024-04-15 13:29:18 +02:00
Thomas Krijnen 09d7cd97c8 SVG prefiltering elements based on large faces 2024-04-15 13:28:13 +02:00
Thomas Krijnen dc81be8a9a item_id vector #3120 2024-04-15 13:02:45 +02:00