draftguitools.gui_edit_arch_objects.ArchWallGuiTools Class Reference

Public Member Functions

def get_edit_points (self, obj)
 
def update_object_from_edit_points (self, obj, node_idx, v, alt_edit_mode=0)
 
- Public Member Functions inherited from draftguitools.gui_edit_base_object.GuiTools
def get_edit_obj_context_menu (self, edit_command, obj, position)
 
def get_edit_point_context_menu (self, edit_command, obj, node_idx)
 
def get_edit_points (self, obj)
 
def get_object_style (self, obj)
 
def init_preview_object (self, obj)
 
def restore_object_style (self, obj, modes)
 
def set_object_editing_style (self, obj)
 
def update_object_from_edit_points (self, obj, node_idx, v, alt_edit_mode=0)
 
def update_preview_object (self, edit_command, obj, node_idx, v)
 

Member Function Documentation

◆ get_edit_points()

def draftguitools.gui_edit_arch_objects.ArchWallGuiTools.get_edit_points (   self,
  obj 
)
Return the list of edipoints for the given Arch Wall object.

0 : height of the wall
1-to end : base object editpoints, in place with the wall

Reimplemented from draftguitools.gui_edit_base_object.GuiTools.

◆ update_object_from_edit_points()

def draftguitools.gui_edit_arch_objects.ArchWallGuiTools.update_object_from_edit_points (   self,
  obj,
  node_idx,
  v,
  alt_edit_mode = 0 
)
            if node_idx == 0:
    edit_arch.updateWall(obj, node_idx, v)
elif node_idx > 0:
    if obj.Base:
        if utils.get_type(obj.Base) in ["Wire", "Circle", "Rectangle",
                                        "Polygon", "Sketch"]:
            self.update(obj.Base, node_idx - 1, v)

Reimplemented from draftguitools.gui_edit_base_object.GuiTools.

References DraftVecUtils.project(), Gui::LinkInfo.update(), package_details.PackageDetails.update, MeshGui::MeshRenderer::Private.update(), MeshGui::MeshRenderer.update(), TechDrawGui::TaskDlgActiveView.update(), TechDrawGui::TaskDlgBalloon.update(), TechDrawGui::TaskDlgCenterLine.update(), TechDrawGui::TaskDlgCosmeticLine.update(), TechDrawGui::TaskDlgCosVertex.update(), TechDrawGui::TaskDlgCustomizeFormat.update(), TechDrawGui::TaskDlgDetail.update(), TechDrawGui::TaskDlgDimension.update(), TechDrawGui::TaskDlgGeomHatch.update(), TechDrawGui::TaskDlgHatch.update(), TechDrawGui::TaskDlgLeaderLine.update(), TechDrawGui::TaskDlgLinkDim.update(), TechDrawGui::TaskDlgProjection.update(), TechDrawGui::TaskDlgProjGroup.update(), TechDrawGui::TaskDlgRichAnno.update(), TechDrawGui::TaskDlgSectionView.update(), TechDrawGui::TaskDlgSelectLineAttributes.update(), TechDrawGui::TaskDlgWeldingSymbol.update(), SMESHDS_GroupOnFilter.update(), App::LinkBaseExtension.update(), Gui::ViewProvider.update(), Gui::ViewProviderDocumentObject.update(), nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >.update(), ArchAxis._AxisTaskPanel.update(), ArchAxisSystem.AxisSystemTaskPanel.update(), ArchComponent.ComponentTaskPanel.update(), ArchGrid.ArchGridTaskPanel.update(), ArchNesting.Nester.update(), ArchRoof._RoofTaskPanel.update(), ArchSectionPlane.SectionPlaneTaskPanel.update(), ArchWindow._ArchWindowTaskPanel.update(), DraftGui.FacebinderTaskPanel.update(), draftguitools.gui_trackers.gridTracker.update(), femtaskpanels.task_mesh_gmsh._TaskPanel.update(), femtaskpanels.task_result_mechanical._TaskPanel.update(), femtaskpanels.task_solver_ccxtools._TaskPanel.update(), Mod.PartDesign.InvoluteGearFeature._InvoluteGearTaskPanel.update(), Mod.PartDesign.SprocketFeature.SprocketTaskPanel.update(), Plot.Plot.update(), Spreadsheet_legacy.SpreadsheetView.update(), DocumentObject.ViewProvider.update(), AddonManager.CommandAddonManager.update(), draftguitools.gui_trackers.radiusTracker.update(), ArchCommands.SurveyTaskPanel.update(), Mod.PartDesign.WizardShaft.ShaftDiagram.Diagram.update(), addonmanager_workers.GitProgressMonitor.update(), draftguitools.gui_trackers.boxTracker.update(), draftguitools.gui_edit.Edit.update(), draftguitools.gui_trackers.rectangleTracker.update(), ArchPanel.CommandPanel.update(), ArchStructure._CommandStructure.update(), ArchWall._CommandWall.update(), ArchWindow._CommandWindow.update(), draftguitools.gui_trackers.bsplineTracker.update(), draftguitools.gui_trackers.bezcurveTracker.update(), draftguitools.gui_trackers.dimTracker.update(), draftguitools.gui_trackers.wireTracker.update(), and PartDesign::SubShapeBinder.update().


The documentation for this class was generated from the following file: