This commit is contained in:
ninja
2025-12-15 23:22:33 +08:00
parent 019570564b
commit 8782765fbc
809 changed files with 118753 additions and 18289 deletions

View File

@@ -1,6 +1,6 @@
/***********************************************************************************************************************
*
* Copyright (c) 2010 - 2022 by Tech Soft 3D, Inc.
* Copyright (c) 2010 - 2025 by Tech Soft 3D, Inc.
* The information contained herein is confidential and proprietary to Tech Soft 3D, Inc., and considered a trade secret
* as defined under civil and criminal statutes. Tech Soft 3D shall pursue its civil and criminal remedies in the event
* of unauthorized use or misappropriation of its trade secrets. Use of this information by anyone other than authorized
@@ -10,6 +10,8 @@
*
***********************************************************************************************************************/
#include <hoops_license.h>
#define INITIALIZE_A3D_API
#include "DumpFeatureTree.h"
@@ -25,13 +27,7 @@
#include "VisitorTree.h"
#include "HXFeatureTreeReport.h"
A3DVoid _InitializeFontsArray();
A3DVoid _TerminateFontsArray();
static A3DStatus TraverseModel(const A3DAsmModelFile* pModelFile, const char * pcOutputFile);
//=============================== TraverseModel function
//######################################################################################################################
static A3DStatus TraverseModel(const A3DAsmModelFile* pModelFile, const char * pcOutputFile)
{
// Creation of the ModelFile Connector
@@ -50,10 +46,10 @@ static A3DStatus TraverseModel(const A3DAsmModelFile* pModelFile, const char * p
return A3D_SUCCESS;
}
//######################################################################################################################
static MY_CHAR acSrcFileName[_MAX_PATH * 2];
static MY_CHAR acDstFileName[_MAX_PATH * 2];
static MY_CHAR acLogFileName[_MAX_PATH * 2];
static MY_CHAR acDstFileName[_MAX_PATH * 2 + 4];
static MY_CHAR acLogFileName[_MAX_PATH * 2 + 12];
//######################################################################################################################
#ifdef _MSC_VER
@@ -91,7 +87,7 @@ int main(A3DInt32 iArgc, A3DUTF8Char** ppcArgv)
// ### INITIALIZE HOOPS EXCHANGE
//
A3DSDKHOOPSExchangeLoader sHoopsExchangeLoader(_T(HOOPS_BINARY_DIRECTORY));
A3DSDKHOOPSExchangeLoader sHoopsExchangeLoader(_T(HOOPS_BINARY_DIRECTORY), HOOPS_LICENSE);
CHECK_RET(sHoopsExchangeLoader.m_eSDKStatus);
CHECK_RET(A3DDllSetCallbacksMemory(CheckMalloc, CheckFree));
@@ -105,6 +101,7 @@ int main(A3DInt32 iArgc, A3DUTF8Char** ppcArgv)
sImport.m_sLoadData.m_sGeneral.m_bReadFeature = TRUE;
sImport.m_sLoadData.m_sGeneral.m_bReadHiddenObjects = TRUE;
sImport.m_sLoadData.m_sGeneral.m_bReadConstructionAndReferences = TRUE;
sImport.m_sLoadData.m_sGeneral.m_bReadPmis = FALSE;
A3DStatus iRet = sHoopsExchangeLoader.Import(sImport);
if (iRet != A3D_SUCCESS && iRet != A3D_LOAD_MISSING_COMPONENTS)