Search found 88 matches

Go to advanced search

by mfasano
Thu Sep 26, 2019 1:10 pm
Forum: Open discussion
Topic: GSOC 2020 has been Green Lit! (GSOC is over, thanks to everyone involved!)
Replies: 116
Views: 8341

Re: GSOC 2020 (Voice your opinion and ideas about what to propose for the next gsoc)

A proper measurement tool that is available from all tools and a few more options than current (Part) one (diameter distence between 2 holes etc) Maybe a few features / feature additions for PartDesign +1. The feature selection mechanism for the pattern features is one of the most cumbersome I've e...
by mfasano
Tue Sep 24, 2019 2:06 pm
Forum: Open discussion
Topic: Freecad Idomatic Workflows
Replies: 6
Views: 614

Re: Freecad Idomatic Workflows

Another question is, which assembly framework should I be using. I think this is a real problem for Freecad right now. It seems that creating an assembly is a pretty core thing to do for this type of program and every solution that I see out there (assembly2, a2+, assembly 3, and then even assembly...
by mfasano
Tue Sep 24, 2019 1:16 pm
Forum: Open discussion
Topic: Presenting FreeCAD to industry engineers
Replies: 18
Views: 3748

Re: Presenting FreeCAD to industry engineers

Right. And this is what I'm really trying to work through when I present open source in my profession. In my view, it's not really right to look at open source solutions and compare them feature-for-feature to their proprietary counterparts. Many FOSS projects themselves do not set out to mimic or ...
by mfasano
Wed Sep 18, 2019 12:49 am
Forum: Python scripting and macros
Topic: dialog box will not show
Replies: 12
Views: 1005

Re: dialog box will not show

It works now. I did not have parentheses after __init__()

Code: Select all

class init_val_prob_dialog(QtWidgets.QDialog, Ui_init_val_prob_dialog):
    def __init__(self):
        super(init_val_prob_dialog, self).__init__()
        self.setupUi(self)
        self.show()
Thank you very much vocx.
by mfasano
Mon Sep 16, 2019 11:24 pm
Forum: Python scripting and macros
Topic: dialog box will not show
Replies: 12
Views: 1005

Re: dialog box will not show

I thought I would try reinstalling FreeCad. OS: Windows 10 Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.18.16131 (Git) Build type: Release Branch: releases/FreeCAD-0-18 Hash: 3129ae4296e40ed20e7b3d460b86e6969acbe1c3 Python version: 3.6.6 Qt version: 5.6.2 Coin version: 4.0.0a OCC ...
by mfasano
Fri Sep 13, 2019 6:29 pm
Forum: Python scripting and macros
Topic: dialog box will not show
Replies: 12
Views: 1005

Re: dialog box will not show

I found that the argument for .setupUi() should be QtWidgets.QDialog as Mario does. class init_val_prob_dialog(QtWidgets.QDialog, Ui_init_val_prob_dialog): def __init__(self): super(init_val_prob_dialog, self).__init__ self.setupUi(QtWidgets.QDialog) now I get this error Traceback (most recent call ...
by mfasano
Fri Sep 13, 2019 12:36 pm
Forum: FEM
Topic: FreeCAD as pre-post processor for MBDyn
Replies: 134
Views: 15119

Re: FreeCAD as pre-post procesor for MBDyn

Creat work. He could have saved himself work if he would not have done it from scratch but would have used some existant code from FEM instead. mfasano already knew about that GSoC project. I only knew that it had been proposed by the MBDyn authors. I did not know about an actual project. He didn't...
by mfasano
Thu Sep 12, 2019 12:38 pm
Forum: Python scripting and macros
Topic: dialog box will not show
Replies: 12
Views: 1005

Re: dialog box will not show

Thanks vocx for the help. The class Ui_init_val_prob_dialog(object) is generated using pyside2-uic from a UI file. the other class init_val_prob_dialog(QtWidgets.QDialog, Ui_init_val_prob_dialog) is something I copied from somewhere. including self as an argument in .setupUi worked. Now it has a pro...
by mfasano
Wed Sep 11, 2019 6:43 pm
Forum: Python scripting and macros
Topic: dialog box will not show
Replies: 12
Views: 1005

Re: dialog box will not show

These are functions, right? So you should call them. super(init_val_prob_dialog, self).__init__() self.setupUi() self.show() If you don't write the parentheses, you are just treating them as variables (they return the reference to their internal object). I tried that and I got an error that says I ...
by mfasano
Wed Sep 11, 2019 1:39 pm
Forum: FEM
Topic: FreeCAD as pre-post processor for MBDyn
Replies: 134
Views: 15119

Re: FreeCAD as pre-post procesor for MBDyn

josegegas wrote:
Wed Sep 11, 2019 12:45 pm
mfasano wrote:
Wed Sep 11, 2019 12:36 pm
MBDyn needs to be run from a terminal. Is there a way to run a shell script from python?
Yep. I've don this. So that MBDyn can be executed from FreeCAD with a click...
From the video it looks like you open shell and run a command.

Go to advanced search