Commit Graph

7634 Commits

Author SHA1 Message Date
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
Thomas Krijnen d5fbc72537 if constexpr instead of disallowed member specialization 2023-11-15 12:33:26 +01: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 2545f334a3 Submodule 2023-11-15 11:04:05 +01:00
Thomas Krijnen 65e874c67f Drastic settings refactoring 2023-11-15 10:32:33 +01:00
Thomas Krijnen d2a2e0d7a0 ENABLE_EXTENDED_ALIGNED_STORAGE for msvc 2023-11-15 10:32:33 +01:00
Richard Brice 73abb25fc3 Merge pull request #3988 from RickBrice/v0.8.0
Fixes a build issue with IfcCurveSegmet
2023-11-09 10:49:59 -07:00
Richard Brice a80a126fd8 Merge branch 'IfcOpenShell:v0.8.0' into v0.8.0 2023-11-09 10:48:45 -07:00
Richard Brice 8303a04b4f A couple tweaks for IfcCurveSegment 2023-11-09 09:48:05 -08:00
Richard Brice e07281d72c Merge pull request #3987 from RickBrice/v0.8.0
Fixes build issue with mapping
2023-11-09 10:44:45 -07:00
Richard Brice 12e69ff07a Fixes build issue with mapping 2023-11-09 09:43:36 -08:00
Richard Brice 43a9c050eb Merge pull request #3982 from RickBrice/v0.8.0
Implements IfcSegmentedReferenceCurve and first cut at cant geometry
2023-11-09 03:28:18 -07:00
Richard Brice 8409859e8d Implements safer way to use IfcCurveSegment.UsingCurves
Co-authored-by: Thomas Krijnen <t.krijnen@gmail.com>
2023-11-09 03:23:13 -07:00
Richard Brice 7ed85358f9 Implements IfcSegmentedReferenceCurve and first cut at cant geometry 2023-11-08 19:43:21 -08:00
Thomas Krijnen 809668c015 Major update to halfspace algorithm, conversion result shape analysis 2023-11-02 09:04:34 +01:00
Thomas Krijnen 559de7d4cd Merge pull request #3945 from RickBrice/v0.8.0
Implements framework for adjusting geometry based on start location next segment
2023-11-01 22:22:55 +01:00
Richard Brice b50f4a2240 Adds a virtual init_adjustments function to precompute common values for segment geometry adjustments 2023-11-01 08:35:29 -07:00
Richard Brice bef86e261c Renamed interpolate to compute_adjustment and made it a template function. 2023-11-01 08:34:58 -07:00
Richard Brice ba870e54c3 Merge branch 'v0.8.0' into v0.8.0 2023-10-27 10:46:53 -07:00
Richard Brice 969181acf3 Implements framework for adjusting geometry based on location of start point of next segment. 2023-10-27 08:10:18 -07:00
Richard Brice 0aa69a6ebf Moves implementation of piecewise_function::evaluate(u) from h to cpp to prevent massive rebuilds everytime the function is changed. 2023-10-27 08:10:18 -07:00
Richard Brice dd915736f5 Adds warning that the BaseCurve of IfcGradientCurve is expected to be IfcCompositeCurve 2023-10-27 08:10:18 -07:00
Richard Brice 85ece64272 Minor code format revisions 2023-10-27 08:10:18 -07:00
Richard Brice 6e8d635040 Adds test of fallback placement for IfcLinearPlacement and reduces number of tests for placement type.
Changed to if-else if so inst isn't tested to be every placement type, every time.
2023-10-27 08:10:18 -07:00
Richard Brice cefbf8b4f2 Fixes runtime check for polynomial curve 2023-10-27 08:10:17 -07:00
Thomas Krijnen a0aaa39c4b Test for intersection result in cgal code 2023-10-27 08:10:17 -07:00
Thomas Krijnen 71166f3685 Some variations of shell mapping in occt 2023-10-27 08:10:17 -07:00