Search found 522 matches
- Thu Feb 29, 2024 5:50 am
- Forum: FEM
- Topic: Macros to select Faces & Vertexes
- Replies: 7
- Views: 888
Re: Macros to select Faces & Vertexes
I have inserted the code for a Select Faces Macro below. I tried the ChatGTP approach again but "IT" couldn't produce a code that worked so I resorted to "Human Intelligence" ;) I uploaded my attempt at the code that I had sent to ChatGTP on the Python Forum and Roy_043 went thro...
- Mon Feb 26, 2024 4:26 am
- Forum: Python scripting and macros
- Topic: Select Faces Macro
- Replies: 36
- Views: 36744
Re: Select Faces Macro
Roy, your revised macro works perfectly and is a thing of beauty. Furthermore you have come up with a code that ChatGTP was unable to produce after at least a dozen failed attempts. Bravo! With your permission I would like to post it on the FEM forum and acknowledge it as your code if that is OK wi...
- Sat Feb 24, 2024 5:21 am
- Forum: Python scripting and macros
- Topic: Select Faces Macro
- Replies: 36
- Views: 36744
Re: Select Faces Macro
Not sure about the intention, but this code works: Thank You. Your code eliminates the problem I had with the macro selecting in some instances faces that run tangent to each other. However, my intention is as follows:- if I choose the Z axis radio button and set the depth range from 9 to 10, I am ...
- Fri Feb 23, 2024 10:33 am
- Forum: Python scripting and macros
- Topic: Select Faces Macro
- Replies: 36
- Views: 36744
Re: Select Faces Macro
Thanks guys, I will run Roy’s code over the weekend and post.
- Fri Feb 23, 2024 6:18 am
- Forum: Python scripting and macros
- Topic: Select Faces Macro
- Replies: 36
- Views: 36744
Re: Select Faces Macro
Hi A) ow with chat GPT B) then now for visualize the level of selection example: mario A) Yes Mario - chat GPT. B) OK - I will ask “it” for further input and post the outcome in a couple of days 8-) I haven't attempted this yet because I wanted to come up with the radio button option for the face s...
- Thu Feb 15, 2024 6:49 am
- Forum: FEM
- Topic: Macros to select Faces & Vertexes
- Replies: 7
- Views: 888
Re: Macros to select Faces & Vertexes
What do you mean by "scary stuff"? In such short time, Laurie mastered programming, that's scary. Lol. Given my prior knowledge of programming some might even say "unbelievable" John :lol: Thomas, I think it is scary because I came up with a solution to my problem which would ha...
- Wed Feb 14, 2024 11:38 am
- Forum: FEM
- Topic: Macros to select Faces & Vertexes
- Replies: 7
- Views: 888
Re: Macros to select Faces & Vertexes
Here is an update - I asked Chat GPT to modify my code and it did :shock: scary stuff. from PySide.QtGui import * from PySide.QtCore import Qt import FreeCAD as App import FreeCADGui as Gui class VertexSelector(QWidget): def __init__(self): super(VertexSelector, self).__init__() ##vars self.axis = 2...
- Wed Feb 14, 2024 11:01 am
- Forum: Python scripting and macros
- Topic: Select Faces Macro
- Replies: 36
- Views: 36744
- Wed Feb 14, 2024 6:44 am
- Forum: Python scripting and macros
- Topic: Select Faces Macro
- Replies: 36
- Views: 36744
Re: Select Faces Macro
Hi for the axis you can use QRadioButton() mario I will look into the radio button and also, now that my interest has been peaked, see if I can set a range for the Depth (self.depth) I revisited this today and have posted the code below. I have a confession to make :oops: I asked chat GPT to do it ...
- Tue Feb 06, 2024 11:57 pm
- Forum: FEM
- Topic: How to compute the resistance of this metallic part (steel angle iron), for a joist fitted in an I-profile beam?
- Replies: 27
- Views: 8730
Re: How to compute the resistance of this metallic part (steel angle iron), for a joist fitted in an I-profile beam?
Thank you very much @Laurie Hartley, @thschrader and others for your answers! I'm thinking about using on-the-shelf parts : what do you think about the following solution? I am no engineer jabs7698 but I wish I had a dollar for every connection I bolted up as a steel erector and scaffolder, during ...