Sketchucation Tools 5.0.7 | Licensing improvements and bug fixes Learn More

Subcategories

  • No decscription available

    20 Topics
    462 Posts
    HornOxxH
    @pilou said: More appetizing in chocolate! Eggs are good as well - but only very fragile when falling down in SketchyPhysics
  • Reload or recharge

    6
    0 Votes
    6 Posts
    1k Views
    D
    Here is my solution selectionObjectTemp = Sketchup.active_model.selection.to_a if selectionObjectTemp.length == 0 selectionTemp = nil else selectionTemp = selectionObjectTemp end if @definitions[definitionAImporter] definition = @definitions[definitionAImporter] else composantPath = File.join(@libPath,"#{definitionAImporter}.skp") if File.exist?(composantPath) definition = @definitions.load composantPath else UI.messagebox "le chemin n'existe pas; #{composantPath}" end end if selectionTemp != nil selectionTemp.each{|entitie| if entitie.is_a? Sketchup;;ComponentInstance entitie.definition = definition end } end
  • Sublime connection to sketchup console

    2
    0 Votes
    2 Posts
    437 Views
    thomthomT
    Echoing my response here from the other thread: Not sure about the intellisense. Unsure how Sublime handle that. As for the debugger, I think it should work if you can find a package that let you set up remote debugging.
  • Automatically load a component.

    70
    0 Votes
    70 Posts
    9k Views
    TIGT
    You have started another thread and I've replied there. I know you do not want to trigger it depending on a selection - I just used that as an example... In the example you show the other buttons are not disabled. When one is active it's shown 'depressed', when another is click that takes the focus and appears depressed. It the other buttons were actually 'disabled', then they would not be clickable and you'd never get out of the first clicked button's state !
  • Debug RUBY Code in SketchUp

    3
    0 Votes
    3 Posts
    1k Views
    thomthomT
    If you want an example on how to set up the debugger in RubyMine you can check out this thread: http://forums.sketchup.com/t/please-help-me-to-setup-de-debugger-on-rubymine-for-mac/289/2?u=thomthom
  • Sketchup to Revit

    10
    0 Votes
    10 Posts
    5k Views
    N
    We've checked it out. This is old hat really. We still have to trace off the geometry to form editable Revit families. Here's the solution to the problem of SketchUp to Revit. https://www.youtube.com/watch?v=eQJFxCTey5E
  • Suggestion for code - Minimize (rollup) Outliner

    11
    0 Votes
    11 Posts
    3k Views
    J
    I see this thread is almost ten years old, but has this issue ever actually gotten fixed?
  • UV Mapping from Ruby

    4
    0 Votes
    4 Posts
    978 Views
    thomthomT
    You need an API for UVUnwrapping then... hm... Maybe something WrapR might consider? (pinging Rich)
  • Adding a callback when vray is dynamically loaded

    6
    0 Votes
    6 Posts
    1k Views
    dkendigD
    ::sleepily opens one eye:: hmmmmm?... this sounds like someone is dabbling with scary things...
  • DC Dialog dimensions MAC

    3
    0 Votes
    3 Posts
    911 Views
    mariochaM
    @exmole said: I see this was posted 10 months ago. Did you ever figure it out? I have the same issue. Unfortunetly, not yet. Will try to get someone at Trimble to look at it.
  • How to cut from object

    47
    0 Votes
    47 Posts
    6k Views
    A
    Sorry for the delayed response. It looks fine, thanks again! [image: TtoBovE.png]
  • [code] reset webdialog and toolbars .bat file

    15
    0 Votes
    15 Posts
    4k Views
    J
    Unless you're still using SketchUp 7 or 8, you don't need this; and even if your are, you still probably don't need it. What problem do you wish to solve by running this code?
  • Import 2 components with a single icon.

    20
    0 Votes
    20 Posts
    2k Views
    TNTDAVIDT
    Unfortunately even with your adjustment, the code does not work yet. When I launch SketchUp, nothing happens. And the "Ruby console" shipments this error message : @unknownuser said: Error: # <TypeError: no implicit conversion of nil into String> Or is the error? See you soon. David
  • Getting Ruby C Extensions to work with 64-bit Windows

    7
    0 Votes
    7 Posts
    2k Views
    J
    HE SHOOTS HE SCORES! That fixed it - thanks so much!
  • DAE for Sdmitch or other coders!

    16
    0 Votes
    16 Posts
    1k Views
    pilouP
    And Yep with your code that works like a charm! The mystery is why that works for you and Solo for the original and not for me! Have you a secret resizing? [image: BxlF_sdm_measures.jpg]
  • Gaming development

    2
    0 Votes
    2 Posts
    420 Views
    K
    I have some experience using SketchUp & Unreal, not Unity. It could be some sort of collision setting (use the actual mesh of the stairs for collision instead of its boundingbox - this is what I have to manually do in Unreal for stairs) OR increasing some step setting allowing the user to 'climb'. Simple google search results in: http://forum.unity3d.com/threads/how-to-get-a-rigidbody-player-to-walk-on-any-type-of-stairs.133573/ https://docs.unity3d.com/Manual/class-CharacterController.html
  • Float &lt;-&gt; String - Locale aware?

    35
    0 Votes
    35 Posts
    11k Views
    eneroth3E
    This method only works when format is set to decimal (or engineering which is also decimal) in the model info. If fractional or architectural are used '1.2.to_l.to_s" returns '~ 1 1/4"' without any decimal separator.
  • 'Scene manager' plugin

    16
    0 Votes
    16 Posts
    4k Views
    eidam655E
    @dan rathbun said: I believe this was implemented in a cross-tab of checkboxes by Martin Rinehart. Thanks a lot! I had a feeling that I've seen it somewhere already; apparently I just can't google the desired result .)
  • Unique Groups

    5
    0 Votes
    5 Posts
    756 Views
    S
    Groups are implemented as a special case of Components. They add some convenience methods that expose some aspects of the associated ComponentDefinition, and also a "lazy uniqueness" mechanism. By that I mean that when you copy a Group, it behaves just like a Component does - another instance is added to the ComponentDefinition. Only when you perform some action on that requires it to be unique does SketchUp clone a second ComponentDefinition and wire the Group to it (same thing as the make_unique method does). Any other copies remain associated with the original ComponentDefinition until you also alter them. For Group copies, it is a one-at-a-time thing.
  • Move component diagonally and rotate

    2
    0 Votes
    2 Posts
    477 Views
    S
    If you are using the Ruby API, Geom::Transformation.translation followed by Geom::Transformation.rotation.
  • Skp2xml Sample 2013 SDK crash VS 2012?

    9
    0 Votes
    9 Posts
    3k Views
    Dan RathbunD
    If the DLL does not have Ruby interfaces, then you will need to load and use it via the Ruby Fiddle library. http://ruby-doc.org/stdlib-2.0.0/libdoc/fiddle/rdoc/index.html http://ruby-doc.org/stdlib-2.0.0/libdoc/fiddle/rdoc/Fiddle.html

Advertisement