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:

pro

Verified Members
  • Posts

    21
  • Joined

  • Last visited

    Never

Posts posted by pro

  1. Thanks for all,

    This surfaces was translated from another cad system. I try to find way to check surface like that and repair it.

    Eeyore,

    Sorry, my English is not quite good.

    As I can see generating curve does not have self intersection, but revolved surface probably have overlap. What wrong with generating curve?

    Maybe I need change direction of generating curve or axis of revolution.

    What is "IOW"?

    Pro

  2. Eeyore,

    The problem is not in reverse normal direction.

    The Test Normals function analyzes the normal vector of selected surfaces and reports the number of bad surfaces whose normal vector reverses direction abruptly in one or more locations.

    Your are right about converting this surface to NURBS, NURBS surface have good normal.

     

    But I want get more complex information about reason of this error in revolved surface.

    Pro.

  3. When I create revolved surface, mastercam say that surface have bad normal. For check normal I use Analyse/surfaces/test-norm/All/Surfaces/Done.

    Probably problem is in generating curve of this surface, how can i get more complex error description?

    Dynamic analyze not enough.

  4. Hello,

    For creating set of drill operations I need set of drill tool with different diameters assigned to the operations. For finding tool in the tool_library I use code listed below, but when I change tool and call TLMGR_ADD tool slot number don't changed. How can I create set of tool with different slot numbers?

    code:

     

    void

    createDrillTool(D1 r, ulong& open_slot)

    {

    boolean ok;

    tl_list *tl_head, *tl;

    list_manager (TL_ID , tool_library, LSTMGR_GET, (void**)&tl_head);

    tl = tl_head;

    db_ptr_type ptr_tool;

    tl = tl_head;

    while (tl != NULL)

    {

    if(tl->tl.op.type == DRILL)

    {

    tl->tl.op.dia = r*2;// important, the drill diam must be the same as tool diam in op

    tool_manager (&tl->tl, TLMGR_ADD, &ptr_tool, &ok);

    open_slot = ok ? tl->tl.op.slot : 0;

    break;

    }

    tl = tl->next_ptr;

    }

    list_manager (TL_ID, "", LSTMGR_FREE, (void**)&tl_head);

    }


  5. Thanks for examples it help. cheers.gif

    The existing tool from tool_library don't connected correctlu with my operation because of

    tl_list tl->tl.op.dia was not equal operation op.tl.dia

    Now all ok and operation regerated from chook use nci_manager(, NCIMGR_REGEN_ALL,);

     

    There was one problem how to perform set drill direction easier, now I use modification of matrix in operation op.tpln.m.

  6. Thanks for help,

    Now I can create arc and connect this arc with drill operation.

    drill depth defined in operation op.cmn.depth

    drill diameter defined in operation op.tl.dia

    drill direction defined in operation op.tpln.m

    But when I select mainmenu->toolpath->operation [RegenPath] occur error "Unable to calculate toolpath. Tool assigned to operation does not exist".

    Where can I set tool use c-hook?

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