How to make a hole w/ (fromPoint, toPoint, diameter) in C++

How to make a hole w/ (fromPoint, toPoint, diameter) in C++

kevin
Enthusiast Enthusiast
387 Views
0 Replies
Message 1 of 1

How to make a hole w/ (fromPoint, toPoint, diameter) in C++

kevin
Enthusiast
Enthusiast

Every function I see in ExtrudeFeature.h requires at least one face, body, BRep ,vertex, plane.

I'm really stretching C++'s legs here and have generated the coordinates for a few thousand holes to drill.

Problem is I can't figure out how to drill or extrude a hole with a diameter & start/stop coordinates.

I feel like I'm just missing something like maybe the hole 3D Points are just numerated somehow and passed on but I've spent a few days now and can't figure it out, I've written the whole thing including logic except for the actual drill part.

Winner of solution gets a free Pizza

Attached is a screen shot of my tears

help.png

 

0 Likes
388 Views
0 Replies
Replies (0)