ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info
  • Two identical faces, but show just one

    10
    0 Votes
    10 Posts
    698 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
    372 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
    69 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
    2k 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
    158 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
    17k 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
    683 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
    606 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
    6k 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
    4k 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
    409 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
    494 Views
    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 Votes
    3 Posts
    64 Views
    M
    Tig, ok this did the trick! THX!
  • Upgrading OSX from 10.5 to Mountain Lion?

    18
    0 Votes
    18 Posts
    1k Views
    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 Votes
    16 Posts
    2k Views
    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 Votes
    22 Posts
    791 Views
    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.

Advertisement