Search found 3941 matches
- Fri Sep 22, 2017 7:12 am
- Forum: Install / Compile
- Topic: No module named freecad
- Replies: 6
- Views: 4315
Re: No module named freecad
maybe this has to be updated? https://github.com/FreeCAD/FreeCAD/blob ... ad.install
- Fri Sep 22, 2017 6:35 am
- Forum: Install / Compile
- Topic: No module named freecad
- Replies: 6
- Views: 4315
Re: No module named freecad
The added /Ext directory is somehow not included. As travis doesn't fail this is maybe related to debian packageing?
As a workaround you can add an empty file at ~/.FreeCAD/Mod/pkgs/freecad/__init__.py
As a workaround you can add an empty file at ~/.FreeCAD/Mod/pkgs/freecad/__init__.py
- Thu Sep 21, 2017 8:28 am
- Forum: Open discussion
- Topic: Poll: What should superPlacement be renamed to?
- Replies: 62
- Views: 12707
- Wed Sep 20, 2017 4:30 pm
- Forum: Open discussion
- Topic: surface flattening
- Replies: 157
- Views: 38131
Re: surface flattening
some more problems: what is the simplest way to add an icon to the MeshWorkbench? I tried adding it in the InitGui.py but I get this message: 'MeshWorkbench' object has no attribute '__Workbench__' which I guess is because python and c++ can't be used both to setup the toolbar. Is there any other wa...
- Wed Sep 20, 2017 4:00 pm
- Forum: Developers corner
- Topic: future python structure of freecad
- Replies: 86
- Views: 15745
Re: future python structure of freecad
OK. I was confused by this comment: # this directory is the entry point for extension modules. Any package # installed to a directory "freecad" which is in sys.path can be imported # with "from freecad import package" and is checked for a init_gui.py # module, which is import at...
- Wed Sep 20, 2017 2:56 pm
- Forum: Developers corner
- Topic: future python structure of freecad
- Replies: 86
- Views: 15745
Re: future python structure of freecad
/usr/lib/ seems to be widely accepted. At the time when I did the very first steps for Debian packaging of FreeCAD I found some references on freedesktop.org that using /usr/lib is OK. And as a reference I used openoffice (now libreoffice) on Debian that also uses /usr/lib as entry point. sry, I ta...
- Wed Sep 20, 2017 1:07 pm
- Forum: Developers corner
- Topic: future python structure of freecad
- Replies: 86
- Views: 15745
Re: future python structure of freecad
Thanks for having a look at this again. What exactly is the reason to add a new directory Ext There is simple the need for an alternative to the Mod-directory. Can't this be added to the lib directory? It's not a problem to use the lib-dir if one uses a InstallPrefix. Without any InstallPrefix the l...
- Wed Sep 20, 2017 7:57 am
- Forum: Python scripting and macros
- Topic: [not important] py3: console can't read empty line
- Replies: 6
- Views: 840
Re: [not important] py3: console can't read empty line
Yes, it works for FreeCAD's Python console when Python 2.x is used. But I talked about a terminal window running a Python 2.x session where it fails. I see. So coping code into the console isn't best practise... Would it be possible to handle copied code as one block, and compute it at once? This f...
- Tue Sep 19, 2017 6:59 pm
- Forum: Python scripting and macros
- Topic: [not important] py3: console can't read empty line
- Replies: 6
- Views: 840
Re: py3: console can't read empty line
strange. It doesn't crash for me with this version. But it isn't a big problem anyway. OS: Ubuntu 16.04.3 LTS Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.17.12124 (Git) Build type: None Branch: master Hash: 76e8d81ae24ab898396571898525f78e1efbbcba Python version: 2.7.12 Qt versio...
- Tue Sep 19, 2017 3:14 pm
- Forum: Python scripting and macros
- Topic: [not important] py3: console can't read empty line
- Replies: 6
- Views: 840
[not important] py3: console can't read empty line
copying this into the console fails for python3. def test(): print(1) print(2) print("end") with the following message: Traceback (most recent call last): File "~/freecad/lib/python3.6/codeop.py", line 168, in __call__ return _maybe_compile(self.compiler, source, filename, symbol...