⚠️ Update | Sketchucation Tools 5.0.8 released with licensing improvements and bugfixes Download

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
  • Instance transformations not remembered

    6
    0 Votes
    6 Posts
    810 Views
    A
    Thanks a million. That has cracked it. I used the offset method Best wishes Andrew
  • Ruby array to hash

    7
    0 Votes
    7 Posts
    2k Views
    K
    Thanks TIG it is a good point
  • Help needed in traversing the Model

    15
    0 Votes
    15 Posts
    1k Views
    thomthomT
    Yes, it'd be trivial to collect hidden entities or collect stats. But the point being is that the code is compact and easy when you traverse like that instead of walking model.definitions which would require backtracing.
  • Trying to sort scenes by alphabetical order..Need Help!

    14
    0 Votes
    14 Posts
    1k Views
    renderizaR
    Hi, I updated [Re]Scene to include the feature to reorganize all scenes by alphabetical order. Thanks for all the help! New Web-Dialog: [image: http://s15.postimg.org/ycqlsebaj/dlg_1.jpg] Plugin Page: http://sketchucation.com/forums/viewtopic.php?f=323&t=52203 Cheers!
  • Inputbox change values.

    2
    0 Votes
    2 Posts
    267 Views
    Dan RathbunD
    Either use 3 successive inputboxes... OR use UI::WebDialog
  • New to Ruby - I want to write a script to...

    26
    0 Votes
    26 Posts
    2k Views
    K
    Hi John, The ear sounds painful! I hope you are recuperating well. Thanks for the workflow. I have got it to work, with SU loading a script automatically (which defines a function to set the current model behavior as I want it) and I call that function in console. It runs slowly compared to the all-Ruby solution - but at least it processes without crash. So I can send lots of files and leave it to run over lunch, or night! Many thanks again, Keith
  • Webdialog connect to PHP

    13
    0 Votes
    13 Posts
    3k Views
    jiminy-billy-bobJ
    @krisjaniszakis said: Does some one know how big(length) array ("v") I can send through ? http://stackoverflow.com/a/7725515 But big data like this you should go with POST instead of GET
  • Creation of folder from Ruby on Mac

    31
    0 Votes
    31 Posts
    2k Views
    D
    @tig said: You normally won't need to know why it failed I was thinking more for a standalone debug script to try and find why these edge cases are failing. john
  • Component Axis Display Option

    9
    0 Votes
    9 Posts
    519 Views
    Dan RathbunD
    @ktkoh said: Dan that code controls the global axis. I am trying to control the individual component axis visibility. And if you had read the NEXT post after THAT, before posting you would have seen I gave you the instance key as well. Lesson: Read the whole thread before posting.
  • Camera API not working properly?

    8
    0 Votes
    8 Posts
    679 Views
    renderizaR
    Thanks it worked!
  • Sketchup-Version and SUModelSaveToFile

    2
    0 Votes
    2 Posts
    245 Views
    Dan RathbunD
    This post belongs in the SDK forum.
  • Help with adding extension to Trimble's Extension Warehouse.

    9
    0 Votes
    9 Posts
    866 Views
    Chris FullmerC
    I think we all have our shining moments, and I'm certainly no exception
  • New Developer Export to PDF can it be done?

    11
    0 Votes
    11 Posts
    954 Views
    Dan RathbunD
    @bomastudio said: Sketchup.send_action("printDocument;") Where you find it?? In the Code Snippet post: Re: [Code] Sketchup.send_action() : Arguments to Lots of snippets indexed here: [Code Snippets]
  • [Tips] How to make resolution-independent WebDialogs

    3
    0 Votes
    3 Posts
    411 Views
    A
    That was a copy paste mistake. I don't know how it is on OS X. If pixel doubling is used, I'd expect existing webdialogs work without change, but the above points wouldn't hurt. I don't know if it can set anything inbetween. The same goes also for devices like the Toshiba Kira where the manufacturer added pixel doubling etc.
  • How to use TestUp?

    3
    0 Votes
    3 Posts
    303 Views
    renderizaR
    Thanks Dan Rathbun running as admin worked!
  • Toolbar Registry Hacks

    22
    0 Votes
    22 Posts
    6k Views
    TIGT
    Obliquely... Have you also noticed this [reported] bug in v2013 ? Win7 - but others might get it too... Open SketchUp v2013 Arrange some floating toolbars on screen - native, native-rb [like dcs] and plugin. Minimize SketchUp. Context-menu close it from the Task-Bar. Reopen SketchUp v2013. Native toolbars are where you left them. All native-rb and plugin toolbars have been 'deactivated' ! Bummer...
  • Remove layer

    7
    0 Votes
    7 Posts
    670 Views
    jiminy-billy-bobJ
    @tig said: I did write a whole raft of 'missing' layer methods... I just thought I'd let you learn by doing... I learn by looking at what you wrote !
  • My senses are trimbleling!

    2
    0 Votes
    2 Posts
    247 Views
    thomthomT
    New working URL: http://sketchup.com/intl/en/developer/docs/classes.php Hope they fix this so the old URLs doesn't break permanently.
  • Load Newton.dylib file via Ruby

    14
    0 Votes
    14 Posts
    2k Views
    A
    @dan rathbun said: Yes. DL is Ruby bridge to using dynamic compiled libraries. On PC, before DL, we had to use the Win32API library. Interesting topic What about the win32-api 1.4.8 by Daniel J. Berger, Park Heesob? In dl you load the dll file once and then extern as many functions. <span class="syntaxdefault">dlload</span><span class="syntaxkeyword">(</span><span class="syntaxdefault">Sketchup</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">find_support_file</span><span class="syntaxkeyword">(</span><span class="syntaxstring">"NewtonServer3.dll"</span><span class="syntaxkeyword">,</span><span class="syntaxstring">"plugins\\SketchyPhysics3\\"</span><span class="syntaxkeyword">))<br /></span><span class="syntaxdefault">extern </span><span class="syntaxstring">"void init()"<br /></span><span class="syntaxdefault">extern </span><span class="syntaxstring">"void stop()"<br /></span><span class="syntaxdefault">extern </span><span class="syntaxstring">"void update(int)"<br /></span><span class="syntaxcomment">#...<br /></span><span class="syntaxdefault"> </span> But, in win32api.so and win32-api you load the library every time you create a function, right? <span class="syntaxdefault">api </span><span class="syntaxkeyword">=</span><span class="syntaxdefault"> AMS</span><span class="syntaxkeyword">;;</span><span class="syntaxdefault">Win32</span><span class="syntaxkeyword">;;</span><span class="syntaxdefault">API<br />newton </span><span class="syntaxkeyword">=</span><span class="syntaxdefault"> File</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">join</span><span class="syntaxkeyword">(</span><span class="syntaxdefault">dir</span><span class="syntaxkeyword">,</span><span class="syntaxdefault"> </span><span class="syntaxstring">'lib/Win32/newton.dll'</span><span class="syntaxkeyword">)<br /></span><span class="syntaxdefault">  <br />Create  </span><span class="syntaxkeyword">=</span><span class="syntaxdefault"> api</span><span class="syntaxkeyword">.new(</span><span class="syntaxstring">'NewtonCreate'</span><span class="syntaxkeyword">,</span><span class="syntaxdefault"> </span><span class="syntaxstring">'PP'</span><span class="syntaxkeyword">,</span><span class="syntaxdefault"> </span><span class="syntaxstring">'P'</span><span class="syntaxkeyword">,</span><span class="syntaxdefault"> newton</span><span class="syntaxkeyword">)<br /></span><span class="syntaxdefault">Destroy </span><span class="syntaxkeyword">=</span><span class="syntaxdefault"> api</span><span class="syntaxkeyword">.new(</span><span class="syntaxstring">'NewtonDestroy'</span><span class="syntaxkeyword">,</span><span class="syntaxdefault"> </span><span class="syntaxstring">'P'</span><span class="syntaxkeyword">,</span><span class="syntaxdefault"> </span><span class="syntaxstring">'V'</span><span class="syntaxkeyword">,</span><span class="syntaxdefault"> newton</span><span class="syntaxkeyword">)<br /></span><span class="syntaxdefault">Update  </span><span class="syntaxkeyword">=</span><span class="syntaxdefault"> api</span><span class="syntaxkeyword">.new(</span><span class="syntaxstring">'Update'</span><span class="syntaxkeyword">,</span><span class="syntaxdefault"> </span><span class="syntaxstring">'P'</span><span class="syntaxkeyword">,</span><span class="syntaxdefault"> </span><span class="syntaxstring">'V'</span><span class="syntaxkeyword">,</span><span class="syntaxdefault"> newton</span><span class="syntaxkeyword">)<br /></span><span class="syntaxdefault"> </span> Am I thinking right? Which one is better dl or win32-api?
  • How to get x,y,z texture position of a face?

    3
    0 Votes
    3 Posts
    569 Views
    renderizaR
    Thank you TIG as always and I will look into your recommendation ASAP!

Advertisement