question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Exported Collada file crashes Blender and Sketchup

See original GitHub issue
Exported Collada file crashes Blender and Sketchup

Problem can be seen even with example in documentation: https://threejs.org/examples/?q=collada#misc_exporter_collada

I tried several different 3d programs and Modo, Max, Maya and Archicad handles exported file just fine, Blender and Sketchup crashes and SweetHome3d just refuses to import the model. I worked around it by adding profile="" to technique in extra in generated file and Blender and Sketchup imports it fine now.

        <extra>
          <technique>
            <double_sided sid="double_sided" type="int">1</double_sided>
          </technique>
        </extra>

I don’t know if that’s not breaking something elsewhere, but from what I’ve seen it’s fine. SweetHome3d still doesn’t import it, but I don’t know how to debug it as nothing comes up in console.

Three.js version
  • Dev
  • r107
Browser
  • All of them
  • Chrome
  • Firefox
  • Internet Explorer
OS
  • All of them
  • Windows
  • macOS
  • Linux
  • Android
  • iOS

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
marekjedrzejewskicommented, Aug 19, 2019

@marekjedrzejewski Can SweetHome3d load the file if the profile field is set to a non-empty string?

Unfortunately not, I think it’s not connected to technique tag. I also tried to remove whole extra before, which loaded fine in blender and sketchup too, but sweethome3d also didn’t work with this. I will try with some really simple models tommorow, cause collada exported from blender works. If I’ll use something simple, then it would be easy to see differences berween the one from blender and one from threejs.

1reaction
Mugen87commented, Aug 19, 2019

Maybe we should just export “THREEJS”?

As far as I understand the spec, the value can be arbitrary. So THREEJS sounds good to me.

Read more comments on GitHub >

github_iconTop Results From Across the Web

T29471 Import Collada from sketchup - Blender crashes
I've been trying to import collada files created by sketchup. In blender when i click import it will crash! This error is very...
Read more >
Importing dae-file fails - SketchUp Community
It looks a bit weird but I pressed on. In Blender I then exported to a new DAE file. In SketchUp I then...
Read more >
Blender freezes importing Collada from Google Warehouse.
Its possible to download models from Google 3D Warehouse in Collada file format, ... Try exporting model from sketchup using this exporter(LWO):
Read more >
Export to Collada/Import to AC3D/Crash - SketchUcation
It seems that SketchUp's Collada exporter is broken. ... try exporting as .obj from SketchUp then import to Blender and Export as collada....
Read more >
Blender import SketchUp Collada File - YouTube
Learn how to clean up the colada file that has many different faces and duplicate vertices that need to be combined and merged...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found