Bug: OBJ-File import from Meshlab

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Search this Thread Display Modes
Old 09 September 2012   #1
Bug: OBJ-File import from Meshlab

Well, even though I'm wondering if Silo will ever get another update and how frequently Nevercenter checks this forum, I figured someone else might appreciate the heads up.

Silo2.2 (Mac) cannot import OBJ files which where exported from Meshlab. The trouble seems to be with the comment lines starting with the #-sign, on the Mac this leads to a crash of the Silo software, I might check if the same applies to the Windows version, if I remember to check it the next time I switch on my humongous and old PC.

For my current requirements it was sufficient to open the file in a text-editor and remove the lines starting with #, but the bigger the file, the less this approach is appropriate. I'd like to see Silo getting a more robust reading (shouldn't be too difficult with an ASCII-based file...), but one can only hope. ;-)

Tim Nikias
Homepage: http://www.nolights.de
Old 09 September 2012   #2
Hi Tim,

you could do the following if the .obj files are to large:

Open terminal and input the following line (before "cd" to the directory where the .obj is located):

sed '/^\#/d' input.obj >output.obj

or load the .obj into Wings3D and save from there.

sure, only a workaround, but better then waiting until the bug is fixed. BTW. Silo 1.4 does not have this problem...

Old 09 September 2012   #3
As the OBJ comes in triangulated you can try MeshLab´s dxf exporter, which files works in Silo.

Old 09 September 2012   #4
Thanks for the hint using sed, that might make things easier going forward. As for using 1.4, a couple of features in 2.2 (naturally) aren't in 1.4, so even though 1.4 might be sufficient for small fixes, it wouldn't be of use to me for larger projects.

Tim Nikias
Homepage: http://www.nolights.de
Old 09 September 2012   #5
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright ©2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 02:20 AM.

Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.