• Login
sketchucation logo sketchucation
  • Login
⚠️ Libfredo 15.4b | Minor release with bugfixes and improvements Update

[Plugin] Voxelize - Updated 2011-04-04

Scheduled Pinned Locked Moved Plugins
48 Posts 21 Posters 61.2k Views 21 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.
  • L Offline
    Lobster
    last edited by 11 Jun 2011, 11:07

    Thanks for this,

    Interesting plug in.

    voxelise.png

    1 Reply Last reply Reply Quote 0
    • D Offline
      Dave R
      last edited by 11 Jun 2011, 12:09

      Is there any chance of making this work to allow selection of a component as well as a group?

      Etaoin Shrdlu

      %

      (THERE'S NO PLACE LIKE)

      G28 X0.0 Y0.0 Z0.0

      M30

      %

      1 Reply Last reply Reply Quote 0
      • T Offline
        TheDro
        last edited by 11 Jun 2011, 13:11

        I might eventually get to adding that feature but it's hard to say when. I've been pretty busy this summer and plan to be until September so I might not get to programming any time soon. I just checked out some of the methods of components (instance and definition) and there is a "bounds" method (not found in the api documentation...) which I could use to run my script. This means it should be possible to make it work for components but I might not get to it any time soon.

        Have a great summer πŸ˜„ .

        1 Reply Last reply Reply Quote 0
        • T Offline
          TIG Moderator
          last edited by 11 Jun 2011, 13:20

          Of course you could always explode the component-instance and immediately group the highlighted geometry that results... now you have a group to process...

          TIG

          1 Reply Last reply Reply Quote 0
          • D Offline
            Dave R
            last edited by 11 Jun 2011, 13:25

            That's true, TIG. I guess for no more often than I would use the plugin, that wouldn't be too much trouble.

            Etaoin Shrdlu

            %

            (THERE'S NO PLACE LIKE)

            G28 X0.0 Y0.0 Z0.0

            M30

            %

            1 Reply Last reply Reply Quote 0
            • L Offline
              leminilab
              last edited by 12 Jun 2011, 13:56

              @unknownuser said:

              This screams out for Sketchy Physics to drop all those cubes.

              πŸ‘ That's what I thought too!
              Can't wait to see that! πŸŽ‰

              • "Live every day as if it were your last and then some day you'll be right."
              • "ThomThom rules!!!"
              1 Reply Last reply Reply Quote 0
              • topic:timeago-later,11 days
              • O Offline
                octopus2
                last edited by 23 Jun 2011, 22:32

                Is there a way of knowing how many cubes were generated?

                1 Reply Last reply Reply Quote 0
                • D Offline
                  Dave R
                  last edited by 24 Jun 2011, 00:18

                  Since the plugin creates the cubes as instances of a component, select one of them and look at the Entity Info box. It'll tell you how many there are.

                  Etaoin Shrdlu

                  %

                  (THERE'S NO PLACE LIKE)

                  G28 X0.0 Y0.0 Z0.0

                  M30

                  %

                  1 Reply Last reply Reply Quote 0
                  • T Offline
                    TheDro
                    last edited by 24 Jun 2011, 00:33

                    If you open up Window>>Ruby Console, before running the plugin, the debug information will tell you how many cubes were created, among other things. The other things are the amount of time each step takes to run. This is probably more helpful to me than to you but remember, this is still in beta πŸ˜„.

                    1 Reply Last reply Reply Quote 0
                    • topic:timeago-later,about a month
                    • F Offline
                      Flashhawk
                      last edited by 2 Aug 2011, 21:54

                      You are kidding me right? I mean you must kid me!! I did this by hand last week!!! I was totally not aware of your script and i made a voxelized soldier for a 3d Print project (3mm or 1/600 scale infantry) by overlaying a 3d-warehouse model with a matrix of 30x30x30 voxel and then deleting everything that was not used... (like in Michelangelos "I chipped off everything that did not look like a lion") Man i will so much use this next time!!!! Thanks alot!
                      Flashhawk

                      1 Reply Last reply Reply Quote 0
                      • Dan RathbunD Offline
                        Dan Rathbun
                        last edited by 3 Aug 2011, 03:01

                        @thedro said:

                        I just checked out some of the methods of components (instance and definition) and there is a " bounds" method (not found in the api documentation...)

                        Yes it is.

                        bounds() is defined in class Drawingelement

                        Group, ComponentDefinition, ComponentInstance are all subclasses of Drawingelement, so they inherit their superclass' instance methods.

                        At the console:
                        Sketchup::Group.superclass()

                        Sketchup::Drawingelement

                        Sketchup::Drawingelement.superclass()

                        Sketchup::Entity

                        .. so they also have all Sketchup::Entity instance methods. And Sketchup::Entity is a subclass of Object so they have all of those instance methods, and module Kernel is mixed into Object, so they will have of those methods.

                        I'm not here much anymore.

                        1 Reply Last reply Reply Quote 0
                        • topic:timeago-later,2 years
                        • A Offline
                          Anton_S
                          last edited by 11 Mar 2013, 18:57

                          πŸ˜† Does anyone play Minecraft? -- everything is made of cubes

                          1 Reply Last reply Reply Quote 0
                          • topic:timeago-later,7 months
                          • pilouP Offline
                            pilou
                            last edited by 22 Oct 2013, 12:24

                            Try Qubicle πŸ˜„

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

                            1 Reply Last reply Reply Quote 0
                            • topic:timeago-later,about a month
                            • OxerO Offline
                              Oxer
                              last edited by 28 Nov 2013, 11:56

                              Hi,
                              Thanks for the plugin, I have made an icon for the plugin but I don't know ruby code to create the toolbar for the plugin, if you are insterested here the icons.

                              Voxelize Icon.jpg

                              Voxelize Icons.zip

                              "The result is the end what is important is the process" by Oxer
                              [http://www.oxervision.blogspot.com/(http://www.oxervision.blogspot.com/)]

                              1 Reply Last reply Reply Quote 0
                              • I Offline
                                iasef25
                                last edited by 3 Dec 2013, 10:42

                                Hi,

                                How can I count the the boxes (cubes) after voxelization? Is there any automatic method to count it?

                                Thank you.

                                Iasef.

                                1 Reply Last reply Reply Quote 0
                                • D Offline
                                  Dave R
                                  last edited by 3 Dec 2013, 11:00

                                  @iasef25 said:

                                  Hi,

                                  How can I count the the boxes (cubes) after voxelization? Is there any automatic method to count it?

                                  Thank you.

                                  Iasef.

                                  The answer to your question is just a few posts above yours. It's amazing what you'll see if you spend a few seconds looking. πŸ˜‰

                                  @unknownuser said:

                                  Since the plugin creates the cubes as instances of a component, select one of them and look at the Entity Info box. It'll tell you how many there are.

                                  Etaoin Shrdlu

                                  %

                                  (THERE'S NO PLACE LIKE)

                                  G28 X0.0 Y0.0 Z0.0

                                  M30

                                  %

                                  1 Reply Last reply Reply Quote 0
                                  • BoxB Offline
                                    Box
                                    last edited by 3 Dec 2013, 11:28

                                    You can say that again.

                                    1 Reply Last reply Reply Quote 0
                                    • I Offline
                                      iasef25
                                      last edited by 3 Dec 2013, 13:16

                                      Hi Dave R,

                                      Thank you so much !
                                      πŸ˜„

                                      Iasef.

                                      1 Reply Last reply Reply Quote 0
                                      • topic:timeago-later,4 months
                                      • pilouP Offline
                                        pilou
                                        last edited by 14 Apr 2014, 10:03

                                        Qubicle 2 soon! πŸ˜„

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

                                        1 Reply Last reply Reply Quote 0
                                        • topic:timeago-later,5 months
                                        • fionmacoolF Offline
                                          fionmacool
                                          last edited by 31 Aug 2014, 22:51

                                          Cool plugin. Cheers.

                                          Zere are still some architectes zat do not know ow to use ze SketchUp..... Zis is unbelievable....

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

                                          Advertisement