- Forums Home
- >
- AutoCAD Community
- >
- AutoCAD Forum
- >
- Shortest Distance between Curves On Center-Line Help

AutoCAD Forum

Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

This page has been translated for your convenience with an automatic translation service. This is not an official translation and may contain errors and inaccurate translations. Autodesk does not warrant, either expressly or implied, the accuracy, reliability or completeness of the information translated by the machine translation service and will not be liable for damages or losses caused by the trust placed in the translation service.
Translate

Topic Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

Message 1 of 4

Anonymous

957 Views, 3 Replies

04-01-2021
09:38 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report

04-01-2021
09:38 PM

Shortest Distance between Curves On Center-Line Help

Hello,

Can someone please help me out? I am trying to determine the longest sections of straight pipe I can run between two curves with the __least amount of intersections__. The caveat is that the intersection points must always be on the centerline between the two boundaries/curves. Lines (pipes) must be within the two boundary curves or can be tangent at most. Every intersection of pipe saved saves the client money.

Can someone suggest a workflow to help solve this? I am trying to find a AutoCAD tool or math equation which would yield the 100% best scenario every time to have the least amount of intersections and least amount of pipe. I know that mathematically there should only be one correct answer/scenario for any given curve and the equation/tool to find that out is my goal right now. There are also limits on single lengths of pipe that can be used. Thank you in advance.

3 REPLIES 3

Message 2 of 4

04-02-2021
04:01 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report

04-02-2021
04:01 AM

Draw a LINE from anywhere on the center-line curve, PERpendicular to the inboard bounding curve. ROTATE that Line 90° about its inboard end in either direction. EXTEND it both ways to the center-line curve.

If the result is not too long, you can use MIRROR, with the mirror line being from an ENDpoint to the CENter of the curve, to get adjacent runs.

If it's too long, you can SCALE it down to the maximum length using the Reference-length option. Then select it, grab the grip at one end, hit Enter until the Rotate option comes up, pick the Copy option within that, and rotate the copy 90° in the direction that puts the copy aiming outboard, i.e. crossing the center-line curve. MOVE the source Line from the common ENDpoint to the INTersection of the rotated copy with the center-line curve. MIRROR as above for adjacent runs.

Either way, you will probably need to ROTATE the collected runs about the CENter of the curves, to get the ends to land in a workable place.

Message 3 of 4

04-02-2021
04:23 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report

04-02-2021
04:23 AM

Hi,

you might solve this using parametrics.

- First fix your base curves
- then set your standard objectsnap to
**NEA**rest - activate
**CONSTRAINTINFER** - draw polylines along the outer curve
- now use constraint "tangent" to bind the polyline segments to the inner curve.

- alfred -

------------------------------------------------------------------------------------

Alfred NESWADBA

ISH-Solutions GmbH / Ingenieur Studio HOLLAUS

www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2024

------------------------------------------------------------------------------------

(not an Autodesk consultant)

Alfred NESWADBA

ISH-Solutions GmbH / Ingenieur Studio HOLLAUS

www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2024

------------------------------------------------------------------------------------

(not an Autodesk consultant)

Message 4 of 4

04-02-2021
05:08 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report

04-02-2021
05:08 AM

Assuming the "curves" in your drawing are arcs, the length of the straight line in your drawing is:

L = 2 * Sqrt( rc^2 - ri^2)

where rc = radius of center line arc, ri = radius of inside curve

This ignores the diameter of the pipe. To include the pipe diameter use:

L = 2 * sqrt(rc^2 - (ri + diaPipe/2)^2)

where diaPipe is pipe diameter

lee.minardi

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

Can't find what you're looking for? Ask the community or share your knowledge.