Search found 210 matches

Go to advanced search

by Syres
Wed May 22, 2019 10:43 am
Forum: Users Showcase
Topic: Macro to compute center of mass
Replies: 54
Views: 5885

Re: Macro to compute center of mass

Personalised macro locations @schupin, something to bear in mind is the handling of custom macro folder locations (with regard to displaying icons on buttons), there's a couple of lines with: macro_dir = FreeCAD.getUserMacroDir() the first one I changed to: macro_dir = FreeCAD.getUserMacroDir(True)...
by Syres
Wed May 22, 2019 10:19 am
Forum: Users Showcase
Topic: Macro to compute center of mass
Replies: 54
Views: 5885

Re: Macro to compute center of mass

hds wrote:
Wed May 22, 2019 9:18 am
Ball of steel award here you go. The output looks good to me. i've attached my macro if you want to play with. For production pls wait for shupins patched version.
Thanks for the efforts and swift feedback.
by Syres
Wed May 22, 2019 8:27 am
Forum: Users Showcase
Topic: Macro to compute center of mass
Replies: 54
Views: 5885

Re: Macro to compute center of mass

just found that for multiple arrays or clones thereof there needs to be an additional patch around line 276: # Find the center of mass depending of the type of object. if hasattr(objs[sol], "CenterOfMass"): self.centerofmasses[sol] = objs[sol].CenterOfMass elif hasattr(objs[sol], "Solids"): # self....
by Syres
Wed May 22, 2019 8:06 am
Forum: Announcements & Features
Topic: Addon Manager improvements
Replies: 12
Views: 387

Re: Addon Manager improvements

… I just have downloaded FC 19.16817_x86 on Win10_32 and it doesn't work at all ????? Running the Python command 'Std_AddonMgr' failed: Traceback (most recent call last): File "C:\FC.19\FreeCAD_0.19.16817_x86_LP_11.11_PY2QT4-WinVS2013\Mod\AddonManager\AddonManagerGui.py", line 10, in Activated impo...
by Syres
Tue May 21, 2019 11:51 am
Forum: Install / Compile
Topic: Lots of Standard Materials missing in 0.19.16808 Win Py3Qt5 Build
Replies: 1
Views: 57

Lots of Standard Materials missing in 0.19.16808 Win Py3Qt5 Build

When running a macro that looks up materials using: OS: Windows 7 SP 1 (6.1) Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.19.16808 (Git) Build type: Release Branch: master Hash: 0e17c22e3995693e1e329ee18af8c972a81fe831 Python version: 3.6.8 Qt version: 5.12.1 Coin version: 4.0.0a ...
by Syres
Tue May 21, 2019 11:08 am
Forum: TechDraw
Topic: LeaderLine and RichTextAnno Alpha Release
Replies: 22
Views: 1001

Re: LeaderLine and RichTextAnno Alpha Release

Regression in positioning code should be fixed by 8ef3f13fbb That's working fine now, thanks for the quick fix. OS: Windows 7 SP 1 (6.1) Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.19.16808 (Git) Build type: Release Branch: master Hash: 0e17c22e3995693e1e329ee18af8c972a81fe831 P...
by Syres
Sun May 19, 2019 1:45 pm
Forum: Draft, Arch & BIM
Topic: Unable to see drafting line tracker on top of preselected face
Replies: 3
Views: 99

Re: Unable to see drafting line tracker on top of preselected face

I can reproduce this in each major version back to and including my oldest build: OS: Windows 7 Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.16.6712 (Git) Build type: Release Branch: releases/FreeCAD-0-16 Hash: da2d364457257a7a8c6fb2137cea12c45becd71a Python version: 2.7.8 Qt vers...
by Syres
Sun May 19, 2019 1:36 pm
Forum: Python scripting and macros
Topic: FreeCAD path windows
Replies: 5
Views: 431

Re: FreeCAD path windows

openBrain wrote:
Sun May 19, 2019 12:06 pm
OP, could you attach your entire macro ?
Error happens in line 79 and I doubt this is the line where you import the FreeCAD namespace...
Based on the start date of the topic and the last active session of the OP, you maybe waiting a while.
by Syres
Sun May 19, 2019 11:59 am
Forum: TechDraw
Topic: LeaderLine and RichTextAnno Alpha Release
Replies: 22
Views: 1001

Re: LeaderLine and RichTextAnno Alpha Release

Thanks for the pointer.
by Syres
Sun May 19, 2019 9:00 am
Forum: TechDraw
Topic: LeaderLine and RichTextAnno Alpha Release
Replies: 22
Views: 1001

Re: LeaderLine and RichTextAnno Alpha Release

I'm really struggling with the DrawLeaderLine using the GUI in both Windows and using the latest Linux AppImage. I can create a LeaderLine fine using Python and it displays correctly but using the GUI, the tree updates, Visible is set to True but I don't see it in the View. I've attached an example ...

Go to advanced search