🚨 Skimp | 25% Off until March 30 Buy Now

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
  • Count faces by material?

    3
    0 Szavazatok
    3 Hozzászólások
    223 Megtekintések
    D
    Thanks Dan. I'd be willing to bet that save_delete_material method doesn't actually search all the faces, only those in the top-level definitions. I had thomthom help me a long time ago to write a recursive function to iterate ALL the faces, so I think I'll piece this together from that...
  • How to get the bounding box of a CAD car?

    7
    0 Szavazatok
    7 Hozzászólások
    1k Megtekintések
    lbsswuL
    @tig said: You don't need to find those [even if you could] because the Zoom Extents on a single car does that in the view. Of course depending on your screen's current proportions and the exact view of the car you will get some 'white space' around the image. If you don't want all images to be the same size then that 'white space' is best removed with an Image editor [like Gimp] - where you can batch-open each file in turn and Auto-Crop it and save, to ensure that each car occupies as much of the image as possible... thanks for your tip! maybe I will do that in the future.
  • Help with .followme

    7
    0 Szavazatok
    7 Hozzászólások
    351 Megtekintések
    D
    you sent me on the right track, thanks sdmitch
  • Shortest path analysis in Sketchup?

    14
    0 Szavazatok
    14 Hozzászólások
    1k Megtekintések
    A
    I have been working on something similar and have had some success with Dijkstra's algorithm. This is my first project with SketchUp and Ruby so my plugin has been built by trial and error and isn't very pretty. The Calculate Shortest Routes command in the Plugins menu writes the results to the Ruby Console window. There is another command that writes the results to a .csv file. dijkstra.rb dijkstra_example.skp
  • Using + and - to scale regardless of tool selected

    19
    0 Szavazatok
    19 Hozzászólások
    804 Megtekintések
    Dan RathbunD
    @thomthom said: @driven said: So my advice to the OP is please inform you users if you assign/re-assign 'shortcut' keys for them. Or rather, give them the option to decline such change. Violating this rule should be grounds for quarantine, IMHO.
  • Painting Plugin Help

    7
    0 Szavazatok
    7 Hozzászólások
    488 Megtekintések
    renderizaR
    Christ Fullmer you are a genius!!! This transform SketchUp into the best painting application in my opinion...I will see If I can expand this & add new features to make it even better. I am so excited!...again thanks!
  • Changing the dynamic components attributes using SU API

    4
    0 Szavazatok
    4 Hozzászólások
    803 Megtekintések
    jolranJ
    Ok, I was focusing to much on the NoMethodError. Glad you sorted it out!
  • How do i upload Plugins?

    6
    0 Szavazatok
    6 Hozzászólások
    272 Megtekintések
    monkeybanjoM
    Thanks to all for the quick responses
  • Addition of vectors and points

    6
    0 Szavazatok
    6 Hozzászólások
    231 Megtekintések
    Dan RathbunD
    @ruggiero said: I was defining generic arrays and expecting them to behave like geometric vectors! Why should they? The SketchUp API does not override Array#+(), so you need to consult the Standard Ruby dictionary. (Either online, or the downloadable CHM. Follow the link in my signature, to more links in the Ruby Resources sticky thread.)
  • UI.messagebox

    9
    0 Szavazatok
    9 Hozzászólások
    1k Megtekintések
    Dan RathbunD
    @juantxo said: Something similar occurs if you close dialog in a callback: On the PC, this might work: my_dialog.add_action_callback("test") do |web_dialog,param| web_dialog.close end my_dialog.set_on_close { UI.messagebox('NOT DISPLAYED') } AFIAK, set_on_close is still bugged on the Mac
  • Newbie to Ruby

    5
    0 Szavazatok
    5 Hozzászólások
    312 Megtekintések
    Dan RathbunD
    Did you ALSO install TT_Lib2 ????????????? Obviously solid inspector has a library dependancy on TT_Lib2. Did you read the solid inspector post for dependancies, and install all those needed ?
  • Sketchup crash when i use thread

    11
    0 Szavazatok
    11 Hozzászólások
    561 Megtekintések
    Dan RathbunD
    Have you tried using UI.start_timer I show an example HERE
  • New to Ruby and sketchup API, need some clarifications

    9
    0 Szavazatok
    9 Hozzászólások
    603 Megtekintések
    jolranJ
    Notepad ++ is a good choice. It's quite used around here I think. I use it to. But I don't use bridge. I reload my scripts having robycode editor open all the time during developping. Can't remember why I do it this way Just letting you know there is that option to. @unknownuser said: From your experience is it a good idea to use core ruby classes with Sketchup and I am not sure how it will effect the working of plugin on Macs (Like I said. My experience is poor, so don't take what I have written as solid good advice. I must stress that. I just jump in and ask questions or give advice when maybe I should keep my mouth shut. ) At some point you must use the API ? Doesent matter if youre on Mac or not. What I meant was that if there already exist a method in the API, one should use it. Most likely it will be a faster method then what you will create in Ruby. Automatic Sketchup is really good for getting grasp of transformations and such. But you should really poke around other peoples scripts to get a feel of how to do things.. http://sketchucation.com/forums/viewtopic.php?f=180&t=25305 There are some recent performance tips here. And a few things to avoid.
  • Portable SketchUp Game Possible?

    12
    0 Szavazatok
    12 Hozzászólások
    809 Megtekintések
    KrisidiousK
    Actually a EuroZone court found that you can transfer your license. But that was a paid license not a free one. And would most likely only be applicable in that jurisdiction. But alas Russia and some other places don't care what kind of copyright law you write. They do as they please. And I never had any issues with registry keys. Although I run CC cleaner on my registry every few months just to keep it tidy.
  • Using the Entities Class entities.add_arc

    2
    0 Szavazatok
    2 Hozzászólások
    155 Megtekintések
    Dan RathbunD
    @tinhnguyen20 said: What is a normal and can somebody give me an example? The vector perpendicular to and pointing away from the front of the object's plane. See Wikipedia: Surface Normal from which comes this image: [image: 222px-Surface_normal_illustration.png]
  • Writing material thumbnails

    3
    0 Szavazatok
    3 Hozzászólások
    159 Megtekintések
    A
    Material.write_thumbnail is bugged in its design. If I remember it preserves the aspect ratio but exports the largest dimension no larger than 128px (or something, at least the cause why it fails most of the times is when one dimension is rounded to 0). I'm still searching for the detailed forum post and bug report on this. Don't use it, but use Jim's suggestion with a material applied to a group. It will retain the color shift and colorized properties.
  • Procs and lambdas

    5
    0 Szavazatok
    5 Hozzászólások
    240 Megtekintések
    jolranJ
    @unknownuser said: What does "reuse the iteration" mean? Hm. maybe my explanations and english where bad. Hash.each{|k, v| v.do something } is called an "iteration", right? Iterate a Hash. Depending on something do the same iteration on other Hash with different values. Seams like waste retyping the same code again.. I know you are asking why I don't pass in a nested Hash, or array and just do everything in 1 go. In this case I just cant.
  • Match Photo API?

    9
    0 Szavazatok
    9 Hozzászólások
    424 Megtekintések
    T
    Any other ways you guys can think of?
  • Adding items to an existing sub menu

    4
    0 Szavazatok
    4 Hozzászólások
    350 Megtekintések
    J
    @sdmitch said: So even though the global variable retains lts value, the entity it references doesn't exist? I don't know the internals. But as yoou noticed, even when the global variable appears to reference a valid menu object, new items are not added after some short amount of time.
  • Access to Ruby standard library from scripts?

    3
    0 Szavazatok
    3 Hozzászólások
    604 Megtekintések
    thomthomT
    Standard Library isn't compatible with SketchUp Ruby. For instance, the Set class that SketchUp bundle isn't compatible with the STL Set class.

Advertisement