ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info
  • Cannot get C extensions to run in Sketchup

    11
    0 Votes
    11 Posts
    2k Views
    J
    That's the plan.
  • Savepanel - file formats?

    19
    0 Votes
    19 Posts
    2k Views
    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 Votes
    3 Posts
    672 Views
    S
    Thanks, I will analyze that, and for shure I will check your blog
  • Mac and Windows 'New Model' differences...

    17
    0 Votes
    17 Posts
    2k Views
    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 Votes
    2 Posts
    909 Views
    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 Votes
    5 Posts
    1k Views
    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 Votes
    4 Posts
    916 Views
    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 Votes
    6 Posts
    1k Views
    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 Votes
    3 Posts
    821 Views
    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 Votes
    5 Posts
    758 Views
    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 Votes
    2 Posts
    755 Views
    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 Votes
    11 Posts
    3k Views
    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 Votes
    11 Posts
    933 Views
    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 Votes
    2 Posts
    529 Views
    thomthomT
    What are you in need of the old version for?
  • Call C++ from ruby in Sketchup

    3
    0 Votes
    3 Posts
    816 Views
    A
    I notice this was last updated for SU 2015, last commit Nov 7 2014 - does it still work with SU 2016?
  • Place Text Label script (looking for one)

    18
    0 Votes
    18 Posts
    5k Views
    E
    Hi everyone, Like the users ask to Al Hart, I me too want to place a text label in the drawing, using the value of an Attribute on the entity for the text. To be more specific I downlaod a dynamic door compoenent wich is really cool and offer me lot of options, but I really want to have the name of the compomenet and the its length and height to be shown at the bottom of the door for example or eles where in order to view this information when I produce de plan view in layout. I know I can a samrt lable in Layout to do that wich I am doing right now. But I really want to have this implemented in the compoenent so the infomrations is update upon the dynamic compoenent attribute. Because right now, we often miss a door when inserting samrt lable in LAYOUT. It's a hard job to get focus and not mis a door in LAYOUT when we have like 100 doors in our drawing. Thanks in advance for your answer.
  • Crack Versions

    6
    0 Votes
    6 Posts
    9k Views
    PixeroP
    I remember Amrosias Escape Velosity game had a rather fun and different way of getting people to pay. http://www.ambrosiasw.com/games/windows/ You could play the game for free and after a while Captain Hector would fly by asking you to pay for the game. If you continued without paying he would come more frequently and after still a while he would become agressive and start shooting at you. He was also invincible so you could never win a fight with him. (I tried.)
  • Webdialog for a progressBar

    9
    0 Votes
    9 Posts
    1k Views
    G
    Typically I do not use a progress bar. Instead I use Sketchup::set_status_text I'm happy using a counter with a modulus. I generally try to update the status no more than once every second or two. The same idea would work for a progress bar. All I was trying to do is give bomastudio a solution to his request and show him how to get around the problem of the web dialog being starved of cpu time. Without the timer loop you blow the bottom off the stack. With a timer loop you incur a performance penalty. The interesting thing is the jquery ready function would only fire after the heavy processing had finished.
  • Register_extension error

    5
    0 Votes
    5 Posts
    779 Views
    D
    @tig said: If the RB is going to be encrypted use this: ext = SketchupExtension.new(extensionName, "greenspaceLive_gModeller/LiveEnergy-Classes/main") SketchUp automatically finds a matching file RB or RBS... You never mentioned that as a possible scenario... If you have other RB files encrypting in the subfolder[s], then also ensure you use: Sketchup::require(name_without_filetype_suffix) rather than ' load()'... This way the RB files load during testing AND the RBS files still work after the encryption... You have to plan ahead. : Thanks, that should be the only change I need. I was already using encryption but forgot that main.rb was excluded from the encryption on my local copy.
  • Active_path.last original transformation

    10
    0 Votes
    10 Posts
    1k Views
    T
    It is good to do something else. When reading about model observers I have found the answer: Sketchup.active_model.edit_transform There is a mistake in the documentation though: @unknownuser said: ModelObserver.onActivePathChangedSketchUp 7.0+ ... When in "edit mode" (aka a Component is being edited), the Ruby API returns object transformations and locations in context of the "local" component axes instead of the global axes. It is other way round. In "edit mode" we are in global context. If one wants to have the local then use edit_transformation. When you want original transformations for the rest of instances then you have to go through the whole "tree" and use edit_transformation for the last group/component.

Advertisement