2025.6.1
This commit is contained in:
@@ -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
|
||||
@@ -22,6 +22,7 @@ The only input is the file path, optionnal inputs are is the reading mode of the
|
||||
#define _CRT_SECURE_NO_DEPRECATE 1
|
||||
#define INITIALIZE_A3D_API
|
||||
#include <A3DSDKIncludes.h>
|
||||
#include <hoops_license.h>
|
||||
|
||||
#include "../common.hpp"
|
||||
|
||||
@@ -120,14 +121,14 @@ int main(A3DInt32 iArgc, A3DUTF8Char** ppcArgv)
|
||||
if (iArgc > 3) bWithUnload = MY_ATOI(ppcArgv[3]) == 1;
|
||||
else bWithUnload = true;
|
||||
if (iArgc > 4) MY_STRCPY(acLogFileName, ppcArgv[4]);
|
||||
else MY_SPRINTF(acLogFileName, "%s_Log.txt", acDstFileName);
|
||||
else MY_SPRINTF(acLogFileName, "%s_Log.txt", acSrcFileName);
|
||||
GetLogFile(acLogFileName); // Initialize log file
|
||||
|
||||
//
|
||||
// ### INITIALIZE HOOPS EXCHANGE
|
||||
//
|
||||
|
||||
A3DSDKHOOPSExchangeLoader sHoopsExchangeLoader(_T(HOOPS_BINARY_DIRECTORY));
|
||||
A3DSDKHOOPSExchangeLoader sHoopsExchangeLoader(_T(HOOPS_BINARY_DIRECTORY), HOOPS_LICENSE);
|
||||
CHECK_RET(sHoopsExchangeLoader.m_eSDKStatus);
|
||||
|
||||
// Initialize call backs
|
||||
@@ -140,7 +141,9 @@ int main(A3DInt32 iArgc, A3DUTF8Char** ppcArgv)
|
||||
|
||||
A3DImport sImport(acSrcFileName); // see A3DSDKInternalConvert.hxx for import and export detailed parameters
|
||||
|
||||
//loading of the CAD file in incremental mode
|
||||
// Specify reading mode
|
||||
sImport.m_sLoadData.m_sGeneral.m_eReadGeomTessMode = eMode;
|
||||
// Specify loading of the input file in incremental mode
|
||||
sImport.m_sLoadData.m_sIncremental.m_bLoadStructureOnly = true;
|
||||
A3DStatus iRet = sHoopsExchangeLoader.Import(sImport);
|
||||
if (iRet != A3D_SUCCESS && iRet != A3D_LOAD_MISSING_COMPONENTS)
|
||||
|
||||
Reference in New Issue
Block a user