sketchucation logo sketchucation
    • Login
    1. Home
    2. herodes
    3. Posts
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info
    H
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 31
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: What if we could use <blank>?

      I am gonna have to suggest Lua on this.
      The language's ability of being "a powerful, fast, light-weight, embeddable scripting language", is really what it sounds.

      Lua does functional programing, which is great for non programers if you combine it with the amazingly simple syntax. Also Lua has enough all the sleeves to pull all the cards you'd probably want from a scripting language. You can even do oop... and still be fast!

      Many programs have been using it as their scripting language either for adding functionality or simply automating the host program. An easy example is Ecotect.

      posted in Developers' Forum
      H
      herodes
    • RE: Google Sketchup Pro 7 is out

      @pixero said:

      @unknownuser said:

      New Ruby APIs have been added.

      Anyone found out what they are?

      The only thing I found is this which leads to nowhere...
      http://code.google.com/more/#products-apis-sketchup

      I'd suggest going to the What's New in this Release page and answer 'No' in the 'Was this information helpful?' bit at the end with the excuse that 'It's unclear'!

      posted in SketchUp Discussions
      H
      herodes
    • RE: Google Sketchup Pro 7 is out

      great,.. we got the new hyper-announcement promoting Sketchup 7 blatantly, and guess what,.. we can't post to disagree with things like

      @mike lucey said:

      I think Layout has now grown up and will be adopted by many
      professionals with a need to communicate their design ideas
      to clients.
      Snap out of it ,... only a fraction of people use Layout, (and will ever use it) people need editing freedom that Layout can't provide!
      I still have not seen a proper layout presentation, in the years since the first release of Layout, but I've seen many more that a couple using the CAD->Sketchup->Photoshop workflow, that include character, wow-factor, and individuality. I never managed to see Layout in this picture or produce these outcomes as much as I tried.

      PS: I'd be very positive about this release if it weren't to cost me anything to upgrade.
      I suppose being beta testers you have the new version for free. Then you try to convince the rest of the people that the new release is ok. That sucks where I am from.

      posted in SketchUp Discussions
      H
      herodes
    • RE: Google Sketchup Pro 7 is out

      I come forward to support the opinion that this is in no acceptable way a major release, since this new version totaly lacks any form of documentation (no don't tell me about the instructor), and/or solid Ruby API Documentation!

      Give us something we can actually buy, to work and to play, to customize and enjoy!
      Having me complaining all this much about the next release proves how much I want this... but I can't justify the cost to myself,... let alone my employer.

      Oooh!,... About Bonzai3D being a vaporware, I contacted the autodesys people this is the email!

      @unknownuser said:

      At 9:57 AM -0500 11/17/08, Georgios Petsagourakis wrote:

      It has been suggested here that the Bonzai3D is vaporware,... please clarify.

      Best Regards,...
      George Petsagourakis

      Dear George,

      BonZai is progressing nicely (although it is taking a little longer to finalize the Beta version than we would like).

      We hope to have the public Beta version released in the next month. If you have not done so already, we recommend signing up to be notified when this is released on the BonZai page:

      favicon

      (www.bonzai3d.com)

      Please let us know if you have any further questions.

      Best Regards,

      Paul Helm

      --

      formZ Technical Support
      autodessys, Inc.
      (614) 488-8838

      Monday - Friday
      9am - 6 pm EST

      posted in SketchUp Discussions
      H
      herodes
    • RE: Google Sketchup Pro 7 is out

      @juanv.soler said:

      Well,
      Google, we are now ready for the new features
      πŸ˜„

      Well said!
      πŸ‘ πŸ‘

      posted in SketchUp Discussions
      H
      herodes
    • RE: Google Sketchup Pro 7 is out

      You can witness the Shadow Bug in all its glory in the following picture. The red circle is my edit. BTW this is from the Sketchup 7 demo.
      This has to do with the camera frustrum clipping volume and the shadows calculations.

      I also found this post from past May,... I am really annoyed now... http://bit.ly/AjoH


      Shadow Bug...

      posted in SketchUp Discussions
      H
      herodes
    • RE: Google Sketchup Pro 7 is out

      The major release was due to a number of reasons. Possibly just and only marketing related.
      The time since last release was a major one, the other one was that they thought that by giving a point release would be too discouraging to the community. Let's admit it... it is a point release status. Nowhere near the release anyone expects, even the developers themselves shouldn't consider this a proper major release.

      To the people wanting high-poly support and shadow bug gone: The toolbar arranging bug isn't still solved! Give it a try! πŸ˜„

      • There are new icons! horray!

      • Dynamic Components! Great ruby script it could have gone on the market on its own,... to interfere it with the Sketchup releases. It had already started to happen from the community... take a look a the dynamic dimensions ruby.

      • Layout! Wonderful!,... although if they could actually see some usage statistics they'd probably ditch the whole project.

      • Style Builder! nice!... again, offer it as an addon. Don't package it with the main distribution of SketchUp.

      Yes I am being hard. But you know what I've been waiting for a long time for this release and what I basically see is a big excuse,... and this is from an end user. there is no other feedback to see. It was a long journey waiting for Sketchup 7 and from what I can see there was nothing worth waiting 2 years for.

      Now I am feeling betrayed because I have suggested Sketchup to a number of people myself. I think that I haven't really pushed them to the right choice of software. Sketchup is taking a wrong direction.

      The trial I downloaded surely isn't a Pro version of anything. I remain at the 6.x versions until further notice of improvement, I'd also like to see the scripters continue to develop on the 6.x version so that Google sees what has happened and quickly amend this. The less the community embraces this the better and quicker the next release will be,... note this down.

      The old king is dead,... long live the same-old king!

      posted in SketchUp Discussions
      H
      herodes
    • RE: Hardware recommendations

      Its an ATI thing. I saw this happening in a number of occasions on a number of systems.
      Either ATI isn't doing proper OpenGL implementation either the Sketchup Core (the rendering part) is not handling the OpenGL extensions in a nice way in order to achieve the "100%-same-output-on-all-graphics-cards" principle of usability and software quality.

      posted in SketchUp Discussions
      H
      herodes
    • RE: AutoCAD-to-Sketchup import Curve problem

      Hello, although I never got this problem myself googling "spline to pline" got me here then here then to a zip file that contained various lisp scripts and it contained the one attached inside it...

      In less than 10 exhaustive steps πŸ˜„

      1. Download to a location
      2. Rename to spline-to-pline**.lsp** (from .txt)
      3. In AutoCAD: Tools -> Load Application...
      4. Select the spline-to-pline.lsp from wherever you put it.
      5. Click on "Load" button and then the "Close" button.
      6. In the Command Line type "s2p" and select a spline.
      7. It will prompt you for the resulting segments number.
      8. Type the number of segments you want (default: 100)
      9. Press enter, DONE!

      Spline to Polyline Lisp

      posted in SketchUp Discussions
      H
      herodes
    • RE: Req : arc extend , trim

      And ofcourse there is no /real/, need for scripting this since it can be done like in this video I have uploaded...

      posted in Developers' Forum
      H
      herodes
    • RE: Req : arc extend , trim

      Do you want to extend like:

      • retain same number of arc edges? (like a circular stretch?)
      • retain the length of the arc edges (but, increase in number, like copy rotate would do?)

      Both of these can be implemented, it would need either an input dialog to choose which one, or a set of two different [context] menu items.

      posted in Developers' Forum
      H
      herodes
    • RE: Fast select with eraser

      For the specific request there is also the selecto.rb script that makes life easier.
      I couldn't get a link for it so I just attached it πŸ˜‰

      @remus: this may leave the selection but it will still remain in "eraser-tool-mode" if you switch to another tool then the selection is gone,... (at least for me)


      [TBD] Selecto

      posted in SketchUp Discussions
      H
      herodes
    • RE: [QUE] Why doesn't this draw the polyline?

      Hi Didier,

      model = Sketchup.active_model
      view = model.active_view
      
      # coplanar since z =0 on all these points...
      point12 = Geom;;Point3d.new 0,0,0 # z = 0
      point13 = Geom;;Point3d.new 10,10,0 # z = 0
      point14 = Geom;;Point3d.new 10,20,0 # z = 0
      point15 = Geom;;Point3d.new 10,30,0 # z = 0
      
      status = view.draw_polyline point12, point13, point14, point15
      

      I tried this and it stil doesn't work, I also gave inputting an array for argument to the draw_polyline and it gives a Sketchup::View,..
      ... any other ideas ?

      posted in Developers' Forum
      H
      herodes
    • Structured data exchange: Ruby <=> Javascript

      In Sketchup we have Ruby within it we have WebDialogs through which we have Javascript (through the Safari or IE Javascript VMs). I've always heard that if you need to exchange structured information like arrays, hashes, objects between Ruby and Javascript you should be emitting JSON strings back and forth. I run across this post by "why" entitled "YAML is JSON" and it got me thinking that maybe its YAML we should be working on.

      There is a pure Javascript YAML emitter class ( probably you don't need a parser,... JSON is a proper Javascript subset and JSON.almost_equal?(YAML) == true
      and a pure Ruby YAML class (emitter&parser) too!

      I haven't done any testing so someone with some more time,... please do the honours πŸ˜‰

      I am pretty sure this isn't as easy I present it to be and I assume a 30% possibility of it working with minimal effort, although I think that we need to come up with a ruby library for Sketchup and deal with it once and for all.

      posted in Developers' Forum
      H
      herodes
    • [ruby-doc]The missing Sample Code scripts compilation

      In the very old SketchUp Ruby API Deveoper'sGuide there is a part that reads "SketchUp Ruby API Example Code" in that section it describes a zip file that you can download from the main sketchup site (the @Last era one), and see test/sample code for most of the classes of the Sketchup API. I even remember myself having downloaded this file once and it was a real eye-opener, I occupied wmyself with script in Sketchup lately once again and I found the need for those files. I went to the wiki doc site and found that the Example Code fields links' where not existant. I googled the filename of a test file and found a url leading to an .rb,... tried it without the filename and it responded 404,... I changed to another filename and there it was. I went through the Classes and downloaded each sample code file I could find from that url.

      Btw it is a url to a google server.(http://download.sketchup.com/sketchuphelp/gsu6_ruby/Sample Code/<filename.rb>)

      Long story short I present to you a nice asset especially if you are still at novice level like me...
      It contains 61 scripts, and there are some classes missing due to the fact that there was nothing to download.
      I prepended the filenames with a number just so I could see the order I was downloading.

      Sketchup API Sample Code Scripts

      posted in Developers' Forum
      H
      herodes
    • [QUE] Why doesn't this draw the polyline?

      I found this example in the Wiki Api documentation pages.

      Link Preview Image
      Bitly | Page Not Found | 404

      favicon

      (bit.ly)

      model = Sketchup.active_model
      view = model.active_view
      
      point12 = Geom;;Point3d.new 0,0,0
      point13 = Geom;;Point3d.new 10,10,10
      point14 = Geom;;Point3d.new 20,20,20
      point15 = Geom;;Point3d.new 30,30,30
      
      status = view.draw_polyline point12, point13, point14, point15
      

      as it seems the polyline instructed isn't getting drawn.
      Is there something I am missing? Anything to watch out for?

      posted in Developers' Forum
      H
      herodes
    • RE: Observers !

      I would suggest trying something using the ModelObserver.OnTransactionEnd function. See it here

      posted in Developers' Forum
      H
      herodes
    • RE: Observers !

      As it seems, the EntitiesObserver.OnElementAdded receives two arguments...

      The first argument is an Entities class (sort of like an array) that contains all the all the Entity objects in the model.
      The second argument is the Entity that was added and thus triggered the call to the Observer mechanism.

      Give the following a spin,... It should explain itself in the Ruby Console...

      class ObsTest < Sketchup;;EntitiesObserver
      	def onElementAdded(entities, last_entity_created)
      		i=0
      		entities.each{|entity|
      			puts "entity[#{i}]; #{entity.class}"
      			i+=1
      		}
      		puts "entities ; #{entities.class}"
      		puts "last_entity_created ; #{last_entity_created.class}"
         end
      end
      
      Sketchup.active_model.active_entities.add_observer(ObsTest.new)
      
      posted in Developers' Forum
      H
      herodes
    • RE: Find/Select all Components &amp; Component Browser

      Go to menu Window > Outliner

      posted in Developers' Forum
      H
      herodes
    • RE: [Plugin] follow me rotate

      @Daniel S: Thanks it did require that the FollowAndRotate_cn.rbs is in the same folder. That solved it thanks a lot.

      It is rather weird that that both scripts are required.

      posted in Plugins
      H
      herodes
    • 1
    • 2
    • 1 / 2