Mac User? | Join the Rayscaper Beta for Mac Learn More

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
  • Ruby loaded file vs eval

    5
    0 Szavazatok
    5 Hozzászólások
    2k Megtekintések
    thomthomT
    Sure, but if the results are that close then it's insignificant. Large differences - the ones that matter you'll see quickly.
  • How to draw parallel lines

    2
    0 Szavazatok
    2 Hozzászólások
    4k Megtekintések
    TIGT
    Smustard.com's offset.rb adds an ' .offset' methods faces/edges/arcs/curves etc. That should give you some ideas at least... My ExtrudeEdgesByOffset tool also has some similar code that you could think about - however the easy way to offset edges is if they belong to a face, and are therefore definitely coplanar... Instead of entities.add_edges(array) you might be better using entities.add_curve(array) to make the offsetting easier, if you want separate edges later you can always explode the curves in code...
  • Transformation.rotation multiple copy

    8
    0 Szavazatok
    8 Hozzászólások
    612 Megtekintések
    C
    Yes I think it is a simpler way to draw the profile and pushpull, but once I started along the path of rotation I was getting some unusual things happening and I wanted to know what was going on. I'm on a learning curve with transformations so I will be looking into all the points highlighted here. I want to be able to define the number of teeth on each wheel and the diameter of the wheel. There will be eight wheels in all- I am modelling the back sprocket of a bicycle wheel and would like the script to ask how many wheels on the sprocket? What are their diameters? and what is the separation between each wheel. If I were to go along the route suggested by Dan I would have eight separate pushpulls of the axial profiles but this still would probably less error prone and much simpler.
  • Instance transformations not remembered

    6
    0 Szavazatok
    6 Hozzászólások
    836 Megtekintések
    A
    Thanks a million. That has cracked it. I used the offset method Best wishes Andrew
  • Ruby array to hash

    7
    0 Szavazatok
    7 Hozzászólások
    2k Megtekintések
    K
    Thanks TIG it is a good point
  • Help needed in traversing the Model

    15
    0 Szavazatok
    15 Hozzászólások
    1k Megtekintések
    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 Szavazatok
    14 Hozzászólások
    1k Megtekintések
    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 Szavazatok
    2 Hozzászólások
    276 Megtekintések
    Dan RathbunD
    Either use 3 successive inputboxes... OR use UI::WebDialog
  • New to Ruby - I want to write a script to...

    26
    0 Szavazatok
    26 Hozzászólások
    3k Megtekintések
    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 Szavazatok
    13 Hozzászólások
    3k Megtekintések
    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 Szavazatok
    31 Hozzászólások
    3k Megtekintések
    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 Szavazatok
    9 Hozzászólások
    599 Megtekintések
    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 Szavazatok
    8 Hozzászólások
    714 Megtekintések
    renderizaR
    Thanks it worked!
  • Sketchup-Version and SUModelSaveToFile

    2
    0 Szavazatok
    2 Hozzászólások
    256 Megtekintések
    Dan RathbunD
    This post belongs in the SDK forum.
  • Help with adding extension to Trimble's Extension Warehouse.

    9
    0 Szavazatok
    9 Hozzászólások
    956 Megtekintések
    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 Szavazatok
    11 Hozzászólások
    1k Megtekintések
    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 Szavazatok
    3 Hozzászólások
    434 Megtekintések
    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 Szavazatok
    3 Hozzászólások
    320 Megtekintések
    renderizaR
    Thanks Dan Rathbun running as admin worked!
  • Toolbar Registry Hacks

    22
    0 Szavazatok
    22 Hozzászólások
    6k Megtekintések
    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 Szavazatok
    7 Hozzászólások
    698 Megtekintések
    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 !

Advertisement