Description
|
Handles (performs cutting) a registered mill object. See also sim.resetMill.
|
C synopsis
|
simInt simHandleMill(simInt millHandle,simFloat* removedSurfaceAndVolume)
|
C parameters |
millHandle: handle of a mill object or sim_handle_all or sim_handle_all_except_explicit. (sim_handle_all will handle all mill objects, while sim_handle_all_except_explicit will only handle those that are not marked as "explicit handling")
removedSurfaceAndVolume: pointer to two floating point values indicating the total removed surface and volume by this call. Can be NULL
|
C return value
|
total number of cut objects, or -1 in case of an error
|
Lua synopsis
|
number cutCount,table_2 removedSurfaceAndVolume=sim.handleMill(number millHandle) |
Lua parameters |
Same as C-function
|
Lua return values
|
cutCount: total number of cut objects, or -1 in case of an error
removedSurfaceAndVolume: table indicating the total removed surface and volume by this call
|