How to Create an Elliptical Cutout with Uniform Gap for an Angled Pipe in Inventor?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi everyone!
I have a problem.
How to calculate an elliptical cutout with a uniform gap for an angled pipe in a flat plate using iLogic?
Here are the parameters I have:
A 2D sketch calculated from the top of the plate and extruding a hole. It has two parameters: the major in the X axis and the minor one in the Y axis at coordinates 0-90 and 180-360.
The outside diameter of the pipe pipe_od.
The angle of the pipe relative to the plate normal pipe_angle.
The thickness of the plate plate_thk.
The amount of gap (e.g. 0.0625).
The plate is flat, but the pipe is at an angle.
The hole is cut perpendicular to the plate, not along its axis.
Therefore, the cutout in the plate must be elliptical.
I need to implement this correctly in Inventor iLogic so that the cutout automatically updates when the pipe diameter, angle, or plate thickness changes.
The problem with the calculations is that in the ellipse at angles of 0-90 and 180-360 everything is fine, but at diagonals of 45-225 and 135-315 degrees they are much narrower than in large and small coordinates.
How to create such an elliptical cutout correctly in Inventor using iLogic parameters? Do I need to build the ellipse directly in the sketch using code, or is there a more convenient approach in the Inventor API to make this element parametric?
Thanks in advance!
Example image, side view along the x-axis.