Search found 57 matches

Go to advanced search

by JulianTodd
Tue Feb 11, 2020 2:32 pm
Forum: Developers corner
Topic: Steal the plugins system from QGIS for the macro loader
Replies: 7
Views: 372

Re: Steal the plugins system from QGIS for the macro loader

I'll investigate what workbenches are. However, it still feels that it's too big a thing for a mere DXF loader. I think macros could be multi-file objects in a directory for each. There's probably too big a step-gap between a macro and a workbench. I am really not convinced that telling the sorts of...
by JulianTodd
Tue Feb 04, 2020 8:14 pm
Forum: Developers corner
Topic: Steal the plugins system from QGIS for the macro loader
Replies: 7
Views: 372

Steal the plugins system from QGIS for the macro loader

I've noticed that QGIS has almost exactly the same architecture as FreeCAD -- it's a monolithic installed PC app depending on multiple external C++ geometry engines using QT5 for the GUI and is glued together by Python3 and has a plugin system. Plugins are where the serious productivity gains can be...
by JulianTodd
Mon Feb 03, 2020 6:29 pm
Forum: Path/CAM
Topic: Using Gmsh as triangulator for CAM
Replies: 2
Views: 170

Using Gmsh as triangulator for CAM

I'm experimenting with Gmsh, which I learnt about at FOSDEM2020. It's for creating the even triangulations (2D and 3D) needed for FEA. Gmsh tightly bound to OpenCascade, so using it as a triangulator should be possible. While the long skinny badly distributed triangles that we get from the standard ...
by JulianTodd
Fri Jan 24, 2020 5:01 pm
Forum: Open discussion
Topic: FOSDEM 2020 anyone?
Replies: 56
Views: 3562

Re: FOSDEM 2020 anyone?

Just as an update, I'll be staying at same place as @sliptonic at the following hostel from Thursday 30/1 to Sunday 2/2. https://www.meininger-hotels.com/en/hotels/brussels/hotel-bruxelles-city-center/ My main objective is to find a proper home for my laserplacer application I wrote in Javascript an...
by JulianTodd
Mon Jan 13, 2020 11:06 am
Forum: Open discussion
Topic: FOSDEM 2020 anyone?
Replies: 56
Views: 3562

Re: FOSDEM 2020 anyone?

I'll be arriving in Brussels on the Thursday, so I'll have all of Friday there. (Brad says he's there all that day too.) Now I have 2 weeks to get back up to speed, having been distracted by all my other projects. My understanding, though, is things get rather beery Friday afternoon, which is why my...
by JulianTodd
Sun Jan 12, 2020 12:42 pm
Forum: Open discussion
Topic: FOSDEM 2020 anyone?
Replies: 56
Views: 3562

Re: FOSDEM 2020 anyone?

Hey, I just heard about this FOSDEM thing. I need to get back up to speed with this FreeCAD thing, among all my other projects. I can get there a day early to Brussels for all of January 31, if there's going to be anyone else there too. Is this likely? One thing we ought to talk about is how to esta...
by JulianTodd
Thu May 02, 2019 11:27 am
Forum: Python scripting and macros
Topic: What to do with Macros that depend on pip-installed modules
Replies: 10
Views: 853

Re: What to do with Macros that depend on pip-installed modules

That policy (of not changing the user's installation) only makes sense if all the users are Python developers and actually know what an "installation" is. Most people who use FreeCAD are going to think: "What the heck is this Python thing? If it's part of the FreeCAD installation, why doesn't it loo...
by JulianTodd
Tue Apr 30, 2019 12:21 pm
Forum: Python scripting and macros
Topic: What to do with Macros that depend on pip-installed modules
Replies: 10
Views: 853

Re: What to do with Macros that depend on pip-installed modules

I've made a debug change to the Conversion/DxfToSketchLayers.FCMacro so that it works under Python3. https://github.com/FreeCAD/FreeCAD-macros/pull/43 I also had another go at some kind of automated import/install for a missing module: def tr(context, text): return QtGui.QApplication.translate(conte...
by JulianTodd
Wed Apr 03, 2019 1:29 pm
Forum: Python scripting and macros
Topic: What to do with Macros that depend on pip-installed modules
Replies: 10
Views: 853

Re: What to do with Macros that depend on pip-installed modules

A small update in trying to work around this: Python console on built-from-sources FC: Python 2.7.15rc1 (default, Nov 12 2018, 14:31:15) [GCC 7.3.0] on linux2 Type 'help', 'copyright', 'credits' or 'license' for more information. >>> (Here the pip install hack from within the macro works.) Python co...
by JulianTodd
Wed Apr 03, 2019 1:03 pm
Forum: Python scripting and macros
Topic: What to do with Macros that depend on pip-installed modules
Replies: 10
Views: 853

What to do with Macros that depend on pip-installed modules

I had a work-around in my DxfToSketchLayers.FCMacro (that @galou_breizh @galou edited and committed to the FreeCAD macros repository here: https://github.com/FreeCAD/FreeCAD-macros/blob/master/Conversion/DxfToSketchLayers.FCMacro ) to handle the missing module "ezdxf". I had originally posted it to ...

Go to advanced search