Jump to content

Welcome to eMastercam

Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.

Use your display name or email address to sign in:

NetHook to create planes relative to active WCS


David Colin
 Share

Recommended Posts

Hi all,

 

I really missed the way ("red plane icons") worked in Mastercam pre-2017 because they were a lot faster to create and especially to set common planes.

In 2017, theses commands have been 'simplified' (according to developpers...) and now it automatically opens plane creation window (you still can select a previously created plane in a combobox). It clearly needs much more clicks, or mouse travel to go in view manager (which is often on another screen) and mental strain to look for your plane among others...

 

Well, i had a little free time so i made a NetHook to rewrite theses commands the way they worked before. However, I improved them to suit my needs :

 

- There are 2 commands for create/set BACK plane : one for VMC which creates a plane rotating around X axis and one for HMC which creates a plane rotating around Z axis (this one is the same matrix as the standard Mastercam back plane). VMC plane is different from the standard Mastercam back plane, so pay attention with your post if you usually need standard Mastercam back plane.

- Bottom plane command creates a plane rotating around X axis (for VMC machine/useless on HMC). Again, plane matrix is different from standard Mastercam bottom plane. So pay attention.

 

If anyone find this Nethook useful and needs standard Mastercam bottom plane i can add it, just ask.

 

NetHook is attached to the post and I made a video to show you commands in action here.

 

I almost forgot: Thanks to Roger Martin who helped me to start this NetHook !

PlanesRelativeNethook.zip

  • Thanks 2
  • Like 3
Link to comment
Share on other sites
  • 2 years later...
On 10/14/2016 at 8:28 AM, David Colin said:

Hi all,

 

I really missed the way ("red plane icons") worked in Mastercam pre-2017 because they were a lot faster to create and especially to set common planes.

In 2017, theses commands have been 'simplified' (according to developpers...) and now it automatically opens plane creation window (you still can select a previously created plane in a combobox). It clearly needs much more clicks, or mouse travel to go in view manager (which is often on another screen) and mental strain to look for your plane among others...

 

Well, i had a little free time so i made a NetHook to rewrite theses commands the way they worked before. However, I improved them to suit my needs :

 

- There are 2 commands for create/set BACK plane : one for VMC which creates a plane rotating around X axis and one for HMC which creates a plane rotating around Z axis (this one is the same matrix as the standard Mastercam back plane). VMC plane is different from the standard Mastercam back plane, so pay attention with your post if you usually need standard Mastercam back plane.

- Bottom plane command creates a plane rotating around X axis (for VMC machine/useless on HMC). Again, plane matrix is different from standard Mastercam bottom plane. So pay attention.

 

If anyone find this Nethook useful and needs standard Mastercam bottom plane i can add it, just ask.

 

NetHook is attached to the post and I made a video to show you commands in action here.

 

 

 

I almost forgot: Thanks to Roger Martin who helped me to start this NetHook !

PlanesRelativeNethook.zip

 

Thank you for your nice work, David.  I have downloaded and somehow I couldn't do it.  

I created plane and I would like it to show like you did, what did I miss?

 

Thank you.

Link to comment
Share on other sites

Hello !

What is your issue exactly?

This nethook only creates planes and/or set Cplanes.

It creates planes (front/right/...) relative to active WCS then sets Cplane on this newly created plane.

If plane already exists (matrix plane+origin) in Mastercam database it will only sets Cplanes in plane manager (actually it is this exact command which disappeared with 2017 release and later)

Perhaps your issue is about video showing planes names on 3D model faces? In this case this is not part of nethook but Mastercam standard commands. It can look lightning fast and part of nethook as I probably edit/cut video.

Link to comment
Share on other sites
9 hours ago, David Colin said:

Hello !

What is your issue exactly?

This nethook only creates planes and/or set Cplanes.

It creates planes (front/right/...) relative to active WCS then sets Cplane on this newly created plane.

If plane already exists (matrix plane+origin) in Mastercam database it will only sets Cplanes in plane manager (actually it is this exact command which disappeared with 2017 release and later)

Perhaps your issue is about video showing planes names on 3D model faces? In this case this is not part of nethook but Mastercam standard commands. It can look lightning fast and part of nethook as I probably edit/cut video.

What I really love from your NetHook is, it shows the name of the plane as the video shown.  How can I do that?

 

 

Thank you for your help.

Link to comment
Share on other sites

Do you mean that window (sorry it's in french on my seat) ?

image.png.7a533257801837d79a5799b45223cacb.png

This window only opens if nethook needs to create planes : if it doesn't already exists in database. If it exists, it only sets Cplane on existing  plane and it doesn't create a copy (that's what i hated with 2017 workflow).

 

Link to comment
Share on other sites

That is nice work and looks like a cool utility, thanks for sharing. for everyone that has not seen some enhancements in mastercam 2020 there is a new feature similar to this in mastercam 2020 that lets you analyze geometry and it will tell you what has associations to said geometry. see image below. your utility is nice, dont get me wrong, but i wanted people to be aware that when they download mastercam 2020 they will get this new feature without any nethook downloads.

1.jpg

 

Link to comment
Share on other sites

Yes i saw this new addition but I guess it works only from the other side (from geometry not toolpath).

So you still needs to show/hide all levels (it can take time to refresh and be a real pain with a lot of entities in database) then you can play with this button.

image.png.1a11a01f5296264d8bed7128d45d594a.png

However, one great addition already came with 2019 is all levels visible/hidden toggle button which this nethook basically do resetting levels.

Link to comment
Share on other sites
2 hours ago, David Colin said:

Yes i saw this new addition but I guess it works only from the other side (from geometry not toolpath).

So you still needs to show/hide all levels (it can take time to refresh and be a real pain with a lot of entities in database) then you can play with this button.

image.png.1a11a01f5296264d8bed7128d45d594a.png

However, one great addition already came with 2019 is all levels visible/hidden toggle button which this nethook basically do resetting levels.

Oh i see, i didn't see that you were selecting toolpaths and viewing the geometry i was thinking you were selecting the geometry and viewing which toolpath but now i see, nice work david and thanks for sharing this.

Link to comment
Share on other sites
  • 2 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • 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

×
×
  • Create New...