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

Showing results for

Showing results for

- Community
- Creo Parametric
- Customization
- Reg: 2D arc definition through toolkit

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

Aug 01, 2017
07:47 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Aug 01, 2017
07:47 AM

Reg: 2D arc definition through toolkit

Hi All,

I wanted to know how to calculate start and end angle of an arc with the following data known:

1. Starting Point

2. Ending Point

3. Center of the arc

4. Radius

Any information related to this will be very helpful.

Thanks in advance!

Srikanth

3 REPLIES 3

Aug 02, 2017
01:17 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Aug 02, 2017
01:17 AM

Above information is required to draw a sketch (2D Arc)

Aug 02, 2017
06:53 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Aug 02, 2017
06:53 AM

It's basic geometry. You have a center point, you have two end points. Define a vector from the center point to each of the end points. Calculate the angle from each vector with respect to the reference axis (X axis, I believe). The only thing that might be tricky about it is if the function you are feeding these values into needs them in a range of zero to 360 degrees, or -180 to +180 degrees.

Aug 02, 2017
07:30 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Aug 02, 2017
07:30 AM

Thanks a lot !

As you said my main intention is to understand what values to be allocated in 2D arc structure. As you mentioned, will it be zero to 360 degrees, or -180 to +180 degrees.