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:

Op #'s


Metal_Eater
 Share

Recommended Posts

From the Chook developers include file m_avars.h. Most make sense.

#define TP_CONTOUR 1 // contour

#define TP_DRILL 2 // drill

#define TP_POCKET 3 // pocket

#define TP_XFORM 4 // v7-linear array, v8-mirror, rotate, translate

#define TP_SRF_RGH_PARALLEL 5 // multi-surface rough parallel

#define TP_SRF_RGH_RADIAL 6 // multi-surface rough radial

#define TP_SRF_RGH_PROJECT 7 // multi-surface rough project

#define TP_SRF_RGH_FLOWLINE 8 // multi-surface rough flowline

#define TP_SRF_RGH_CONTOUR 9 // multi-surface rough contour

#define TP_SRF_RGH_POCKET 10 // multi-surface rough pocket

#define TP_SRF_FIN_PARALLEL 11 // multi-surface finish parallel

#define TP_SRF_FIN_RADIAL 12 // multi-surface finish radial

#define TP_SRF_FIN_PROJECT 13 // multi-surface finish project

#define TP_SRF_FIN_FLOWLINE 14 // multi-surface finish flowline

#define TP_SRF_FIN_CONTOUR 15 // multi-surface finish contour

#define TP_CHOOK 16 // for chook created operations

#define TP_MANUAL_ENTRY 17 // manual entry

#define TP_CIRCMILL 18 // version 8

#define TP_POINT 19 // point

#define TP_TRIM 20 // trimmed

#define TP_RULED 21 // ruled

#define TP_REV 22 // revolved

#define TP_LETTERS 23 // letters

#define TP_SWEPT_2D 24 // swept 2D

#define TP_SWEPT_3D 25 // swept 3D

#define TP_COONS 26 // coons

#define TP_LOFT 27 // lofted

#define TP_5AX_DRILL 28 // 5 axis drilling

#define TP_5AX_CURVE 29 // 5 axis curve

#define TP_PROJ_PLANE 30 // project toolpath onto a plane

#define TP_PROJ_CYL 31 // project toolpath onto a cylinder

#define TP_PROJ_SPH 32 // project toolpath onto a sphere

#define TP_PROJ_CONE 33 // project toolpath onto a cone

#define TP_PROJ_X 34 // project toolpath onto a cross section

#define TP_PROJ_NCI 35 // project toolpath onto a surface

#define TP_OLD_CONTOUR 36 // non-associative contour

#define TP_OLD_DRILL 37 // non-associative drilling

#define TP_OLD_POCKET 38 // non-associative pocketing

#define TP_SRF_FIN_PENCIL 39 // multi-surface finish pencil trace

#define TP_SRF_FIN_LEFTOVER 40 // multi-surface finish leftover stock

#define TP_SRF_FIN_STEEP 41 // multi-surface finish steep

#define TP_SRF_FIN_SHALLOW 42 // multi-surface finish shallow

#define TP_SRF_FIN_CONSCALOP 43 // multi-surface finish constant scallop

#define TP_SRF_RGH_PLUNGE 44 // multi-surface rough plunge

#define TP_SRF_FLOW5AX 45 // multi-surface finish 5 axis flowline

#define TP_SRF_4AX 46 // multi-surface finish 4 axis

#define TP_MERGED_NCI 47 // merged in ascii nci

#define TP_5AX_SWARF 48 // 5 axis swarf

#define TP_5AX_ROLLDIE 49 // 5 axis roll die

//

// ***** make sure you update sizeof_operation() in assoc.c with any new opcodes *****

//

/* c axis toolpaths, 50-59 */

#define TP_CX_START 50 // start of C axis toolpath types

#define TP_CX_CONTOUR 50 // non-associative contour, not used

#define TP_CX_FACE_CONTOUR 51 // face contouring

#define TP_CX_CROSS_CONTOUR 52 // cross contouring

