From 62cb0850ec1c613514892cc404e3762a296724a1 Mon Sep 17 00:00:00 2001 From: mpv Date: Thu, 13 Nov 2014 19:10:13 +0300 Subject: [PATCH] Added wrappings for sketch faces creation to be able to create an extrusion from the sketch in python console. --- src/GeomAlgoAPI/GeomAlgoAPI.i | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/GeomAlgoAPI/GeomAlgoAPI.i b/src/GeomAlgoAPI/GeomAlgoAPI.i index c43f350dc..c2dbb80f0 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI.i +++ b/src/GeomAlgoAPI/GeomAlgoAPI.i @@ -6,6 +6,7 @@ #include "GeomAlgoAPI_FaceBuilder.h" #include "GeomAlgoAPI_EdgeBuilder.h" #include "GeomAlgoAPI_PointBuilder.h" + #include "GeomAlgoAPI_SketchBuilder.h" %} // to avoid error on this @@ -14,10 +15,14 @@ // standard definitions %include "typemaps.i" %include "std_string.i" +%include "std_list.i" //%include %include +%template(ShapeList) std::list >; + // all supported interfaces %include "GeomAlgoAPI_FaceBuilder.h" %include "GeomAlgoAPI_EdgeBuilder.h" %include "GeomAlgoAPI_PointBuilder.h" +%include "GeomAlgoAPI_SketchBuilder.h" -- 2.39.2