Skip to main content
1-Visitor
June 10, 2019
Question

facing problem while uploading file which is having size more than 100mb

  • June 10, 2019
  • 1 reply
  • 7120 views

Hi,

 

I am creating an AR of big plant but i was unable to upload file on vuforia studio because it's is having file size more than 100mb and it's taking hours to upload and even it doesn't respond in the end.

 

Can any one help me for the same.

 

Thank you

1 reply

17-Peridot
June 11, 2019

Hello,

 

  • Did you try to reduce size of the file ?

For example by using a shrinkwrap or remove all 3D Models who are not visible.

 

  • Did you try to decrease the quality of the model ?

Sometime, decrease the quality of the model is not visible in 3D application and is enougt to reduce size of the 3D Model.

 

  • Did you try to split the 3D model in mulitple files ?

 

Best regards,
Samuel

nraichura1-VisitorAuthor
1-Visitor
June 11, 2019
Dear Samual

I have tried shrink wrap of assembly ,used cad optimisation and while assemly is getting optimised up to low leval log shows unhandled error in cad optimisation.

Actual size of my assemly and pvz is too much I have already optimised it.

Thank you
17-Peridot
June 12, 2019

Hello,

 

In first log file provided, we can find this error :

 

[2019-06-11T13:20:06.896Z] error: [twx-studio:fileUtils] Error checking zip entries in file C:\Users\Admin\Documents\VuforiaStudio\Projects\CCM_12231\src\phone\resources\Uploaded\GA.pvz Invalid or unsupported zip format. No END header found
[2019-06-11T13:20:16.952Z] debug: [twx-studio:resourceService] Processing file: GA.pvz C:\Users\Admin\Documents\VuforiaStudio\Projects\CCM_12231\src\phone\resources\Uploaded\GA.pvz
[2019-06-11T13:20:16.957Z] debug: [twx-studio:sockets] EMIT file-status-change E12uJ_sTs0muSRuiAAAA
[2019-06-11T13:20:16.959Z] debug: [twx-studio:cad-import-filters] executing: C:\Users\Admin\AppData\Roaming\VuforiaStudio\studio-download.vuforia.io\node_modules\cad-import-filters\import_filters/bin/pvaroptimizer.exe -vc1,-p,C:\Users\Admin\AppData\Local\Temp\Studio-optimize2019511-13044-1h0i4av.hg4x,-o,GA,C:\Users\Admin\Documents\VuforiaStudio\Projects\CCM_12231\src\phone\resources\Uploaded\GA.pvz

 

 

So, it seems due to zip archive not uploaded completly in web interface in Vuforia Studio.

A very simple workaround, is to copy the pvz file directly in the right folder in Windows Explorer, in the folder :

%USERPROFILE%\Documents\VuforiaStudio\Projects\<ProjectName>\src\phone\resources\Uploaded

 

Be carreful, replace <ProjectName> by the Project name wanted

 

Reopen the Project in Chrome web browser.

Pvz file is listed under RESOURCES in Uploaded.

 

If needed, it is possible to run the command, to have same result as when switch on Run CAD Optimizer checkbox when importing 3D models in Vuforia Studio  :

C:\Users\Admin\AppData\Roaming\VuforiaStudio\studio-download.vuforia.io\node_modules\cad-import-filters\import_filters/bin/pvaroptimizer.exe -vc1,-p,C:\Users\Admin\AppData\Local\Temp\Studio-optimize2019511-13044-1h0i4av.hg4x,-o,GA,C:\Users\Admin\Documents\VuforiaStudio\Projects\CCM_12231\src\phone\resources\Uploaded\GA.pvz

This workaround only works because we have already a pvz file.

 

Best regards,

Samuel