#define TP_CX_CAXIS_CONTOUR 53 // C axis contouring

#define TP_CX_DRILL 54 // non-associative drilling, not used

#define TP_CX_FACE_DRILL 55 // face drilling

#define TP_CX_CROSS_DRILL 56 // cross drilling

#define TP_CX_CAXIS_DRILL 57 // c-axis drilling

#define TP_MILL_END1 57 // end of first range of mill operation types

#define TP_58 58 // unused

#define TP_59 59 // unused

//

// ***** make sure you update sizeof_operation() in assoc.c with any new opcodes *****

//

/* lathe toolpaths, 60-73 and 201-300 */

#define TP_LATHE_START1 60 // start of first range of lathe operation types

#define TP_LROUGH 60 // roughing

#define TP_LFINISH 61 // finishing

#define TP_LGROOVE 62 // grooving

#define TP_LTHREAD 63 // threading

#define TP_LDRILL 64 // non-associtive drilling

#define TP_LPOINT 65 // point

#define TP_LFACE 66 // facing

#define TP_LCUTOFF 67 // cutoff

#define TP_LPLUNGE_ROUGH 68 // plunge roughing

#define TP_LMANUAL_ENTRY 69 // manual entry

#define TP_MERGED_L_NCI 70 // merged in ascii nci

#define TP_LATHE_END1 70 // end of first range of lathe operation types

#define TP_71 71 // unused

#define TP_72 72 // unused

#define TP_73 73 // unused

//

// ***** make sure you update sizeof_operation() in assoc.c with any new opcodes *****

//

/* wire toolpaths, 74-99 */

#define TP_WIRE_START 74 // start of wire operation types

#define TP_WCONTOUR 74 // contour

#define TP_WCANNED 75 // canned (drill)

#define TP_WNOCORE 76 // no core (pocket)

#define TP_WMANUAL_ENTRY 77 // manual entry

#define TP_WPOINT 78 // point

#define TP_W4AXIS 79 // 4 axis

#define TP_WIRE_XFORM 80 // v7-not available, v8-mirror, rotate, translate

#define TP_WIRE_TRIMMED 81 // associative trimmed

#define TP_MERGED_W_NCI 82 // merged in ascii nci

#define TP_WIRE_END 82 // end of wire operation types

//

// ***** make sure you update sizeof_operation() in assoc.c with any new opcodes *****

//

// 100-200 RESERVED for MILL - additional mill toolpaths

#define TP_MILL_START2 100 // start of second range of mill operation types

#define TP_THDMILL 100 // thread mill

#define TP_COMMON_PRM 101 // edit common operation parameters

#define TP_FACE 102 // facing

#define TP_TRIMMED 103 // associative trimmed

#define TP_SOLID_DRILL 104 // solid drill control operation

#define TP_200 200 // unused

#define TP_MILL_END2 200 // end of second range of mill operation types

// 100-200 RESERVED for MILL - additional mill toolpaths

//

// ***** make sure you update sizeof_operation() in assoc.c with any new opcodes *****

//

// 201-300 RESERVED for LATHE - additional lathe toolpaths

#define TP_LATHE_START2 201 // start of second range of lathe operation types

#define TP_LCAN_FINISH 201 // canned finish

#define TP_LCAN_ROUGH 202 // canned rough

#define TP_LCAN_ROUGH_FINISH 203 // canned rough and canned finish

#define TP_LCAN_FACE 204 // canned rough face

#define TP_LCAN_FACE_FINISH 205 // canned rough face and canned finish

#define TP_LCAN_PATTERN 206 // pattern repeat

#define TP_LCAN_PATTERN_FINISH 207 // pattern repeat and canned finish

#define TP_LCAN_GROOVE 208 // canned groove rough

#define TP_LCAN_GROOVE_FINISH 209 // canned groove rough and canned groove finish

#define TP_EASY_LROUGH 210 // easy lathe rough

#define TP_EASY_LFINISH 211 // easy lathe finish

