sketchucation logo sketchucation
    • Login
    1. Home
    2. NewOne
    3. Posts
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    πŸ”Œ Easy Offset | Offset selected faces in SketchUp in positive and negative offsets. Download
    N
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 59
    • Posts 317
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: WebDialogs - tabs sample !

      @chris fullmer said:

      Having tabs has been big on my list of web dialog needs.

      Now I just have to figure out better buttons, and how to make tabels better.....wow I suck at html.

      This was my learning-how, so I did not payed attention on design. There are plenty of css examples for different tab design. Some examples here:http://css.maxdesign.com.au/listamatic/ You can use images for buttons, if you like. Unfortunately IE doesn't support round corners (just firefox).

      posted in Developers' Forum
      N
      NewOne
    • RE: ? [Question] - A Ruby Calculator ?

      @gruff said:

      Pretty terse New. πŸ˜„
      How do you get the console to push the result into the VCB?

      
      #INPUT THIS IN Ruby Console
      
      Sketchup.vcb_value = 5*3
      
      #THIS WILL RETURN 15 IN VCB
      
      
      posted in Developers' Forum
      N
      NewOne
    • RE: WebDialogs - tabs sample !

      @chris fullmer said:

      That's great. I'll play around with when get a chance.

      Chris

      I'm not sure that css is in its best form, if somebody can make it better, please upload here. Thanks.

      posted in Developers' Forum
      N
      NewOne
    • RE: ? [Question] - A Ruby Calculator ?

      @jclements said:

      Has there ever been a Ruby Calculator developed that could do basic math functions, remember a constant, and do Unit conversions and then take the results drop them into the VCB and/or to the windows clipboard?

      I was thinking it could be useful to use with Certain tools or scripts that don't recognized all units of measure.

      You can simply use Ruby Console for that. πŸ˜„

      posted in Developers' Forum
      N
      NewOne
    • WebDialogs - tabs sample !

      A very basic WebDialog with tabs.
      I think this can be usefull. Modify as you wish for your needs.Tabs screen.png


      Tabs.zip

      posted in Developers' Forum
      N
      NewOne
    • RE: WebDialog - how to make tabs?

      @jim said:

      I'm not sure you can do it without using javascript. But, it's really not difficult to do.

      For a single page design, you could have a div for each tab. Then use javascript to switch the css class of the divs on click. You might have a css "visible" class and a "hidden" class.

      document.getElementById("divId").className = "hidden";
      

      And for a multipage design, could this be implemented?

      posted in Developers' Forum
      N
      NewOne
    • WebDialog - how to make tabs?

      Hy, I'm trying to add tabs in a webdialog and in each tab I want different content, but I'm not sure yet that different content will be a different file, or same file, but different div.
      I managed to make some tabs in css, but I have no idea how to implement this in webdialog because wd are a little more trickier than ordinary html pages.
      If JS is a better choice to make tabs, I'll stick on that, if you guys will teach me how to do it.

      I've attached here the files...


      Tabs.zip

      posted in Developers' Forum
      N
      NewOne
    • RE: Photoshop CS5 demo vid

      @ecuadorian said:

      Sigh...
      There will be no way to believe a photo now.

      Well... since last computation capability and last rendering engines, you can not believe a photo... We have now stronger ways to lie each others... Isn't this the reason why human ways of communication are so complex? Whales can't lie... πŸ’š

      posted in Hardware
      N
      NewOne
    • RE: Ruby's global nightmare!

      If we complain about Ruby, what AutoCAD users say about Lisp? πŸ’š

      posted in Developers' Forum
      N
      NewOne
    • RE: Maxwell V2 is out

      @richard said:

      ...Just found out that most 1.7 materials aren't compatable with v2 ...

      What kind materials aren't compatible? πŸ˜•

      posted in Extensions & Applications Discussions
      N
      NewOne
    • RE: Make PDF-s with RUBY

      @hpw said:

      2 thoughts:

      Does SU Ruby support RubyGems package installer? Can it be loaded?
      Is SU Ruby 1.8 supported by this package? (They wrote that it runs on 1.9)

      Otherwise seems to be a nice package.

      You can use every feature you want in SU, just add proper files and pay attention to how you make requirements. If it works in Sketchup's ruby version, I don't know... I just posted this here because I thought somebody might be interested.

      posted in Developers' Forum
      N
      NewOne
    • Make PDF-s with RUBY

      What you think about this?
      http://prawn.majesticseacreature.com/

      posted in Developers' Forum
      N
      NewOne
    • RE: Instance @variable vs class @@variable

      As I leaned since now, in ruby, variables don't store data, instead they are pointing to value. But I don't know if class variables have pointers or not? Do they are static or dynamic?

      posted in Developers' Forum
      N
      NewOne
    • RE: Instance @variable vs class @@variable

      @jim said:

      For a typical plugin that uses a module strictly as a namespace, an instance variable (@anytyhing) can be thought of as "global" within the module.

      I think a class variable will have the same visibility when used the same way in a module, but for a different reason.

      Before starting this post (and that was the reason for the post), I had some problems with instance/class variables. I noticed that instance variables act something like "globals" inside a module, but something strange happened with class variables. I could not acces class variables from outside class. I am not sure yet what was the cause...

      posted in Developers' Forum
      N
      NewOne
    • RE: Core ruby policies

      @cjthompson said:

      ok. just tested with a clean plugins folder and the ones I listed are still there.

      How do you use .methods ? I tried Sketchup.methods and it woeked, but several tries gave me errors.

      Sorry. Figured out how πŸ’š

      posted in Developers' Forum
      N
      NewOne
    • RE: Core ruby policies

      @cjthompson said:

      This is probably a pretty stupid question, but do you know if there are any policies in sketchup against using core ruby code?
      The reason I'm asking is because of .methods. This allows you to see all the public methods of an object.

      I noticed some undocumented methods, and was wondering if they were purposefully left undocumented, or just overlooked.

      Well, tell us about them! πŸ˜„

      posted in Developers' Forum
      N
      NewOne
    • How to add components to another component? [ruby]

      I want to select several component instances in my model, based on name, and group them in a bigger component.
      Something like this:

      Component#1 |
      Component#2 |--> Parent_Component
      Component#3 |

      Test#1 |
      Test#2 |
      Test#3 |--> Parent_Test
      Test#4 |
      Test#5 |

      But I really don't understand how. I thought I have to use entities.add_instance method, but I can't make it work. And there is a Transformation attribute which I don't understand. All I can do is to add a New empty component definition in model.

      Any help, please? Thanks.

      posted in Developers' Forum
      N
      NewOne
    • RE: WebDialog help - hide scrollbars

      @chrisglasier said:

      Adding "http://www.w3.org/TR/html4/loose.dtd" looks like this:

      [attachment=0:1ma73d3a]<!-- ia0 -->cgScenes no scroll 002.png<!-- ia0 -->[/attachment:1ma73d3a]

      but the webdialog is on the local drive so I don't see the big deal. But please let me know if there is one!

      Same thing happens to me. So, I used your version of !DOCTYPE πŸ’š

      posted in Developers' Forum
      N
      NewOne
    • RE: Zippo, weapon and a wooden toy plane

      It's not a rendering... just a old picture made by me. To complete yours πŸ˜„


      airplane.jpg

      posted in Gallery
      N
      NewOne
    • RE: WebDialog help - hide scrollbars

      @chrisglasier said:

      
      > 
      > css ...
      > 
      > body{
      > border;0px; 
      > margin;0px; 
      > overflow;hidden   }
      > 
      > 
      

      But you don't use !DOCTYPE, right? πŸ’š Paste this on the top of your Html page and tell me if overflow works for you. Also your window border...

      <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
      
      posted in Developers' Forum
      N
      NewOne
    • 1
    • 2
    • 5
    • 6
    • 7
    • 8
    • 9
    • 15
    • 16
    • 7 / 16