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:
Hi friends
For setting depth of drilling operation using Chooks i am using following code.
but unable to work for setting circular milling and ThreadMilling depth using this function.
For ThreadMilling i am able to set thread depth using
op.u.thdmill.thread_depth=oOperation.GetPointAt(0).GetDepth();
But could not able to set depth for circular milling operation (circmill).
Can any body tell me how to set this depth?
Also the points in threadmilling operations are having differnt depths. How to set this or I need to add seperate operation for each location.
Thanks in advance
Ajit
ent ent_pt;
ent_pt.u.pt[X]=oPoint.GetX();
ent_pt.u.pt[Y]=oPoint.GetY();
ent_pt.u.pt[Z]=oPoint.GetZ();
ent_pt.id=P_ID;
ent_pt.eptr=0;
store_ent(&ent_pt, &ptr_pt, ALIVE_BIT, main_color, main_level,main_attrib, &ok);
// error message should be display
init_tp_ent(&ent_pt,P_ID,tp_id,entry_method,ent_pt.u.pt,tval,&op,&tp);
tp.u.tp.u.pt.z_depth =oPoint.GetDepth();
store_ent_assoc( &tp, &ptr_tp, TP_ID, &ok);
// update operation
op.db.ent_count++;
op.db.disp_count++;
Hi Iskander,
The adding the Chooks in menu its not working.
When I add menu name more than 8 char it display name in menu but dll name only take 8 char.
when i click on menu it ask name of dll up to 8 char only
If any body know about this please let me know
Thanks
Ajit
Hi Friends
I Could not able to give my dll name of Chook more than 8 Characters.
Is it name limited only 8 Characters?
If any one know about this please reply.
Thanks in advance.
Ajit
Hi friends
I try to verify CustomTools(Form Tool) opertion in Inch but unable to verify custom tools in MM unit.
I have read some where in old post that dia of custom tool shuld be 1 unit.
Any body give me any idea about this
Thanks in advance
Ajit
Hi Friends
I have written Chooks using MasterCAM version 8.1.1
Is this chook(dll) will run on newer version (MasterCAM 9/10). or I have to write again this Chooks using new mastercam version.
Thanks in advance.
Ajit
Thanks to all
I asked G83 and G73 for Milling Machine only.
I select lathe Icon by misstake only.
Can any body explain about my second question. ie G92.5 and G71.1
What is mean by this G code.
Thaks
Ajit
Hi friends
G73 - High Speed Peck Drilling Cycle
G83 - Deep Hole Drilling Cycle
What is differnce between G73 and G83 canned cycles. When we use this cycles? Or this are Controller dependent.
Also I found some CNC code containing G codes Like
G92.5 R0.
G71.1
What is the above G Codes means.
Thanks in advance.
Ajit
Hi Friends
I am wrtting chooks for importing differnt operation in to mastercam from txt file.
Some operation are used some standard sub programs like for thread milling or counter boreing.
While importing such special operation into mastercam so that only location of this operation is ouputed after that subprogram call will be made in cnc code.
eg.
...
G00X20Y10
G00Z1.0
M98P2500
G00Z1.0
G28X0Y0
...
So while Importing this operation which operation type should select and where i should mention this Sub program in Chooks.
Thanks in advance
Ajit
Thanks Jack.
Also I see that eia code having started as
G92.5R0.
Is this part of eia file or standard code as G92 G99 etc.
Also in eia code for X Y Z location some #1 #2 etc constants are used
like #1=20 #2=30 #3=10
G00X#1Y#2Z#3
what is meaning of #1 ,#2 etc??
Thanks you
Ajit
Hi Friends
Does anybody using .eia files for there NC code.
Where i get more details Information about this eia files( Code Syntax)
Is is possible to generate CNC code in .eia Format from master CAM using any post.
Thanks in Advance.
Ajit
Hi robk,
I make modification as told you in earlier post
stagetool : 1 #0 = Do not pre-stage tools, 1 = Stage tools
but out put comes like follow
N104T1M6
N106G0G90G54X1.66Y1.5S3800M3
N108G43H1Z.1M8T0
Each time standby tool number comes tobe T0
whether i need some more modification
Thanks
Ajit
Hi friends
I need to modify post for my fanuc Contoller 160 i
Only i have to made change in NC code that In Tool No of Present operation should be set in prevous operation.
eg.
0G90G54X10.0Y4.1Z1.G43H3S1000M3T10
G0Z0.0
..
In above Code T10 indicate next tool to be ready in Tool changer ie next operation tool Number. Tool at Spindle is T3.
Where should i made changes in post so that i get this done while generating CNC code.
Thanks in advance
Ajit
Hi friends
Can anybody explain me how this WCS ie G54,G55 G56 used in actual Milling machining process. As i have only idea about G92 to set PRZ while machining. ie we are filling this values of PRZ in prgram while running it.
How actually this G55 etc are set on the CNC machine. Are they specified for each faces??
like for Top -54 Front 55 Side 57 etc.
Thank you in advace
Ajit
Hi HevyMetl
Actually i need differnt Text on differant Parts.
So that i need to create Chook to create CNC.
because all other operation required are bring into mastercam using Chooks.
if any idea please reply
thanks you
Ajit
Hi friends
I want to Create CNC code for Machining lettters in differnt faces of block.with me the information regarding Text Height, Location, and font style etc.
Is it possible through Chook to create text in mastercam and also generate
CNC code using CHooks for machining this letter on the surface of block.
http://www.emastercam.com/ubb/ultimatebb.p...1434;p=1#000007
I got above post on fourm regarding v8_note but i could not able to create text in master cam using this .
Can any body tell me how to set text in this function which i want to draw in mastercam
InitNOTE (&entity);
calc_note(&entity, view, ref_pt, text);
Thanks in advance.
Ajit Patil
Hi friends
What is differance between the follwing case
If i am using 0.25 Drill for one of Operation and
for verification i used two method of tool display while verification
1) First i set to Profile in tool to Auto
2) Next i send Profile to Custom.
Please anybody give some comments on above.
Thanks in advance.
Ajit
Hi friends
If i want to add tapping in metric Unit ie M10 tap in Block having all other Dimension and tooling in Inch system. How to do this??
what dimension to be added in M10 Tap details. wether it is in mm or Inch. SO that while verifying i will get correct size tool.
Thank You in advance
Ajit
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.