str(Sketcher.Constraint('Radius', 1, 2)) should not return "<Constraint '?'>"
str(Sketcher.Constraint('Radius', 1, 2)) should not return "<Constraint '?'>", it should return "<Constraint 'Radius'>"
This commit is contained in:
parent
0196d50c48
commit
07d224e25f
|
@ -484,6 +484,7 @@ std::string ConstraintPy::representation(void) const
|
||||||
case Coincident : result << "'Coincident'>";break;
|
case Coincident : result << "'Coincident'>";break;
|
||||||
case Horizontal : result << "'Horizontal' (" << getConstraintPtr()->First << ")>";break;
|
case Horizontal : result << "'Horizontal' (" << getConstraintPtr()->First << ")>";break;
|
||||||
case Vertical : result << "'Vertical' (" << getConstraintPtr()->First << ")>";break;
|
case Vertical : result << "'Vertical' (" << getConstraintPtr()->First << ")>";break;
|
||||||
|
case Radius : result << "'Radius'>";break;
|
||||||
case Parallel : result << "'Parallel'>";break;
|
case Parallel : result << "'Parallel'>";break;
|
||||||
case Tangent :
|
case Tangent :
|
||||||
if (this->getConstraintPtr()->Third == Constraint::GeoUndef)
|
if (this->getConstraintPtr()->Third == Constraint::GeoUndef)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user