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

    [Plugin] Slicer v4.3 20110619

    Scheduled Pinned Locked Moved Plugins
    102 Posts 20 Posters 137.5k Views 20 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.
    • TIGT Offline
      TIG Moderator
      last edited by

      I still think Zorro[2] should do what you want...
      I have 'chop.rb' [unreleased] that does something similar - simply splitting all of geometry inside the preselected things along the plane defined by 3 picked points...
      I'll see if I can get it decent for the public... If I recall it only chops to one level of nesting - probably more than enough for you... but not great as a general tool... πŸ˜•

      TIG

      1 Reply Last reply Reply Quote 0
      • K Offline
        kyyu
        last edited by

        @gschwartz9 said:

        ...
        I've tried: Subtract, Split, Trim, Zorro & Zorro2. All either don't do the job, or require significant "repair" work on the cut pieces.

        This snippet of code can take care of the repair work, after using the solid tools (Trim?). Right click the group and select "Divide Group after Trim". Just be sure no loose geometry is touching it(groups & components are ok), otherwise they may be incorporated into the new groups.
        divide group after trim.rb

        1 Reply Last reply Reply Quote 0
        • G Offline
          Gschwartz9
          last edited by

          I'll give Zorro[2] another try. Also interested in your chop tool. You're right about only one level of nesting needed.

          I think it would be great as a general tool. Examples: *Plumber working with sections of 2" copper pipe for a long run that has many changes in direction and varying lengths of pipe, *Landscaper laying tiles along a curved path, *Carpenter determining which length of lumber will be most efficient for a project that needs several pieces of varying lengths, *A craftsman determining how much of a very expensive wood he needs, *A retired Mechanical Engineer attempting to optimize usage of laminate flooring.

          Of all the tools I've looked at, Section Plane seems to have the essence of what's needed. It lacks is the option for retaining both sides of the section cut. An enhancement would be user-selected distance between the sides. That distance would vary depending on the material being cut; e.g. copper pipe, construction wood, model-makers wood, concrete ...

          Is the code for Section Plane available?

          There's always a better way.

          1 Reply Last reply Reply Quote 0
          • G Offline
            Gschwartz9
            last edited by

            @kyyu said:

            @gschwartz9 said:

            ...
            I've tried: Subtract, Split, Trim, Zorro & Zorro2. All either don't do the job, or require significant "repair" work on the cut pieces.

            This snippet of code can take care of the repair work, after using the solid tools (Trim?). Right click the group and select "Divide Group after Trim". Just be sure no loose geometry is touching it(groups & components are ok), otherwise they may be incorporated into the new groups.
            [attachment=0:1q6mm088]<!-- ia0 -->divide group after trim.rb<!-- ia0 -->[/attachment:1q6mm088]

            WOW!
            This does the job. Thank you kyyu.

            There's always a better way.

            1 Reply Last reply Reply Quote 0
            • G Offline
              Gschwartz9
              last edited by

              One remaining question:

              When I apply short reference lines to the edge of planks to use when I stagger the rows by 1/3 plank-length, the group is recognized as a group, but not a solid.

              If I edit the group & erase the reference lines, it is recognized as a solid.

              Where did I go wrong?

              There's always a better way.

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

                A solid is a group/definition where all edges have two faces - no more no fewer!
                So faceless-edges, faces without a neighbor [a flap], internal partitions where an edge has three or more faces or otherwise 'solid' forms that meet on a common edge so that edge actually has four faces... will all report as non-solids...

                So to avoid 'unsolidness' ensure that all edges have two, and only two faces... and use other means of adding 'guides'...

                TIG

                1 Reply Last reply Reply Quote 0
                • K Offline
                  kyyu
                  last edited by

                  You could use "guide point/lines" placed by the "Tape Measure Tool". Or there are plugins that make center points (aka construction points) and you can copy/paste them after they are replaced. Or plugins that may place the construction point directly. The picture below, illustrates the two methods.

                  Guide Point.png
                  Or making construction lines, outside of the group, may turn out to be a better solution. That's how I normally do alot of my alignment.

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

                    Is it possible to have variable spacing of the slices.
                    Such as the first slice is at the face of the object, second slice at 3", next slice at 8" and so on.

                    Thanks,

                    Larry

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

                      Not unless you rewrite the code!
                      It would be possible if you rewrite the loop that steps through the slice spacing - instead of using the spacing to move the intersecting 'disk' in even steps, you'd compile an array of the spacings and then iterate those in turn...
                      Why do you want to do this ??

                      TIG

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

                        Tig,

                        I want to use something like slicer to locate bulkheads at exact locations along the fuselages of some aircraft designs that I am working on. I like the way it can take the slices and lay them out flat so that I can export them to my laser cutter.
                        Maybe there is a better way, I don't know.

                        Larry

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

                          Make a large vertical rectangular face that will readily include the whole fuselage.
                          Group it.
                          Copy that group along the fuselage at the desired centers, typing in the exact dims as you go [Move+Ctrl...].
                          Double-click each face-group in turn and 'select-all' [double-click on the face].
                          Right-click and context-menu = Intersect > with Model...
                          The fuselage outline is imprinted on the face.
                          Erase any edges/faces you don't want.
                          Pushpull the required face[s] by the desired distance [tip once you've done a Pushpull you only need to double-click on a face to repeat the same 'extrusion']
                          Repeat this for all of the 'cross-sections' until you have all of the 'bulkheads' made.
                          To lay them 'flat' view in side elevation [perspective off] and use the Rotate tool on each one individually to flip them so they are horizontal.
                          When they are all done move them around in a plan view as desired... print off...

                          TIG

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

                            Thanks TIG.
                            Attached is a quick and dirty sample of what I think you were talking about.

                            Larry


                            Slicing.skp

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

                              That's about it... but I trust your fuselages are a little more complex! πŸ˜‰
                              Use layers to hide the fuselage [which I hope is grouped/componented] when you no longer need to see it...
                              Tip: when you are editing a group/instance you can switch everything else off during an edit - under the menu 'View' - 'Component' Edit - 'Hide Rest of Model' - that makes seeing what you are doing much easier! The fact it's hidden in the edit won't affect the intersecting you might do... πŸ€“

                              TIG

                              1 Reply Last reply Reply Quote 0
                              • X Offline
                                xrok1
                                last edited by

                                @tig said:

                                @xrok1 said:

                                @unknownuser said:

                                I have a [privately written and hopefully paid for] 'Slicer v4' that has such lines added etc for CNC work - watch this space.

                                hey, are you finally going to make your own and bust that slicemodeler @&&hole

                                I have written a paid commercial version [private] - Slicer_v4 - for someone for CNC use etc... it [or some of its ideas] might leak out to you too... πŸ˜‰

                                Did u ever decide to do this? πŸ˜›

                                β€œThere are three classes of people: those who see. Those who see when they are shown. Those who do not see.”

                                http://www.Twilightrender.com try it!

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

                                  Yes and no...
                                  I have two slicer-like commercial projects on... one day when they finish I hope to up date using some of the ideas in them... but don't hold your breath waiting...
                                  πŸ˜•

                                  TIG

                                  1 Reply Last reply Reply Quote 0
                                  • X Offline
                                    xrok1
                                    last edited by

                                    OK. I still appreciate all you do though. 😍

                                    β€œThere are three classes of people: those who see. Those who see when they are shown. Those who do not see.”

                                    http://www.Twilightrender.com try it!

                                    1 Reply Last reply Reply Quote 0
                                    • Rich O BrienR Online
                                      Rich O Brien Moderator
                                      last edited by

                                      I'm waiting....

                                      http://blog.nutrex.com/wp-content/uploads/2011/08/holding_breath1.jpg

                                      Download the free D'oh Book for SketchUp πŸ“–

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

                                        Exlax...

                                        TIG

                                        1 Reply Last reply Reply Quote 0
                                        • Rich O BrienR Online
                                          Rich O Brien Moderator
                                          last edited by

                                          Aaaaaaaaaahhhhhhh πŸ‘

                                          Download the free D'oh Book for SketchUp πŸ“–

                                          1 Reply Last reply Reply Quote 0
                                          • cottyC Offline
                                            cotty
                                            last edited by

                                            Hi TIG,
                                            I have tried the slicer script with a very simple geometry, but there are no flattened slices. Is the choosen geometry the reason for this? Is there an easy way to get the holes in the slices automatically? (SU8 M2 free)
                                            Thank you!


                                            slicer.jpg

                                            my SketchUp gallery

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

                                            Advertisement