[PLUGIN] Voronoi + Conic Curve

Re: [PLUGIN] Voronoi + Conic Curve

Postby pilou » Thu Feb 28, 2013 2:08 pm

Cool ! :enlight:

For the OK Button that must be something between V7 V8
not works in V7, works in V8
2
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: [PLUGIN] Voronoi + Conic Curve

Postby notareal » Thu Feb 28, 2013 5:07 pm

MattC, that sounds great! Cannot wait.
0
Welcome to try Thea Render, Thea support | kerkythea.net -team member

notareal 
Thea Render Support
Thea Render Support
 

Re: [PLUGIN] Voronoi + Conic Curve

Postby MattC » Tue Mar 05, 2013 11:18 pm

So it is officially begonnen:
spin-heads.blogspot.com

Cheers
Matt
0

MattC 
 

Re: [PLUGIN] Voronoi + Conic Curve

Postby pilou » Wed Mar 06, 2013 12:44 am

Appetizing first page! :enlight:
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: [PLUGIN] Voronoi + Conic Curve

Postby Mra » Wed May 15, 2013 6:52 am

Hey, nice plugin - but I do not know how to use.

Every option simply brings up a cmd.exe for a millisecond and nothing ever happens.

The steps in the OP are unclear to me? How do we first generate the CP points?
0

Mra 
 

Re: [PLUGIN] Voronoi + Conic Curve

Postby pilou » Wed May 15, 2013 8:51 am

How do we first generate the CP points?

You just draw them as you want!

First image

One rectangle as plane background where you draw as you want the Control points
DON'T erase the "background"
Select points
Call the plug
Select points
Erase points

Second image
Select lines
Call Lattice Maker by Tig
Call Random Painter by Chris Fullmer


Selection Toys for select only points by ThomThom

Lattice Maker by Tig

Random Painter by Chris Fullmer


0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: [PLUGIN] Voronoi + Conic Curve

Postby Mra » Thu May 16, 2013 12:40 am

Thank you very much for the help.

But that's the first problem I had, I'm not sure of any tool in SketchUp to draw CP points, is this a plugin? I have no issue with the rest of the steps just how to initially draw the points.
0

Mra 
 

Re: [PLUGIN] Voronoi + Conic Curve

Postby cotty » Thu May 16, 2013 7:06 am

For this, I use the plugin point from Matt666...
0
User avatar
cotty 
Top SketchUcator
 

Re: [PLUGIN] Voronoi + Conic Curve

Postby pilou » Thu May 16, 2013 11:21 am

Personnally I use the Old Projection Toolbar by Didier Bur for the Cpoints! ;)
because there is also some crazzy tools on it : mutiple PushPull random and the crazzy
Extrude line! :thumb:
old Projection
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: [PLUGIN] Voronoi + Conic Curve

Postby Mra » Fri May 17, 2013 12:35 am

Thanks!
0

Mra 
 

Re: [PLUGIN] Voronoi + Conic Curve

Postby Arkinsaw » Sat Dec 07, 2013 9:28 pm

Hi Matt,

Thanks for your script, can't wait to use it!

Unfortunately I've recently bought 2013Pro and I'm having nightmares trying to installing the script. I run a Macbook 10.9 - With Google Sketchup 8, the plugins folder used to be located under Macintosh HD/Users/Library/Application Support/Google SketchUp 8/SketchUp/Plugins but for some reason there is no default folder for Sketchup 2013 under the same path.

I've found that there is a "Show Package Contents" context menu on Applications/SketchUp 2013/SketchUp.app that reveals a PlugIns folder but my copying and pasting the script into this doesn't work either.

Not sure if you have any recommendations? Would you be able to upload your script onto Sketchup Extension Warehouse? I looked for it there also but silly me couldn't find it?

Anyway, thanks again! Really appreciate any help!

Arky
0

Arkinsaw 
 

Re: [PLUGIN] Voronoi + Conic Curve

Postby Box » Sat Dec 07, 2013 11:19 pm

The best way to sort yourself out is to go to the top of the page, Resources, and download and install the Sketchucation Plugin store. It is an RBZ which installs through the Preferences dialog within sketchup, the extensions tab. Once you have installed that you can auto install many many plugins including this one.
1
User avatar
Box 
 

Re: [PLUGIN] Voronoi + Conic Curve

Postby Arkinsaw » Sun Dec 08, 2013 1:16 pm

Hi Box,

