Commit Graph

240 Commits

Author SHA1 Message Date
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
D4ve-R fc29710c1d prepare for referencing 2024-04-15 11:39:21 +02:00
D4ve-R b915da223d metersPerUnit 2024-04-15 11:39:21 +02:00
D4ve-R 8723d14aee usd rotateXYZop 2024-04-15 11:39:21 +02:00
D4ve-R 7d5024bdf4 refactor 2024-04-15 11:39:21 +02:00
D4ve-R 82438f279f stage up axis 2024-04-15 11:39:21 +02:00
D4ve-R 448f543e3d fix filename bug 2024-04-15 11:39:21 +02:00
D4ve-R b9f2dbb0b3 filename bug 2024-04-15 11:39:21 +02:00
D4ve-R fca79ddb6c material subsets 2024-04-15 11:38:40 +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 7e090f5709 materials 2024-04-15 11:29:06 +02:00
D4ve-R 93042ca1ef Add USDSerializer write-only 2024-04-15 11:17:03 +02:00
Thomas Krijnen 01ad84901c #2942 Escape SVG text labels 2024-04-15 11:17:03 +02:00
Dirk Olbrich 95b5926353 ifcgeom, serializer: fix missing includes 2024-03-06 09:25:02 +01:00
Thomas Krijnen 65e874c67f Drastic settings refactoring 2023-11-15 10:32:33 +01:00
Thomas Krijnen 809668c015 Major update to halfspace algorithm, conversion result shape analysis 2023-11-02 09:04:34 +01:00
Thomas Krijnen fa73de97b0 Option to specify algorithm for --exterior-only 2023-10-06 13:27:47 +02:00
Thomas Krijnen 5bead4b219 #2805 Apply changes to v0.8 geometry mapping as well 2023-09-14 11:33:23 +02:00
Thomas Krijnen 65a5646bf0 Major update: taxonomy shared pointers, collection type safety, work towards hashing 2023-07-27 16:42:06 +08:00
Thomas Krijnen c32c88b1a0 Merge remote-tracking branch 'origin/v0.7.0' into v0.8.0 2023-03-29 12:55:05 +02:00
Thomas Krijnen 031694af2b Make cgal optional 2023-03-22 11:47:00 +01:00
Thomas Krijnen 2b1b79bf1c Make occt optional 2023-03-22 11:17:14 +01:00
Thomas Krijnen c78b2893de Proceed with merge 2023-03-21 20:15:01 +01:00
Thomas Krijnen d1217e61c4 #2822 svg: begin group lazily when data is actually being appended 2023-03-06 09:16:27 +01:00
Thomas Krijnen b521b68fd8 svg: compiler warnings 2023-03-06 09:15:27 +01:00
Thomas Krijnen c9302cde7c svg: prevent garbage data on empty path 2023-03-06 09:14:40 +01:00
Thomas Krijnen 93e0babe5a #1785 disable hdf5 brep softlinking 2023-01-13 12:10:57 +01:00
Thomas Krijnen 3736a8b4b4 Refactoring 2022-11-13 11:04:16 +01:00
Thomas Krijnen 95b474c37d Delete HdfSerializer.h~ 2022-09-22 13:13:57 +02:00
Thomas Krijnen 9bb9f91f57 Delete HdfSerializer.cpp~ 2022-09-22 13:13:47 +02:00
GisSpace df845653f3 fix IFC to xml - IFCGROUP in IFC cannot be found in xml #1154 2022-09-14 14:54:05 +02:00
Christian Martínez de la Rosa 5bfad88a75 [IfcConvert] Added IfcRelConnectsElements to xml export (#2197)
* [IfcConvert] Export tasks in the xml conversion

The exportion in the XML format exports in a new tag, named "tasks", all the tasks from the file with a hierarchy. Each task contains the IfcTaskTime object if it has it.

* [ifcConvert] Add related objects in tasks

* [IfcConvert] Added IsSuccessorFrom and IsPredecessorTo in xml task export

* Get IfcTasks from IfcWorkSchedule

* [IfcConver] Changed OperatesOn hierarchy level in xml task export

* Added task to property / quanty relationship

* [IfcConvert] Added calendars to xml output file

* [IfcConvert] Added Output objects in the XML file

* [IfcConvert] Fix crash when IfcWorkCalendar does not contain IfcWorkTime

* [IfcConvert] Added IfcWorkPlan to xml export

* [IfcConvert] Added IfcRelConnectsElements to xml export

* [IfcConvert] Added IfcRelConnectsElements to xml export

* [IfcConvert] Improved related and relating xml export
2022-09-05 14:58:22 +02:00
Thomas Krijnen 73f959c45a Correct extern function declaration names 2022-07-18 10:08:46 +02:00
Thomas Krijnen 205ff0914c Respect tokens in macro string concatenation 2022-07-18 09:24:20 +02:00
Thomas Krijnen 6026e037fa Update schema references 2022-07-17 21:13:46 +02:00
Thomas Krijnen 2ab4e44248 #2256 try explicit cast for clang 2022-07-05 09:46:19 +02:00