JSCAD User Group
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    V2 Feedback : about slicing

    Scheduled Pinned Locked Moved Development Discussions
    7 Posts 2 Posters 1.4k Views 1 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.
    • gilboonetG Offline
      gilboonet
      last edited by gilboonet

      Hello, I had a 3d model that I wasn't able to export to 2d format after I sliced it on 2 axis , and I just found that there were extraneous lines on it that needed to be removed.
      Capture d’écran de 2020-12-02 10-00-52.png
      After I removed red lines (on the left model), I was able to slice it and export resulting slices to 2d (svg).
      Capture d’écran de 2020-12-02 10-28-58.png

      now when I encounter this export error, I will look for lines that can be removed, but I suppose that a solid projection function could work even with them. Does anyone know how I could do to make a real projection function ?

      1 Reply Last reply Reply Quote 0
      • z3devZ Online
        z3dev
        last edited by

        Just a quick question... is the 3D model on the left an export to STL? It has a lot of triangles.

        1 Reply Last reply Reply Quote 0
        • gilboonetG Offline
          gilboonet
          last edited by

          @z3dev it is hand made model from Wings 3d, exported to .obj with triangular tessellation. It has many triangles because it is also used halved for another process, but it's something I do with lots of models that I was able to slice. The only difference is that to have it take the smaller possible bounding box, I rotated it 45° on Z.

          z3devZ 1 Reply Last reply Reply Quote 0
          • z3devZ Online
            z3dev @gilboonet
            last edited by

            @gilboonet the process sounds interesting.

            Do you know why the example on the left cannot be used? Which 'slice' is causing the issue? the top slice?

            gilboonetG 1 Reply Last reply Reply Quote 0
            • gilboonetG Offline
              gilboonet @z3dev
              last edited by

              @z3dev It made the slices, but the error happened when exporting to 2d. At first, as it is a very large model (120 cm x 40 x 40) I try to halve it but it still didn't export. I didn't test deep enough to know what exactly is causing this but when choosing slices position, some cause errors on the top of other slices. The script with erroneous 3d model is here https://jscad.xyz#https://raw.githubusercontent.com/gilboonet/designs/master/MEUBLES/sq_ed0008_err.js.

              z3devZ 1 Reply Last reply Reply Quote 0
              • z3devZ Online
                z3dev @gilboonet
                last edited by z3dev

                @gilboonet i like the script but it's too complex to debug.

                a few more questions... the issue seems to be with the number of polygons, but that doesn't make sense. so, there may be an issue with the points or the faces.

                is the mesh solid? no errors? (I haven't seen a CAD system that produces clean mesh.)

                have you tried to a simple 'union' using the original mesh (from import) and a little cube? i'm wondering if the retessellation would help.

                gilboonetG 1 Reply Last reply Reply Quote 0
                • gilboonetG Offline
                  gilboonet @z3dev
                  last edited by

                  @z3dev I'm currently working with furniture models, they are all hand made. I sliced 8 models (they are available here https://github.com/gilboonet/designs/blob/master/MEUBLES/readme.md, each picture open the corresp. model into jscad) and they are clean because my scripts (slicer and unflattener) can only produce patterns for models without errors (holes, non-manifold). It's certainly my process that met an unhandled condition. To produce 2 axes imbricated crosspieces, I need to slice and then split slices that are made of multiple separated pieces because crosspiece cut need to be done for each piece. As you said it is too complex to debug. I need to simplify my process, maybe voxelization could help.

                  1 Reply Last reply Reply Quote 0

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  • First post
                    Last post
                  Powered by NodeBB | Contributors