[TD]use correct property types and spinboxes for Section

This commit is contained in:
wandererfan
2025-03-02 08:24:52 -05:00
parent 8ec5ebeba7
commit c9ce7d69fd
6 changed files with 139 additions and 94 deletions

View File

@@ -84,8 +84,8 @@ public:
~DrawViewSection() override;
App::PropertyLink BaseView;
App::PropertyVector SectionNormal;
App::PropertyVector SectionOrigin;
App::PropertyDirection SectionNormal;
App::PropertyPosition SectionOrigin;
App::PropertyString SectionSymbol;
@@ -118,6 +118,8 @@ public:
}
void unsetupObject() override;
short mustExecute() const override;
void handleChangedPropertyType(
Base::XMLReader &reader, const char * TypeName, App::Property * prop) override;
void sectionExec(TopoDS_Shape& s);
virtual void makeSectionCut(const TopoDS_Shape& baseShape);