mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
Merge branch 'fix_1_solid_in_glue'
This commit is contained in:
commit
412fd372d0
@ -2035,6 +2035,8 @@ tangents : Dict[int, gp_Vec2d]
|
|||||||
|
|
||||||
m.def("Glue", [] (const std::vector<TopoDS_Shape> shapes) -> TopoDS_Shape
|
m.def("Glue", [] (const std::vector<TopoDS_Shape> shapes) -> TopoDS_Shape
|
||||||
{
|
{
|
||||||
|
if(shapes.size() == 1)
|
||||||
|
return shapes[0];
|
||||||
BOPAlgo_Builder builder;
|
BOPAlgo_Builder builder;
|
||||||
for (auto & s : shapes)
|
for (auto & s : shapes)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user