Commit Graph

1410 Commits

Author SHA1 Message Date
Thomas Krijnen a60e272eee build_halfspace_tree_is_decomposed() for polies already tagged as convex 2024-02-18 12:06:02 +01:00
Thomas Krijnen 8af6903505 Convex tag on cgal shape 2024-02-18 12:06:02 +01:00
Thomas Krijnen c72f97225f Clear current product after finalization 2024-02-18 12:06:02 +01:00
Thomas Krijnen b76dad682a item_id() 2024-02-18 12:06:02 +01:00
Richard Brice bb88ba5bdf Updates implementation of IfcXXXPolynomialSpiral curves as parent curve 2024-02-16 13:54:26 -08:00
Thomas Krijnen f2d19ab2c3 #4216 todo note 2024-01-22 09:38:05 +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 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 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 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 662a4bb6e9 Fixes generated geometry based on evolving understanding of IFC 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 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 4b933812a7 Generalized calculation of spiral curve tangent vector 2023-12-07 08:01:31 -08:00
Martin15135215 a46a60996d add cff for ifcgeom 2023-12-07 13:42:32 +11:00
Richard Brice c562a52011 Merge branch 'v0.8.0' of https://github.com/RickBrice/IfcOpenShell into v0.8.0 2023-12-06 15:32:13 -08:00
Richard Brice 9e32c0ea93 Fixes problem computing Axis vector for cant 2023-12-06 15:31:01 -08:00
Thomas Krijnen c1cb16f5f6 Implement a bunch of shape analysis routines 2023-12-05 21:14:43 +01:00
Thomas Krijnen 059c9fb7d5 remove_degenerate_faces() in order to prevent division by zero 2023-12-05 21:13:43 +01:00
Thomas Krijnen 0b4718b3b5 Report tasks on actual mapped products 2023-12-05 21:12:09 +01:00
Thomas Krijnen 4cd327f711 Don't mutate conversion result placement. Breaks combination of world coords + optimized model. 2023-12-05 21:11:36 +01:00
Richard Brice 6c808c097e Merge branch 'IfcOpenShell:v0.8.0' into v0.8.0 2023-12-01 07:22:29 -08:00
Richard Brice 2126381a15 Adds conversion settings to control the granularity of points computed for a piecewise_function 2023-11-22 15:49:24 -08:00
Richard Brice 39c3cac05d Fixes bugs in segment reference curve geometry 2023-11-22 08:32:59 -08:00
Richard Brice 5f7e89a5f8 Implements IfcOffsetCurveByDistance mapping 2023-11-21 08:54:06 -08:00
Richard Brice 49d9245e29 Fixes problem computing tangent and normal vectors for Circle 2023-11-21 08:49:16 -08:00
Thomas Krijnen 87f39b3826 Temporarily log evaluated points 2023-11-21 14:42:59 +01:00
Thomas Krijnen b52c5ab082 Don't emit empty results for representation and allow implicit items to
pass when using --plan
2023-11-21 14:41:31 +01:00
Richard Brice 49b3805859 Updates treatment of IfcLine to account for the fact that IfcLine.Orientation.DirectionRatios are generally normalized. 2023-11-20 11:15:35 -08:00
Richard Brice afb8375e70 Fixes problem with vertical curve slopes 2023-11-17 08:03:03 -08:00