Search found 51 matches

Go to advanced search

by mfasano
Thu Sep 12, 2019 12:38 pm
Forum: Python scripting and macros
Topic: dialog box will not show
Replies: 12
Views: 632

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: 632

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 procesor for MBDyn
Replies: 95
Views: 7292

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.
by mfasano
Wed Sep 11, 2019 12:36 pm
Forum: FEM
Topic: FreeCAD as pre-post procesor for MBDyn
Replies: 95
Views: 7292

Re: FreeCAD as pre-post procesor for MBDyn

MBDyn needs to be run from a terminal. Is there a way to run a shell script from python?
by mfasano
Wed Sep 11, 2019 12:05 am
Forum: Python scripting and macros
Topic: dialog box will not show
Replies: 12
Views: 632

dialog box will not show

I am trying to create a script where it opens a dialog box for user input. I used Qt creator to make a UI file and pyside2-uic to make a python file for the dialog box. When I run it, the dialog box does not show. Thanks. OS: Windows 10 Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0...
by mfasano
Tue Sep 10, 2019 1:58 pm
Forum: FEM
Topic: FreeCAD as pre-post procesor for MBDyn
Replies: 95
Views: 7292

Re: FreeCAD as pre-post procesor for MBDyn

We are not the first to consider using FreeCAD as a pre and post processor for MBDyn. The progrmmers of MBDyn thought of making it a Google Summer of Code project. I guess that never happened. Maybe if we make a good start of it, we could make extending it a Summer of Code project.
by mfasano
Tue Sep 10, 2019 1:23 pm
Forum: FEM
Topic: FreeCAD as pre-post procesor for MBDyn
Replies: 95
Views: 7292

Re: FreeCAD as pre-post procesor for MBDyn

I see. So to include the object's mass or density I'll have to use the OCCT classes. The easiest solution I could think about (to avoid this) is to multiply (or whatever operation is needed) the given Ixx Iyy and Izz by the mass. I could do this if I knew what units these values have. Yes moving th...
by mfasano
Tue Sep 10, 2019 1:08 pm
Forum: FEM
Topic: FreeCAD as pre-post procesor for MBDyn
Replies: 95
Views: 7292

Re: FreeCAD as pre-post procesor for MBDyn

I have just started a work bench as a pre and post processor for MBDyn. Sounds great that you had the same idea! Would you mind sharing some details? My approach has been to create customized objects in FreeCAD that contain the properties of each object required by MBDyn. Thus, I create a "Gravity"...
by mfasano
Mon Sep 09, 2019 2:54 pm
Forum: Users Showcase
Topic: S&S steam engine
Replies: 7
Views: 2146

Re: S&S steam engine

I have never heard of a horizontal rotating piston, and the link was not that informative. Is this a steam version fo the wankle engine? :?

Awsome model. I am always impressed when I visit the user showcase.
by mfasano
Mon Sep 09, 2019 2:43 pm
Forum: FEM
Topic: FreeCAD as pre-post procesor for MBDyn
Replies: 95
Views: 7292

Re: FreeCAD as pre-post procesor for MBDyn

I have just started a work bench as a pre and post processor for MBDyn. I was going to use assembly 4 as a base. I thought the use of local coordinate systems would be useful and I would not need a constraint solver because MBDyn would notify if there was a problem. I also thought it would be diffic...

Go to advanced search