Search found 437 matches

by galou_breizh
Fri Nov 11, 2022 3:09 pm
Forum: Job offers
Topic: A few paid commits for FreeCAD
Replies: 14
Views: 4308

Re: A few paid commits for FreeCAD

NewJoker wrote: Wed Oct 26, 2022 11:42 am - adding selection filter for Part/PartDesign (the code already exists in the Assembly 4 module and it's just a matter of transferring it to Part/PartDesign):
https://forum.freecadweb.org/viewtopic. ... 3&start=10
This was also already done by user
realthunder wrote:
in his Link3 branch.
by galou_breizh
Thu Nov 10, 2022 12:38 pm
Forum: Python scripting and macros
Topic: How to set units during modeling?
Replies: 3
Views: 758

Re: How to set units during modeling?

Code: Select all

DeltaX = float(self.ui.txtCenterPointX.text()) * App.Units.Metre
aBox.Width = DeltaX
or

cf. https://forum.freecadweb.org/viewtopic.php?f=22&t=70358.
by galou_breizh
Thu Nov 10, 2022 12:27 pm
Forum: Python scripting and macros
Topic: Obsolete code
Replies: 10
Views: 1198

Re: Obsolete code

In addition to what heda wisely wrote and as a maintainer of the macro repository I invite you to write issues on Github to report about this, so that we can be aware of the compatibility problems. Moreover, you can normally always comeback to an older version of FreeCAD (with probably a lot of effo...
by galou_breizh
Fri Aug 12, 2022 1:21 pm
Forum: Developers corner
Topic: [meeting minutes] developer meeting on how to integrate Toponaming
Replies: 45
Views: 10474

Re: [meeting minutes] developer meeting on how to integrate Toponaming

It would be awesome to have a nice and clean interface so we can try different algorithm for the topo-naming issue. As far as I understand there is not "the one and only solution" which solves all the topo-naming issues. Maybe we could also try some machine-learning algorithm and train th...
by galou_breizh
Wed Jun 01, 2022 6:02 am
Forum: Developers corner
Topic: Loading UI forms using PySide
Replies: 51
Views: 25460

Re: Loading UI forms using PySide

ebrahim raeyat wrote: Tue May 31, 2022 7:07 pm
galou_breizh wrote: Wed Feb 02, 2022 5:07 pm Maybe this will help: https://github.com/FreeCAD/FreeCAD-macr ... definition?
Thanks, But I don't know how can I compile it on windows.
You don't need to compile anything because Python is an interpreted language.
by galou_breizh
Wed Jun 01, 2022 5:10 am
Forum: Python scripting and macros
Topic: [FIXED] Macro path is missing from Python path
Replies: 1
Views: 456

[FIXED] Macro path is missing from Python path

Dear all, I have an issue with a recent FreeCAD version. The macro folder ( ~/.local/share/FreeCAD/Macro ) is missing in Python path. >>> import sys >>> for p in sys.path: ... print(p) ... /usr/lib/python3/dist-packages/git/ext/gitdb /usr/share/freecad-daily/Mod/PartDesign /usr/share/freecad-daily/M...
by galou_breizh
Fri Mar 18, 2022 6:37 am
Forum: Python scripting and macros
Topic: Part workbench only?
Replies: 14
Views: 2242

Re: Part workbench only?

TheMarkster wrote: Wed Mar 02, 2022 1:13 am
But there is also a Tube primitive.

Code: Select all

import BasicShapes
tube = BasicShapes.Shapes.addTube(FreeCAD.ActiveDocument)
tube.OuterRadius = 10
tube.InnerRadius = 8
All of these have Height properties, too.
I think that the correct import is

Code: Select all

import BasicShapes.Shapes
by galou_breizh
Fri Feb 25, 2022 6:46 am
Forum: UX/UI Design
Topic: [UI suggestion] Sketcher tool bars
Replies: 10
Views: 2360

Re: [UI suggestion] Sketcher tool bars

Fully agree! Thanks for this proposition (and possible application).

Gaël