workplane.circle

This commit is contained in:
Joachim Schoeberl 2021-08-14 12:50:03 +02:00
parent 01b26ef1d3
commit 880b21745b

View File

@ -371,9 +371,10 @@ public:
return shared_from_this(); return shared_from_this();
} }
auto Circle(gp_Pnt2d p, double r) auto Circle(double x, double y, double r)
{ {
MoveTo(p.X()+r, p.Y());
MoveTo(x+r, y);
Direction (0, 1); Direction (0, 1);
Arc(r, 180); Arc(r, 180);
Arc(r, 180); Arc(r, 180);