Commit 9499fef8 authored by Dave Moxey's avatar Dave Moxey

Merge branch 'feature/curve-loop' into 'master'

Add Curve Loops to the GEO reader

See merge request !1102
parents 143d3f79 6bb1355c
Pipeline #1445 failed with stages
in 23 seconds
......@@ -608,14 +608,21 @@ TopoDS_Shape CADSystemOCE::BuildGeo(string geo)
{
ellipses[id] = var;
}
else if (boost::iequals(type, "Line Loop"))
else if (boost::iequals(type, "Curve Loop"))
{
// line loops sometimes have negative entries for gmsh
// curve loops sometimes have negative entries for gmsh
// orientaton purposes
// we dont care so remove it
boost::erase_all(var, "-");
loops[id] = var;
}
else if (boost::iequals(type, "Line Loop"))
{
// old name of curve loops before Gmsh v4.0.0
// we keep it for backward compatibility
boost::erase_all(var, "-");
loops[id] = var;
}
else if (boost::iequals(type, "Plane Surface"))
{
surfs[id] = var;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment