πŸ”Œ Smart Spline | Fluid way to handle splines for furniture design and complex structures. Download

Subcategories

  • No decscription available

    20 Topics
    462 Posts
    HornOxxH
    @pilou said: More appetizing in chocolate! Eggs are good as well - but only very fragile when falling down in SketchyPhysics
  • DWG & DXF files problem with circles & curves

    6
    0 Votes
    6 Posts
    4k Views
    TIGT
    Yes 'Qbrick' can be useful to split intersecting arcs/circles before import, but you need AutoCAD ! So, importing a 3d dxf and using my tool to adjust the segmentation of any eligible arcs/circles seems the only way otherwise...
  • RubyMine Sketchup low priority Needs submission

    3
    0 Votes
    3 Posts
    390 Views
    chrisglasierC
    Here's the latest reply which I can just about understand. @unknownuser said: Unfortunately Sketchup API is hidden in compiled C library thus RubyMine doesn't understand it. RubyMine is able to parse only libraries written in Ruby + standard C-based Ruby interpreter core libraries. Please submit an issue at http://youtrack.jetbrains.net/issues/RUBY. It is possible to create/generate ruby stubs for Scetchup (similar which RubyMine uses internally for codeinsight related to Ruby core libraries) and it isn't too hard. At current moment this is a low priority issue and only a few users asked us to implement it. I am not sure I am the right person to submit an issue. Please let me know if you are willing to take it on.
  • "Automatic SketchUp" - review

    5
    0 Votes
    5 Posts
    781 Views
    Mike LuceyM
    Being totally ignorant on the subject of ruby scripting I think I will buy this book and gain some insight. It looks to be good value at $32. I also notice that the author, Matthew Scarpino, says in Chapter 1: Introduction to SketchUp Scripting For further support with SketchUp scripting, you can't do much better than http://www.sketchucation.com http://www.autosketchup.com/ [image: ht4a_AutomaticSketchUp.jpg]
  • Source Code Indentation : Why certain amount?

    19
    0 Votes
    19 Posts
    2k Views
    thomthomT
    I want elastic tabstops!
  • Align Zaxis of plane to Azimuth and Altitude Coordinates

    2
    0 Votes
    2 Posts
    643 Views
    C
    Hi and thanks for everybody who has taken the time to read my post. I'm not a programmer but would like to make this plug-in, so I'm wondering if someone can help me find similar plug-ins or codes that would help me understand and program it. Thanks.
  • JavaScript to Empty Something

    4
    0 Votes
    4 Posts
    296 Views
    thomthomT
    The former used to be the W3C standard way. The latter used to be the non-standard. But as of HTML5 I believe innerHTML and outerHTML are now standard. Pretty well supported anyway.
  • Quickly finding groups/comps in an Entity Collection?

    24
    0 Votes
    24 Posts
    2k Views
    J
    @thomthom said: I take a few extra lines for readability any day. True, but "squish-the-code" is a fun exercise and I often learn something new. def xis(a);a.map{|e|xis(e.explode)if e.respond_to?('move!')};end (assuming no one has added move! to any of the built-in classes!)
  • [Obsolete] LibFredo6 3.0e (newer version available)

    32
    0 Votes
    32 Posts
    17k Views
    A
    NICE !!! THNKS FOR UPDATE...
  • Ruby Help for Components & Layers

    3
    0 Votes
    3 Posts
    346 Views
    thomthomT
    And if you want to create components, then you use model.definitions.add "newCompName" http://code.google.com/apis/sketchup/docs/ourdoc/definitionlist.html#add And then place an instance of the definition. http://code.google.com/apis/sketchup/docs/ourdoc/entities.html#add_instance Instead of making a groups and then converting the group.
  • Default animation settings, a 2nd question

    9
    0 Votes
    9 Posts
    475 Views
    thomthomT
    @martinrinehart said: Microsoft (MSFT) deliberately made Windows programming as complex as possible, as was suspected by all who tried it (I'm one) and was later confirmed by internal documents ferreted out during the antitrust trial. It would be extraordinarily unlike Google to do any such thing. So you ask, "Why?" This is not something MS controls. It's what Google (or @Last) did when they implemented this. I do not know why they chose to group it though.
  • Standing Seam Roof generator

    7
    0 Votes
    7 Posts
    993 Views
    HumpmetwiceH
    I don't know a easier way to do it but I do feel your pain!I did this for a friend of mind and he wanted "R" panels. !["R" Panel Roof](/uploads/imported_attachments/zn6g_Roof.gif ""R" Panel Roof")
  • Bad Parts - JavaScript: The Good Parts

    2
    0 Votes
    2 Posts
    271 Views
    M
    If you do not have the book, get the book. From my tutorial, Chapter 19: "Before we begin, I should state that we are not covering all of JavaScript here. We are covering the subset that JavaScript guru Doug Crockford identifies in his book, JavaScript: The Good Parts."
  • Trouble loading scripts outside Plugins directory

    5
    0 Votes
    5 Posts
    530 Views
    M
    Thanks Dan. I think I'll stick with your simplified solution. Works perfectly! Now I can keep my plugins separate from the ones I downloaded from other folks. Marc
  • Duplicate of component definition

    9
    0 Votes
    9 Posts
    569 Views
    P
    Hey Chris, We are the developers of the 4D Virtual Builder for Sketchup plugin Hope you already had the time to test-drive it. Since I'm not a native Ruby developer this forum has been a great help!
  • Calling Whaat and Fredo!! new MAC issues (SOLVED)

    94
    0 Votes
    94 Posts
    21k Views
    S
    Hi! I have followed the discussion but I have still problems with the icons and tools using the Bezier curve. Could anyone explain me which are the right steps? I have seen Fredo released a new .rb file called beziermain.rb but also overwriting that in the old folder BezierSpline1.3 I still don't see all the tools. HELP! thanks. Stef.
  • Google's New API Doc

    5
    0 Votes
    5 Posts
    366 Views
    M
    Tracking: problem does not appear in Opera of Firefox. It's a Chrome bug. Googled "how to report a Chrome bug." Following thru, closed and reopened Chrome. Problem gone. Glad I took that screenshot showing the problem.
  • Control animation from own software?

    2
    0 Votes
    2 Posts
    254 Views
    M
    The camera is easy to position using Ruby and the API. Watch the first 30 seconds of my Airshow! movie for a good example. What is the requirement for a separate C++ program?
  • Vertices and selection

    9
    0 Votes
    9 Posts
    677 Views
    alexschreyerA
    Thanks for the replies. I'll have to get back to this later, so please don't think I am ignoring you... Cheers, Alex
  • Sketchup.write_default needs escaping?

    7
    0 Votes
    7 Posts
    467 Views
    M
    @thomthom said: Looks like it evaluates the string and treats the backslashes as special characters. I had no end of troubles with slashes. Finally implemented this none-too-clever code and all the bugs went away: =begin qq() and qq!() do these replacements; "'" -> "qq1" '"' -> "qq2" '/' -> "qq3" '\' -> "qq4" '\n' -> "qq5" '\r' -> "qq6" =end def self.qq( str ) return str.gsub( /\'/, 'qq1' ).gsub( /\"/, 'qq2' ).gsub( /\//, 'qq3' ).gsub( /\\/, 'qq4' ).gsub( /\n/, 'qq5' ).gsub( /\r/, 'qq6' ) end # of qq() def self.qq!( str ) str.gsub!( /\'/, 'qq1' ) str.gsub!( /\"/, 'qq2' ) str.gsub!( /\//, 'qq3' ) str.gsub!( /\\/, 'qq4' ) str.gsub!( /\n/, 'qq5' ) str.gsub!( /\r/, 'qq6' ) end # of qq!() These reversers complete the Ruby: def self.unqq( str ) # reverses qq() return str.gsub( /qq1/, '\'' ).gsub( /qq2/, '"' ).gsub( /qq3/, '/' ).gsub( /qq4/, '\\' ).gsub( /qq5/, '\n' ).gsub( /qq6/, '\r' ) end # of unqq() def self.unqq!( str ) # reverses qq!() str.gsub!( /qq1/, '\'' ) str.gsub!( /qq2/, '"' ) str.gsub!( /qq3/, '/' ) str.gsub!( /qq4/, '\\' ) str.gsub!( /qq5/, '\n' ) str.gsub!( /qq6/, '\r' ) end # of unqq!() These are the reversers in JavaScript: single_quote = String.fromCharCode( 39 ); double_quote = String.fromCharCode( 34 ); ford_slash = String.fromCharCode( 47 ); back_slash = String.fromCharCode( 92 ); function unqq( msg ) { s = msg.replace( /qq1/g, single_quote ); s = s.replace( /qq2/g, double_quote ); s = s.replace( /qq3/g, ford_slash ); s = s.replace( /qq4/g, back_slash ); s = s.replace( /qq5/g, '\\n' ); s = s.replace( /qq6/g, '\\r' ); return s; }
  • Python

    2
    0 Votes
    2 Posts
    268 Views
    thomthomT
    @dedmin said: Is this possible with SketchUP "this" - dancing robot? Or simply scripting Python in SU? Someone has been working on adding a Python layer to SU - but it'd interface with the Ruby layer, so it's slower than using Ruby directly. http://www.cosc.canterbury.ac.nz/greg.ewing/SuPy/

Advertisement