Search found 412 matches

by catman
Mon Sep 05, 2022 1:15 pm
Forum: Open discussion
Topic: Value in channeling ideas?
Replies: 6
Views: 817

Value in channeling ideas?

inspired by: https://forum.freecadweb.org/viewtopic.php?f=9&t=71573 "Announcing: FreeCAD News" This is not a feature request. Believing in a bright future for FreeCAD sometimes I think about what new challenges growth may bring. This (https://github.com/FreeCAD/FPA) shows me others ar...
by catman
Mon Sep 05, 2022 9:06 am
Forum: Help on using FreeCAD
Topic: [solved] FreeCAD Console mode - command history question (Linux)
Replies: 14
Views: 1206

[solved] FreeCAD Console mode - command history question (Linux)

https://wiki.freecadweb.org/Start_up_and_Configuration#Running_FreeCAD_without_GUI_.28headless.29 says In console mode, no graphical user interface will be displayed, and you will be presented with a Python interpreter prompt: >>>. From that prompt, you have the same functionality as the Python inte...
by catman
Sun Sep 04, 2022 11:50 pm
Forum: Announcements & Features
Topic: Announcing: FreeCAD News
Replies: 107
Views: 63827

Re: Announcing: FreeCAD News

chennes wrote: Fri Sep 02, 2022 4:24 pm FreeCAD News.
Excellent idea! :D
by catman
Sun Sep 04, 2022 1:05 pm
Forum: Python scripting and macros
Topic: [solved] Task Dialog on Top
Replies: 12
Views: 1059

Re: Task Dialog on Top

openBrain wrote: Sun Sep 04, 2022 12:56 pm

Code: Select all

Gui.getMainWindow().findChild(QtWidgets.QDockWidget, 'Combo View').raise_()
That worked. Thanks, it saves lot of clicking when testing... :D
by catman
Sun Sep 04, 2022 12:48 pm
Forum: Python scripting and macros
Topic: [solved] Task Dialog on Top
Replies: 12
Views: 1059

Re: Task Dialog on Top

The ReportView gets into the way when both are combined. It would be good to get ahead of both. Not sure to get this point well. Can you explain what 'combined' means exactly? I guess I am not using the correct terms. Its a combination of the Panel windows as in the image below. Here the ComboView ...
by catman
Sat Sep 03, 2022 3:02 pm
Forum: Python scripting and macros
Topic: [solved] Task Dialog on Top
Replies: 12
Views: 1059

Re: Task Dialog on Top

from PySide2 import QtWidgets FreeCADGui.getMainWindow().findChild(QtWidgets.QTabWidget,'combiTab').setCurrentIndex(1) The ReportView gets into the way when both are combined. It would be good to get ahead of both. I could not find the ID of the combined ComboView, "combiView" analog to &...
by catman
Fri Sep 02, 2022 12:33 pm
Forum: Python scripting and macros
Topic: [solved] Task Dialog on Top
Replies: 12
Views: 1059

Re: Task Dialog on Top

from PySide2 import QtWidgets FreeCADGui.getMainWindow().findChild(QtWidgets.QTabWidget,'combiTab').setCurrentIndex(1) Perfect. Thanks a lot. Works like a charm. I also learned that many samples using PySide requires quite a few changes to PySide2. Its quite a process because for each single error ...
by catman
Fri Sep 02, 2022 8:43 am
Forum: Python scripting and macros
Topic: [solved] Task Dialog on Top
Replies: 12
Views: 1059

Re: Task Dialog on Top

From what I know comboview has no concept of "on top" as it have tabs so the tab tab had view and focus is made visible with another command. Interesting. For example when I add a Part::Box, then set the ComboView tab to the "model" tab and then double click in the tree icon, th...
by catman
Thu Sep 01, 2022 6:58 pm
Forum: Python scripting and macros
Topic: [solved] Task Dialog on Top
Replies: 12
Views: 1059

[solved] Task Dialog on Top

I have task panel shown with standard code like this (except) def Activated(self): baseWidget = QTGui.QWidget() panel = TestPanel(baseWidget) Gui.Control.showDialg(panel) The dialog shows fine, but normally the "Task" Tab of the ComboView is not visible and its switchig back to the Model a...
by catman
Wed Aug 31, 2022 3:53 pm
Forum: Python scripting and macros
Topic: [solved] What is a tracker?
Replies: 4
Views: 456

Re: What is a tracker?

From https://github.com/joelgraff/pivy_trackers : A "tracker" is simply geometry which "tracks with" the user as they interact with a tool to provide dynamic visual feedback. A good example may be generating a "rubber band box" as a user clicks and drags over an area t...