XANSYS Message: 307 [Go back to message list]
[bookmark on del.icio.us]
No rating yet
Rate item:

Subject: Re: Sorting Lines by Type (Straight, Arc, etc)
Author: Chris Rogers
Date: 1999-01-18 17:13:00

At 5.5 an option would be to use the LX, LY, LZ, LSX, LSY, and LSZ functions
that return X, Y and Z co-ordinates or slope at given locations on the line.

==+==+==+==+==+==+[ http://www.cr-engineering.co.uk ]+==+==+==+==+==+==+==
Eur Ing Chris Rogers - Technical Director
CREA Consultants Limited Engineering Solution Providers
cr-ea@c... Committed To Excellence

-----Original Message-----
To: xansys@o... ; "'xansys@o...'
<"'xansys@o...' >>

>From: "Scott Reiss"

>Peter Budgell and John Swanson had good suggestions for finding whether the
>line is straight or not. To determine whether a "not-straight" line is an
>arc (as opposed to another type of curve) you can use the following;
>Characterization of other curve types would be much more difficult. Hope
>this helps!

> ! Perform test to check whether arc is part of circle.
> ! Based on equations; chord=2*rad*sin(ang/2) and length=rad*ang
> ! where ang (radians) is solved for in first equation and placed in
> ! second equation. Use percent difference between chord and equations
> ! as check where % difference must be less than 0.5%.
> archck=100*abs(chord-2*rad*sin(length/(2*rad)))/chord
> ! If equations are equal it must be an arc so continue.
> *if,archck,lt,0.5,then

>Original Text
>From: "Jean-Pierre Dube" , on 1/18/99 10:35 AM:
>From: "Jean-Pierre Dube" Dear ANSYS Users,Is it
>possible (probably by using APDL)to distinguish between a line that is
>straightand one that is an arc?Thanks,Jean-Pierre Dube0Q64 MCAD Tools and
>MethodsNortel Networks(613)
>763-8019dubejp@n...

>-----------------------------To unsubscribe from this mailing list, or to
>change your subscriptionto digest, go to the ONElist web site, at
> andselect the User Center link from the menu bar on
>the
>left.-----

>12/98 - Present on Archives
>prior to 12/98 on


Posts possibly associated with message #307AuthorDateScore
291Sorting Lines by Type (Straight, Arc, etc)Jean-Pierre Dube1999/01/18 
292Re: Sorting Lines by Type (Straight, Arc, etc)Peter Budgell1999/01/18 
293Re: Sorting Lines by Type (Straight, Arc, etc)John Swanson1999/01/18 
295Re: Sorting Lines by Type (Straight, Arc, etc)Scott Reiss 
307Re: Sorting Lines by Type (Straight, Arc, etc)Chris Rogers1999/01/18