NetRender Client Errors

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 10/09/2011 at 07:29, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   R12-R13 
Platform:   Windows  ;   Mac OSX  ; 
Language(s) :     C++  ;

---------
I have a user who is getting this error message from his NetRender Clients whenever he tries to use one of my plugins with it.  Doesn't happen in C4D or NetRender Server.  Any idea why there is a Modeling Kernel Error?

** " General Error:: UnfurlObj.Bevel**
Modeling Kernel Error    : Failed
_Modeling Kernal Error : Object corrupt "
_

Here's the init method and the method from which the error comes:

// NodeData.Init  
//*---------------------------------------------------------------------------*  
Bool UnfurlObj::Init(GeListNode* node)  
//*---------------------------------------------------------------------------*  
{  
  if (!node)                            return MessageSystem::Throw(GeLoadString(KDZERR_GENERAL), "UnfurlObj.Init.node");  
  
  // For SendModelingCommand() that need a document set  
  fakeDoc =                            BaseDocument::Alloc();  
  if (!fakeDoc)                        return MessageSystem::Throw(GeLoadString(KDZERR_MEMORY), "UnfurlObj.Init.fakeDoc");  
  
  // HTML Documentation  
  unfurldoc =                            GetUnfurlDoc();  
  if (!unfurldoc)                        return MessageSystem::Throw(GeLoadString(KDZERR_GENERAL), "UnfurlObj.Init.unfurldoc");  
  
  // Initialize descriptions container  
  BaseContainer*    bc =                static_cast<BaseList2D*>(node)->GetDataInstance();  
  if (!bc)                            return MessageSystem::Throw(GeLoadString(KDZERR_GENERAL), "UnfurlObj.Init.bc");  
  SetDefaults(bc);  
  
  // Initialize General ModelingCommandData  
  gmcd.doc =                            NULL;  
  gmcd.bc =                            NULL;  
  gmcd.mode =                            MODELINGCOMMANDMODE_POLYGONSELECTION;  
  gmcd.flags =                        MODELINGCOMMANDFLAGS_0;  
  
  // Beveling  
  bevelBC.SetReal(MDATA_BEVEL_ANGLE,                89.0);  
  bevelBC.SetLong(MDATA_BEVEL_SUBDIVISION,        0L);  
  bevelBC.SetBool(MDATA_BEVEL_CREATENGONS,        FALSE);  
  bevelBC.SetBool(MDATA_BEVEL_MODE,                MDATA_BEVEL_MODE_LINEAR);  
  bevelBC.SetBool(MDATA_BEVEL_PRESERVEGROUPS,        FALSE);  
  bmcd.doc =                            fakeDoc;  
  bmcd.bc =                            &bevelBC;  
  bmcd.mode =                            MODELINGCOMMANDMODE_POLYGONSELECTION;  
  bmcd.flags =                        MODELINGCOMMANDFLAGS_0;  
  
  return TRUE;  
}  
// UnfurlObj.Bevel  
//*---------------------------------------------------------------------------*  
Bool UnfurlObj::Bevel(PolygonObject* pop)  
//*---------------------------------------------------------------------------*  
{  
  // Bevel Individual Polygons of Unfurl() result  
  fakeDoc->InsertObject(mainop, NULL, NULL, FALSE);  
  bevelBC.SetReal(MDATA_BEVEL_OFFSET1,    obc->GetReal(UNFURL_BEVEL_OFFSET1));    // Up  
  bevelBC.SetReal(MDATA_BEVEL_VARIANCE1,    obc->GetReal(UNFURL_BEVEL_VARIANCE1));  
  bevelBC.SetReal(MDATA_BEVEL_OFFSET2,    obc->GetReal(UNFURL_BEVEL_OFFSET2));    // In  
  bevelBC.SetReal(MDATA_BEVEL_VARIANCE2,    obc->GetReal(UNFURL_BEVEL_VARIANCE2));  
  bmcd.op =    pop;  
  if (!SendModelingCommand(ID_MODELING_BEVEL_TOOL, bmcd))  
  {  
      mainop->Remove();  
      return ErrPrt(GeLoadString(KDZERR_GENERAL)+": UnfurlObj.Bevel");  
  }  
  mainop->Remove();  
  return TRUE;  
}

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 14/09/2011 at 20:49, xxxxxxxx wrote:

It should be noted that this plugin is a generator plugin which returns a varying number of polygons from the source object (from 0-polygon count).  Could this cause NetRender Client to go berserk?

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 15/09/2011 at 01:26, xxxxxxxx wrote:

Are the modeling kernal errors caused by the Bevel tool?

It would be nice if you can send me a simplified version of this generator that still shows the problem.

cheers,
Matthias

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 16/09/2011 at 00:15, xxxxxxxx wrote:

That is how it appears from the user information.

The code isn't that large so I will send you what I have.  I have no way and no time (I work full time nights now) to set up a simple example and a Net server/client environment for testing.

Thanks

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 22/09/2011 at 01:22, xxxxxxxx wrote:

Any news?

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 22/09/2011 at 07:47, xxxxxxxx wrote:

I received your mail but hadn't the time to look into the problem yet.

cheers,
Matthias

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 20/11/2011 at 19:11, xxxxxxxx wrote:

Any updates on this, as I have run into the same error on R12 and R13 NET Render clients.

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 01/12/2011 at 04:46, xxxxxxxx wrote:

Does this error prevent the user from rendering? I know that some modeling operations and the sometimes the Boolean object produce these kind of errors.

cheers,
Matthias