0000286: Feature request for better Fillet/Chamfer

This commit is contained in:
unknown
2012-02-29 01:56:07 +01:00
parent 11b8b60af4
commit 0171a22a98
13 changed files with 231 additions and 44 deletions

View File

@@ -132,6 +132,24 @@ const char* Feature::getViewProviderName(void) const {
// ---------------------------------------------------------
PROPERTY_SOURCE(Part::FilletBase, Part::Feature)
FilletBase::FilletBase()
{
ADD_PROPERTY(Base,(0));
ADD_PROPERTY(Edges,(0,0,0));
Edges.setSize(0);
}
short FilletBase::mustExecute() const
{
if (Base.isTouched() || Edges.isTouched())
return 1;
return 0;
}
// ---------------------------------------------------------
PROPERTY_SOURCE(Part::FeatureExt, Part::Feature)