#define TP_EASY_LGROOVE 212 // east lathe groove

#define TP_CHOOK_L 213 // lathe c-hook

#define TP_LATHE_END2 213 // end of second range of lathe operation types

//

// ***** make sure you update sizeof_operation() in assoc.c with any new opcodes *****

//

// 301-400 RESERVED for ROUTER - router toolpaths

#define TP_ROUT_CNTR 301 // Router Contour

#define TP_ROUT_POCK 302 // Router Pocket

#define TP_ROUT_CIRC 303 // Router Circmill

//

// ***** make sure you update sizeof_operation() in assocnci.c with any new opcodes *****

//

// 401-500 RESERVED for CHOOKS

#define TP_401 401

#define TP_402 402

#define TP_403 403

#define TP_404 404

#define TP_405 405

#define TP_406 406

#define TP_407 407

#define TP_408 408

#define TP_409 409

#define TP_410 410

#define TP_411 411

#define TP_412 412

#define TP_413 413

#define TP_414 414

#define TP_415 415

#define TP_416 416

#define TP_417 417

#define TP_418 418

#define TP_419 419

#define TP_420 420

#define TP_421 421

#define TP_422 422

#define TP_423 423

#define TP_424 424

#define TP_425 425

#define TP_426 426

#define TP_427 427

#define TP_428 428

#define TP_429 429

#define TP_430 430

#define TP_431 431

#define TP_432 432

#define TP_433 433

#define TP_434 434

#define TP_435 435

#define TP_436 436

#define TP_437 437

#define TP_438 438

#define TP_439 439

#define TP_440 440

#define TP_441 441

#define TP_442 442

#define TP_443 443

#define TP_444 444

#define TP_445 445

#define TP_446 446

#define TP_447 447

#define TP_448 448

#define TP_449 449

#define TP_450 450

#define TP_451 451

#define TP_452 452

#define TP_453 453

#define TP_454 454

#define TP_455 455

#define TP_456 456

#define TP_457 457

#define TP_458 458

#define TP_459 459

#define TP_460 460

#define TP_461 461

#define TP_462 462

#define TP_463 463

#define TP_464 464

#define TP_465 465

#define TP_466 466

#define TP_467 467

#define TP_468 468

#define TP_469 469

#define TP_470 470

#define TP_471 471

#define TP_472 472

#define TP_473 473

#define TP_474 474

#define TP_475 475

#define TP_476 476

#define TP_477 477

#define TP_478 478

#define TP_479 479

#define TP_480 480

#define TP_481 481

#define TP_482 482

#define TP_483 483

#define TP_484 484

#define TP_485 485

#define TP_486 486

#define TP_487 487

#define TP_488 488

#define TP_489 489

#define TP_490 490

#define TP_491 491

#define TP_492 492

#define TP_493 493

#define TP_494 494

#define TP_495 495

#define TP_496 496

#define TP_497 497

#define TP_498 498

#define TP_499 499

#define TP_500 500

Link to comment
Share on other sites
Guest CNC Apps Guy 1

Internal stuff that defines everyting in Mastercam. It's things that you'll never need to ever know about unless you get into heavy Post work or writing C-Hooks.

That's the simplified answer. Bullines I'm sure could go into great detail about it. Bu I'll keep it short.

Link to comment
Share on other sites
Guest CNC Apps Guy 1

s010seven,

Try looking here in these past topics for more information regarding writing out own C-Hooks.

http://www.emastercam.com/cgi-bin/ultimate...ic&f=1&t=000563

http://www.emastercam.com/cgi-bin/ultimate...ic&f=1&t=000606

Also I'll reiterate a point made numerous times. To build C-Hooks, you'll need a copy of Microsoft Visual C++ Version 6.0. This is hwat you'll use to compile. You can edit the *.h, *.cpp, etc... files in any text editor but MSVC++ has some things that text editors don't.

Hoe this helps.

Link to comment
Share on other sites

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...