Search found 113 matches

Go to advanced search

by babaroga
Mon Jul 27, 2020 8:46 pm
Forum: TechDraw
Topic: [FIXED] Possible bug, Unable to select drawing element if there is dimension line already present
Replies: 6
Views: 272

Re: Possible bug, Unable to select drawing element if there is dimension line already present

Interesting, even if dimension is hidden, line or points are not selectable. This is same file from first post. Screenshot_20200727_223703.png But, even more interesting is, when I unhide dimension, dimension line and extension lines are gone. Screenshot_20200727_223752.png I have to hide it again a...
by babaroga
Mon Jul 27, 2020 11:18 am
Forum: TechDraw
Topic: [FIXED] Possible bug, Unable to select drawing element if there is dimension line already present
Replies: 6
Views: 272

[FIXED] Possible bug, Unable to select drawing element if there is dimension line already present

Hello, After your last commits from yesterday and today, something is broken. If there is some dimension on drawing, I am unable to select Lines and points under it. So, after placing dimensions, I am unable to select top left, bottom left and bottom right point and also left and bottom line. Screen...
by babaroga
Wed Jul 08, 2020 9:54 am
Forum: Python scripting and macros
Topic: Extraction of Hole feature properties
Replies: 27
Views: 1172

Re: Extraction of Hole feature properties

Hello, I made some test with your script and it works very well. To be honest, I still don't understand, completely, how it works, but working on it. Unfortunately, these days I don't have much free time to play with it. However I will also like to test it on assemblies (a2+) and rotated parts. Mayb...
by babaroga
Sat Jul 04, 2020 8:45 am
Forum: Python scripting and macros
Topic: Extraction of Hole feature properties
Replies: 27
Views: 1172

Re: Extraction of Hole feature properties

Yes I did. I was not able to find hole extraction part of code. However, for my machines I need to generate something similar to drilling table. When I feed it to machine software, it will generate native, optimized program. My macro, generally do what I want. It successfully sorts out fillets, roun...
by babaroga
Sat Jul 04, 2020 7:05 am
Forum: Python scripting and macros
Topic: Extraction of Hole feature properties
Replies: 27
Views: 1172

Re: Extraction of Hole feature properties

I did not understand the problem with countersinking. Is it right, that you want to have both holes as a combination extracted? I think, I can modify my code to solve this. OK, It is like this. If I have two-step hole like this: 20200704_084015.jpg ...we will detect two holes, - Hole A with center ...
by babaroga
Thu Jul 02, 2020 7:05 am
Forum: Python scripting and macros
Topic: Extraction of Hole feature properties
Replies: 27
Views: 1172

Re: Extraction of Hole feature properties

Yes, It would be good one.
However I thought that Hole feature (as its name already says) is intended for that purpose. I mean, If you have Hole created, you mean to drill it. Otherwise, pocket can be used for that feature.
by babaroga
Wed Jul 01, 2020 9:36 pm
Forum: Python scripting and macros
Topic: Extraction of Hole feature properties
Replies: 27
Views: 1172

Re: Extraction of Hole feature properties

Sorry, I sent file for testing if filleted edges will be recognized as holes. My approach is different. For counterdrill holes I am checking if two holes have same two coordinates, depending on edge or face ( X+Y Y+Z X+Z) and have same orientation (vector component). It will be drilled in two steps,...
by babaroga
Mon Jun 29, 2020 7:36 am
Forum: Python scripting and macros
Topic: Extraction of Hole feature properties
Replies: 27
Views: 1172

Re: Extraction of Hole feature properties

This is what I have so far. There is some code to detect rounded corners and fillets. I am still struggling with detection of countersunk and counterbored holes. import Part AllObjects=App.ActiveDocument.Objects for Obj in AllObjects: if Obj.isDerivedFrom('PartDesign::Body'): ##Panel size length=rou...
by babaroga
Fri Jun 26, 2020 6:18 am
Forum: Python scripting and macros
Topic: Extraction of Hole feature properties
Replies: 27
Views: 1172

Re: Extraction of Hole feature properties

3) xls/csv format for auto drilling
It is easy to do.
I already have some working code, so during weekend, I will publish hole extraction part. Currently, I am struggling with detection of countersink holes.

Go to advanced search