⚠️ Update | Sketchucation Tools 5.0.8 released with licensing improvements and bugfixes Download

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
  • ViewObserver doesn't fire messages on Zoom tool

    5
    0 Szavazatok
    5 Hozzászólások
    575 Megtekintések
    Chris FullmerC
    Yeah, I can see this too. Thanks for reporting it. We've got it logged in our bug database now Chris
  • Negative uniform scale

    10
    0 Szavazatok
    10 Hozzászólások
    930 Megtekintések
    R
    @tt_su said: That disappearing group (visually) sure looks like a bug. I'll file a bug internally (SU-29499). Meanwhile, the workaround is to specify scaling in X Y and Z explicitly. Ok, Thom. It is a small bug but it took me a long time to be assured it was not my code fault and try another way to do it.
  • Problem about ruby searching path in sketchup

    9
    0 Szavazatok
    9 Hozzászólások
    1k Megtekintések
    W
    @dan rathbun said: I've already written a patch, and TIG has updated it twice. See: Re: Sketucation plugin load error Thank you! I use the patch,but there is still different. when sketchup install in drive c,and start with shortcut in desktop Encoding.find("locale") #<Encoding;GBK> when sketchup install in drive c,puts the patch file in tools folder,then start sketchup with shortcut in desktop Encoding.find("locale") #<Encoding;ASCII-8BIT> This different will lead some error if filename uesed some Chinese character. The patch file is still missing something?
  • Gluing Text label (in creation / modification)

    2
    0 Szavazatok
    2 Hozzászólások
    318 Megtekintések
    TIGT
    I think the new Dim methods do allow you to get the 'entity tree' for a Dim's two start/end. You can also specify them when adding a new Dim - start=/end=... Unfortunately Text does not have the equivalent linking possibilities for its arrowhead. There are many Text methods missing - these were discussed at length at last year's BaseCamp - as were Dims, but only a few got through...
  • Can a Ruby tool return a value to a 'calling' program?

    5
    0 Szavazatok
    5 Hozzászólások
    541 Megtekintések
    Dan RathbunD
    @johnwmcc said: Is it possible or allowable to have module-wide variables that aren't global? YES. ALL of your plugins should be within a company or author namespace module. Each of your separate plugins would be within a sub-module of that toplevel module. Let us say for example your toplevel module is named McC and within that you define a @@last_point variable. You can also define getter and setter methods to set and access that variable within the toplevel module: module McC def McC;;last_point @@last_point end def McC;;;astPoint=(pt) @@last_point = pt.is_a?(Geom;;Point3d) ? pt ; Geom;;Point3d.new(0,0,0) end end # module McC OR you could define your shared functionality within a mixin module, and then include it within any of your sub-modules or classes, with which you want to share it with. See the the "Pick-Axe" book on Programming Ruby. It's in the Ruby Resources thread. AND also online in HTML format.
  • WebDialog encoding bug found!

    44
    0 Szavazatok
    44 Hozzászólások
    5k Megtekintések
    G
    Sketchup 2014 Mac 10.9.2 testing text in Simplified Chinese [image: encoding_issue_14.0.4899.png]
  • Context menu in Materials Window (Inspector)?

    2
    0 Szavazatok
    2 Hozzászólások
    437 Megtekintések
    tt_suT
    Afraid not. But I think it sounds like a useful thing. I'd recommend you file a feature request. (Please include use case - it helps so much more than just the technical request.)
  • Why does this code break?

    9
    0 Szavazatok
    9 Hozzászólások
    916 Megtekintések
    J
    The advantage of code tags is they can easily be copied and pasted in a code editor, or one of the SketchUp console dialogs. I have my editor and SketchUp set up[1] where I can run the pasted code in SketchUp with the push of a key. So testing posted code is fast and easy - copy, paste, run. That's why it's important to post "run-able" code - leaving variables and constants undefined makes it harder to help. [1] https://github.com/noelwarr/su-tunnel
  • Location API

    7
    0 Szavazatok
    7 Hozzászólások
    918 Megtekintések
    F
    @juantxo said: It's a pro feature. Just click mountains icon. Thanks! Unfortunately this didn't give me the level of detail I'm after (can't zoom in far enough).
  • Some menus don't open during a custom tool operation

    11
    0 Szavazatok
    11 Hozzászólások
    758 Megtekintések
    tt_suT
    Yes, view.invalidate will tell SketchUp to redraw. It doesn't redraw immediately, but let SketchUp manage update rate. Not sure how this is related to dialogs, focus and ALT key though...
  • Face to cam script for PDF3D

    4
    0 Szavazatok
    4 Hozzászólások
    1k Megtekintések
    juan974J
    finally the problem was tan(alpha)=tan(alpha+180°) here the result...
  • How to open attributes ?

    2
    0 Szavazatok
    2 Hozzászólások
    326 Megtekintések
    Dan RathbunD
    Entity#get_attribute() Entity#set_attribute() The dictionary name is "dynamic_attributes"
  • Why is a box deleted / Why is a box not a manifold?

    7
    0 Szavazatok
    7 Hozzászólások
    886 Megtekintések
    tt_suT
    There is no need to explode - just don't create two groups. Change this: bbx1 = Sketchup.active_model.entities.add_group g1 = bbx1.entities.add_group face1 = g1.entities.add_face boxpts face1.reverse! face1.pushpull(bbxmax.z-bbxmin.z ) to bbx1 = Sketchup.active_model.entities.add_group face1 = bbx1.entities.add_face boxpts face1.reverse! face1.pushpull(bbxmax.z-bbxmin.z ) If you read your code carefully you will see that you call add_group twice, once in the root entities element and once in the first group you created.
  • Support for Gems with Native Extensions?

    3
    0 Szavazatok
    3 Hozzászólások
    361 Megtekintések
    S
    On Mac OS X, even with XCode and command line developer tools installed, the SU installation of Ruby is not set up to enable compiling and installation of most C-library Gems. For example, one Gem I attempted assumed that there was an executable Ruby interpreter in the SU Ruby Framework where the Gem library lives (there is not - only the dynamic library loaded by SU). Fixing this requires loading a 32-bit Ruby compatible with SU, since the native installation is 64-bit. But even then the generated Makefile and other scripts fail due to problems with configuration. For example, Ruby was launched with an illegal command line option to one of the install scripts. In the end I hand-edited things and got the Gem to compile and install, only to discover as TT points out that SU's Ruby intentionally omits certain standard library components that were found to crash SU. Bottom line: with enough determination you can build a compiled-C Gem, but don't be surprised if libraries it wants are missing or if it BugSplats SU! Steve
  • Incompatible character encodings loading .so files

    9
    0 Szavazatok
    9 Hozzászólások
    1k Megtekintések
    Dan RathbunD
    @al hart said: Is GetShortPathName in ruby or in Win32API.so? Neither. It is in "Kernel32.dll", and you use either Win32API or DL class objects to wrap calls into that native library. See: [MSDN : GetShortPathName()](http://msdn.microsoft.com/en-us/library/windows/desktop/aa364989(v) Ruby : DL library .. and since DL ( really is deprecated, and now a wrapper into Fiddle calls,): Ruby : Fiddle library
  • How to transform InputPoint to local coordinate system?

    19
    0 Szavazatok
    19 Hozzászólások
    2k Megtekintések
    R
    @unknownuser said: Postby tt_su » Tue Mar 18, 2014 8:08 am When you get identity transformation, did you check the depth? Maybe the position of IP is coming from an inferred point and therefore isn't coming from inside the group/component you click on? The bug reported by Freddo a few messages above seems to be related to inference points indeed. I always get the identity from ip.transformation when the position of the cursor is along an inference line. Besides that, along inference lines, the ip.depth equals 0 and the ip.degree_of_freedom equals 1 independent whether a face was picked by the InputPoint or not. Even along inference lines, the InputPoint position seems to be correct. Update: Along inference lines, the InputPoint position seems to be the position of the point on the inference line and not of the cursor position. Ronaldo
  • Add_group with argument

    5
    0 Szavazatok
    5 Hozzászólások
    583 Megtekintések
    fredo6F
    TIG, Thanks. Indeed, once it is clear that this is an equivalent to make_group, I can manage to design a 'copy-as-group'. Thanks to all Fredo
  • Ruby 2.0 __FILE__ contains incorrect encoding.

    18
    0 Szavazatok
    18 Hozzászólások
    5k Megtekintések
    D
    I started a new encoding bug topic incase it's unrelated... http://sketchucation.com/forums/viewtopic.php?f=180%26amp;t=57074#p518534 can you all have a look? john
  • Find computer uuid

    2
    0 Szavazatok
    2 Hozzászólások
    639 Megtekintések
    JuantxoJ
    Thanks to Driven and Dan. I will use new notation instead use force_encoding. I think now it should works... #UUID in RUBY 2.0 WINDOWS ` cmd="wmic csproduct get uuid" filename = File.join(ENV["TMP"],"backquote.out") exec_string = "`" + cmd + " > " + filename + "`" exec_string.gsub! '\\', '/' eval("#{exec_string}") uuid="" open(filename, "r:BOM|utf-16le:UTF-8") do |io| uuid = io.read end`
  • Document.getElementById ?

    8
    0 Szavazatok
    8 Hozzászólások
    686 Megtekintések
    G
    Thank you for the formatting. The splitted version works on PC, IE11, SU 2014.

Advertisement