sketchucation logo sketchucation
    • Login
    🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    Lost edges importing dae file via Collada to THREE.js

    Scheduled Pinned Locked Moved Newbie Forum
    sketchup
    5 Posts 2 Posters 657 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • chrisglasierC Offline
      chrisglasier
      last edited by

      Original skp model - thickish edges

      Imported into THREE project - no edges

      Imported into THREE editor - white edges

      Imported back into sketchup - thinner edges

      I hope the images are self explanatory.

      If anyone can give me a hint what's happening here I would be most grateful ...

      With TBA interfaces we can analyse what is to be achieved so that IT can help with automation to achieve it.

      1 Reply Last reply Reply Quote 0
      • TIGT Offline
        TIG Moderator
        last edited by

        Can we have the original SKP ?

        Looks to me like the original's various faces might be separate containers - groups or component-instances ?
        Hence the thicker profile edges in the model's Style.

        When imported [as DAE?] into this 3rd party THREE app I suspect it just doesn't display any edges - although they are still there - as it shows when it's in edit-mode.

        I suspect that the DAE/THREE processing merges the original 'containers', so that when it's reimported into an empty SKP those edges are no longer profiles and therefore the Style displays them thinner - except when they form a visual outer edge where these are again thickened...

        TIG

        1 Reply Last reply Reply Quote 0
        • chrisglasierC Offline
          chrisglasier
          last edited by

          @tig said:

          Can we have the original SKP ?

          Thanks TIG. Here's the skp. I think the thin/thick lines may be a result of my changing things to see if the scaling was the problem - ie perhaps not comparing like with like. No edges is what really matters to me.

          Will have to check in again tomorrow ... GMT +8 here


          simple rectangle pulled up for test

          With TBA interfaces we can analyse what is to be achieved so that IT can help with automation to achieve it.

          1 Reply Last reply Reply Quote 0
          • TIGT Offline
            TIG Moderator
            last edited by

            I think this http://stackoverflow.com/questions/25912104/three-js-draw-edges
            might have some useful stuff about it ?

            TIG

            1 Reply Last reply Reply Quote 0
            • chrisglasierC Offline
              chrisglasier
              last edited by

              Thanks again TIG. I had a look at edges helper but I don't think there's anything there (at least that I can understand!). I posted http://stackoverflow.com/questions/43152833/sketchup-model-collada-three-js-no-edges. Maybe it's more a Threejs oriented question.

              With TBA interfaces we can analyse what is to be achieved so that IT can help with automation to achieve it.

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              Buy SketchPlus
              Buy SUbD
              Buy WrapR
              Buy eBook
              Buy Modelur
              Buy Vertex Tools
              Buy SketchCuisine
              Buy FormFonts

              Advertisement