Commit Graph

1410 Commits

Author SHA1 Message Date
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 235c32875d Use plane eq snapping for boolean ops in cgal and other strategies in addition to minkowsky sum dilation 2023-09-13 22:05:23 +02:00
Thomas Krijnen 5eff7178da Restructure cgal shape triangulation 2023-09-13 22:05:22 +02:00
Thomas Krijnen 0116be1386 Use geobim tooling as a provisional iterator adaptor 2023-09-13 22:05:22 +02:00
Dirk Olbrich fe4823681f ifcgeom: fix compiler warning -Wunused-but-set-variable 2023-09-03 20:02:20 +02:00
Thomas Krijnen 4127247230 Reference correct cgal kernel impl and build wrapper with /force:multiple as well 2023-08-26 13:42:42 +02:00
Thomas Krijnen 4bb3cc5c90 Fix transformation in serialization element, accept geometry library in more geom functions 2023-08-26 11:35:23 +02:00
Thomas Krijnen 5336b2f987 Implement shape serialization for cgal, possibility to supply geometry library to iterator in py 2023-08-25 21:46:32 +02:00
Thomas Krijnen d34b1e9545 Fix compilation of wrapper 2023-08-01 08:56:16 +08:00
Thomas Krijnen b7f73153cc Update unused filter() function 2023-07-31 16:01:29 +08:00
Thomas Krijnen 73fdeaf2a7 Fully qualify namespace 2023-07-31 15:01:36 +08:00
Thomas Krijnen 6575921ccd Implement IfcGridPlacement 2023-07-29 10:06:44 +08:00
Thomas Krijnen 65a5646bf0 Major update: taxonomy shared pointers, collection type safety, work towards hashing 2023-07-27 16:42:06 +08:00
luzpaz b3b45893cc Fix various typos in src/ifcgeom* subdirs 2023-07-07 18:44:02 +02:00
Thomas Krijnen a0f68baefc #2805 syntax 2023-06-22 16:23:32 +02:00
Thomas Krijnen 3decb48ed0 #2805 template keyword for gcc 2023-06-22 14:30:11 +02:00
Thomas Krijnen 65cb47e2d8 #2805 IfcGeom dynamic casting updates 2023-06-22 14:07:34 +02:00
Thomas Krijnen e9d0b8ab66 #2805 IfcGeom updates 2023-06-22 12:07:10 +02:00
Thomas Krijnen 206933a2f2 #2819 Handle periodic bspline curves in serialization 2023-06-15 16:19:05 +02:00
Thomas Krijnen ff209b4c11 #2819 Mark rep id as AdvancedBrep 2023-06-15 16:18:29 +02:00
Chetan e4ec1dc457 If an IFC file has an IFCRELASSOCIATESMATERIAL but did not supply an IFCMATERIAL, IfcConvert will crash. This commit prevents the crash, catches the exception and prints an error on the terminal 2023-06-08 10:01:24 +02:00
Thomas Krijnen 1a0280928b #3201 take into account edge orientation correctly 2023-06-07 08:43:08 +02:00
Thomas Krijnen d61945a575 #3255 unreferened param 2023-06-06 13:25:13 +02:00
Thomas Krijnen c974306636 #3141 eliminate_narrow_operands() 2023-06-01 21:42:31 +02:00
Thomas Krijnen 602176815a Commit obsolete fix just in case 2023-06-01 21:41:08 +02:00
Thomas Krijnen e6d6ab6da7 More informed invalid shape reporting 2023-05-31 22:15:26 +02:00
Thomas Krijnen d7c3b5a990 #3201 apply boolean results in batches as well 2023-05-31 22:15:01 +02:00
Thomas Krijnen 3409cd7c29 #3201 approximate circular sharp corners 2023-05-31 22:13:53 +02:00
Thomas Krijnen 79860a0c04 Fix iterator::get() invalid cast on nullptr 2023-04-25 21:00:01 +02:00
Thomas Krijnen 8329a1dea1 Use taxonomy::matrix4 instead of Eigen::Matrix4d in profile helper which has default constructor to identity 2023-04-10 14:22:43 +02:00
Thomas Krijnen 933f7fced2 Merge OCCT 7.6+ compatibility 2023-04-09 19:28:37 +00:00
Thomas Krijnen d12d14e7f2 Experiment with simple_cartesian<double> kernel 2023-04-03 13:34:35 +02:00
Thomas Krijnen 49416808d4 Make use of identity in faceset helper 2023-04-03 13:33:22 +02:00
Thomas Krijnen 9d5fe1fee4 Fix some mapping errors 2023-04-03 13:31:52 +02:00
Thomas Krijnen cc223dd5b4 Add identity int to taxonomy item 2023-04-03 13:31:22 +02:00