Search found 77 matches
- Mon Apr 19, 2021 9:39 pm
- Forum: Python scripting and macros
- Topic: [Solved]Help me understand Selection Observer
- Replies: 12
- Views: 1978
Re: Help me understand Selection Observer
Ok. I think I've got a bit better handle on this. By rummaging in the source code, first at Sourceforge then GitHub, I found in Selection.h there is struct SelObj { const char* DocName; const char* FeatName; const char* SubName; const char* TypeName; App::Document* pDoc; App::DocumentObject* pObject...
- Mon Apr 19, 2021 1:13 pm
- Forum: Python scripting and macros
- Topic: [Solved]Help me understand Selection Observer
- Replies: 12
- Views: 1978
Re: Help me understand Selection Observer
So Gui.Selection.addObserver connects me to the Selection API. When I look on the wiki https://wiki.freecadweb.org/Selection_API I see addSelection(FreeCAD.Object) Is that addSelection my addSelection? So that in my addSelection(self, doc, obj, sub, pnt) the parameters self,doc,obj,sub,pnt is the AP...
- Mon Apr 19, 2021 12:39 pm
- Forum: Python scripting and macros
- Topic: [Solved]Help me understand Selection Observer
- Replies: 12
- Views: 1978
[Solved]Help me understand Selection Observer
I'm trying to build a macro that analyzes selected edges of a body and sends the analysis result on to Draft and then Techdraw. I've got all the bits and pieces working but the edge selecting process bothers me because, although it works, I don't understand how it works. Here's the relevent chunk of...
- Tue Feb 09, 2021 12:38 pm
- Forum: Draft, Arch & BIM
- Topic: New Stick Frame Workbench
- Replies: 18
- Views: 7480
Re: New Stick Frame Workbench
Inspired by your efforts, I decided to clone your repo. Just had a quick look into your code with my morning cuppa. You use XPM icons. See this thread https://forum.freecadweb.org/viewtopic.php?t=17057 . You mix decimal English units with fractional ones, for example in studs.py when initializing pr...
- Tue Feb 09, 2021 11:46 am
- Forum: Draft, Arch & BIM
- Topic: New Stick Frame Workbench
- Replies: 18
- Views: 7480
Re: New Stick Frame Workbench
Excellent!
I just watched your video intro. This is a brilliant first effort. Kudos for diving in and figuring out how to get this done.
I just watched your video intro. This is a brilliant first effort. Kudos for diving in and figuring out how to get this done.
- Mon Dec 28, 2020 5:29 pm
- Forum: TechDraw
- Topic: Imperial Dimensions Displayed with mm Values no conversion happening
- Replies: 14
- Views: 3044
Re: Imperial Dimentions Displayed with mm Values no conversion happening
It is interesting that neither my nor colleague @chennes saw this and chennes is a North American. However, by ironing the issue out, I found another issue one since I tested this time more. I missed it myself at first. I was focussed only on the linear dimensions. It wasn't until I printed a drawi...
- Mon Dec 28, 2020 1:41 pm
- Forum: TechDraw
- Topic: Imperial Dimensions Displayed with mm Values no conversion happening
- Replies: 14
- Views: 3044
Re: Imperial Dimentions Displayed with mm Values no conversion happening
Oops! It appears the fix was inadventently applied to angular dimensions as well. 45 deg / 25.4 = 1.7717 !! Screenshot at 2020-12-28 07-37-05.png OS: Linux Mint 19.3 (MATE/mate) Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.19.23546 (Git) AppImage Build type: Release Branch: master...
- Tue Dec 22, 2020 1:46 pm
- Forum: TechDraw
- Topic: Imperial Dimensions Displayed with mm Values no conversion happening
- Replies: 14
- Views: 3044
Re: Imperial Dimentions Displayed with mm Values no conversion happening
Confirming behavior reported by OP. OS: Linux Mint 19.3 (MATE/mate) Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.19.23463 (Git) AppImage Build type: Release Branch: master Hash: adc6db8f32c17e9f67cb82aa7962d1e42ce061c6 Python version: 3.8.6 Qt version: 5.12.5 Coin version: 4.0.0 O...
- Fri Sep 11, 2020 9:44 am
- Forum: Help on using FreeCAD
- Topic: Macro and Workbench problem
- Replies: 13
- Views: 1548
Re: Macro and Workbench problem
I tried this. With a reset Preferences I get the expected behavior from the AddOn Manager. With my preferences restored the Manager reverts to the above described problematic behavior.vocx wrote: ↑Thu Sep 10, 2020 6:22 pmBut you can just try resetting the configuration of the program in the Preferences Editor.
- Thu Sep 10, 2020 10:14 am
- Forum: Help on using FreeCAD
- Topic: Macro and Workbench problem
- Replies: 13
- Views: 1548
Re: Macro and Workbench problem
This is quite odd. I don't remember many reports like yours. If this really is a recurring problem with the AppImage , we would have had more reports by now. It could be something specific to your system? My recollection is that this first started occuring back when I was using the daily linux buil...