Commit Graph

552 Commits

Author SHA1 Message Date
Thomas Krijnen 12318fbfc2 Handle storage of nullptr as a proper Blank type in variant #5308 2024-09-05 14:38:57 +02:00
krande 88b861737c if boost >= 1.86 append newline to json logger 2024-09-03 11:56:15 +02:00
Kristoffer Andersen 0f87bd8206 use a macro to change for boost > 1.86 2024-09-03 11:09:22 +02:00
Kristoffer Andersen 1fe168d331 Update IfcGlobalId.cpp to support boost 1.86
It looks like mt19937 is no longer a member of boost in boost 1.86. I propose we use to std::mt19937 (which is already how it is used by svgfill.cpp)

see failure log from conda forge libboost 1.86 test here:
https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=1008654&view=logs&j=4f922444-fdfe-5dcf-b824-02f86439ef14&t=b2a8456a-fb11-5506-ca32-5ccd32538dc0&l=880
2024-09-03 11:09:22 +02:00
Andrej730 151244ae79 ifcopenshell.file() to create valid ifc header by default #5246
Valid type for author and organization is 'LIST [ 1 : ? ] OF STRING (256)'
2024-09-02 17:04:55 +05:00
Andrej730 76ba3947f5 Expose header properties with invalid values #5246 2024-08-31 14:31:41 +02:00
Thomas Krijnen c521892ca2 ::impl to make msvc17 a bit happier 2024-08-25 09:54:44 +02:00
Thomas Krijnen 7a2e58944e clang (rightfully) complains about missing include 2024-08-24 15:00:49 +02:00
Thomas Krijnen daa6b31c5d msvc17 workaround 2024-08-24 13:24:23 +02:00
Thomas Krijnen d80bcd1a94 Unify variant storage (#5118) 2024-08-23 20:29:07 +02:00
Thomas Krijnen 4ad426a5c5 Update IfcParse.cpp #4998 2024-07-17 09:45:34 +02:00
Richard Brice 585eeb283a emits * for derived entities instead of $
Validation service 0.6.4 started giving errors for entities with derived types where $ was used. The correct coding is *.
2024-07-10 12:51:27 -07:00
Dion Moult 2d5be6cf89 Search replace 0.7.0 with 0.8.0 2024-06-27 11:49:12 +10:00
Thomas Krijnen 44507785ac Rerun codegen 2024-06-12 11:47:27 +02:00
Thomas Krijnen fbb51a6705 Rerun codegen 2024-05-18 15:11:46 +02:00
Thomas Krijnen 3df46abbc3 Rerun codegen 2024-05-12 19:36:01 +02:00
Thomas Krijnen 1e60454951 centralize attribute setting templates for size object reduction 2024-05-12 19:36:01 +02:00
Thomas Krijnen 69afcce8e5 Rerun codegen 2024-05-12 19:36:00 +02:00
Richard Brice e0a9f44c13 Fixes transition code of last segment of vertical alignment 2024-05-06 12:27:32 -07:00
Richard Brice e4625bd71e Fixes parabolic curves in IfcAlignment examples and helper functions 2024-05-05 11:40:02 -07:00
Richard Brice c93704f097 Fixes problem with IfcCurveSegment.Placement direction for parabolic vertical curves 2024-05-02 16:00:59 -07:00
Thomas Krijnen 9272a9ed1f Missing template keyword 2024-04-19 20:40:59 +02:00
Thomas Krijnen b62b328f1d Address minor unaddressed consequences of merge 2024-04-18 12:11:25 +02:00
Thomas Krijnen 90c7a9435c Fix #4070 don't increment aggregate length on invalid members 2024-04-18 10:45:22 +02:00
Thomas Krijnen 4e4b8e0de1 Resolve merge conflict 2024-04-18 10:14:42 +02:00
Thomas Krijnen a764387b90 Don't accept non-finite floats #4329 2024-04-17 15:00:07 +02:00
Dion Moult 1b48995d95 Fix #4335. Fix compilation error. 2024-04-17 14:42:51 +02:00
krande 288455416b add missing typename 2024-04-16 11:38:46 +02:00
Andrej730 9560e0b3b2 Fix bug in IfcHierarchyHelper.addRelatedObject
Noticed that `file.addRelatedObject<IfcSchema::IfcRelDefinesByType>(door_style, door);` was resulting in list with `door` assigned as RelatingObject and `door_style` assigned as RelatedObjects.
2024-04-16 11:35:26 +02:00
Thomas Krijnen 2db6e0193f p21 binary should be uppercase 2024-04-16 11:17:56 +02:00
Martin15135215 5bec6c8e99 add cff for ifcparse 2024-04-16 11:12:08 +02:00
Thomas Krijnen 4f64b658b0 don't fail on null guid for rooted element deletion #2796 2024-04-16 11:10:44 +02:00
luzpaz 1819a45e4c Fix various typos in src/ifcgeom* subdirs 2024-04-16 10:05:04 +02:00
Thomas Krijnen 20f279dfa3 IFC4X3 codegen #2805 2024-04-15 13:24:59 +02:00
Thomas Krijnen 3266648896 IfcGeom dynamic casting updates #2805 2024-04-15 13:23:11 +02:00
Chetan 86c93ac1e7 If an IFC file has an IFCRELASSOCIATESMATERIAL but did not supply an IFCMATERIAL, IfcConvert will crash. This commit prevents the crash, catches the exception and prints an error on the terminal 2024-04-15 11:16:59 +02:00
Thomas Krijnen 8d5911e8aa fix syntax error on gcc 2024-04-15 10:59:00 +02:00
Thomas Krijnen 5f7b07ab4c typename :( 2024-04-15 10:57:46 +02:00
Thomas Krijnen 5566be0b20 Fix IfcFile::getInverse<T>() 2024-04-15 10:38:02 +02:00
Thomas Krijnen 969b7382b6 Replace unpacking with boost::tie() for compatibility with msvc17 build machine 2024-04-15 08:55:37 +02:00
Richard Brice e30fd6096a Adds framework for alignment helper functions.
Function include building a simple highway alignment and mapping of sementic segment definitions to geometric definitions (this part is still a work in progress)
2024-04-11 11:26:42 -07:00
Thomas Krijnen eed0b55f01 Move version definition below header include 2024-03-14 10:26:51 +01:00
Dirk Olbrich eb50be5c52 ifcparse: fix missing include and const 2024-03-06 09:25:02 +01:00
Dirk Olbrich 47a2971c65 ifcparse: fix clang-tidy warning readability-identifier-length 2024-03-06 09:25:02 +01:00
Dirk Olbrich eea9a14722 ifcparse: unify private member variables name to use trailing underscore 2024-03-06 09:25:02 +01:00
Dirk Olbrich 8b145248c6 ifcparse: fix clang-tidy warning readability-qualified-auto 2024-03-06 09:25:02 +01:00
Dirk Olbrich c29e7b32ad ifcparse: fix clang-tidy warning readability-implicit-bool-conversion 2024-03-06 09:25:02 +01:00
Dirk Olbrich 9f40674d91 ifcparse: fix clang-tidy warning readability-else-after-return 2024-03-06 09:25:02 +01:00
Dirk Olbrich b264408d85 ifcparse: fix clang-tidy warnung unused-includes 2024-03-06 09:25:02 +01:00
Richard Brice c33f68fb99 Adds check for placement relative to self 2023-12-13 16:17:10 -08:00