Thanks ever so much for your reply... I've downloaded the Sketchucation Plugin store as you suggested and it has installed correctly (I saved the rbz onto my desktop). Unfortunately although the VoronoiXY plugin is shown as 'installed' under Sketchucation Plugin Manager, I can't seem to see the tool anywhere on Sketchup, when sketchup opens I get the following error message:

Error Loading File VoronoiXY.rb
no such file to load -- delauney3.rb

In fact, the top bar of the Sketchucation Plugin Manager tells me the file path for the plugins folder but when I follow that on my computer there is no such path! - I have even created a new directory to emulate that path and see if that works but no luck?
0

Arkinsaw 
 

Re: [PLUGIN] Voronoi + Conic Curve

Postby Box » Sun Dec 08, 2013 2:53 pm

It's not very clear but if you read back through the thread you'll find that you need Tig's Triangulate Points plugin. It contains the missing delauney3 file.
So if you use the Sketchucation store to autoinstall Triangulate Points v1.0 the error should go away and it should show up in the Plugins menu.

As to the folder path location, Mac hides the folder from you, there is a way to show the folder but as I'm not a Mac user I don't remember how.
0
User avatar
Box 
 

Re: [PLUGIN] Voronoi + Conic Curve

Postby ccs1987 » Sat Apr 19, 2014 11:20 am

Does this work on SU 2014?
1
Sketchup 8 pro
Vray

Intel Xeon W3520 2.67Ghz
12Gb Ram
Nvdia Quadro FX 1800

ccs1987 
 

Re: [PLUGIN] Voronoi + Conic Curve

Postby Oxer » Mon May 26, 2014 3:09 am

Interesting plugin but the icons don't show on Mac (see the image below), but they work fine.

Toolbar.jpg

When I push Tab key on Mac the Options window doesn't apper.

OSX 10.9.3 & SU2014
0
"The result is the end what is important is the process" by Oxer
http://www.oxervision.blogspot.com/
User avatar
Oxer 
 

Re: [PLUGIN] Voronoi + Conic Curve

Postby CTX » Thu Aug 28, 2014 11:57 am

any news on SU2014?
thanks in advance!!
0
User avatar
CTX 
 

Re: [PLUGIN] Voronoi + Conic Curve

Postby TIG » Thu Aug 28, 2014 12:39 pm

It works in v2014 on PC for me. :)

