• Login
sketchucation logo sketchucation
  • Login
ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

[Plugin] Slicer5

Scheduled Pinned Locked Moved Plugins
336 Posts 82 Posters 296.3k Views
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.
  • K Offline
    kierovnick
    last edited by 30 Sept 2013, 09:41

    Okay.. i've been waiting with writing here for a looong time, but now i find myself in situation where this plugin would be very helpful indeed.
    And.. surely enough i have a problem with it.

    My problem is almost like everyone elses, but i am providing the file so one could check on it.
    http://www.mediafire.com/download/38k93ic1qhwmne8/droplet.skp
    So.. what i have done there is make a wave pattern i wanted to slice, and by now, it's not even important what settings i use, as the problem seems to presist thoughout the tries. But for accuracy sake here are examplary ones:
    Axis: Y
    Spacing: 3
    Thickness: 1
    Insets: 0
    References: No (though i have the font installed and with or without references, problem's just the same)
    Flatten: No

    The first group gives me just 1/6 of one slice. Yup.. one sixth, as seen here:
    http://www.mediafire.com/convkey/df45/hjnfukyha2nyeqjfg.jpg

    (The dimensions are outside of the group)
    So in order to ckeck what is failing i tried to scale up and down, with no success, then, as seen in file i took the model, cut out 1/4 of it, scale up, (reducing geometry this way)and try again.
    This i've done few times reducing the geometry to nearly 6 faces... and still getting this error.
    Now, what i mean by "nearly"... on the two last groups you can see the hidden lines that when erased, delete the top face. This shouldn't happen, as it began as a flat surface, and cutting it down should not change this. And so after using align tool and making it flat again, slices are cut correctly.

    Now i wonder.. where this additional lines come from? Because if they exist in the model and mess up slices and are not visible and therefore not fixable, that means.. i am doing something wrong.. or not.

    Don't want to write a book about this so i'll just write, that i used cleanup plugin, solid inspector, purged model completely, disabled and then deleted plugins that could cause problems (the ones i know of) and nothing really helps.

    What is interesting, though, and worth mentioning,the very same geometry produces considerably less errors (even down to zero) when being sliced at different angle.
    Try:

    Axis: A
    Spacing: 1
    Thickness: 0,3

    For three interesting effects see A axis with angle of 30, 34 and 37 degrees. They behave oddly differently.
    Now.. is it problem with me doing something wrong, my model, slicer plugin, other plugins or sketchup?

    1 Reply Last reply Reply Quote 0
    • T Offline
      TIG Moderator
      last edited by 30 Sept 2013, 10:47

      It's possible to make a surface too complex for SketchUp to Intersect a face with successfully.
      Your surface has thousands of triangulated facets and cutting a face through many of them will occur near a vertex - the resultant piece if edge will have a start and end so close that SketchUp's Intersection tool's tolerance will fail to make the edge as it assume two points that are so close are in fact coincident and therefore a zero length line is not made. This leaves a gap in the potential loop for a face which would then form the basis something to PushPull to the required thickness...

      This occurs in many SketchUp tools like Intersect and FollowMe.
      Slicer uses the API intersect_with method so it fails too.

      To see this without Slicer.
      Make a large rectangular grouped face and position it cutting through the form.
      Edit the group and select the face.
      Switch View > Component Edit > Hide Rest of Model ON so you can see the results.
      Use the context-menu tool 'Intersect with Model'...
      Sometimes the intersection will form a full loop because all new edges vertices are regarded as non-coincident and could be PushPulled... BUT if you Undo and Move the group slightly, so that it cuts near to a triangular facet's apex and retry the Intersecting as above it'll probably leave tiny gaps in the loop so then no PushPull is possible.

      What you have just done is what Slicer does, but automated so the cutting face steps along and intersects/pushpulls etc...

      I am sorry but your form is one of those that SketchUp can't cope with... You can try simplifying the mesh, but I suspect that at some locations you'll always fall foul of tiny edges missing...
      Scaling up >=x100 will make the vertex coincidence less likely but no always 😞

      TIG

      1 Reply Last reply Reply Quote 0
      • K Offline
        kierovnick
        last edited by 30 Sept 2013, 11:41

        And this would be perfect answer for my question if not the fact, that... see here.. if you take that model and scale up, there are still some slices that aren't made.. but then again, if you scale it down to like 5% of its heigth (other two axes left unscaled, because scaling whole model down and slicing causes bugsplat) what it does is decreasing size of the triangles or leaving them unchanged, depending on if they are paralell to the floor or not, but then all slices are ok, and after slicing when scaled up again, it's all fine.. (just noticed it now).
        Now, if triangles can be smaller and still be cut properly, then model being to small isn't really an issue. Or am i missing something?

        (this ofcourse is a workaround for my problem, but it's still something that should be resolvable, since "scale and triangle size" explanation doesn't seem applicable in this case. At least not directly. So there have to be another thing that causes problem..)

        And.. it this worked for me, this could be resolution to all slicing problems.. just scale down the model along the axis you will slice model, slice it and scale back up. Then, if necessary, repeat with other axis.

        And one more thing. I have just created torus out of over 4000 triangles, then sliced it to 200 slices and... every single one came out correct.
        My model has below 2000 triangles and in the same scale, when sliced just now produced.... three slices correctly...

        And the last thing..
        After another 10 minutes slicing stuff.. i conclude again that SU is a tool far, far away from being perfect. So many flaws and errors..
        Every scale and every shape is treated differently. And from my point of view, this indeed isn't slicer problem, but SU itself, as those kind of problems i encountered in many places thoughout my work with SU.. soo.. let's just conclude, that in order to do things properly, one have to try, and try again.. it has to work one way or the other.
        Thanks for your help.

        And to show that it can be done, a picture


        A workaround to slicing improperly.. one way to do it.

        1 Reply Last reply Reply Quote 0
        • T Offline
          TIG Moderator
          last edited by 30 Sept 2013, 14:10

          Glad you managed to get a result 😲 πŸ˜„

          TIG

          1 Reply Last reply Reply Quote 0
          • M Offline
            mstsrs
            last edited by 29 Nov 2013, 11:03

            Thank you sir

            1 Reply Last reply Reply Quote 0
            • P Offline
              pilou
              last edited by 29 Nov 2013, 13:57

              @unknownuser said:

              i conclude again that SU is a tool far, far away from being perfect.

              For "perfect result" try maybe Nurbs like the crazzy Moi! πŸ˜‰


              slicer.jpg

              Frenchy Pilou
              Is beautiful that please without concept!
              My Little site :)

              1 Reply Last reply Reply Quote 0
              • T Offline
                TIG Moderator
                last edited by 12 Dec 2013, 21:48

                Here's a future-proofed update.
                http://sketchucation.com/forums/viewtopic.php?p=374969#p374969

                TIG

                1 Reply Last reply Reply Quote 0
                • C Offline
                  Cubcrafter
                  last edited by 14 Dec 2013, 16:57

                  Updated Slicer today thru Plugin store and got this error message.
                  No problem updating other TIG plugins.

                  Larry


                  Slicer.JPG


                  Slicer2.JPG

                  1 Reply Last reply Reply Quote 0
                  • T Offline
                    TIG Moderator
                    last edited by 14 Dec 2013, 18:02

                    Investigating...
                    πŸ˜•

                    TIG

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      TIG Moderator
                      last edited by 14 Dec 2013, 18:25

                      The latest update [v5.18] should resolve the issue πŸ˜•
                      Works fine for me...
                      There was a typo or two [now fixed], but I can't see how you got that error ??
                      Try removing the .rb and subfolder... and reinstall from scratch...

                      Report back if it then does not work for you...

                      TIG

                      1 Reply Last reply Reply Quote 0
                      • C Offline
                        Cubcrafter
                        last edited by 14 Dec 2013, 18:59

                        Removed folder and .rb file from Plugins Folder and reinstalled from Plugin Store.
                        Loads fine now.

                        Thanks,

                        Larry

                        1 Reply Last reply Reply Quote 0
                        • R Offline
                          rod bender
                          last edited by 17 Dec 2013, 10:14

                          I am running( on a Mac) the latest version of Trimble SketchUp Pro, and have just installed the latest version of Slicer 5.19
                          I am having difficulties exporting flattened slices to DXF format. Have done this before with previous versions of Slicer but don't seem to be having any luck with this updated version. Does anyone out there have any suggestions?

                          1 Reply Last reply Reply Quote 0
                          • Dave RD Offline
                            Dave R
                            last edited by 17 Dec 2013, 10:52

                            What's the trouble? Be more specific. Do you get the flattened slices in the SketchUp model space after the plugin runs? Is it just the export to DXF that is causing the problem? Can you export other lines to DXF?

                            Etaoin Shrdlu

                            %

                            (THERE'S NO PLACE LIKE)

                            G28 X0.0 Y0.0 Z0.0

                            M30

                            %

                            1 Reply Last reply Reply Quote 0
                            • R Offline
                              rod bender
                              last edited by 17 Dec 2013, 11:37

                              I get the flattened slices ok, select one group to Export. Choose export from Slicer and get the dialog box asking
                              For which format, select, then nothing happens

                              1 Reply Last reply Reply Quote 0
                              • Dave RD Offline
                                Dave R
                                last edited by 17 Dec 2013, 12:05

                                I just tried it on SU2013 with OSX10.8.5 and it worked just fine. What OS are you using? (Please complete your profile). In what location is the SKP file saved?

                                Etaoin Shrdlu

                                %

                                (THERE'S NO PLACE LIKE)

                                G28 X0.0 Y0.0 Z0.0

                                M30

                                %

                                1 Reply Last reply Reply Quote 0
                                • R Offline
                                  rod bender
                                  last edited by 17 Dec 2013, 15:15

                                  I am running OS 10.7.5 and the SKP is in Applications folder.

                                  1 Reply Last reply Reply Quote 0
                                  • Dave RD Offline
                                    Dave R
                                    last edited by 17 Dec 2013, 15:47

                                    You saved the model in the Applications folder? Try saving it in the Documents folder instead and see what happens.

                                    Etaoin Shrdlu

                                    %

                                    (THERE'S NO PLACE LIKE)

                                    G28 X0.0 Y0.0 Z0.0

                                    M30

                                    %

                                    1 Reply Last reply Reply Quote 0
                                    • R Offline
                                      rod bender
                                      last edited by 17 Dec 2013, 22:24

                                      Apologies, I saved the SKP on the desktop, but now have moved to the Document Folder. Alas no better luck with that. But thanks for your assistance.

                                      1 Reply Last reply Reply Quote 0
                                      • Dave RD Offline
                                        Dave R
                                        last edited by 17 Dec 2013, 22:28

                                        OK. So, are you still working on this tonight?

                                        Etaoin Shrdlu

                                        %

                                        (THERE'S NO PLACE LIKE)

                                        G28 X0.0 Y0.0 Z0.0

                                        M30

                                        %

                                        1 Reply Last reply Reply Quote 0
                                        • T Offline
                                          TIG Moderator
                                          last edited by 18 Dec 2013, 12:20

                                          A new version is now available.
                                          This should resolve some recently reported issues...
                                          http://sketchucation.com/resources/pluginstore?pln=TIG_Slicer

                                          TIG

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 8
                                          • 9
                                          • 10
                                          • 11
                                          • 12
                                          • 16
                                          • 17
                                          • 10 / 17
                                          • First post
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement