ZWSOFT User Community > ZWSOFT Forums - Find. Share. Connect. > ZW3D CAD/CAM > Macro to find smallest tool size needed
Macro to find smallest tool size needed

Rank: 1

zw_admin

Newbie

posts: 0

Registered: 2012-1-14

Message 1 of 6

  Macro to find smallest tool size needed
23-08-2002 04:34 . pm | View his/her posts only
I have finished a macro that analyzes specfic part faces and tells you what the smallest tool size you will need (Smallest Radius).
At the VX prompt type: $load minrad2.vxm (make sure you file/search path is legit).
Pick the interior surfaces of the part when prompted.
And the macro should post the smallest value in the message window and also highlight the face in question with Entity Inquire.
The VX part is version 6.5

Let me know what you think.
0 Kudos

Rank: 1

Robert

Newbie

posts: 0

Registered: 2011-11-22

Message 2 of 6

Macro to find smallest tool size needed
23-08-2002 04:53 . pm | View his/her posts only
Hey Mike,

I tried it and got this error:

ERROR: Line 11, macro [Z:Mike Hallackminrad2.vxm].

I'll try again on Monday
TOP 0 Kudos

Rank: 1

zw_admin

Newbie

posts: 0

Registered: 2012-1-14

Message 3 of 6

Macro to find smallest tool size needed
23-08-2002 05:38 . pm | View his/her posts only
Than you wouldn't need me. lol

Here is the revised macro
I had to break line 11 into 2 seperate print statements and then combine.
And I moved the final print command to end.

mjh
Re-posted as:
minrad.vxm
TOP 0 Kudos

Rank: 1

Robert

Newbie

posts: 0

Registered: 2011-11-22

Message 4 of 6

Macro to find smallest tool size needed
26-08-2002 09:28 . am | View his/her posts only
Hey Mike,

Not having much luck here. I dragged the macro onto my VX6.5 session and got...

ERROR: Line 17, macro [C:driversminrad.vxm].

hmmm...
TOP 0 Kudos

Rank: 1

Robert

Newbie

posts: 0

Registered: 2011-11-22

Message 5 of 6

Macro to find smallest tool size needed
26-08-2002 09:32 . am | View his/her posts only
I tried the macro again from my local VX sh_prod directory and it seemed to work although this time I got...

The smallest radius is 3.271003 [mm] on face entity #152239
Show entity information.
ERROR: Unable to project point on face.

but at least I got the radius.

Pretty cool
TOP 0 Kudos

Rank: 1

Mike

Newbie

posts: 0

Registered: 2002-8-28

Message 6 of 6

Macro to find smallest tool size needed
28-08-2002 09:51 . am | View his/her posts only
Mike,

A most excellent use of the macro tool. COOL
TOP 0 Kudos
© 2012 ZWCAD Software Co., Ltd. All rights reserved. | About ZWSOFT | Privacy Policy | Terms and Conditions | Contact us | Site Map
All trademarks,trade names or company names referenced herein are used for identification only and are the property of their respective owners.