Voronoi, convex hull, geometry modification toolset
-
hello a4chitect
well, i have just download the update, i tried it but i have the same problem..
I can pointify, i can export (i have looked in the folder and the file with the coordonate of my point exist. But when i launch voronoi or convex hull, the program seems to launch but nothing is drawn.. and no other file (for instance voronoi.txt ) is created
i will retry of course but i don't understand..
is there anybody in the same case? or am i alone ?
i will search what the problem is..thank you for your work wich seems to be great !
-
please try exporting points with or without the bounding box (depending on which way you went before - choose the other way this time) and try to run voronoi.
or
download the attached skp and follow the instructions to test.
(maybe the qhull can't compute the results for your specific points alignment)or
please attach your points in a skp for me to try
-
dear a4chitect , thanks for your ruby ,but i had the same problem (voronoi doesnt work for me too ) maybe its because of operating system or something ( 32 or 64bit) dual prosseccoror... I dont know what! yours majid
-
please try this:
windows - open command prompt and navigate to your sketchup\plugins\qhull
(windows vista: it is easier to open qhull folder in windows explorer, press and hold shift and right-click anywhere inside empty space in qhull, choose 'Open Command Window Here')paste the following code 'qhull.exe TI points.txt v Qbb Qj o Fv' (without quotes) and press enter
(paste works by clicking in the top left corner on the small black icon, choose edit>paste)let me know your results
thanks
-
dear a4chitetct , i did and here is the result ( i paste all the result in a text file and zipped)
-
from the file you have attached, it is clear that the voronoi computation is all right, I have copied the following part
3 19 12 1 -10.101 -10.101 -10.101 69.50972188371688 213.9843863157402 423.5501981233883 ... ... ... 5 8 10 0 4 3 6 9 11 0 13 15 18
and pasted into an empty sketchup\plugins\qhull\qvoronoi.txt
then imported using a modified voronoi.rb (attached) which doesn't run the computation it only builds geometry from the qvoronoi.txtI am attaching the result as a .skp file
modified voronoi (replace your current but keep the original since this is for debugging)
-
hello a4chitect
excuse me for havn't said a word these days (a virus strike in my school..)
i have tried and tried different ways but nothing gets better. the file voronoi.txt (and convex hull too) is not created when i run voronoi (or convex hull)well i don't know how to do to attach a file... sorry..
i'll keep on trying on an other computer..thanks for your work !!
-
Hi A4chitect,
is there any way to have the export points script output in meters?
(great set of rubys by the way)
-
Can't get this work well. Seems to be some problem to read my points.txt file !?
Command input :
@unknownuser said:...Sketchup 6\Plugins\Qhull\qhull.exe" TI points.txt v Qbb Qj o Fv
Command output :
@unknownuser said:qhull error: could not open file "points.txt".
While executing: | qhull TI points.txt v Qbb Qj o Fv
Options selected for Qhull 2003.1 2003/12/30:Could anybody help and or develop some direct and realtime approximate voronoi calculation in sketchup ? Like soap-skin-bubble plugin ?
File from the debug.skp file given by a4chitect... Do not work with my qhull.exe ?
-
There is another voronoi ruby script out there. And it seems to be much more reliable. I've never used either though.
Have you tried the onther one?
Chris
-
I even found the link to it:
http://forums.sketchucation.com/viewtopic.php?f=180&t=19040&st=0&sk=t&sd=a
Chris
-
Chris
That links to qhull - the one that has the problems...Looking at the points.txt file itself I see that each line has three space-separated numbers - I take these to be x y z values.
However, the first only has a pair !
3 13
try adding another value to that line ? say
3 13 0
The sets of other numbers are space separated
26.106198369 -27.800497953 0.0
Perhaps if they were comma separated it'd work ? Do a find+replace for " " to "," and see if that helps ???Otherwise I'm stumped...
-
This is not for Mac OSX is it?
Advertisement