Commit Graph

1550 Commits

Author SHA1 Message Date
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
Richard Brice 162db2e588 Merge branch 'IfcOpenShell:v0.8.0' into v0.8.0 2023-11-16 17:20:42 -07:00
Richard Brice f4ba3fe487 Still trying to figure out cant 2023-11-16 16:17:41 -08:00
Thomas Krijnen dc6eb8611a More robust conversion to nef in CgalShape 2023-11-16 09:15:19 +01:00
Richard Brice f204135aa6 Fixing bugs 2023-11-15 07:21:19 -08:00
Thomas Krijnen c2b527b832 Copy pasta error 2023-11-15 11:49:44 +01:00
Thomas Krijnen 9e73e96d31 More missing typenames 2023-11-15 11:33:00 +01:00
Thomas Krijnen f2b800c30c Add missing typename 2023-11-15 11:30:06 +01:00
Thomas Krijnen 3ef4e8152f Commit suggestions in #3992 Thanks @RickBrice 2023-11-15 11:05:06 +01:00
Thomas Krijnen 65e874c67f Drastic settings refactoring 2023-11-15 10:32:33 +01:00
Richard Brice 8303a04b4f A couple tweaks for IfcCurveSegment 2023-11-09 09:48:05 -08:00