Sketchucation Tools 5.0.7 | Licensing improvements and bug fixes 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
  • Layer controllability over html web dialog box

    3
    0 Szavazatok
    3 Hozzászólások
    765 Megtekintések
    J
    sachi - See also the VisMap plugin. http://sketchucation.com/forums/viewtopic.php?f=323&t=28782#MartinRinehart
  • Post_url returned data

    12
    0 Szavazatok
    12 Hozzászólások
    1k Megtekintések
    Dan RathbunD
    @Alex: I see Sketchfab has a page with your plugin, ... Did you solve this issue ?? I did find this page that has interesting reading, although the samples use GET. Cross-Origin XMLHttpRequest So I wonder if this might work when "allow actions from host" were true?
  • Excel to SU ( 29/7/08 version )

    25
    0 Szavazatok
    25 Hozzászólások
    8k Megtekintések
    R
    Hi Oscar Lok I was really interested in your ex2sk ruby when I found it recently . I downloaded it from your post and got it to work and it's really good good. It is exactly what I was looking for. I actually wanted to be able to edit it a little bit but I think it's in rbs format at the moment. Would it be possible to get the rb version of this script so I could play around with it? Thanks Joe
  • Selective component explode

    22
    0 Szavazatok
    22 Hozzászólások
    5k Megtekintések
    J
    @glro said: How did you guess it was coming from sketchtruct? Lucky guess, but the Ruby Console gave a bug hint... [image: dj1O_177a.png]
  • Ruby Protocol Buffers

    15
    0 Szavazatok
    15 Hozzászólások
    2k Megtekintések
    Dan RathbunD
    ... also an Attribute Dictionary is basically a hash written into the model dB. So they can be converted similarly.
  • Adding new options or OptionsProviders?

    14
    0 Szavazatok
    14 Hozzászólások
    867 Megtekintések
    Dan RathbunD
    @dan rathbun said: There once was a *pre-*Trimble script ( written by one of the SketchUp Development Team members, that generated custom Attribute Dictionary reports ) that we could modify for our own custom use, but I can no longer find the link. Anyone know the link to it?
  • Group by Material ?

    6
    0 Szavazatok
    6 Hozzászólások
    2k Megtekintések
    F
    http://rhin.crai.archi.fr/rld/plugin_details.php?id=219
  • Need help with Ruby Plugin - Mac

    10
    0 Szavazatok
    10 Hozzászólások
    866 Megtekintések
    jolranJ
    Ah yeah, thats correct. At least I got a part of it right. Nice link BTW. Good reading.
  • Moving Axis / Origin of a Group

    3
    0 Szavazatok
    3 Hozzászólások
    157 Megtekintések
    M
    Tig, ok this did the trick! THX!
  • Upgrading OSX from 10.5 to Mountain Lion?

    18
    0 Szavazatok
    18 Hozzászólások
    2k Megtekintések
    D
    I've got that on my macBook Pro and when I completely dorked my iMac 48hrs ago, I wanted to use it to do a rescue but both partitions where to small... I kicked myself because I haven't used the 'old' OS on it since I updated, just haven't found a reason to and had forgotten it was there, taking up space. luckily, I was able to use unix in single user mode to rm the offending software and rescue my drive [no backups...] word of warning LittleSnitch and CodeWeaver combined, can dork pThread's causing complete system lockdown.
  • Is mac set_html working, again?

    16
    0 Szavazatok
    16 Hozzászólások
    3k Megtekintések
    D
    I nicked this from the other thread, because thought it was appropiate to something I wanted to say... @thomthom said: @jolran said: So doing like that and putting in an image for button like below would work on Mac? It used to work, then it didn't. Then it might be working for some. But not me. I wouldn't rely on it. I agree, for now, for general release plugins, but I like using set_html with Heredoc for simple short scripts, like toolbar buttons. If your on the 'evil' WebKit version you could use the same basics but write to file the use set_file I'll dig up the unix call to check webkit version, then a conditional could do either/or thoughts... john
  • .get_element_value with radio button sets

    22
    0 Szavazatok
    22 Hozzászólások
    2k Megtekintések
    jolranJ
    Ahh, I see John. If I get it right the sethtml thing is working cause of updated Mountain Lion? Thomthom, I have been searching through threads where you discuss just this issue, thats why I also asked this question. Being not confident in Webdialog, the platform issues are a bit confusing sometimes. But I take your word for it and try to fix it with set_file instead. Thanks.
  • Separate objects in a group.

    7
    0 Szavazatok
    7 Hozzászólások
    464 Megtekintések
    TIGT
    A screen shot of your planks showing them an not being conjoined would have helped zoom in on a solution more quickly. My solution assumes they all touch each other...
  • Add entities to a layer

    6
    0 Szavazatok
    6 Hozzászólások
    273 Megtekintések
    S
    thank you very much for the detailed explanation TIG. It cleared the doubted areas about the layers.
  • Ruby Code Completion

    9
    0 Szavazatok
    9 Hozzászólások
    2k Megtekintések
    Dan RathbunD
    Somewhere in one of the SU Bridge topic threads I posted a SketchupExtension script example that works for installing the SUB files in a common install directory. ADD: OK, found it here: Re: Notepad++ SU8 Ruby API Autocomplete .. and the d/l link is: bridge_ext.rb This very important especially if you are a developer, and have several side-by-side SketchUp installs of various versions / MR levels. It lets the IDE/Editor have a single valid path to SUB.exe, no matter which SketchUp version you are testing your code on.
  • Reset Tranformation of component/instance

    4
    0 Szavazatok
    4 Hozzászólások
    230 Megtekintések
    M
    Thx Dan for the links. After a search of 15 minut I tend to ask someone. Thomthom: I see what you mean. Thx!
  • [Utility] make-rbz

    2
    0 Szavazatok
    2 Hozzászólások
    220 Megtekintések
    thomthomT
  • Where did the Ruby API go

    5
    0 Szavazatok
    5 Hozzászólások
    256 Megtekintések
    TIGT
    It does seem to have now been fixed for the API docs sub-pages links
  • Can you get a list of OSX fonts somehow?

    110
    0 Szavazatok
    110 Hozzászólások
    20k Megtekintések
    D
    This is probably my last effort on this.... circles, but, I finally figured out find in Ruby Console, escapes, escapes, escapes... THE THIRD WAY... no Font Book... no fc-list... just plain old find >> mdls... not the fastest, but not too bad. inculed is Dan's tester, these all created 3D text from console, only Font Book and usr/local/bin/fc-list do that out of the can. a=(`find /System/Library/Fonts\ /Library/Fonts\ ~/Library/Fonts\ \\( -name "*.ttf" -o -name "*.otf" \\) -type f`).split("\n").map! { |f| f.gsub(" ", "\\ ")} #need this or something to catch spaces in filenames b=(a.collect{|x| `mdls -name com_apple_ats_name_family -raw #{x}`}).map! { |f| f.split(",")[0]} #the other items in each array are unicode strings for other languages, if you want those use Font Book c=b.map { |f| f[/[("\s]+([^"\n]+)[)"\s]+/m,1] }.uniq!.sort![2..-1] #[0] is empty, [1] is a dot file, could remove them macFonts = c chunksize = 1 chunk = 1 limit = macFonts.length model = Sketchup.active_model fsize = 1.0 linespacing = 1.2 bold = false italic = false thick = 0.05 filled = true quality = 0.0 i = 0 while i < limit begin # model.start_operation("3D Fontnames (#{chunk})") # chunksize.times do |n| # break if i == limit # item = macFonts[i] grp = model.entities.add_group() grp.entities.add_3d_text( "#{item}", TextAlignCenter, "#{item}", bold, italic, fsize, quality, 0.0, filled, thick ) grp.name= item grp.move!( Geom;;Transformation.new(Geom;;Vector3d.new(0,-(i*linespacing),0)) ) # i += 1 # end # chunk # model.commit_operation() # rescue Exception => e puts("\n*** macFonts group Error! ***") puts(" i = #{i}") puts(" chunk = #{chunk}") puts(" font = #{macFonts[i]}\n") model.abort_operation() puts("Error #<#{e.class.name}; #{e.message}>") puts(e.backtrace) if $VERBOSE raise end chunk += 1 end # while
  • Toolbars

    18
    0 Szavazatok
    18 Hozzászólások
    1k Megtekintések
    thomthomT
    @driven said: TT + Dan, I can't seem to get that to work on a mac. do I need to create a menu item as well, grey it out, and the button follows? Error: #<NoMethodError: undefined methodset_validation_proc' for #UI::Toolbar:0x113cb6ec>` I have a menu entry for the 'master' toolbar, but don't really want/need lots of submenu items. john Sorry, wrong link. http://www.sketchup.com/intl/en/developer/docs/ourdoc/command#set_validation_proc Use it on the Command object.

Advertisement