Turn on suggestions

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

Showing results for

- Siemens PLM Community
- NX Manufacturing
- Discussion Forum - NX Manufacturing
- [Post Builder] two vector angle value

Options

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

[Post Builder] two vector angle value

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

10-10-2017 07:36 AM

Hi

Machine is Horizontal BC 5axis type.

In Baxis is 30, Caxis is rotating and drilling.

I want to output the C axis rotation value through two vector values.

So I set it as follows.

The axis unit vector is set to (0,1,0).

Theta_Deg is "30", theta_rad is "PI()*30/180"

martix is

Vector-1 is

mom_tool_axis(0) : -0.0213876645487178

mom_tool_axis(1) : 0.0943023524727549

mom_tool_axis(2) : 0.995313836999795

Vector-2 is

mom_tool_axis(0) : -0.0580503221750321

mom_tool_axis(1) : 0.182820391187503

mom_tool_axis(2) : 0.981431028988498

Applying the Baxis rotation value, Vector-1 and Vector-2 can get the following values:

Finally, we can get the angle between two vectors.

I applied it to Post Builder and output it, but the value is output differently.

Could you tell me what the cause is?

5 REPLIES

Re: [Post Builder] two vector angle value

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

10-10-2017 08:22 AM - edited 10-10-2017 08:23 AM

Angles generated by PB/NX are good, why want you to calculate your own ?

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

#♫ PB, 5ax, itnc, nx, vericut ♫ #

#♫ PB, 5ax, itnc, nx, vericut ♫ #

Re: [Post Builder] two vector angle value

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

10-10-2017 08:28 AM

thank you.

Re: [Post Builder] two vector angle value

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

10-10-2017 08:42 AM

OK but why you want to calculate rotations from tool axis vector when you have angle pos. generated by nx?

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

#♫ PB, 5ax, itnc, nx, vericut ♫ #

#♫ PB, 5ax, itnc, nx, vericut ♫ #

Re: [Post Builder] two vector angle value

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

10-10-2017 08:37 PM

The alternate angle solutions are already calculated

From the post bulder MOM Varibles Browser

*mom_alt_pos*

*Numeric Array(5)*

*The alternate machine tool coordinates (X,Y,Z,fourth axis,fifth axis) for the current GOTO. This value is different from mom_pos if the kinematics of the machine tool is five axis. Otherwise, mom_alt_pos will be the same as mom_pos. For five axis machine tools, there are always at least two valid solutions when converting the input coordinates (X,Y,Z,I,J,K) into machine tool coordinates (X,Y,Z,A,B). The optimal solution will be mom_pos, the alternate solution will be mom_alt_pos..*

Re: [Post Builder] two vector angle value

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

10-11-2017 07:06 AM

I think whn you have mcs in the midle of the part there is a correct rotation of axis, but XY not zeros.

When you has mcs in one hole – rotation is generated to this mcs.

So there could be diference.

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

#♫ PB, 5ax, itnc, nx, vericut ♫ #

#♫ PB, 5ax, itnc, nx, vericut ♫ #

**Learning Advantage** Learn NX CAM online at your own pace (Login required)

**Manufacturing Tutorials**

Already have NX CAM installed? Get hands-on with the in-software tutorials

**Product Support**

Contact Global Technical Access Center (GTAC)

Follow Siemens PLM Software

© 2019 Siemens Product Lifecycle Management Software Inc