Skip to main content
1-Visitor
August 6, 2016
Question

Basics - use of calculations, equations

  • August 6, 2016
  • 1 reply
  • 6207 views

Hi

In a turning operation, I would like to use a variable CUT_FEED which is currently 10. This value should depend on the workpiece diameter:

- when ØA then CUT_FEED B

- when ØA/2 then CUT_FEED B*2

Cheers

Bob

    1 reply

    10-Marble
    August 8, 2016

    hi,

    inside parameters open edit machining parameters->select cut_feed and you ave "d=" it is symbol for equation-open it and write:

    work_dia=workpiece_dia:4

    if work_dia>=10

    cut_feed=15

    else

    cut_feed=5

    endif

    where work_dia is a parameter to workpieces diameter.

    br,

    ionut

    bprazak1-VisitorAuthor
    1-Visitor
    August 14, 2016

    Hi Ionut

    I understand the logic around but I got some errors with 'workpiece diameter' parameter. The workpiece diameter should vary with STEP_DEPTH.

    work_dia=workpiece_dia:4

    error Invalid symbol 'workpiece_dia:4' found.

    if work_dia>=10

    error Invalid symbol 'work_dia' found.

    cut_feed=15

    else

    cut_feed=5

    endif

    Thanks.

    10-Marble
    August 16, 2016

    Hi,

    when you write work_dia = "you have to select the revolve, extrude , or the feature from workpiece, then it will appear the dimension and you select that dimension" - in my case the was workpiece_dia:4 but usually it will be d3:2 or d8:2 someting like that.

    4.png

    Br