⚠️ Important | Libfredo 15.6b introduces important bugfixes for Fredo's Extensions Update
  • Geocoder for Sketchup Ruby API

    3
    0 評價
    3 貼文
    681 瀏覽
    M
    No it's not built inside google map. i'm creating a model of a house that exists in real life, ad i write it's address in an inputbox. now i want to creat a plugin that shows the location of that house on google map based on the address i wrote .
  • DLL callback to ruby

    41
    0 評價
    41 貼文
    11k 瀏覽
    Dan RathbunD
    You will need to do some studying: Read and bookmark this post: [Info] C/C++ Ruby extensions & SketchUp plugins You will need to download the Ruby C source, as your DLL code must: %(#404080)[include "ruby.h"] Read the old "Pick-Axe" book's chapter on writing a Ruby extension. Programming Ruby: Extending Ruby Take note of the Ruby C-side functions: rb_eval_string( *string_to_eval* )* rb_funcall ... described in section "Evaluating Ruby Expressions in C" okay, a dedicated C side Ruby book is also now available: http://media.pragprog.com/titles/ruby3/ext_ruby.pdf
  • Level Import to UE4

    5
    0 評價
    5 貼文
    1k 瀏覽
    Dan RathbunD
    @bentet said: Can anyone give me some pointers on where I can start? I can write a few simple things in ruby, but this kind of functionality is somewhat beyond my scope at the moment. A tutorial link and a few pointers from more experienced developers would go a long way. --> topic: SketchUp-Ruby Resources Before you can use the SketchUp API with Ruby, you need to learn the basics of Ruby, including how to look up methods for the Ruby Base classes.
  • Convert Layer Pointer to Layer Name, How?

    5
    0 評價
    5 貼文
    668 瀏覽
    TIGT
    As @Jim says, you need to access the layer by its ' .name' So you need something like: Sketchup.active_model.selection.each{|e|e.material="red" if e.layer**.name**=="Bozworth"}
  • Using Visual Basic 2008 Express dialog form in Ruby.

    15
    0 評價
    15 貼文
    4k 瀏覽
    M
    Who just loads up some guys exes and dlls with no source? Geez, just load up the vb project.
  • Cannot get C extensions to run in Sketchup

    11
    0 評價
    11 貼文
    2k 瀏覽
    J
    That's the plan.
  • Savepanel - file formats?

    19
    0 評價
    19 貼文
    2k 瀏覽
    Dan RathbunD
    FYI: Back in Jan, Jim brought up this limitation in the OEM forum, and Thomas responded that neither panels functions are coded correctly (Jim filed a bug,) and cannot take both a filename and a typelist. http://forums.sketchup.com/t/openpanel-and-savepanel/5489
  • Create Geometry

    3
    0 評價
    3 貼文
    722 瀏覽
    S
    Thanks, I will analyze that, and for shure I will check your blog
  • Mac and Windows 'New Model' differences...

    17
    0 評價
    17 貼文
    2k 瀏覽
    D
    cheers Tig, the plugin runs my 'selector' tool after new_skp has been cleaned up... the 'selector' can be scaled, rotated or moved before running the cuts... any solids remain solids afterwards... [image: Uj0D_sixSectoins.gif] I need a PC version to attract more testers... john
  • Word/PDF Sketchup ruby API

    2
    0 評價
    2 貼文
    932 瀏覽
    M
    Hello, for those who are interested i found the solution to my question: i installed the Prawn library using the ruby console in sketchup : Gem.install("prawn") then i used this code to generate an example of a pdf file: require 'prawn' Prawn::Document.generate('C:\Users\laptop-acer01\Desktop\test.pdf') do text 'this is a test file' text 'end of file.' end
  • Create an xml file using sketchup ruby API

    5
    0 評價
    5 貼文
    1k 瀏覽
    M
    Thank you for your answer i did adjust my profile, and it's my first time using sketchup and sketchup ruby api and i'm supposed to deliver a projet using those two and i searched so much randomly as i didn't know the exact methode to search about
  • Code to eyedrop

    4
    0 評價
    4 貼文
    962 瀏覽
    thomthomT
    I got a simple tool to pick materials in Material Replacer: https://bitbucket.org/thomthom/material-replacer/overview You can use that as reference.
  • [ruby] material colorize

    6
    0 評價
    6 貼文
    1k 瀏覽
    K
    I use the tool to quickly switch two modes: textured / colored AND grey scale I have a fully textured 3d model and a sectioncut with faces in several shades of grey. In layout I need a grey scale representation without textures. The grey scale colors of the section cut must be preserved. So the tool temporary converts the colors to grey scale, makes the material color for those materials with a texture to white and sets the style to shaded. Previously I needed two scenes in SU and one extra layer in LO to achieve the same result in LO. [image: yVkx_switch.jpg]
  • Loading skp model

    3
    0 評價
    3 貼文
    868 瀏覽
    M
    yes that how i solved it full path and the number 7 that was displayed reffers to : SU_ERROR_SERIALIZATION if an error occurs during reading of the file thnx ^^
  • Face Tilt and orientation

    5
    0 評價
    5 貼文
    808 瀏覽
    M
    What i'm looking for is the degree of the angle between the face (wall for example) and the red axe and have that angle degree for each face,for example face 1 20°, face 2 80° ...
  • Debug in aptana studio

    2
    0 評價
    2 貼文
    790 瀏覽
    thomthomT
    Did you launch SketchUp with the correct params to listen to port 1234? https://github.com/SketchUp/sketchup-ruby-debugger I never tried to set it up for Aptana, but I set it up for RubyMine. Posted some instructions here: http://forums.sketchup.com/t/please-help-me-to-setup-de-debugger-on-rubymine-for-mac/289/2?u=thomthom Maybe some of that info is transferable.
  • Face orientation

    11
    0 評價
    11 貼文
    3k 瀏覽
    M
    hello how do u make difference between the walls (wall 1, wall 2) and when u receive the orientations how do u know each orientation belongs to which wall (wall 1 or wall 2 ) ?
  • Problem with imported geometry.

    11
    0 評價
    11 貼文
    1k 瀏覽
    D
    Jim's was updated to use Assimp and the external SU C++ SDKrecently in the last 3 months... just sayin... john
  • Slapi C SDK for 2015

    2
    0 評價
    2 貼文
    562 瀏覽
    thomthomT
    What are you in need of the old version for?
  • Call C++ from ruby in Sketchup

    3
    0 評價
    3 貼文
    865 瀏覽
    A
    I notice this was last updated for SU 2015, last commit Nov 7 2014 - does it still work with SU 2016?

Advertisement