sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [Plugin] SliceModeler v1.3 released!

    Scheduled Pinned Locked Moved Plugins
    93 Posts 37 Posters 108.9k Views 37 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.
    • J Offline
      jumpjack
      last edited by

      that's exactly the plugin I was trying to write! But I don't know anything about Ruby, I just started studying it this morning, so you can imagine results...

      I was only able to get a section-plan moving across a model; I wanted to "extract" resulting section, and spread them around the model, but don't know where to start from; so I decided to just save a sequence of screenshots of the view at each step of section-plan moving, but I encountered another problem: can't figure out how to save the current view to image file!

      Any idea about how to improve my script or yours to get this result? (a separate image per each slice)

      1 Reply Last reply Reply Quote 0
      • B Offline
        boilingsnow
        last edited by

        How can I adjust the thickness of the slices? It seems not to work...

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

          The original script "Slicer.rb" (by me) [ http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=10413&p=68825&hilit=slicer.rb#p68820 ] simply slices the selected group/compo as desired - spacing, thickness etc are all adjustable...
          What this version is trying to do is make sets of slices in two axes and then add slots into them so that 3mm foam-board cut-outs can be printed and made and then slotted together...

          .

          TIG

          1 Reply Last reply Reply Quote 0
          • A Offline
            asteronimo
            last edited by

            in this version the slices have no thickness. I thought there was no need for it
            because my goal was to get the flattened slices with the slots. I export the flattened
            slices as a DXF file and use that file in a program for my laser cutter to cut 3mm sheet
            material like MDF or plexiglas.

            The next version will have adjustable thickness for the slices and solve some bugs as well.

            1 Reply Last reply Reply Quote 0
            • J Offline
              jumpjack
              last edited by

              @asteronimo said:

              I export the flattened
              slices as a DXF file and use that file in a program for my laser cutter to cut 3mm sheet
              material like MDF or plexiglas.

              How do you export them? One by one? Is it possible to place them side by side?

              1 Reply Last reply Reply Quote 0
              • A Offline
                asteronimo
                last edited by

                jumpjack,

                From the menu: File -> Export -> 3D model -> type: Autocad 14 DXF
                But maybe this menu option is only available in the SU Pro version?

                The flattened slices ARE placed side by side.

                1 Reply Last reply Reply Quote 0
                • J Offline
                  jumpjack
                  last edited by

                  @asteronimo said:

                  jumpjack,

                  From the menu: File -> Export -> 3D model -> type: Autocad 14 DXF
                  But maybe this menu option is only available in the SU Pro version?

                  The flattened slices ARE placed side by side.

                  yes, DXF export is only available in pro version.

                  But I can't see side-by-side slices! Do they appear only in exported model? I can only see a sliced model, but slices are still together.
                  Exporting to raster format would be the same for me...

                  1 Reply Last reply Reply Quote 0
                  • A Offline
                    asteronimo
                    last edited by

                    jumpjack,

                    Please check my first post in this thread.
                    I uploaded SliceModeler v1.3.
                    Hopefully that version works for you.

                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      jumpjack
                      last edited by

                      @asteronimo said:

                      jumpjack,

                      Please check my first post in this thread.
                      I uploaded SliceModeler v1.3.
                      Hopefully that version works for you.

                      Thanks, I tested it.
                      Apart for a little bug due to missing default value for slices axis, it works fine, but I can just see all slice "piled up", so I must move thm by hand to place them on the same plan, which is quite uncomfortable.

                      I mean, from drawing 1 I get drawing 2, but I'd need drawing 3. Is this possible? It's very tricky to place various slices on the same plan by hand...

                      http://img84.imageshack.us/img84/3107/slicesgi7.th.jpg

                      1 Reply Last reply Reply Quote 0
                      • A Offline
                        asteronimo
                        last edited by

                        Can you send me the drawing you are using?
                        And are you sure you are using the right version?
                        Because there should be default values and the flattened slices should spread out nicely.
                        See the picture on the url in the first post of this thread.

                        What SU version do you use, and wat is your OS?
                        I tested in SU 6 Pro on Mac OSX.

                        1 Reply Last reply Reply Quote 0
                        • Dave RD Offline
                          Dave R
                          last edited by

                          I can see a possible woodworker's application for this. It could be useful for creating templates for molds for laminating veneers to make complex shapes. Especially if they are compound curves. The illustration isn't a compund curve of course but gives the idea.
                          drawer.jpg

                          It would be nice if the plugin would give a thickness to the slices so that both sides of each part of the mold would be recognizable but that's alright.

                          Etaoin Shrdlu

                          %

                          (THERE'S NO PLACE LIKE)

                          G28 X0.0 Y0.0 Z0.0

                          M30

                          %

                          1 Reply Last reply Reply Quote 0
                          • J Offline
                            jumpjack
                            last edited by

                            Sorry, my fault: after first slicing, when I saw the new dialog I thought it was the same of the first one shown again, so I canceled it.....
                            I didn't understand it was a multiple-stages input!
                            Maybe all inputs should be inserted by user into a single dialog at the beginning? (but this would require checkboxes into dialog, and I don't know if they are supported).

                            Thanks.

                            1 Reply Last reply Reply Quote 0
                            • Dave RD Offline
                              Dave R
                              last edited by

                              Yes, I have the latest version but I can't seem to figure out how to generate just the mold shapes as I show in the image above. Perhaps you could demonstrate?

                              mold.skp

                              Etaoin Shrdlu

                              %

                              (THERE'S NO PLACE LIKE)

                              G28 X0.0 Y0.0 Z0.0

                              M30

                              %

                              1 Reply Last reply Reply Quote 0
                              • J Offline
                                jumpjack
                                last edited by

                                Ok, now it's working for me.
                                But I can't figure out how to get slices as thick as their distance: using same number as input does not work, I always can see some empty space between slices.

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

                                  @dave r said:

                                  Yes, I have the latest version but I can't seem to figure out how to generate just the mold shapes as I show in the image above. Perhaps you could demonstrate?

                                  [attachment=0:1fadgjsa]<!-- ia0 -->mold.skp<!-- ia0 -->[/attachment:1fadgjsa]

                                  SlicModeler makes slices on two chosen axes and puts slots into them so when you make the physical pieces they'll slot together into a 3D shape...
                                  I think that my original "Slicer" does more what you want... select the item and run Slicer - set the spacing at 1" and slice at 3/4" (1/4" gap), for your example you'd use Y axis. Don't adjust the spacing and finally say that you want flattened slices... You should then get what you want...

                                  .

                                  TIG

                                  1 Reply Last reply Reply Quote 0
                                  • Dave RD Offline
                                    Dave R
                                    last edited by

                                    Thanks TIG.

                                    You are indeed correct as you always are. Very good.

                                    Dave

                                    Etaoin Shrdlu

                                    %

                                    (THERE'S NO PLACE LIKE)

                                    G28 X0.0 Y0.0 Z0.0

                                    M30

                                    %

                                    1 Reply Last reply Reply Quote 0
                                    • C Offline
                                      cpeep
                                      last edited by

                                      Thanks for posting on my blog about this. I had toyed with the idea of using Sketchup for sliceforms, but didn't realize you could write a plugin to slice up ANY shape. Fabulous!! I'm going to play around with it a bit. Stay tuned.

                                      Carol
                                      Extreme Cards and Papercrafting
                                      http://extremecards.blogspot.com

                                      1 Reply Last reply Reply Quote 0
                                      • A Offline
                                        asteronimo
                                        last edited by

                                        Dave R,

                                        Go back to my first post in this thread and get the script there.
                                        The latest version gives thickness to the slices.

                                        1 Reply Last reply Reply Quote 0
                                        • C Offline
                                          cpeep
                                          last edited by

                                          I've had the opportunity to play around with this plugin a little. It works quite well, but I found that very often I want my center slice to cut through the center point of the model, thus creating two slices that intersect along the center line of each other. (The plugin creates four intersecting slices at the center of the model, equidistant from the center).

                                          Maybe I missed a way to shift the slices along the model?

                                          Carol
                                          Extreme Cards and Papercrafting

                                          1 Reply Last reply Reply Quote 0
                                          • P Offline
                                            paolo99
                                            last edited by

                                            asteronimo - Is there any support for the new version. I've got a bit of a problem...

                                            Just in case anyone can help -

                                            I'm trying to slice an object made up of two different pieces - they are grouped so they do look like one. The object is a available to form the the Sketchup 3d Warehouse. It's a mushroom - "Mushroom Pilz' by moom.

                                            The problem is that the slicer always seems to see the model as two separate entities - which, technically speaking it is. Is there a way to join faces in Sketchup?

                                            If someone with more of an understanding of what's going on can get this to work properly, can you let me know.

                                            Cheers

                                            Paolo

                                            p.s. It doesn't always ask if I want to output the flat images. This plugin clearly needs work if it's not a freebie!! WASTE OF TIME ❗

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

                                            Advertisement