Sign in to follow this  
JB7280

Reading angle of a plane

Recommended Posts

This feels like a dumb question, but I can't figure it out.  When I create a plane, say, from geometry, or a solid face, how can I find the angle of that plane, relative to the WCS?

Share this post


Link to post
Share on other sites

If I'm sure what I created, I will create a single drill point operation and post it

Share this post


Link to post
Share on other sites
11 minutes ago, JParis said:

If I'm sure what I created, I will create a single drill point operation and post it

Am I crazy, or does it seem like there should really be an easier way?

  • Like 1

Share this post


Link to post
Share on other sites

If you right-click on the plane and select Report, you can get the transformation matrix for the plane/get an idea of vector. Dynamic analyze on an entity in that plane will also give you IJK vector values. Neither of this is an actual angle, which you'd have to measure relative to another planar component. These are just the two tools I use to examine plane vector.

  • Like 3

Share this post


Link to post
Share on other sites

seems like i've asked myself this same question many times , been doing like JParis and doing test rotations if unsure 

12 minutes ago, JB7280 said:

m I crazy, or does it seem like there should really be an easier way?

 

Share this post


Link to post
Share on other sites

As, JParis said:

If it's a compound angle that I want to machine on 4x. Create a plane or hole axis, post it with a 5x-post.  Than you'll know the two angles are

 

Share this post


Link to post
Share on other sites
4 hours ago, JB7280 said:

Am I crazy, or does it seem like there should really be an easier way?

We have asked for better ways. I think having an angle adjustment and value in the WCS manager would be a win win. Verisurf has a good way to do this, but it requires you have your measurement add-on. Make a report and then add that plane to their report manager from CAD. then you can report out the angles from the WCS or any WCS you want and done.

  • Like 1

Share this post


Link to post
Share on other sites
Guest
6 hours ago, JParis said:

If I'm sure what I created, I will create a single drill point operation and post it

That seems like the most logical way to do it, since it ensures Mastercam yielded the correct result.

You could automate the process by calling a 5axis drill op via the api then internally checking or auto-posting out the nci or nc data then parsing the information back into mastercam and dispaying the results in the mclogr or drawing new entities/graphics into your mastercam file.

Wouldn't take more than a few seconds

Share this post


Link to post
Share on other sites

The biggest hurdle is Mastercam's lack of Kinematic awareness. The software doesn't tie the planes to any rotary angles. It is simply all Matrix and Vector math, which is performed inside the Post Processor.

It would be wonderful to have a way to tie the kinematics of the Machine Definition, to some utility which could read the plane data (matrix), and compare it back to the WCS matrix, to derive the plane angles.

The big issue is that currently there is nothing that guarantees your MD is tied to the Post Processor logic. Some builders (like Dave at Postability), tie their Posts to the MD settings.

Plus, you have to also consider Rotary Axis Limits, and also Miscellaneous Integer Values, which allows you to pick a certain angle/pair solution.

I must say this is something that is directly controlled in TopSolid, and is amazing to see. Every Toolpath has two pairs of angle solutions, only if both are valid. If one is outside the travel limits, it won't even be presented. 

  • Like 4

Share this post


Link to post
Share on other sites
3 hours ago, byte me said:

Wouldn't take more than a few seconds

A new Chook? 👍🏼

  • Like 1

Share this post


Link to post
Share on other sites

I use Analyze Dynamic for single angle planes

 

  • Like 3

Share this post


Link to post
Share on other sites

If you know your machine angles you can google "matrix math" and have a pretty decent result in excel.  Also, if it's not the resolution you want, keep in mind the complimentary angle is probably what you're looking for.

Share this post


Link to post
Share on other sites
Guest
On 6/26/2020 at 11:06 PM, #Rekd™ said:

A new Chook? 👍🏼

I worked on the idea a bit,

I made a mastercam 2018 chook that creates a drilling toolpath from

model prep -> hole axis geometry

using the level of the selected entities as the tool number,

the arc diameter as the drill diameter ,

and the line length as drill length.

Next I just have to figure out how to post it,

I know how to post nci files but I haven't succeede to make the nc file yet.

Seems that there were some changes to the

|| cut pattern -> entity type ||

section for Mastercam  2020 operation,

I have to dig into that a bit more before I can compile the 2020 - 2021 versions.

Appreciate any feedback, I haven't made a 5-Axis toolpath before.

IVectorAdd-In.dll

IVectorAdd-In.ft

LICENSE

Any Error Messages Are output to the McLogr..

Source code on : github

Share this post


Link to post
Share on other sites
On 6/27/2020 at 2:02 PM, Colin Gilchrist said:

I must say this is something that is directly controlled in :censored:, and is amazing to see. Every Toolpath has two pairs of angle solutions, only if both are valid. If one is outside the travel limits, it won't even be presented. 

Not to mention, you can just choose analyse angle and click on the plane and it will tell you. *cough*

  • Like 1

Share this post


Link to post
Share on other sites
16 hours ago, Mick said:

Not to mention, you can just choose analyse angle and click on the plane and it will tell you. *cough*

Show me.

Share this post


Link to post
Share on other sites
16 hours ago, jlw™ said:

Show me.

I don't believe it is appropriate, as this is a Mastercam forum, and not a :censored: forum :)

Share this post


Link to post
Share on other sites
On 6/26/2020 at 12:25 PM, JParis said:

If I'm sure what I created, I will create a single drill point operation and post it

I do the same.

On 6/26/2020 at 9:02 PM, Colin Gilchrist said:

The biggest hurdle is Mastercam's lack of Kinematic awareness

I have said that for years. I thought I was the only one who realized it.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

Join us!

eMastercam - your online source for all things Mastercam.

Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.

Follow us