[Plugin] Voxelize - Updated 2011-04-04
-
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.
-
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 .
-
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 -
@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 classDrawingelement
Group
,ComponentDefinition
,ComponentInstance
are all subclasses ofDrawingelement
, 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. AndSketchup::Entity
is a subclass ofObject
so they have all of those instance methods, and moduleKernel
is mixed intoObject
, so they will have of those methods. -
Does anyone play Minecraft? -- everything is made of cubes
-
Try Qubicle
-
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. -
Hi,
How can I count the the boxes (cubes) after voxelization? Is there any automatic method to count it?
Thank you.
Iasef.
-
@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.
-
You can say that again.
-
Hi Dave R,
Thank you so much !
Iasef.
-
-
Cool plugin. Cheers.
Advertisement