Hi all,
I have a question regarding Volvox call in from GH. I import two meshes to CloudCompare and do ICP without any problems. However, when I try to do the same operation in GH, I get several errors while opening the meshes, and also ICP doensn't execute. Here are my instructions to the command line from GH:
CloudCompare -O C:\Users\eckog\OneDrive\Documents\initial_guess_registration.obj
-0 C:\Users\eckog\OneDrive\Documents\initial_guess_registration_scan.obj -ICP -MIN_ERROR_DIFF -FARTHEST_REMOVAL -MERGE_MESHES
Any help will be appreciated!
Volvox integration
Re: Volvox integration
Hi Daniel,
I open obj files from GH mesh format, first error is
[Load] Can't guess file format: no file extension --- I specify the scan.obj so i'm not sure why that's an error, and doesn't happen if I open inside CC instead. THis error is shown twice followed by an opened mesh, so whatever structure it follows, the first two parameters are missing for mesh, any advice on a better type to import? I think I had similar error when I did mesh deconstruct and cloud generated from the deconstruct points.
Same error repeats for the -ICP and other commands I use to specify fine reg parameters.
Thoughts? Ideally, a simple ICP or other functions call example for GH would go a long way. I did quite a bit of search and didn't find any examples to follow for GH based call-outs.
I open obj files from GH mesh format, first error is
[Load] Can't guess file format: no file extension --- I specify the scan.obj so i'm not sure why that's an error, and doesn't happen if I open inside CC instead. THis error is shown twice followed by an opened mesh, so whatever structure it follows, the first two parameters are missing for mesh, any advice on a better type to import? I think I had similar error when I did mesh deconstruct and cloud generated from the deconstruct points.
Same error repeats for the -ICP and other commands I use to specify fine reg parameters.
Thoughts? Ideally, a simple ICP or other functions call example for GH would go a long way. I did quite a bit of search and didn't find any examples to follow for GH based call-outs.
Re: Volvox integration
Hum, strange indeed. The .obj extension should be sufficient. One option is that CC fails to extract the correct filename (you could add quotes around the total filename+path). Or that CC failed to load the Q_CORE_IO plugin which should be in the 'plugins' directory (where are you calling the command line from?).
And what are you calling GH exactly? Is it the system console?
And what are you calling GH exactly? Is it the system console?
Daniel, CloudCompare admin
Re: Volvox integration
attached is my path. the obj is generated by a save bake command that creates it, so i can use another file type if they play nice with volvox/cc.
- Attachments
-
- Picture1.png (194.28 KiB) Viewed 5632 times
Re: Volvox integration
Oh, that kind of tool... Then I guess there's definitely an issue that prevents the Q_CORE_IO plugin to be loaded (or a trick to find to make this work).
An alternative would be to use the PLY format to save and load the meshes (as this format is in the Core version of CloudCompare).
An alternative would be to use the PLY format to save and load the meshes (as this format is in the Core version of CloudCompare).
Daniel, CloudCompare admin
Re: Volvox integration
I see, I tried ply version but it requires approval of the file type, etc in the CC side. It doesn't really allow for a complete macro type routine to send back to GH. Any ideas on a work around that can leverage ICP and send back to GH with no need for user interaction?
Re: Volvox integration
Silent didn't seem to do anything for me. -SILENT should prevent any prompts within CC correct?
Re: Volvox integration
Yes. Even though a few tools still ignore the 'SILENT' command (but that can be fixed)
Daniel, CloudCompare admin