Commit Graph

7688 Commits

Author SHA1 Message Date
Richard Brice bb88ba5bdf Updates implementation of IfcXXXPolynomialSpiral curves as parent curve 2024-02-16 13:54:26 -08:00
Thomas Krijnen bb8769aff8 Add WITH_RELATIONSHIP_VALIDATION defaulting to OFF 2024-01-30 09:15:35 +01:00
Thomas Krijnen d7d89a6084 Merge branch 'v0.8.0' of https://github.com/IfcOpenShell/IfcOpenShell into v0.8.0 2024-01-30 09:04:13 +01:00
Thomas Krijnen c9f320f062 Debug options, eliminate narrow slices prior to snapping, consider triangle areas in box substitution 2024-01-20 13:26:54 +01:00
Richard Brice abddb74bd9 Adds placeholder implementations for IfcXXXOrderPolynomialSpiral - there are some bugs, but the basic implementation framework is good. 2024-01-17 12:59:48 -08:00
Richard Brice f2f0000616 Minor tweaks to IfcAlignment example 2024-01-16 15:33:25 -08:00
Richard Brice f12c3aae09 Adds caching of loop upgraded to pwf to loop class 2024-01-15 15:52:26 -08:00
Richard Brice a8b88b8ae1 Adds loop_to_piecewise_function_upgrade
This provides for a more uniform treatment of curves when mapping IfcOffsetCurveByDistances and IfcPointByDistanceExpression
2024-01-11 15:37:44 -08:00
Richard Brice 5815417198 Fixes documentation in comment 2024-01-11 15:36:17 -08:00
Thomas Krijnen 142b15e332 CgalShape: Triangulate before calculating area/volume 2023-12-28 19:08:08 +00:00
Thomas Krijnen 706b92d4e0 Exterior shell extractor implemented in Python 2023-12-21 21:19:43 +01:00
Richard Brice f493343558 Adds geometric representations for CT 4.1.7.1.1.4 Alignment Geometry - Segments to the IfcAlignment example 2023-12-20 14:53:20 -08:00
krande d5da636b00 suggested change of ifcwrap pythoninterpreter function to no longer rely on distutil (which is deprecated in python 3.12). 2023-12-20 12:05:47 -08:00
Thomas Krijnen 4dcc1b5718 4x3_add2 py wrapper 2023-12-19 12:40:38 +01:00
Thomas Krijnen 9fddb564b1 OpaqueCoordinate rule of 3 2023-12-19 12:40:16 +01:00
Thomas Krijnen 89fd887d9a Remove virtual kind() call out of compile-time loop 2023-12-19 12:38:51 +01:00
Thomas Krijnen ca4781f559 Return value 2023-12-18 19:22:29 +00:00
Thomas Krijnen ef929f9d30 Const ptr references and address some warnings 2023-12-18 13:51:12 +00:00
Thomas Krijnen aa5b8ce30a Update build-all.py 2023-12-17 13:24:17 +01:00
Thomas Krijnen c4326e557c Remove const 2023-12-15 14:31:40 +01:00
Thomas Krijnen 0cf5d1c968 #4084 debug iterator failure 2023-12-15 14:03:08 +01:00
Thomas Krijnen 796c1d6210 Comment out obsolete code 2023-12-15 13:41:51 +01:00
Thomas Krijnen c2492c8655 --circle-segments conversion setting instead of hardcoded number in cgal kernel 2023-12-15 13:41:37 +01:00
Richard Brice 2a3416b01a Merge pull request #4117 from RickBrice/v0.8.0
Addresses alignment geometry issues
2023-12-14 08:27:45 -08:00
Richard Brice 662a4bb6e9 Fixes generated geometry based on evolving understanding of IFC 2023-12-13 16:17:10 -08:00
Richard Brice 3ff8c5c292 Fixes IfcAlignment example 2023-12-13 16:17:10 -08:00
Richard Brice c33f68fb99 Adds check for placement relative to self 2023-12-13 16:17:10 -08:00
Richard Brice 7fef3efbeb Fixes horizontal alignment issues 2023-12-13 16:17:10 -08:00
Thomas Krijnen 6ed91d3ea4 to_string() option, no shared_ptr in OpaqueCoord, add ConvResShape::vertices(), newell instead of simple cross product, create_epeck(double/str) 2023-12-13 16:43:33 +01:00
Thomas Krijnen 14e924cd8c typename 2023-12-11 21:33:08 +01:00
Thomas Krijnen 1e83e5b018 Python wrapper improvements 2023-12-11 21:06:25 +01:00
Thomas Krijnen 9c82b752b6 Fix OBJ writer from Nef 2023-12-11 21:05:58 +01:00
Thomas Krijnen e74f160a48 Use predefined templates 2023-12-11 21:05:39 +01:00
Thomas Krijnen 17bf6691c6 Use custom poly converter 2023-12-11 21:04:54 +01:00
Thomas Krijnen 137a6b5706 map(vector<opaque_4>) prototype 2023-12-11 21:03:55 +01:00
Thomas Krijnen df0e64a68a Commit debugging trick comment analogous to occt kernel 2023-12-11 21:00:54 +01:00
Thomas Krijnen c7a2abdf2d CgalKernel halfspace handling: orientation is on face not plane 2023-12-11 21:00:32 +01:00
Thomas Krijnen a62aefa7ff Disable automatic density substitution in cgal kernel 2023-12-11 21:00:04 +01:00
Thomas Krijnen e946b6c540 Test for self-intersection before converting to nef 2023-12-11 20:59:04 +01:00
Thomas Krijnen cac2b77659 Implement num_faces 2023-12-11 20:57:58 +01:00
Thomas Krijnen 5c4cc81f6f So much for using a typesafe language 2023-12-11 13:29:20 +01:00
Richard Brice 3f1c01e363 Merge pull request #4097 from RickBrice/v0.8.0
Small tweaks to the IfcAlignment example
2023-12-08 13:16:09 -08:00
Richard Brice 13985eb49d Small tweaks to the IfcAlignment example 2023-12-08 13:15:29 -08:00
Richard Brice 5207c3d7c5 Merge pull request #4091 from RickBrice/v0.8.0
Updates representation context in IfcAlignment example so it passes bSI validation service tests
2023-12-07 15:38:49 -08:00
Richard Brice 7893b217ad Updates representation context in IfcAlignment example so it passes the bSI validation service checks 2023-12-07 15:31:33 -08:00
Richard Brice e0b445de0b Merge pull request #4088 from RickBrice/v0.8.0
Updates representations in IfcAlignment example
2023-12-07 09:48:22 -08:00
Richard Brice 92f80646cd Merge branch 'IfcOpenShell:v0.8.0' into v0.8.0 2023-12-07 09:47:29 -08:00
Richard Brice 84a8c370c1 Updates representations in IfcAlignment example 2023-12-07 09:46:23 -08:00
Richard Brice 4b933812a7 Generalized calculation of spiral curve tangent vector 2023-12-07 08:01:31 -08:00
Richard Brice 71cca03e1d Merge pull request #4083 from RickBrice/v0.8.0
PR fixes bug computing IfcAxis2PlacementLinear.Axis for IfcSegmentReferenceCurve as basis curve
2023-12-06 15:43:45 -08:00