Search found 242 matches

Go to advanced search

by galou_breizh
Sun Apr 21, 2019 8:42 am
Forum: Python scripting and macros
Topic: Starting and controlling FreeCAD from external console
Replies: 4
Views: 174

Re: Starting and controlling FreeCAD from external console

Ahoj, you can either directly start FreeCAD (with GUI), IIRC with `FreeCAD macro_name.FCMacro` and use the full featured embedded Python console or use the FreeCAD kernel for Jupyter (https://github.com/looooo/jupyter_freecad_kernel) for a more pleasant interaction with Python. For Matlab it can be ...
by galou_breizh
Sat Apr 20, 2019 7:29 am
Forum: Wiki
Topic: [SOLVED]New SVG graphics with text are an utter disaster in Firefox
Replies: 9
Views: 167

Re: New SVG graphics with text are an utter disaster in Firefox

I have no issues on Firefox v66 and Ubuntu 18.04.
by galou_breizh
Thu Apr 11, 2019 5:58 am
Forum: Open discussion
Topic: New assembly concept, maybe without a workbench
Replies: 8
Views: 440

Re: New assembly concept, maybe without a workbench

freedman wrote:
Wed Apr 10, 2019 5:18 pm
before Bodies become a container for multiple solids
This surprises me. Where did you read this?
by galou_breizh
Tue Apr 09, 2019 8:38 pm
Forum: Open discussion
Topic: Tiny little inconvenience
Replies: 15
Views: 375

Re: Tiny little inconvenience

I actually meant open another existing document in the same FreeCAD instance. Creating a new document doesn't close "doc_a.fcstd". I also just realized that the effect can only be observed when opening the second document from the File menu. Opening it from the Start Page also doesn't close "doc_a.f...
by galou_breizh
Mon Apr 08, 2019 6:59 am
Forum: Open discussion
Topic: Tiny little inconvenience
Replies: 15
Views: 375

Tiny little inconvenience

I just discovered a very small bug. Create a new document and save it without doing any change, let's call it "doc_a.fcstd". If you open a new document at that moment, the document "doc_a.fcstd" is being closed. I though that this should happen only on unmodified documents that were never saved. Gaë...
by galou_breizh
Thu Apr 04, 2019 8:53 pm
Forum: Python scripting and macros
Topic: Internationalization of macros
Replies: 3
Views: 187

Re: Internationalization of macros

Thanks Yorik,

it may have helped but something it still missing to have this working. The current state of my study (fight?) is at https://github.com/FreeCAD/FreeCAD-macr ... -in-macros.

See attached file
dxftosketchlayers.zip
(11.13 KiB) Not downloaded yet
for the current state.

Thanks,
Gaël
by galou_breizh
Wed Apr 03, 2019 3:12 pm
Forum: Python scripting and macros
Topic: Internationalization of macros
Replies: 3
Views: 187

Re: Internationalization of macros

No PySide expert out there?

Thanks!
by galou_breizh
Fri Mar 29, 2019 9:10 pm
Forum: Python scripting and macros
Topic: [Macro] Straighten objects
Replies: 8
Views: 418

Re: [Macro] Straighten objects

Hi,

thanks for this contribution! Could this be integrated into the Manipulator workbench?

Gaël
by galou_breizh
Sat Mar 23, 2019 10:10 pm
Forum: Python scripting and macros
Topic: how to make paramectric-object macros installable by addon installer?
Replies: 5
Views: 315

Re: how to make paramectric-object macros installable by addon installer?

Adding a FCMacro file importing a *.py file seems to work. At least it works on my system. Cf. https://github.com/FreeCAD/FreeCAD-macros/blob/master/ParametricObjectCreation/GeodesicDome.FCMacro. Gaël OS: Ubuntu 18.04.2 LTS Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.18.16065 (Gi...
by galou_breizh
Fri Mar 22, 2019 7:36 am
Forum: Python scripting and macros
Topic: Internationalization of macros
Replies: 3
Views: 187

Internationalization of macros

I'm trying to internationalize macros and havee a 'qm' file ready. Now I'm stuck. I tried to follow the instruction from https://wiki.qt.io/PySide_Internationalization . The problem is that I can't find the QApplication instance from inside the macro. What the web page says is translator = QtCore.QT...

Go to advanced search