Search found 391 matches
- Sat Mar 02, 2024 6:16 am
- Forum: Python scripting and macros
- Topic: [Solved] How to retrieve Hole information from model
- Replies: 15
- Views: 1431
Re: [Unsolved] How to retrieve Hole information from model
@bdm' s clever idea should work. edwilliams16 looks like you are right about bdm’s code. I’m playing and testing it and studying it more. bdm I didn’t understand what your code was doing, it is impressive. I updated my FreeCAD for this and the screens are acting weird, I’m sure they just need adjus...
- Fri Mar 01, 2024 7:22 pm
- Forum: Python scripting and macros
- Topic: [Solved] How to retrieve Hole information from model
- Replies: 15
- Views: 1431
[Unsolved] How to retrieve Hole information from model
martin.proks edwilliams16 bdm Thanks for your information. I can’t figure out how to get the selected hole to connect to the patterns hole information in a positive link. Problem: The pattern in the tree “Hole002” contains the information for the holes in that pattern, tapped, Countersunk, etc. But...
- Thu Feb 29, 2024 7:12 pm
- Forum: Python scripting and macros
- Topic: [Solved] How to retrieve Hole information from model
- Replies: 15
- Views: 1431
Re: How to retrieve Hole information from model
@edwilliams16edwilliams16 wrote: ↑Thu Feb 29, 2024 6:48 pm This looks to be a variant of TNP We can work our way back down the feature tree with
Thanks Ed. Hopefully some has a solid answer. Meanwhile I’ll try grabbing the parents. I started to think my mind was gone.
Dan
- Thu Feb 29, 2024 5:09 pm
- Forum: Python scripting and macros
- Topic: [Solved] How to retrieve Hole information from model
- Replies: 15
- Views: 1431
Re: How to retrieve Hole information from model
s1[0].Object is the Hole object and you can access all its Thread properties. Is that what you needed? Hi Ed, This is what I need but I still can’t get the hole info. When I use the code below I get the info for Pocket001 not for the holes. A side note: A lot of code in this program has come from y...
- Thu Feb 29, 2024 4:27 am
- Forum: Python scripting and macros
- Topic: [Solved] How to retrieve Hole information from model
- Replies: 15
- Views: 1431
Re: How to retrieve Hole information from model
Where do I find the hole PeCAD marameters in Freodels? I am still trying to retrieve the tap sizes from Hole, Hole001, and Hole002. Martin’s code works if I enter “Hole001” etc. But when I select a hole I cannot find the name of the sub-feature to automate the process. To show my problem I have add...
- Wed Feb 28, 2024 1:34 am
- Forum: Python scripting and macros
- Topic: [Solved] How to retrieve Hole information from model
- Replies: 15
- Views: 1431
- Tue Feb 27, 2024 11:47 pm
- Forum: Python scripting and macros
- Topic: [Solved] How to retrieve Hole information from model
- Replies: 15
- Views: 1431
Re: How to retrieve Hole information from model
obj_h = App.ActiveDocument.Body.getObject('Hole') obj_h.Diameter Thanks Martin. Your code does get the information I need but now I'm having problems selecting and retrieving the name of the hole. In the attached part file there are three hole patterns. In the Model treeview the labels are Hole, Ho...
- Tue Feb 27, 2024 7:34 pm
- Forum: Python scripting and macros
- Topic: [Solved] How to retrieve Hole information from model
- Replies: 15
- Views: 1431
Re: How to retrieve Hole information from model
Here is the file I have been using. The smaller hole does not have threads, the two larger holes has some.
Thanks for looking at this.
Dan
Thanks for looking at this.
Dan
- Tue Feb 27, 2024 4:32 pm
- Forum: Python scripting and macros
- Topic: [Solved] How to retrieve Hole information from model
- Replies: 15
- Views: 1431
[Solved] How to retrieve Hole information from model
When I select the hole in this part the text box shows the diameter, length, etc. In this case the hole is tapped with a ¼- 20 thread. I would like to show the tap size in the textbox.
Where do I find the hole Parameters in FreeCAD models?
Thanks.
Dan Miel
Where do I find the hole Parameters in FreeCAD models?
Thanks.
Dan Miel
- Fri Feb 23, 2024 5:13 am
- Forum: Help on using FreeCAD
- Topic: Reading Coordinates in A2Plus workbench
- Replies: 2
- Views: 243
Re: Reading Coordinates in A2Plus workbench
If two Bodies are located in 3D in an A2Plus assembly, is it possible to obtain the horizontal and vertical distances distances between them on (for example) the XZ-plane? The QuickMeasure add-on may be the tool you are looking for. To install: Go to Tools > Addon manager. Use the control key and s...