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
  • Turning a selection into a face?

    40
    0 Votes
    40 Posts
    2k Views
    T
    With thanks again to the 3 Ruby Amigos I will work on implementing your suggestions this weekend.
  • AppleScript, Ruby, Threads and Unix... help!!!

    3
    0 Votes
    3 Posts
    339 Views
    D
    Cheers Dan, I'm sure a timer before but will revisit... for the moment a couple of us have highjacked Jeffs thread, to work a few thing out... I'll post some bits back here when there usable... john
  • WebDialogs, "skp:", and Windows 8/IE 10?

    8
    0 Votes
    8 Posts
    748 Views
    thomthomT
    @jasef said: Dan, we tried WebDialog.allow_actions_from_host() with no luck so far. Correction: this is not an IE10 issue; Win 8 uses IE10 as the default browser, but SketchUp is using IE7 for web dialogs: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.2; WOW64; Trident/6.0; .NET4.0E; .NET4.0C; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729) Google-SketchUp/8.0 (PC) The rules for picking doctype (and hence render engine) is different for embedded IE than browser IE. It's much more conservative in order to preserve application compatibilities. To force WebDialogs to use the latest render mode use the X-UA-Compatible META element. <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
  • Running Ruby code in a web browser

    6
    0 Votes
    6 Posts
    684 Views
    Dan RathbunD
    @aerilius said: Maybe there is a way to compile Ruby code directly into JavaScript (without the detour over a slow virtualized Ruby interpreter in JS). @unknownuser said: (http://en.wikipedia.org/wiki/RubyJS)":a0zse4if]RubyJS is a port of Google Web Toolkit to the Ruby programming language. RubyJS trans-compiles Ruby source code to JavaScript, which allows running client-side applications in a web browser.
  • Ruby - confusing find_faces behaviour

    9
    0 Votes
    9 Posts
    992 Views
    jolranJ
    @unknownuser said: No built in method unfortunately, but it would have been nice. I suspected that. And yes, that would have been useful. Clever hack, anyway. Might come in handy, thanks
  • Post-its in SketchUp screen (DCExamples.skp)

    5
    0 Votes
    5 Posts
    386 Views
    S
    draw2d and Chunky_png could accomplish the same result with some dynamic options.
  • Pushpull/move a component instance's face

    12
    0 Votes
    12 Posts
    828 Views
    F
    @unknownuser said: ](http://www.sketchup.com/intl/en/developer/docs/ourdoc/face#reverse!) I had seen that but I never tried it thinking it was like the Skethup function 'reverse faces' which turns the face from purple to white. No I guess not... that will change the faces for ALL instances. (Remember that it is the Definition that owns the component entities, not the instances. ALL instances share the same entities collection from their parent definition.) Actually that works in my situation because I make all my instances unique... but I'm just starting to play around with this and might run into problems later. edit: just took a closer look at my model and yes it does turn the face from white to purple doing exactly like the Sketchup function. So yes it works but not the ideal solution.
  • OnScreen GUI Toolkit

    28
    0 Votes
    28 Posts
    10k Views
    D
    I would like to do this, to make a inputbox made with OpenGL, could you please show an example of how to do this?
  • Just idea

    8
    0 Votes
    8 Posts
    413 Views
    gillesG
    the idea was not a selection memory , but to select what is being drawn.
  • [Bug] Sketchup.write_default on Mac

    6
    0 Votes
    6 Posts
    359 Views
    Dan RathbunD
    Keep in mind that read_default passes the attribute text through eval() before it is returned, apparently with a rescue nil clause (or modifier.) This is why we cannot have any un-escaped embedded double-quote characters in the attribute.
  • In Need of Custom Slicing PlugIn For 3D Printing

    3
    0 Votes
    3 Posts
    213 Views
    J
    I gave it a shot some time ago and it did not work well. I will see if anything has chenged. Thank you for the suggestion.
  • Surface Outer Loop?

    11
    0 Votes
    11 Posts
    1k Views
    thomthomT
    Here's my variant: http://sketchucation.com/forums/viewtopic.php?f=180&t=41211#p365380 Would be interesting to profile them.
  • Set alpha of a face without material

    7
    0 Votes
    7 Posts
    413 Views
    N
    Oh, okay, this is a nice trick... I think, I will get a lot of problems, when Sketchup crashes... What do you think about this idea: I will create for every face, which has a material != nil a new material => name: face.to_s To show the faces again, I will remove the materials again...
  • API to Open Model Info Dialog?

    5
    0 Votes
    5 Posts
    338 Views
    D
    Thanks Dan, exactly what I needed.
  • Length method returns unexpected value

    9
    0 Votes
    9 Posts
    629 Views
    thomthomT
    On the topic of units in SketchUp: http://www.thomthom.net/thoughts/2012/08/dealing-with-units-in-sketchup/
  • Removing unwanted interior faces from a mesh?

    6
    0 Votes
    6 Posts
    518 Views
    pbacotP
    French fries work for Frank Gehry! [image: DisneyHallOrgan.jpg] I like your array better!
  • Add_edges with a LOT of edges

    11
    0 Votes
    11 Posts
    573 Views
    TIGT
    Yes.... but... Small edges can exist quite happily, it's just using them that is problematical. So if he has completed all changes/processing, then I believe that rescaling the geometry is best, but if further changes are wanted then any [re]scaling needs to be avoided until all processing is done anyway...
  • Using script written in notepad++

    6
    0 Votes
    6 Posts
    389 Views
    TIGT
    Because you haven't given us the slightest clue about how you have structured your script how could we hope to help you There are by now many example scripts around to give you a clue on how to construct one... You speak of 'extension' - have you constructed you tool in two parts ? a loader and a main script in a subfolder? Have you given it a menu.context-menu/toolbar etc... Looks like you have some way to go
  • Installer for Plugins

    14
    0 Votes
    14 Posts
    2k Views
    J
    @dan rathbun said: So this is obsolete for SketchUp ver 8+ ?? No, it still works. I like it better than the built-in installer because it keeps a list of installed files - which lets me see exactly what was installed and where in case I want to delete it. It's here: https://sites.google.com/site/jimfoltz/plugins-lab/installer But I could put it on dvcs, if interested.
  • Intersect ray and circle in 3D?

    14
    0 Votes
    14 Posts
    3k Views
    AdamBA
    The best optimization, is to avoid doing work at all. Work on your algorithm first. (C++ is a superset of C) Here's some numbers I've simply plucked out of thin air: Invoking a C++ method from Ruby costs 500+ instructions. If the work you do in the method is less than this (calc distance = ~10 instructions), the cost of invocation swamps the cost of evaluation. Adam

Advertisement