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
  • Inputbox change values.

    2
    0 Votes
    2 Posts
    235 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
    2k 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
    458 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
    589 Views
    renderizaR
    Thanks it worked!
  • Sketchup-Version and SUModelSaveToFile

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

    9
    0 Votes
    9 Posts
    775 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
    767 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
    375 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
    260 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
    583 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
    215 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
    527 Views
    renderizaR
    Thank you TIG as always and I will look into your recommendation ASAP!
  • Help needed with intersecting geometry

    4
    0 Votes
    4 Posts
    327 Views
    TIGT
    Boolean / Oscoolean ?
  • Global Hash in module (solution without $ ) ?

    5
    0 Votes
    5 Posts
    390 Views
    jolranJ
    Thanks TIG. Your variant is probably more than I need for the moment, but still very clever. And I presume (since nobody mentioned it already) quite safe to use ?
  • Script calls script - how to click Ok to dialog boxes?

    3
    0 Votes
    3 Posts
    375 Views
    T
    Thanks TIG! I will give up on that idea and go # the second script! See you in a year! Thanks for the quick reply! Stuart
  • How to retrieve array of faces that are inside a group?

    14
    0 Votes
    14 Posts
    754 Views
    renderizaR
    Very grateful indeed!

Advertisement