[Plugin] Sketchup Ivy
-
No luck getting this installed. Dropped the contents of the zip into my "Plugins" folder and I'm getting this when I open Sketchup:
Error Loading File LiveIvy.rb
undefined method `file_loaded?' for main:ObjectMac 10.8.3 / SketchUp 2013
-
One of the SketchUp gurus will have to answer that...
-
same problem:
Error Loading File LiveIvy.rb
undefined method `file_loaded?' for main:ObjectSU2013
plugin Vray 1.49.02
and sketchupIvy 0.6.3beta
Please help! thank you -
The
file_loaded?
method is created bysketchup.rb
There should be a line near the start of every script to ensure thatsketchup.rb
is loaded before calling it:
require('sketchup.rb')
This will load it if it has no already been loaded by a script that loaded earlier on.
If you have a very limited number of plugins loading and one of them has not loadedsketchup.rb
before getting to try and load 'LiveIvy.rb' then you'll get a failure.
If you don't want to edit the LiveIvy file to add that line of code at the sart, then why not just install the 'SketchUcation Plugin Store' toolset [see the Resources menu] - that has a loader starting with ! putting it first alphabetically, so it loads at the very start AND therefore will have already 'required'sketchup.rb
, preventing later miscast plugins throwing an error.
You'll also have the added advantage of then having an awesome [free] toolset to auto-install and manager your plugins and extensions ! -
Thank you for share
-
The SketchupIvy.0.6.3 is a .rar file and Sketchup cant recognize it because it not an rbz. how do we install it?
-
@kjammer said:
The SketchupIvy.0.6.3 is a .rar file and Sketchup cant recognize it because it not an rbz. how do we install it?
Just extract it to your plugins folder. It's a zip folder.
-
You can get the RBZ version from http://sketchucation.com/resources/pluginstore?pln=SketchupIvy
-
Hello everybody, this very nice plugin working good with skp8 on windows xp and don't work with skp8 on windows vista?? with files in rar or rbz. anybody had got the same problem?? and is there a solution. thank you.
-
It will work on any system you put it on. perhaps you're having conflicts with other old plugins.
-
If you don't explain 'how it doesn't work' then no one will be able to help you to fix this problem.
It WILL install and work...
You are either mis-installing, mis-using or have other conflicting plugins [like maybe Vray beta] ?
Give us a clue ! -
Thank you for reply, when I start the plugin I can't get the reds lines ( branch) on my face,when I do ctrl left clic I get a littles crosses and shift clic I do that ? see on my screencapture. The plug installation is correct.
right now; I'm looking for if there is a conflict with others plugins.Thank you.
-
just left click to continue the growing process, then use ctrl+click (as you know) to add leaves and shift+click to finish
-
@jbjdesigns said:
The "branch" part worked okay; but when I applied the leaves, they all drooped (no matter what settings I used... and I really tried to make this work).
I seem to be having this same issue... all the leaves point downward, generally, and so the overall appearance is 'droopy.' There's doesn't seem to be a parameter to adjust this, though? Any thoughts?
-
Gravity might be your problem. Try setting it lower... Somewhere earlier in these posts there are default settings.
-
Hello, Thank you for your reply, Still not find a solution. But can you explain to me this error message in the ruby consolle? look on screencapture. Thank you.
-
Thanks for this !!
-
Hi im also having probles in Mac. the pluggin dialog apears, but at the moment than I want to do an ivy it desnt do anything, can you help me
thanks -
I'm having problems now too in OSX 10.9.1 and SU2013, before the Ivy version 0.6 worked fine on Mac, now when i call the plugin it appears this in Ruby Console:
PS: I have uninstalled all the plugins except Ivy and the problem persists.
-
You have float values saved as 0,8 rather than 0.8 so the commas breaks the conversion of the read_defaults string back into the hash ! There are some commas it needs, and some that should be '.' !
You use a commas as your decimal separator rather than the '.', but Ruby uses '.' always...
It should be something like:
{:gravity=>{:vector=>[0, 0, -1], :weight=>1,0}, :branch=>{:radius=>0,8, :nodesize=>3, :detail=>4, :probability=>0,97, :floatlength=>150, :spread=>1,0, :pattern=>0,8}, :wind=>{:weight=>0,1}, :random=>{:weight=>0,3}, :adhesion=>{:weight=>0,2, :max_adhesion_distance=>50}, :legacy=>{:weight=>0,8}, :leaf=>{:probability=>0,75, :size=>5,0, :pattern=>1}}
but you have:
{:gravity=>{:vector=>[0, 0, -1], :weight=>1,0}, :branch=>{:radius=>0.8, :nodesize=>3, :detail=>4, :probability=>0.97, :floatlength=>150, :spread=>1,0, :pattern=>0.8}, :wind=>{:weight=>0.1}, :random=>{:weight=>0.3}, :adhesion=>{:weight=>0.2, :max_adhesion_distance=>50}, :legacy=>{:weight=>0.8}, :leaf=>{:probability=>0.75, :size=>5,0, :pattern=>1}}
If you edit the file 'LiveVector_core.rb' with a plain-text editor and find line #61 that says:
return eval(str)
and now insert these lines of code just in front of it, thus:
split=str.split('=>') split.dup.each_with_index{|e, i| next unless e=~/^[0-9]/; next unless e.count(',')==2; split[i]=e.sub(/,/, '.') } str=split.join('=>')
then
return eval(str)
This should change the ',' to '.' - but only in the numbers like 0,8 >>> 0.8 but vector arrays and simple integers are ignored.
The hash should now eval OK...
Advertisement