⚠️ Important | Libfredo 15.6b introduces important bugfixes for Fredo's Extensions Update
  • Will this work on Mac OS?

    4
    0 Votes
    4 Posts
    175 Views
    D
    hi, you may need a java version test, as mac no longer ships with it pre-installed, it does however recomend installing as part of the start-up sequence. so, from ruby console java_version=(`java -version 2>&1`).split("\n")[0].to_s.split[-1] "1.6.0_37" john
  • How to save dxf file with embedded thumbnail image?

    9
    0 Votes
    9 Posts
    3k Views
    Dan RathbunD
    Could be a job for ImageMajik ?? Embedding encoded thumbnails INTO the file, will bloat the filesize.
  • API Methods by SU Version - 2012 year end edition

    5
    0 Votes
    5 Posts
    158 Views
    Dan RathbunD
    FYI: two other threads on send_action() Sketchup.send_action() : Arguments to Sketchup.send_action arguments: Mac vs PC I have begun a reference spreadsheet (in ods format) on the many actions (many not documented elsewhere,) but it is not fully complete.
  • Easy way for offset of a face

    5
    0 Votes
    5 Posts
    176 Views
    N
    Thanks a lot Chris! Okay, no problem, then I start with my ideas! In my case, I have always faces with z = 0. So, I think, it should reduce the complexity of my project I will public my solution for other people...
  • Two identical faces, but show just one

    10
    0 Votes
    10 Posts
    772 Views
    N
    At first at all, thank you very much for all your help! I will try it at weekend. @thomthom said: But... why do you even have two faces overlapping anyway? It's generally something to avoid in any 3d modelling. Following situation in my plugin: you have a model you choose a part of this model, which you like to get milled (for example a pocket) after you have choosen it and add it to the "milling list", my plugin will copy this choosen faces into a hidden group when you click on the list, the "to be milled" faces (I collored it green) will be shown with the help of the hidden faces, the plugin is independent of the real model => so, before calculating the GCode, the user is allowed to change the model itself I hoped, I could explained my situation understandably
  • Refer to entities from code

    19
    0 Votes
    19 Posts
    644 Views
    D
    wow thanks Dan, I will take some time to study this code, worth but me several questions arise, I will try to solve the most I can on my own, thank you very much (google translator)
  • [Question] Manually Setting Instructor Content

    3
    0 Votes
    3 Posts
    98 Views
    Dan RathbunD
    Yes.. be more clear. Is this YOUR tool, any author's tool, or the native tools ? If it is YOUR tool, then no problem.
  • Ruby Version for Sketchup 8.0 M1 on Mac ??

    41
    0 Votes
    41 Posts
    4k Views
    S
    WARNING Make sure to restore SketchUp to its distribution Ruby (1.8.5) before installing a version update to SketchUp! Otherwise the SU install will overwrite parts of your system-installed 1.8.7 Ruby and make it unusable (DAMHIKT)! Steve
  • Group in a group in a group... - transform point to outside?

    25
    0 Votes
    25 Posts
    3k Views
    N
    I think, I solved the problem - but I don't know exactly, what WAS wrong... I saw, by copiing the selected faces into a new group, not every face has the original direction. So, I changed my Face.copy function (I know, its not good to change the Face.class, but I will solve THIS problem later) in that way: outer_face = ents.add_face ov outer_face.material = "green" if outer_face.normal != self.normal outer_face.reverse! end Now, all the faces have the right direction and now the problem with the offset of the points is gone. But, to be honest, I have realy no idea, how these two problems correlate! And it doesn't help, to change the direction of these faces by hand - the problem stays! Just by copiing all the faces again, the problem of the offset is gone! Do you have ANY idea what's going on? I thank you sohhhhh much for all your support!!! You helped my realy a lot!
  • Problem with Tool.getInstructorContentDirectory

    2
    0 Votes
    2 Posts
    186 Views
    thomthomT
    For reference: http://sketchucation.com/forums/viewtopic.php?f=323&t=47399&start=15#p426668
  • Add_group slow on mac

    48
    0 Votes
    48 Posts
    18k Views
    D
    @gwd said: You can find the code on page 3 Hi, after a lot of digging, it appears that your test code will run in 0.8[1..3] seconds on both Snow Leopard and Mountain Lion with free or pro SU v6, v7 or v8, UNLESS you have either of these in your preference list %(#FF00BF)[<string>OutlinerController</string> <string>ComponentGBrowserController</string>] these have no ill effect, but add either of the others and you beach-ball... %(#00BF00)[<key>OpenInspectors</key> <array> <string>PagePanelController</string> <string>LayerPanelController</string> <string>StyleBrowserController</string> <string>SoftenPanelController</string> <string>EntityInfoController</string> </array>] They actually fork the main Thread into a timer loop to make the thumbnails and will do that even if the ruby has run before you open the Inspector. i.e run test code without, then zoom, orbit, make new geometry, etc... turn on 'Components' or 'Outliner' and you'll get a beach-ball. If 'Components' is run first 'Outliner' opens straight away. john
  • Retrieving parent definition

    13
    0 Votes
    13 Posts
    1k Views
    F
    @chris fullmer said: Frankn, just to clarify for myself, but you really want only components that have sub-components in them? or is it that you want a list of definitions whose instances are NOT sub-components? Hey Chris, I wanted to be able to find the parent definition of components with subcomponets that aren't in the model but still in the definition list. Hope that makes sense... but if it doesn't, basically the 2nd code that Tig shared is what I wanted to accomplish.
  • Layer controllability over html web dialog box

    3
    0 Votes
    3 Posts
    709 Views
    J
    sachi - See also the VisMap plugin. http://sketchucation.com/forums/viewtopic.php?f=323&t=28782#MartinRinehart
  • Post_url returned data

    12
    0 Votes
    12 Posts
    770 Views
    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 Votes
    25 Posts
    7k Views
    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 Votes
    22 Posts
    5k Views
    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 Votes
    15 Posts
    2k Views
    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 Votes
    14 Posts
    564 Views
    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 Votes
    6 Posts
    2k Views
    F
    http://rhin.crai.archi.fr/rld/plugin_details.php?id=219
  • Need help with Ruby Plugin - Mac

    10
    0 Votes
    10 Posts
    705 Views
    jolranJ
    Ah yeah, thats correct. At least I got a part of it right. Nice link BTW. Good reading.

Advertisement