Commit Graph

7663 Commits

Author SHA1 Message Date
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
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 f687e610b9 Workaround to create epeck number from python 2023-12-05 21:15:06 +01: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
Thomas Krijnen c595adfb7b Use world coords on OBJ/STP/IGS serializers as before 2023-12-05 21:10:42 +01:00
Richard Brice 07d0a21393 Merge pull request #4023 from RickBrice/v0.8.0
v0.8.0 Alignment Geometry - Bug fixes and more work in progress
2023-12-01 09:12:13 -08:00
Richard Brice 6c808c097e Merge branch 'IfcOpenShell:v0.8.0' into v0.8.0 2023-12-01 07:22:29 -08:00
Thomas Krijnen 4166384ab3 Enable setting ITERATOR_OUTPUT from python 2023-11-28 12:59:32 +01: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
Rick Brice 265f45a814 Adds example program for alignments 2023-11-17 11:27:49 -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 5af975f99e Backwards compatibility for py setting strings 2023-11-15 13:42:55 +01:00