FredoBend | Powerful new bending tool for SketchUp Download

Alkategóriák

  • No decscription available

    20 Témakörök
    462 Hozzászólások
    HornOxxH
    @pilou said: More appetizing in chocolate! Eggs are good as well - but only very fragile when falling down in SketchyPhysics
  • Plugin(export attributes to csv)

    16
    0 Szavazatok
    16 Hozzászólások
    1k Megtekintések
    T
    Dan Rathbun Thank you so much for instruction. I am now studying "Design Patterns in Ruby" And just learned about Singlton Pattern. Does every one use Design Pattern making sketchup plugin? Or maybe use UML?
  • Strategy for passing quotes to a webdialog?

    5
    0 Szavazatok
    5 Hozzászólások
    326 Megtekintések
    Chris FullmerC
    Oh this stuff looks great guys, thanks! I'll probably get a chance to test it tonight, Chris
  • Bounding box of a nested solid

    4
    0 Szavazatok
    4 Hozzászólások
    283 Megtekintések
    G
    What i need is a quick check if the sectionplane cuts the solid. Because the .intersect_with is a very slow function i want first to check if solid wil be sectioned by the sectionplane to speed up the script. And the check with the bounding box works good except for nested solids. Anybody a tip for solving my problem?
  • Help with understanding error message.

    12
    0 Szavazatok
    12 Hozzászólások
    4k Megtekintések
    M
    @honoluludesktop said: Thanks Dan, will follow up here with progress. Hi all. I'm the user in question. So, I literally just discovered that the crashing seems occur only when I push the escape key to dismiss the splash screen. I have not had any problems in the past few minutes, so this may not be an issue at all with the plugin. It seems to happen even if I don't have the plugin installed. The reason I wasn't getting this after reinstalling is that SU required me to pick a template, so the escape key didn't work. How about that?
  • Javascript MAC innerHTML

    9
    0 Szavazatok
    9 Hozzászólások
    826 Megtekintések
    Dan RathbunD
    Awhile back, I noticed some quirky behaviour when trying to use innerHTML (on PC with IE7.) I think I switched to using innerText instead and that worked. If you are not actually inserting any HTML tags within the target element, I would say use innerText instead. I have not tested this yet since I upgraded to IE8, (and forget now even what it was I was working on, when I had the problems.) Anyway... FYI, just a note on innerText vs innerHTML.
  • Ruby Plugin Help

    10
    0 Szavazatok
    10 Hozzászólások
    457 Megtekintések
    Dan RathbunD
    Those characters are both Ruby operators and instance method names. Use the String concate method + to add those chars (which must be quoted.) my_string = 'Some special string' + ' > ' + 'the last part of the string.' or you can use replacement within double-quoted string: my_string = "The value: #{biggernum.to_s} > #{smallernum.to_s}" where biggernum and smallernum are numeric references. The 3rd way is to use the Integer instance method chr if you know the character's ordinal within the UTF-8 set. Since decimal 60 is the ordinal for "less than" ... 60.chr returns the single char string "<"
  • WYSIWYG for webdialogs.

    10
    0 Szavazatok
    10 Hozzászólások
    567 Megtekintések
    jolranJ
    Thanks
  • Ruby 1.8.6 on Mac

    7
    0 Szavazatok
    7 Hozzászólások
    858 Megtekintések
    M
    I changed two linkes to get the os x 10.6 bundled ruby 1.8.7 (patchlevel 174) Also for me everything seems to work. cd /Applications/Google SketchUp 8/SketchUp.app/Contents/Frameworks/Ruby.framework/Versions/A mv Resources Resources.back mv Ruby Ruby.back ln -s /System/Library/Frameworks/Ruby.framework/Versions/Current/Resources Resources ln -s /System/Library/Frameworks/Ruby.framework/Versions/Current/Ruby Ruby to change back: cd /Applications/Google SketchUp 8/SketchUp.app/Contents/Frameworks/Ruby.framework/Versions/A rm Resources rm Ruby mv Resources.back Resources mv Ruby.back Ruby
  • SkethchUp write_image method

    2
    0 Szavazatok
    2 Hozzászólások
    233 Megtekintések
    Dan RathbunD
    Too many variables. How would you for instance determine a harddrive's interface speed, and whether the write cache is on? If you want worstcase, then you could use old PATA speed of 33Mb/s, but most newer computers will have PATA of 100Mb/s. If the computer is late model, and has a SATA drive, the speeds can be up in the 3 .. 6 Gb/s range. So.. the easiest way would be to have the user fill in a WebDialog form for this info. They you would multiply width x height in pixels, by say 24bits each to get a approximate size for the image (if a BMP,) then divide by the interface speed. Estimating compressed format sizes (like GIF and JPEG,) will be much harder, but you might be able find some equations out on the web. (Then of course, there is extra processing time for the image to be compressed.) Sketchup uses PaintLib, an Open Source library. Perhaps there are some speed data on the PaintLib author's website?
  • Ptex??

    19
    0 Szavazatok
    19 Hozzászólások
    2k Megtekintések
    soloS
    I know there are numerous 3rd party apps that can achieve the UV solutions SU lacks, however I really like the Ptex system. I guess I'm hoping for a SU solution still, without needing to add more apps to my workflow, export, import, just a simple, easy solution.
  • Interprocess communication

    3
    0 Szavazatok
    3 Hozzászólások
    327 Megtekintések
    P
    Thanks, Dan. Your advice was very useful. I could have lost a lot of time on the other schemes which I referred to. The 'Programming Ruby' book by David Thomas and Andrew Hunt looks interesting. Downloaded the .so extension modules, installed them and run a Ruby console session: >require 'win32ole' true >ppt = WIN32OLE.new("PowerPoint.Application") #<WIN32OLE;0x11396c58> >ppt.Activate nil That's it: PowerPoint was activated, so I'm ready to use PPT automation in a SU script as desired. Really elegant. This scheme depends on the WIN32OLE extension written by Masaki Suketa. Can anybody give me advice on standard procedures for installation of such extensions on the machines of SU users. My post had another aspect: We are now capable of using Ruby as a client for Windows Automation. What about the other direction. Can SU be extended to become an automation server?
  • Select Visible geometry

    5
    0 Szavazatok
    5 Hozzászólások
    754 Megtekintések
    honoluludesktopH
    If locating the faces is sufficient, you can start with my code here. Just noticed that there is a link to Chris's post too.
  • Coming Soon: Scene Groups!

    32
    0 Szavazatok
    32 Hozzászólások
    6k Megtekintések
    S
    [image: hippo_bump.jpg]
  • Access Opacity

    3
    0 Szavazatok
    3 Hozzászólások
    237 Megtekintések
    D
    Thanks - works perfectly.
  • Notepad++ and SketchUp Bridge in SU8

    8
    0 Szavazatok
    8 Hozzászólások
    2k Megtekintések
    H
    @dan rathbun said: I actually have the bridge files installed in a common dir: %(#000000)[C:\Program Files\Google\TBD\SU_Bridge] .. and then I put a bridge_ext.rb file in each Plugin dir of the SU versions, that loads the files from the common dir. That way SUB.EXE is always in the same place, and you do not need to change the path to it within Notepad++ regardless of whatever version of Sketchup is loaded. [attachment=0:1pazsmqa]<!-- ia0 -->bridge_ext.rb<!-- ia0 -->[/attachment:1pazsmqa] This is excellent way, and it 's greatness solution ,thanks for your kindly help
  • Select entities in view

    3
    0 Szavazatok
    3 Hozzászólások
    260 Megtekintések
    L
    Thank you for your suggestion. I have however in increasing desperation and frustration found a solution that seems to work. Downloaded a trial version of Deep Exploration, a notorious 3d conversion program. To my great surprise it does the job very fast! Opening my very complex model takes about 3 minutes, but then exporting a pdf or ai files takes about 30 seconds. And judging from what I have seen so far, the output is flawless. Literally tens of thousands of lines are outputted almost instantly. I am happy! So this is just an advice for other users with the same demands I have. Deep Exploration seems to be able to do it.
  • View.invalidate vs view.refresh

    12
    0 Szavazatok
    12 Hozzászólások
    3k Megtekintések
    thomthomT
    @unknownuser said: @unknownuser said: Right - so if I make a wrapper that will refresh after a given max interval - otherwise invalidate - that would be an ok method? by using that you dont address the problem because you dont take in account system draw. but it can be used as workaround. So skip the view.invalidate all together?
  • UDP Socket and Threading in API

    3
    0 Szavazatok
    3 Hozzászólások
    1k Megtekintések
    M
    As Dan pointed out UI.start_timer works pretty good with UDP. Here's how I'd write it: require 'socket' serverSocket = UDPSocket.new serverSocket.bind("127.0.0.1", 3157) timer_id = UI.start_timer(0.1, true) { begin data = socket.recvfrom_nonblock(100) new_message = true rescue Errno;;EWOULDBLOCK new_message = false rescue Errno;;ECONNRESET new_message = false UI.stop_timer @timer_id break end if new_message == true UI.messagebox(data) end } The major different is the UI.start_timer in place of the "Thread" and "Loop" in your example. You'll also see that it uses .recvfrom_nonblock with some error catching instead of just .recvfrom. This is because sketchup will hang if nothing is sent to the socket. If you're sure that there will be a constant stream of data you might be able to get it to work with blocking.
  • Ruby API Bugtracker?

    10
    0 Szavazatok
    10 Hozzászólások
    1k Megtekintések
    tbdT
    of course this forum
  • Trying to retrieve face using ComponentInstance.glued_to

    5
    0 Szavazatok
    5 Hozzászólások
    304 Megtekintések
    Dan RathbunD
    @lothcat said: @dan rathbun said: FYI: There is a missing ) in line 5 of the snippet. D'oh! Thank you! I was so sure I was using this wrong that I didn't even look for actual coding errors. Usually the Ruby error tells you what line of the code that the error is in, and echos that erroneous line. Also it may print an extra line beneath the erroneous line with a caret symbol pointing at where it thinks the error is. Not always helpful, as it may just point at the end of the code line if the parser doesn't really know, for instance, where the missing ")" symbol should go. And.. a syntax error IS a coding error, most often missing delimiters, brackets, etc.

Advertisement