Commit Graph

1550 Commits

Author SHA1 Message Date
Richard Brice 648ca4d477 Resolves IfcSegmentCurve parent curve parameterization for line and clothoid 2024-05-04 18:07:09 -07:00
Richard Brice 6cb511b681 Removed IfcPolyLine as a parent curve for IfcCurveSegment. 2024-05-04 16:14:15 -07:00
Richard Brice 4dec319333 Re-write of IfcCurveSegment to eliminate recursion problem and provides a more standardized approach for all parent curve types 2024-05-04 16:03:36 -07:00
Thomas Krijnen 7af9944c27 find_openings() on representation as a hint for hybrid kernel 2024-04-29 21:29:34 +02:00
Thomas Krijnen 405fe4097d Preliminary attempt at hybrid kernel 2024-04-29 21:03:33 +02:00
Thomas Krijnen 710f19af08 Prevent stackoverflow on long alignments in adjustments 2024-04-29 21:02:31 +02:00
Thomas Krijnen e6cc500227 Some basic code to lookup lengths for pre ADD2 schemas 2024-04-29 21:00:59 +02:00
Thomas Krijnen 4e35e7455f Also lookup style association on solids 2024-04-29 20:57:09 +02:00
Thomas Krijnen 6fdf46f151 Add back support for IfcSphere 2024-04-29 20:56:37 +02:00
Thomas Krijnen ae2600afb9 Set style name 2024-04-29 20:51:17 +02:00
Thomas Krijnen 595ef3f009 Allow passing setting enums as naked int 2024-04-21 10:19:17 +02:00
Thomas Krijnen 053c80a577 Uncomment debugging code 2024-04-20 13:21:50 +02:00
Thomas Krijnen ffe1442974 Fixes after settings rework 2024-04-18 21:36:45 +02:00
Thomas Krijnen 29fd32be75 Fixes after settings rework 2024-04-18 21:15:40 +02:00
Thomas Krijnen 0edfb0e791 Settings rework for plan/model/context and interfacing with python 2024-04-18 21:04:02 +02:00
Thomas Krijnen 745f7674ff Update clash code to conform to v0.8 2024-04-18 12:02:22 +02:00
Thomas Krijnen 4828db0f6c Merge branch 'v0.8.0' of https://github.com/IfcOpenShell/IfcOpenShell into v08attempt1 2024-04-18 11:45:07 +02:00
Thomas Krijnen f6a0d1f073 Fix #4273 ignore degenerate triangles in mesher output 2024-04-18 10:47:23 +02:00
Dion Moult 36ca54f3a2 Don't consider borderline points to be inside a shape for more robust protrusion results 2024-04-18 10:45:31 +02:00
Dion Moult 4f20ebce80 Change precision check of "is point on line" to be 0.01mm
Precision::Confusion() is 1e-7 which is too small apparently when doing this math. There are plenty of results which are things like 5e-7.
2024-04-18 10:45:31 +02:00
Dion Moult 8f19f6ce07 Reinclude missing max_protrusions_ 2024-04-18 10:42:35 +02:00
Thomas Krijnen ea17cd9b42 Fix is_manifold(), sorry :( 2024-04-18 10:42:35 +02:00
Thomas Krijnen 75732d1d5d Integrate @Moult's add_element(TriangulationElement*) 2024-04-18 10:42:33 +02:00
Dion Moult 23f91c73af Clash detection features 2024-04-18 10:40:32 +02:00
Thomas Krijnen 7aa7f26708 Fix #4307 2024-04-18 10:14:15 +02:00
Thomas Krijnen 75b9e6cec9 setOnlyValid() option that skips and logs invalid topology #4130 2024-04-17 14:57:44 +02:00
Thomas Krijnen 8aa3b12911 Wait for threads in iterator destructor 2024-04-17 14:54:15 +02:00
Thomas Krijnen e3867a118c IfcConvert --keep-bounding-boxes option, default is now exluded. #4012 #2138 #2044 #4032 2024-04-16 13:27:16 +02:00
Thomas Krijnen ce927cfe30 #4216 todo note 2024-04-16 11:28:58 +02:00
Martin15135215 47e4c6c22b add cff for ifcgeom_schema_agnostic 2024-04-16 11:12:02 +02:00
Martin15135215 b844260e13 add cff for ifcgeom 2024-04-16 11:10:59 +02:00
Thomas Krijnen f504053b27 Fixes after gltf ECEF merge 2024-04-16 11:04:21 +02:00
Thomas Krijnen 64454a001f Apply handling of openings on IfcFeatureElementSubtraction generically #3889 2024-04-16 11:03:26 +02:00
Thomas Krijnen 2eecfd6422 Option to write Earth-Centered Earth-Fixed glTF 2024-04-16 10:55:54 +02:00
Thomas Krijnen d233f3e488 #3616 Only consider distance orthogonal to projection vector for 2d boolean preprocessing 2024-04-16 10:24:59 +02:00
Thomas Krijnen d9e9013e38 #3429 Fix b operand non-planar face check 2024-04-16 10:24:57 +02:00
Thomas Krijnen 1f4b12443a fix edge segments in world coords #3536 2024-04-16 10:24:43 +02:00
Thomas Krijnen ee09f2404b Filter duplicate edge indices #3546 2024-04-16 10:22:34 +02:00
Thomas Krijnen aa7b5bd1e3 Implement IfcGridPlacement 2024-04-16 10:08:33 +02:00
Thomas Krijnen ffa9015798 Lingering changes after conflict resolution 2024-04-16 10:05:40 +02:00
luzpaz 1819a45e4c Fix various typos in src/ifcgeom* subdirs 2024-04-16 10:05:04 +02:00
Richard Brice e946e34823 Apparent fix to cant placement matrix 2024-04-15 12:41:36 -07: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
Thomas Krijnen dc81be8a9a item_id vector #3120 2024-04-15 13:02:45 +02:00
Thomas Krijnen 7c6620550a add assert #3308 2024-04-15 12:04:26 +02:00
Thomas Krijnen 7feeb441ff #2819 Handle periodic bspline curves in serialization 2024-04-15 11:58:51 +02:00
Thomas Krijnen cd8bc823c2 #3305 Less pessimistic tolerance comparison in newells method 2024-04-15 11:44:56 +02:00
Thomas Krijnen 1efe5761c0 #3305 one more iteration on lower fuzziness level for boolean ops 2024-04-15 11:44:56 +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