Is this the intended behavior? How can I have it always inside the range?edwilliams16 wrote: ↑Wed Mar 27, 2024 12:57 am Yes. If I save and restore, it no longer heeds the constraints.
Search found 240 matches
- Wed Mar 27, 2024 1:39 pm
- Forum: Python scripting and macros
- Topic: Problem with "App::PropertyIntegerConstraint"
- Replies: 4
- Views: 407
Re: Problem with "App::PropertyIntegerConstraint"
- Wed Mar 27, 2024 12:00 am
- Forum: Python scripting and macros
- Topic: Problem with "App::PropertyIntegerConstraint"
- Replies: 4
- Views: 407
Re: Problem with "App::PropertyIntegerConstraint"
Is anyone having this problem? I have found that it works fine when I just added the property, but after closing and opening the file, it wont respect the max and min values any more...
- Sun Mar 17, 2024 2:05 am
- Forum: Open discussion
- Topic: MBDYN
- Replies: 4
- Views: 663
Re: MBDYN
Hello. Sorry the late reply. The thing is that Im not using GitLab anymore. Basically because nobody but me is contributing to the code and because my time to work on this project is very limited and because Im not very good with git. So I simply regularly upload the workbench into a shared google d...
- Sun Mar 17, 2024 1:51 am
- Forum: Python scripting and macros
- Topic: Problem with "App::PropertyIntegerConstraint"
- Replies: 4
- Views: 407
Problem with "App::PropertyIntegerConstraint"
Hi. Im trying to use App::PropertyIntegerConstraint as provided in the example: obj = FreeCAD.ActiveDocument.addObject("App::FeaturePython", "InternalObjectName") obj.Label = "User-friendly label" obj.addProperty("App::PropertyIntegerConstraint", "TheProp...
- Wed Dec 27, 2023 6:57 pm
- Forum: Python scripting and macros
- Topic: cancel method
- Replies: 1
- Views: 276
cancel method
Hi. I followed this tutorial on creating and adding dialogs: https://wiki.freecad.org/Manual:Creating_interface_tools The def accept(self): method is executed when user clicks Ok button. What is the method for cancel button? I thought it would be def cancel(self): but it does not work. Thanks...
- Fri Oct 06, 2023 10:25 pm
- Forum: FEM
- Topic: FreeCAD as pre-post processor for MBDyn
- Replies: 433
- Views: 172487
Re: FreeCAD as pre-post processor for MBDyn
Hello. The "MBD workbench" can now also act as an assembly workbench (yes, yet another assembly workbench); using MBDyn to solve the assembly. It is now possible to put together relatively complex assemblies. Here is an example: https://www.youtube.com/watch?v=zuqqGvZJGhc Of course, once t...
- Fri Sep 29, 2023 11:57 pm
- Forum: Help on using FreeCAD
- Topic: Independently control attachment position and orientation.
- Replies: 5
- Views: 711
Re: Independently control attachment position and orientation.
I know it is not enough to specify a placement. Other programs simply generate random values when not enough information is provided, which is fine for many cases. I have already solved this problem using Python. As you, I do not know the C++ code because I did not program it. But in any case I thin...
- Fri Sep 29, 2023 10:34 pm
- Forum: Help on using FreeCAD
- Topic: Independently control attachment position and orientation.
- Replies: 5
- Views: 711
Re: Independently control attachment position and orientation.
I do not know the code for the attachments, but I want to ask this anyway. How hard would it be to implement an attachment that will allow to position at the center of mass of a reference geometry, while independently control the orientation by providind a line (z axis parallel to this line); a vert...
- Fri Sep 29, 2023 6:52 pm
- Forum: Help on using FreeCAD
- Topic: Independently control attachment position and orientation.
- Replies: 5
- Views: 711
Independently control attachment position and orientation.
Hi. I am doing some work that extensively relies on local coordinate systems. The thing is that I find it very difficult to achieve some placements for a LCS in reference to other geometries using the attachment options provided: https://wiki.freecad.org/Part_EditAttachment Take for instance the nex...
- Wed Aug 09, 2023 3:21 pm
- Forum: FEM
- Topic: Generate FEM file for MBDyn using FEM workbench.
- Replies: 4
- Views: 1251
Re: Generate FEM file for MBDyn using FEM workbench.
Hello Jose, first I want to thank you ... Regards, Benny Hello Benny. Thank you for your response. Yes, I am aware of the macro for CodeAster. I have tried it but did not succeed, most likely because it is outdated, as you have noticed. I have read the macros´s code, but it was not very useful for ...