Search found 122 matches

by mfasano
Sun May 03, 2020 1:50 pm
Forum: FEM
Topic: FreeCAD as pre-post processor for MBDyn
Replies: 437
Views: 176417

Re: FreeCAD as pre-post procesor for MBDyn

I added post processing to the ASM4 branch to my code. There would not be too many changes to add the post processing to the branch that does not use Assembly4, but I like Assembly4. I fixed the problem I had with orientation matraces of the joints by switching to 2 vector instead of Euler angles de...
by mfasano
Thu Apr 30, 2020 11:21 pm
Forum: Python scripting and macros
Topic: Qtimer test not working
Replies: 4
Views: 1498

Re: Qtimer test not working

I would like to use the Qtimer for animation, but I can't get it to work even with this simple script. This does not work even if I just put a pass inside the while loop. I find it strange it works when in debug mode. The PrintMessages are just proof update function and the while loop are working. I...
by mfasano
Thu Apr 30, 2020 7:02 pm
Forum: Python scripting and macros
Topic: Qtimer test not working
Replies: 4
Views: 1498

Qtimer test not working

I am trying to test Qtimer with this script. It works well in debug mode but it locks up just running it. import FreeCAD as App import FreeCADGui as Gui from PySide2 import QtCore class time(): def __init__(self): self.timer = QtCore.QTimer() self.timer.timeout.connect(self.update) self.count = 0 de...
by mfasano
Tue Apr 28, 2020 8:16 pm
Forum: Assembly
Topic: Assembly 4 workbench
Replies: 1344
Views: 896927

Re: Assembly 4 workbench

what do you mean by " disable the expression engine " ? On all parts, or some of them ? It seems the I may not need it; the placement of the parts is updating on the view screen without recompute. It may not matter, but I would like to return it to the way it was at the end. recompute at ...
by mfasano
Tue Apr 28, 2020 3:54 pm
Forum: Assembly
Topic: Assembly 4 workbench
Replies: 1344
Views: 896927

Re: Assembly 4 workbench

Hello; I am trying to do multibody dynamics of an assembly4 model with the MBDyn solver. Here is the discussion of it. https://forum.freecadweb.org/viewtopic.php?f=18&t=39165&start=100 I am at the point of animating the model. I need to disable or delete the expression engine and then return...
by mfasano
Fri Apr 24, 2020 12:42 pm
Forum: Open discussion
Topic: Discussion: FreeCAD is not ready for 1.0
Replies: 296
Views: 283765

Re: Discussion: FreeCAD is not ready for 1.0

I have not come in to the discussion until now partly because I don't care that much. There is a old saying "all software is beta". Like others have said, including vocx, I would still use it no matter what it's called. For me, FreeCAD really became mature at release 0.17 Roland. Named aft...
by mfasano
Wed Apr 15, 2020 11:49 pm
Forum: FEM
Topic: FreeCAD as pre-post processor for MBDyn
Replies: 437
Views: 176417

Re: FreeCAD as pre-post procesor for MBDyn

I added a new branch for my MBDyn pre-processor. It is called asm4. It creates an MBDyn input file from a FreeCAD model created with assembly4. I thought it would make it easier to set up the MBDyn elements with it. I am not sure I am calculating the orientation matraces right. They work for my test...
by mfasano
Tue Apr 07, 2020 12:41 pm
Forum: Python scripting and macros
Topic: [Solved] searching for solid objects in a document
Replies: 5
Views: 1136

Re: searching for solid objects in a document

obj.InList return a list, so the check if len(list) > 0, i'm assuming that only a "parent" object links to this object, if there are many (I don't know when it ossurs in freecad) you have to adapt your code accordingli, note that exist also a property named InListRecursive , but I haven't...
by mfasano
Sat Apr 04, 2020 12:27 pm
Forum: Python scripting and macros
Topic: [Solved] searching for solid objects in a document
Replies: 5
Views: 1136

Re: searching for solid objects in a document

TypeId does not give me what I Want. When I seasrch through the file I included. I get TypeId of Part::Box for both Cube and Cube001. I want to know which Part::Box is part of a compound.

Thanks
by mfasano
Thu Apr 02, 2020 1:06 pm
Forum: Python scripting and macros
Topic: [Solved] searching for solid objects in a document
Replies: 5
Views: 1136

[Solved] searching for solid objects in a document

I would like to search a document for solid objects. I don't know how to distinguish a compound and a solid object that is part of the compound and one that is not. below is a FreeCAD file with a cube and a cylinder that is fused and a cube that is separate. The code checks for ShapeType, but I don'...