Article author: Dai Yu (Q:873058673)
Introduction:
Single body XY nesting, yesterday the foundry shared a nesting video in the development group, I thought it was very interesting, so I asked for the source code in a private chat, and I can share it with everyone after the author agrees. Please enjoy:
Effect:
code:
//单个体XY排料 代工QQ:873058673
//------------------------------------------------------------------------------
//Callback Name: update_cb
//------------------------------------------------------------------------------
int daigong_PL::update_cb(NXOpen::BlockStyler::UIBlock* block)
{
try
{
if(block == selection0)
{
//---------Enter your code here-----------
}
else if(block == string02)
{
//---------Enter your code here-----------
}
else if(block == string0)
{
//---------