SketchSolver_Constraint(theConstraint),
myNumberOfObjects(0),
myNumberOfCopies(0),
- myAdjusted(false)
+ myAdjusted(false),
+ myIsFullValue(false)
{}
/// \brief Update constraint
/// \brief Check the feature is a source or a copy of Multi-constraint
virtual bool isUsed(FeaturePtr theFeature) const;
+ /// \brief Check the attribute is used in Multi-constraint
+ virtual bool isUsed(AttributePtr theAttribute) const;
protected:
/// \brief Converts SketchPlugin constraint to a list of SolveSpace constraints
protected:
int myNumberOfObjects; ///< number of previous initial objects
int myNumberOfCopies; ///< number of previous copies of initial objects
+ bool myIsFullValue; ///< value whether the angle/distance is a full or single for objects
bool myAdjusted; ///< the constraint is already adjusted (to not do it several times)