Urasik Extensions | Lots of new extensions to check out Learn More
  • [Plugin] Facewarp

    6
    0 Votes
    6 Posts
    11k Views
    TIGT
    @builder boy said: @tig said: http://code.google.com/apis/sketchup/docs/ourdoc/edge.html#split ??? This will only split a line into 2 segments with controllable proportions, I am looking for something more like this: edge.divide(5) # for 5 equal-length segments It'd be easily enough to make a custom 'divide' method that works as you want - you know the edge's starting length and therefore the length of one divided part. So simply iterate through the edge the number of divisions-1 nibbling off the appropriate proportion as another edge until you are done. I don't recommend extending the Edge class but more like this... self.divide(edge,5) calling this def divide(edge=nil, num=nil) return nil if not edge or edge.class!=Sketchup;;Edge return nil if not num or not num.class==Fixnum or num<=1 len=edge.length bit=len/num.to_f num.times{ begin nedge=edge.split(bit/len) if nedge edge=nedge len=edge.length end#if rescue puts 'Divide Error' end } end Which splits the specified edge into the specified parts...
  • [Plugin] Colr Explorer

    22
    0 Votes
    22 Posts
    18k Views
    P
    @didier bur said: Hi, I can't read what's on your image, but this looks to me as this is an HTML error in the web dialog, not really a ruby error. I've published (long ago) a similar plugin to generate colors based on the Munsell system. It can be found here: http://rhin.crai.archi.fr/rld/plugin_details.php?id=258 Hope this helps, Hi Didier ,I really appreciate your help... Ive searched a Pugin who has an integration with Adobe Kuler color and Sketchup 8, but I havent had much luck, anyway thank you very much! Greetings!
  • Drawing a line for the camera?

    9
    0 Votes
    9 Posts
    2k Views
    S
    @bentleykfrog said: @sketchnl said: @sketchnl said: @bentleykfrog said: @mitcorb said: I am gonna hazard a guess that it is "Proper Animation"? Search this hope this helps..... -niall Thanks People, this is so useful No worries Jeremy. Here's the link to Revert Curve by Fredo6 Thanks bentleyfrog
  • Looking for password of suntools v2.3

    4
    0 Votes
    4 Posts
    705 Views
    Dave RD
    So did you try contacting the author directly at the e-mail address listed in the PDF help file?
  • Problem with faceted renders using Twilight and Artisan

    3
    0 Votes
    3 Posts
    466 Views
    W
    HOOLLLD EV'RYTHING!!! After nuch banging-of-head-on-desk... and experiments... I tried Frederik's suggestion. No dice. But did the same and made into a COMPONENT... all solved! ...for now. Though I'm still fuzzy as to why this should actually work. But. Don't question miracles (well, not DIGITAL ones, anyway). Busy now doing jolly fantastic things with it. I is now in heaven! I think by FAR the Artisan will turn out to be the best thing to happen to sketchup to date. Cheers all, Woz
  • [request] align view perpendicular to section

    3
    0 Votes
    3 Posts
    2k Views
    S
    oh, ta!
  • [Plugin] Treemaker

    5
    0 Votes
    5 Posts
    11k Views
    B
    @pichuneke said: Perhaps you could make clouds with this plugin... at least the typical ones from anime, or a comic. I can also see my plugin making lightning.
  • Zone object

    3
    0 Votes
    3 Posts
    400 Views
    A
    Thanks TIG but I'm struggling with Ruby. I've done basic, machine code (long time ago), Lisp & GDL (ArchiCAD). I did look at your volume script but I'm not sure how to add your snippet of code above.
  • The Fredo Collection Downloads (2011 Jan)

    8
    0 Votes
    8 Posts
    6k Views
    G
    @cgsipaul said: I downloaded LibFredo6 3.6b and Curviloft 1.1a. Using SketchUP 8 on a Mac OS 10. Loaded the plug-ins into the Library-Applications-SketchUp-Plug-Ins folder. Restarted computer and application, but I do not see any reference to the plug-in. What am I doing wrong? Extract it to a different folder then move it to the Sketch Up plugins folder. This worked for me.
  • Materials problem on Export

    12
    0 Votes
    12 Posts
    790 Views
    Alan FraserA
    Thanks TIG.
  • [Request] Component / Group Renamer - IDs

    2
    0 Votes
    2 Posts
    369 Views
    D
    I don't know if this will work for you, but its similar... Product Connect plugin, by igloo tudios May be it can help?
  • [Plugin] KML LineString Importer

    5
    0 Votes
    5 Posts
    12k Views
    sdmitchS
    Gaieus - Yes it imports as a group of connected edges and could be draped on existing terrain but I was hoping to use the data to create terrain. Aerilius - Yes I tried most if not all of the Altitude options but none changed the Z output.
  • (Request) Perspective 360 rotate

    4
    0 Votes
    4 Posts
    669 Views
    D
    hi I use a modified version of create360veiw.rb http://forums.sketchucation.com/viewtopic.php?p=45473#p45473 I've modified it create 36 scenes plus 36 layers so you can then link up other stuff on layers. try it out, if it's basically useful and If you can't do the mods yourself, PM me and I'll send a copy of mine set for 64. I then export as animation to give me jpegs etc... but that might be a Mac thing. john
  • [Request] Report current Aspect Ratio

    3
    0 Votes
    3 Posts
    397 Views
    JClementsJ
    Thank you, Didier. Merci beaucoup. Regards, John
  • Sort of road plugin

    7
    0 Votes
    7 Posts
    937 Views
    pilouP
    you have also this Shape Bender by Chris Fullmer Second part of the video can interest you [flash=480,390:13h1j78f]http://www.youtube.com/v/tGHTIOMm_34?fs=1[/flash:13h1j78f]
  • [plugin] Ruby Code Editor - UPDATED to v3.0 3/4/2013

    37
    0 Votes
    37 Posts
    32k Views
    D
    I made a fork and did an edit on the read-me a test as much as anything... john
  • [Request] Force material deletion

    3
    0 Votes
    3 Posts
    405 Views
    brodieB
    Thanks thomthom, I'll give that a shot. -Brodie
  • Random rotate on different axis

    3
    0 Votes
    3 Posts
    623 Views
    W
    If you set the component axis to the center of the square and run Chris' scale and rotate multiple script, it works fine for me. Scale and Rotate randomly about the Comp. Base. Or leave the axis on a corner and scale and rotate about Center works for me too.
  • Contents Menu to other menu locations

    10
    0 Votes
    10 Posts
    538 Views
    K
    @unknownuser said: TIG I my studies of Ruby for Sketchup, I have no problem with finding the context menu, it just seems to me there is always an "if then" statement, proceeding the menu add statement, and I don't see on this the other menus. There are some plugins that appear in more than one menu, and I usually turn off the context menu, and move the plugin to an other memu selection where I wish to have the plugin appear. However, I have not been able to master the coding to get rid of just a context menu with the "if selection is.....". Anyway, I will keep trying. Thank Ken You could write a intermediate method to do the check. If ok, it runs the plugin. If not valid, then it pop up an error message: def xLine_check_valid if xLine_validate_selection xLine else UI.messagebox "Invalid selection" end end if( not file_loaded?("xLine.rb") ) UI.menu("Plugins").add_item("Convert lines to guide lines"){xLine_check_valid} end file_loaded("xLine.rb")
  • Re: [Plugin] Another Mirror Ruby

    31
    0 Votes
    31 Posts
    38k Views
    R
    and the great autocad mirror comes to sketchup!!! whoa..yippee!!

Advertisement