You do need delauney3.rb loading to get the 'Voroni' part to load and work.
The zip on this thread's second page includes that. viewtopic.php?p=417942#p417942
It also makes the toolbar.
The issue with MAC and toolbar's missing icons is most usually to do with the PNG files' format.
Some PC-made PNG images are not suitable for the MAC.
Try editing the PNGs shipped within the ZIP's subfolder on the MAC and saving them, they might then become MAC-friendly.
The dialog won't open on MAC because the ConicCurveInFace.rb code uses:
def onKeyDown(...
at line #10.
For some unfathomable reason a TAB-key down on MAC is not 'seen', so while pressing the TAB-key on a PC works, it fails silently on a MAC.
It's easily fixed by changing the code to read:
def onKeyUp(...
So then when you release the TAB-key the dialog appears - works on MAC AND PC.
Also change the next line from:
if key==9 or key==15 or key==48...
to read:
if key==9 or key==15 ###or key==48...
As key#48 is NOT a TAB newer MACs - it's #15, and #9 on PCs.
You might find odd things happening otherwise.
This old toolset is a bit creaky BUT it works, and can be fixed up easily too...
1
TIG
User avatar
TIG 
Global Moderator
 

Re: [PLUGIN] Voronoi + Conic Curve

Postby Oxer » Fri Sep 12, 2014 11:09 am

Thanks TIG for the info, the dialog appears now on MAC. The icons don't show, I changed them to png mac format and resize their resolution of 96 to 72 but without result. It's a mystery!! :?:
0
"The result is the end what is important is the process" by Oxer
http://www.oxervision.blogspot.com/
User avatar
Oxer 
 

Re: [PLUGIN] Voronoi + Conic Curve

Postby TIG » Fri Sep 12, 2014 12:52 pm

Oxer wrote:Thanks TIG for the info, the dialog appears now on MAC. The icons don't show, I changed them to png mac format and resize their resolution of 96 to 72 but without result. It's a mystery!! :?:
If you make brand new PNG files does that help ?
The attached ZIP contains just the PNG files at 72 dpi and with the Color Profile 'generalized' [i.e. NOT IExxx] - put them into the subfolder...
Do they help on your MAC ?
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [PLUGIN] Voronoi + Conic Curve

Postby Oxer » Fri Sep 12, 2014 1:58 pm

Thanks TIG for the effort but your icons don't show on Mac. :cry: :?:

Icons.jpg


I don't know if the problem is in the ConicCurveInFace.rb file, if there is a missing code to load the icons. The mouse icon shows correctly.
0
"The result is the end what is important is the process" by Oxer
http://www.oxervision.blogspot.com/
User avatar
Oxer 
 

Re: [PLUGIN] Voronoi + Conic Curve

Postby TIG » Fri Sep 12, 2014 11:09 pm

I don't expect this to fix it... but you never know :shock:

Look in subfolder's .rb files for these lines...
cmd.small_icon = "voronoi_conic/icon0s.png"
cmd.large_icon = "voronoi_conic/icon0.png"


Change it to read thus:
cmd.small_icon = File.join(File.dirname(__FILE__), "icon0s.png")
cmd.large_icon = File.join(File.dirname(__FILE__), "icon0.png")


AND similarly make changes for the other 2 similar entries for cmd1 & cmd2...
Save & restart SketchUp........
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [PLUGIN] Voronoi + Conic Curve

Postby Oxer » Mon Sep 15, 2014 1:05 am

Thanks you very much TIG!! :thumb:
Problem fixed, I changed the lines and the icons show now.

icons.jpg
0
"The result is the end what is important is the process" by Oxer
http://www.oxervision.blogspot.com/
User avatar
Oxer 
 

Re: [PLUGIN] Voronoi + Conic Curve

Postby CTX » Wed Sep 17, 2014 4:58 pm

for TIG:
Thank you first of all for the suggestion ........ but I get this message .Where I do wrong? Thanks in advance! :bounce: :bounce:
0
User avatar
CTX 
 

Re: [PLUGIN] Voronoi + Conic Curve

Postby Oxygen220 » Wed Sep 17, 2014 6:01 pm

anyone know what to do when this happens?

Error Loading File VoronoiXY.rb
Error: #<LoadError: cannot load such file -- delauney3.rb>
C:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:in `require'
C:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:in `require'
C:/Users/MR-T-REX/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/VoronoiXY.rb:31:in `<top (required)>'
0

Oxygen220 
 

Re: [PLUGIN] Voronoi + Conic Curve

Postby TIG » Wed Sep 17, 2014 6:07 pm

Yes.
It's an incompatibility with SketchUp v2014 Ruby2...

I'm working on a fix...
1
TIG
User avatar
TIG 
Global Moderator
 

Re: [PLUGIN] Voronoi + Conic Curve

Postby Oxygen220 » Wed Sep 17, 2014 6:22 pm

ok so i got the points and triangulation working, but when i select the point and click voronoi, nothing happens, what am i missing? D: no errors come up, just nothing happens.
0

Oxygen220 
 

Re: [PLUGIN] Voronoi + Conic Curve

Postby TIG » Wed Sep 17, 2014 6:31 pm

Here is the updated RBZ in the PluginStore

Download


It has the corrected icons / paths and is now compatibly encoded files for >= SketchUp v2014 [and earlier!]...
It also auto-removes any of its outdated and unwanted files from the base Plugins folder...
1
TIG
User avatar
TIG 
Global Moderator
 

Re: [PLUGIN] Voronoi + Conic Curve

Postby Oxer » Wed Sep 17, 2014 7:33 pm

Hi TIG, you forgot to fix the problem with the TAB key on Mac in the new version:
TIG wrote:The dialog won't open on MAC because the ConicCurveInFace.rb code uses:
def onKeyDown(...
at line #10.
For some unfathomable reason a TAB-key down on MAC is not 'seen', so while pressing the TAB-key on a PC works, it fails silently on a MAC.
It's easily fixed by changing the code to read:
def onKeyUp(...
So then when you release the TAB-key the dialog appears - works on MAC AND PC.
Also change the next line from:
if key==9 or key==15 or key==48...
to read:
if key==9 or key==15 ###or key==48...
0
"The result is the end what is important is the process" by Oxer
http://www.oxervision.blogspot.com/
User avatar
Oxer 
 

Re: [PLUGIN] Voronoi + Conic Curve

Postby TIG » Wed Sep 17, 2014 10:05 pm

Doh ! :roll:
So many bug-fixes... v2.3 in progress...
0
TIG
User avatar
TIG 
Global Moderator
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

PreviousNext


 

Return to Plugins

Who is online

Users browsing this forum: guyfarmer, JGAU, Renaud1997, suraj111 and 13 guests

Visit our sponsors: