⚠️ Update | Sketchucation Tools 5.0.8 released with licensing improvements and bugfixes 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
  • Create an xml file using sketchup ruby API

    5
    0 Szavazatok
    5 Hozzászólások
    1k Megtekintések
    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 Szavazatok
    4 Hozzászólások
    1k Megtekintések
    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 Szavazatok
    6 Hozzászólások
    2k Megtekintések
    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: switch.jpg]
  • Loading skp model

    3
    0 Szavazatok
    3 Hozzászólások
    972 Megtekintések
    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 Szavazatok
    5 Hozzászólások
    944 Megtekintések
    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 Szavazatok
    2 Hozzászólások
    858 Megtekintések
    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 Szavazatok
    11 Hozzászólások
    3k Megtekintések
    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 Szavazatok
    11 Hozzászólások
    1k Megtekintések
    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 Szavazatok
    2 Hozzászólások
    622 Megtekintések
    thomthomT
    What are you in need of the old version for?
  • Call C++ from ruby in Sketchup

    3
    0 Szavazatok
    3 Hozzászólások
    1k Megtekintések
    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 Szavazatok
    18 Hozzászólások
    5k Megtekintések
    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 Szavazatok
    6 Hozzászólások
    11k Megtekintések
    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 Szavazatok
    9 Hozzászólások
    2k Megtekintések
    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 Szavazatok
    5 Hozzászólások
    1k Megtekintések
    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 Szavazatok
    10 Hozzászólások
    1k Megtekintések
    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.
  • Determine if edge would split face

    6
    0 Szavazatok
    6 Hozzászólások
    1k Megtekintések
    G
    Thanks guys - this gives me some good direction. I like Sam's strategy where he makes use of the raytest.
  • Moving a Line or Edge

    3
    0 Szavazatok
    3 Hozzászólások
    768 Megtekintések
    TIGT
    As Sam says, transformations only apply to containers like component-instances, groups and images. A Point3d does not have a transformation, BUT you can use point.transform!(transformation) it relocate it. Basic entity objects - like vertices, edges and faces - have to be transformed using: objects_parent_entities.transform_entities(a_transformation, [array_of_objects]) this works with any kind of transformation; or for a vector based 'translation': objects_parent_entities.transform_by_vectors([array_of_objects], [array_of_vectors]) note that each object in the first array must have a matching vector in the second array... Also if you are using the these to move say vertices, don't also include some edges or faces which use those vertices - otherwise the vector transformation will be done twice, with unexpected consequences...
  • SketchUp RUBY API Wishlist [way of coding wishes, please]

    107
    0 Szavazatok
    107 Hozzászólások
    56k Megtekintések
    R
    Hello, I am new to google sketchup with ruby script. I have install google sketchup on my linux machine ubuntu 12.04. now able to start with ruby script. i already have ruby script. SO anyone can help to how can i run this script with google sketchup. Thanks
  • UI.inputbox

    4
    0 Szavazatok
    4 Hozzászólások
    789 Megtekintések
    M
    I have "chained" 2 UI.inputbox. First inputbox opens another based on the input from the first box. The first box closes once the second is shown.
  • Sketchup.send_action arguments: Mac vs PC

    10
    0 Szavazatok
    10 Hozzászólások
    4k Megtekintések
    B
    This is an old thread, but I'm adding a tip here that may be of help to other developers who may discover this info... In an effort to create a toolbar button to show the "Entity Info" palette (there's a built-in button for Model Info, but oddly not for Entity Info), I couldn't find a method or action that worked on the Mac. There is a fixnum constant value for the PC, but these don't seem to work on the Mac, even after years of SketchUp evolution on the Mac. Then I stumbled on the get_shortcuts method... Using the "Shortcuts" pane within the "Preferences" window, you can add a shortcut to the command for which you need the string constant, then using: Sketchup.get_shortcuts.sort ...you can discover the string that can successfully be used with the Sketchup.send_action method. For example, I added the F2 key to "Window/Entity Info", and got the following output: Sketchup.get_shortcuts.sort ["A\tselectSelectionTool:", "B\tselectPaintTool:", "C\tselectCircleTool:", "E\tselectEraseTool:", "F\tviewZoomExtents:", "F2\tentityProperties:", "G\tmakeGroup:", "H\tselectDollyTool:", "K\ttoggleDisplayBackEdges:", "L\tselectLineTool:", "O\tselectOrbitTool:", "P\tselectPushPullTool:", "R\tselectRotateTool:", "S\tselectScaleTool:", "T\tselectMeasureTool:", "V\tselectMoveTool:", "Z\tselectZoomTool:", "`\ttoggleHideRestOfModel:", "~\ttoggleHideSimilarComponents:", "⇧G\t/Edit/Context Menu Flyout/Explode"] In there, you'll see "F2\tentityProperties:", so the string constant is "entityProperties:". Voila, a method to discover undocumented action strings.

Advertisement