Search found 5 matches

by vito
Wed Sep 22, 2021 7:14 pm
Forum: Python scripting and macros
Topic: module QWorkspace from PySide.QtGui
Replies: 3
Views: 2469

Re: module QWorkspace from PySide.QtGui

Thanks for the fast answer. I'm not sure if that is going to be the answer The full code as appears here https://wiki.freecadweb.org/Embedding_FreeCADGui is this import os import sys from PyQt4 import QtCore, QtGui from PyQt4.QtGui import QMainWindow, QWorkspace, QAction, QApplication from pivy.coin...
by vito
Wed Sep 22, 2021 2:01 pm
Forum: Python scripting and macros
Topic: module QWorkspace from PySide.QtGui
Replies: 3
Views: 2469

module QWorkspace from PySide.QtGui

Hi. Thanks again for the software and the forum in general. The answers are fast. Today I was running a python script on a ubuntu machine (python 3.8) outside FreeCAD python console (that is, the ubuntu regular terminal) from this page https://wiki.freecadweb.org/Embedding_FreeCADGui (the section ca...
by vito
Tue Sep 21, 2021 9:32 pm
Forum: Python scripting and macros
Topic: Create a image file from a freecad file using just python
Replies: 0
Views: 3156

Create a image file from a freecad file using just python

Hi good day. First thanks a lot for the software. It is greatly appreciated. Second I know there exists other posts with the same topics but the truth is, those haven’t work for me. Anyway I’m using FreeCAD version 0.19 in an ubuntu 20.04 with python 3.8. I imagine that perhaps some solutions could ...
by vito
Tue Sep 21, 2021 9:04 pm
Forum: Python scripting and macros
Topic: creating Part Design body scripting
Replies: 2
Views: 1886

Re: creating Part Design body scripting

Hi. Thanks for the answer. But question. Did you run that from the python Console INSIDE FreeCAD or just in a python script from a terminal? By the way I forgot to mention but I'm using ubuntu 20.04 with python 3.8 Any way eventually I could do a simple python script using Sketcher and Part FREECADP...
by vito
Wed Sep 15, 2021 6:26 pm
Forum: Python scripting and macros
Topic: creating Part Design body scripting
Replies: 2
Views: 1886

creating Part Design body scripting

Hi good day. I enjoy using python so I decided to try to make pieces using just python so maybe I could make an application for my future customers. At first I activate the python console in freecad and just try to replicate the code shown but didn't work. Right now I'm just trying to create a body ...