◆ getClosestNode()
def draftguitools.gui_trackers.gridTracker.getClosestNode |
( |
|
self, |
|
|
|
point |
|
) |
| |
◆ getGridColor()
def draftguitools.gui_trackers.gridTracker.getGridColor |
( |
|
self | ) |
|
Get the grid color from the parameter editor.
◆ reset()
def draftguitools.gui_trackers.gridTracker.reset |
( |
|
self | ) |
|
Reset the grid according to preferences settings.
References draftguitools.gui_trackers.gridTracker.mainlines, draftguitools.gui_trackers.gridTracker.numlines, draftguitools.gui_trackers.gridTracker.space, Gui::ViewProviderDocumentObjectPy.update(), Gui::ViewProviderDocumentObject.update(), SMESHDS_GroupOnFilter.update(), Gui::DocumentPy.update(), ArchNesting.Nester.update(), AddonManager.CommandAddonManager.update(), draftguitools.gui_trackers.rectangleTracker.update(), ArchPanel.CommandPanel.update(), ArchWindow._CommandWindow.update(), App::LinkBaseExtension.update(), draftguitools.gui_trackers.dimTracker.update(), Gui::ViewProvider.update(), draftguitools.gui_trackers.bsplineTracker.update(), ArchWall._CommandWall.update(), Gui::LinkInfo.update(), draftguitools.gui_trackers.bezcurveTracker.update(), ArchStructure._CommandStructure.update(), draftguitools.gui_trackers.ghostTracker.update(), ArchAxis._AxisTaskPanel.update(), ArchRoof._RoofTaskPanel.update(), draftguitools.gui_trackers.wireTracker.update(), ArchAxis.AxisSystemTaskPanel.update(), draftguitools.gui_edit.Edit.update(), draftguitools.gui_trackers.gridTracker.update(), ArchCommands.SurveyTaskPanel.update(), ArchSectionPlane.SectionPlaneTaskPanel.update(), ArchWindow._ArchWindowTaskPanel.update(), ArchAxis.ArchGridTaskPanel.update(), ArchComponent.ComponentTaskPanel.update(), and DraftGui.FacebinderTaskPanel.update().
Referenced by draftguitools.gui_trackers.gridTracker.set().
◆ set()
def draftguitools.gui_trackers.gridTracker.set |
( |
|
self | ) |
|
Move and rotate the grid according to the current working plane.
References SIM::Coin3D::Quarter::InteractionMode.on(), draftguitools.gui_trackers.Tracker.on(), zipios::InflateInputStreambuf.reset(), Gui::LinkViewPy.reset(), KDTree::squared_difference_counted< _Tp, _Dist >.reset(), Gui::Dialog::DemoMode.reset(), ArchVRM.Renderer.reset(), App::ExpressionVisitor.reset(), Gui::PropertyEditor::PropertyEditor.reset(), Gui::DocumentModelIndex.reset(), Gui::Dialog::PropertyPage.reset(), App::ExpressionModifier< P >.reset(), Gui::DocumentWeakPtrT.reset(), Gui::ViewProviderWeakPtrT.reset(), Gui::PropertyEditor::PropertyItem.reset(), Gui::ElementColors::Private.reset(), TimingInfo.reset(), Gui::ManualAlignment.reset(), App::DocumentWeakPtrT.reset(), App::DocumentObjectWeakPtrT.reset(), Gui::ViewProviderWeakPtrT::Private.reset(), App::WeakPtrT< T >.reset(), Gui::DocumentWeakPtrT::Private.reset(), App::DocumentObjectWeakPtrT::Private.reset(), draftguitools.gui_trackers.gridTracker.reset(), draftguitools.gui_trackers.bsplineTracker.trans, draftguitools.gui_trackers.bezcurveTracker.trans, draftguitools.gui_trackers.arcTracker.trans, draftguitools.gui_trackers.ghostTracker.trans, draftguitools.gui_trackers.PlaneTracker.trans, and draftguitools.gui_trackers.gridTracker.trans.
◆ setMainlines()
def draftguitools.gui_trackers.gridTracker.setMainlines |
( |
|
self, |
|
|
|
ml |
|
) |
| |
Set mainlines and update.
◆ setSize()
def draftguitools.gui_trackers.gridTracker.setSize |
( |
|
self, |
|
|
|
size |
|
) |
| |
Set size of the lines and update.
◆ setSpacing()
def draftguitools.gui_trackers.gridTracker.setSpacing |
( |
|
self, |
|
|
|
space |
|
) |
| |
◆ update()
def draftguitools.gui_trackers.gridTracker.update |
( |
|
self | ) |
|
Redraw the grid.
References draftguitools.gui_trackers.gridTracker.coords1, draftguitools.gui_trackers.gridTracker.coords2, draftguitools.gui_trackers.gridTracker.coords3, iisIconLabelScheme.font, ArchSpace._ViewProviderSpace.font, draftguitools.gui_trackers.gridTracker.font, draftguitools.gui_trackers.gridTracker.lines1, draftguitools.gui_trackers.gridTracker.lines2, draftguitools.gui_trackers.gridTracker.lines3, draftguitools.gui_trackers.gridTracker.mainlines, draftguitools.gui_trackers.gridTracker.numlines, draftguitools.gui_dimensions.Dimension.pts, draftguitools.gui_trackers.gridTracker.pts, draftguitools.gui_trackers.gridTracker.space, ArchSpace._ViewProviderSpace.text1, draftguitools.gui_trackers.gridTracker.text1, ArchSpace._ViewProviderSpace.text2, draftguitools.gui_trackers.gridTracker.text2, draftguitools.gui_trackers.gridTracker.textpos1, and draftguitools.gui_trackers.gridTracker.textpos2.
Referenced by femtaskpanels.task_result_mechanical._TaskPanel.calculate(), Spreadsheet_legacy.SpreadsheetView.changeCell(), draftguitools.gui_trackers.boxTracker.height(), ArchAxis.CommandArchGrid.IsActive(), Plot.Plot.plot(), Spreadsheet_legacy.SpreadsheetView.recompute(), and draftguitools.gui_trackers.gridTracker.reset().
◆ coords1
draftguitools.gui_trackers.gridTracker.coords1 |
◆ coords2
draftguitools.gui_trackers.gridTracker.coords2 |
◆ coords3
draftguitools.gui_trackers.gridTracker.coords3 |
◆ font
draftguitools.gui_trackers.gridTracker.font |
◆ lines1
draftguitools.gui_trackers.gridTracker.lines1 |
◆ lines2
draftguitools.gui_trackers.gridTracker.lines2 |
◆ lines3
draftguitools.gui_trackers.gridTracker.lines3 |
◆ mainlines
draftguitools.gui_trackers.gridTracker.mainlines |
◆ numlines
draftguitools.gui_trackers.gridTracker.numlines |
◆ pts
draftguitools.gui_trackers.gridTracker.pts |
◆ space
draftguitools.gui_trackers.gridTracker.space |
◆ text1
draftguitools.gui_trackers.gridTracker.text1 |
◆ text2
draftguitools.gui_trackers.gridTracker.text2 |
◆ textpos1
draftguitools.gui_trackers.gridTracker.textpos1 |
◆ textpos2
draftguitools.gui_trackers.gridTracker.textpos2 |
◆ trans
draftguitools.gui_trackers.gridTracker.trans |
The documentation for this class was generated from the following file:
- src/Mod/Draft/draftguitools/gui_trackers.py