Commit Graph

6653 Commits

Author SHA1 Message Date
Thomas Krijnen 1eb8ef08d2 Rerun C++ codegen 2023-10-18 09:47:28 +02:00
Thomas Krijnen 6302be6bfd Merge v0.7.0 -- src\ifcopenshell-python\ifcopenshell\express 2023-10-18 09:47:27 +02:00
Richard Brice d52f12973a Mapping of vertical profiles with IfcGradientCurve 2023-10-17 09:20:50 +02:00
Richard Brice 3eb85cc36a Fixes mapping of horizontal curve with IfcCircle 2023-10-17 09:20:50 +02:00
Richard Brice e794911926 Fixes problems with horizontal curves and clothoid spirals 2023-10-17 09:20:50 +02:00
Thomas Krijnen 51f72b4edc Update nef_to_halfspace_tree.h 2023-10-16 21:28:38 +02:00
Thomas Krijnen 661c8bc50f Small changes to curve segment handling for purpose of wrapper 2023-10-14 16:37:50 +02:00
Thomas Krijnen 909978c941 Merge pull request #3826 from RickBrice/v0.8.0
Some minor tweaks and implements suggestions
2023-10-12 20:59:31 +02:00
Dirk Olbrich 616a96972a clang-format: align license blocks
- split up some very long lines
2023-10-12 12:39:16 +02:00
Dirk Olbrich 63177a7c35 clang-format: format test 2023-10-12 12:39:16 +02:00
Thomas Krijnen fa73de97b0 Option to specify algorithm for --exterior-only 2023-10-06 13:27:47 +02:00
Richard Brice b9c234457d Fixes minor issues with mapping code 2023-10-04 13:25:58 -07:00
Richard Brice a5c07d5e24 Adds IfcPolynoialCurve for vertical curves 2023-10-04 13:25:31 -07:00
Richard Brice 7b0e2c52ac Manually merged in aothms revisions for gradient curves and implicit_item taxonomy 2023-10-02 16:30:39 -07:00
Richard Brice c3aeae8661 Implements recommendation to use map_impl(IfcPolyline*) 2023-09-29 13:27:23 -07:00
Richard Brice 00d8ffeba0 Reverts to Taylor Series approximation of Clothoid curve.
If you compare the results generated by the numeric integration and the approximation, they are very different. The approximation compares will with other software so there is likely a problem with the equation of the clothoid
2023-09-29 12:14:38 -07:00
Richard Brice f9d259a3d8 Removes redundant function evaluation in numeric integration 2023-09-29 12:14:38 -07:00
Richard Brice d9b534b66d Implemented position handling with transformation matrix 2023-09-29 12:14:38 -07:00
Richard Brice 47c319aa2d Adds a continuity check for IfcCurveSegment 2023-09-29 12:14:30 -07:00
Richard Brice d50dcadf5c Implemented placement handling with transformation matrix. 2023-09-29 08:45:02 +02:00
Richard Brice fdc0c0cbd1 Minor revision to numerical integration code 2023-09-29 08:45:02 +02:00
Richard Brice 2d14ad1667 Revises implementation of operator(IfcSchema::IfcClothoid*) to use trapezoid rule numeric integration.
This is a more general approach than the Taylor Series approximation and is applicable to all the other spiral types. I stubbed out a functor for IfcSecondOrderPolynomialSpiral, but haven't tested it. The purpose is to show the concept.
2023-09-29 08:45:02 +02:00
Richard Brice 9ac99b6f97 Implements mapping of IfcCurveSegment to taxonomy::geometry 2023-09-29 08:45:02 +02:00
Richard Brice 4d3a21de77 Fixes cast to IfcCurveSegment for access to ParentCurve 2023-09-29 08:45:02 +02:00
Richard Brice 60723cff2b Fixed problem with call to boost::mpl::for_each 2023-09-29 08:45:02 +02:00
Richard Brice d4f543d2ad Implemented placement handling with transformation matrix. 2023-09-28 14:58:21 -07:00
Richard Brice 1564b53ef5 Minor revision to numerical integration code 2023-09-28 14:28:17 -07:00
Richard Brice 4f2b083ffc Revises implementation of operator(IfcSchema::IfcClothoid*) to use trapezoid rule numeric integration.
This is a more general approach than the Taylor Series approximation and is applicable to all the other spiral types. I stubbed out a functor for IfcSecondOrderPolynomialSpiral, but haven't tested it. The purpose is to show the concept.
2023-09-28 11:51:26 -07:00
Richard Brice 6ae0cce186 Implements mapping of IfcCurveSegment to taxonomy::geometry 2023-09-27 11:16:55 -07:00
Richard Brice 3e272efce4 Fixes cast to IfcCurveSegment for access to ParentCurve 2023-09-22 13:49:18 -07:00
Richard Brice 04b70efd7f Fixed problem with call to boost::mpl::for_each 2023-09-21 15:48:45 -07:00
Thomas Krijnen 053e3a3191 #3098 Move boost::type application to curve to template function 2023-09-17 09:35:14 +02:00
Thomas Krijnen a14c40feda Check for empty result from map(IfcRepresentation) in iterator 2023-09-16 22:23:22 +02:00
Thomas Krijnen 88ef7c75b8 #3098 IfcCurveSegment and IfcClothoid handling (?) 2023-09-16 22:23:04 +02:00
Thomas Krijnen 79d456bbf1 mapping: always overwrite orientation of loop as facebound 2023-09-14 21:58:46 +02:00
Thomas Krijnen 380cf4eca5 cgal kernel: permissiveness for multiple outer bounds in face 2023-09-14 21:58:06 +02:00
Thomas Krijnen 179e3049dd cgal kernel: Continue with invalid state after triangulation 2023-09-14 21:57:23 +02:00
Thomas Krijnen 5bead4b219 #2805 Apply changes to v0.8 geometry mapping as well 2023-09-14 11:33:23 +02:00
Thomas Krijnen cae5a80397 Apply e9d0b8ab6 part of Serialization 2023-09-14 10:07:22 +02:00
Thomas Krijnen 02864f96e0 #2819 Handle periodic bspline curves in serialization 2023-09-14 10:03:19 +02:00
Thomas Krijnen 085d420d7c #2819 Mark rep id as AdvancedBrep 2023-09-14 10:03:18 +02:00
Thomas Krijnen eca4eba747 Remove logging statement 2023-09-14 09:27:26 +02:00
Thomas Krijnen 727ea55315 Apply ifcparse/ part of '65cb47e2d892d84c0d3d8e89ba157360c6902c7f' 2023-09-14 09:27:08 +02:00
Thomas Krijnen d7951668e9 Case sensitivity on entity str comparison from cmd line https://sourceforge.net/p/ifcopenshell/discussion/1782717/thread/2bf3324a7f 2023-09-14 09:21:12 +02:00
Dirk Olbrich 8bb0ffd2c7 ifcparse: fix compiler warning -Wignored-qualifiers 2023-09-14 09:21:11 +02:00
Thomas Krijnen 1641ad0047 #2805 IFC4X3 codegen 2023-09-14 09:21:10 +02:00
Thomas Krijnen a40e359620 #2805 Pasta errors 2023-09-14 09:14:32 +02:00
Thomas Krijnen b374454f3a #2805 template keyword for gcc 2023-09-14 09:14:32 +02:00
Thomas Krijnen b4ee981134 #2805 Rerun codegen 2023-09-14 09:14:27 +02:00
Thomas Krijnen 5dabcbb944 #2805 Use dynamic cast for generalize() due to virtual inheritance of selects 2023-09-14 09:14:21 +02:00