sketchucation logo sketchucation
    • Login
    1. Home
    2. mocathe1st
    πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now
    M
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 16
    • Posts 30
    • Groups 1

    mocathe1st

    @mocathe1st

    10
    Reputation
    1
    Profile views
    30
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    mocathe1st Unfollow Follow
    registered-users

    Latest posts made by mocathe1st

    • RE: WebDialog on Mac (call to Google SU engineers)

      Hi All,

      I've currently run into the synchronisation problem described above. The JavaScript file I have currently written is fairly simple, and only passes messages from Flash via JavaScript to Ruby. I've got a single function to take care of this. However, when I send a quick succession of messages from Flash to Ruby via JS most of the commands get lost on the Mac, this works fine on the PC.

      I was just wondering if anyone found a solution to the synchronisation problem, is there a way to create a JavaScript buffer or a way of synchronising the messages?

      Best Regards,
      Malcolm Murray

      posted in Developers' Forum
      M
      mocathe1st
    • RE: SketchUp and EnergyPlus

      Just to let you know that Demeter has now be renamed LiveEnergy Modeller and a new version is available for download on our website at: http://greenspacelive.com. LiveEnergy Modeller is currently available on an Alpha testing basis unti 31st October 2009. We would value any feedback suggestions etc.

      I've also put more information in a SketchUcation post here: http://forums.sketchucation.com/viewtopic.php?f=80&t=21789.

      Thanks,
      Malcolm Murray

      posted in Developers' Forum
      M
      mocathe1st
    • Greenspace, developers of Demeter release new products

      http://www.greenspacelive.com/images/logo_homepage.jpg

      Greenspace, the developers of the Demeter SketchUp plugin and the LiveEPC SBEM front-end, are making available a new, integrated, suite of energy analysis tools as a free (time-limited) alpha release.

      The Greenspace Live suite is made up of 4 tools:

      • The latest version of the Demeter SketchUp plugin, now called LiveEnergy Modeller. LiveEnergy Modeller is an energy analysis plugin for Google SketchUp. Based on the gbXML standard for designing resource efficient buildings and specifying associated equipment, LiveEnergy Modeller enables the building designer to decorate 3D SketchUp building models with gbXML surfaces and openings, to identify and label gbXML spaces, and to import and export gbXML models. As a result of using LiveEnergy Modeller, Google SketchUp becomes an intelligent solution for low carbon building design. Models can be quickly exported to LiveEnergy EPC for energy analysis and certification.

      • The latest version of LiveEPC, now called LiveEnergy EPC. This is a front-end to the SBEM energy simulation program (extensively used in the UK) and can produce (non-DSM) energy analysis as well as checking UK building regulations and producing an Energy Performance Certificate. LiveEnergy EPC is not a modeller -- it imports gbXML from LiveEnergy Modeller (or any other gbXML source). Whilst it is a desktop application, the energy analysis actually takes place on a server (which is where all files reside also). This means your files and reports are visible anywhere in the world where there is internet access.

      • To better leverage this web-based approach, we've created a powerful browser-based viewing application called LiveEnergy Dashboard which incorporates sophisticated graphing tools.

      • Finally, we'd like to introduce LiveEnergy Workspace, a web-based project management framework and filestore that lets you make the most of the collaboration the web is supposed to make easy.

      All our tools are available for use on our website at: http://greenspacelive.com. We also provide access to training videos, documentation etc as well a support forum. All the tools are currently released on an Alpha basis (although some are more mature than others) and are available for free until the end of the Alpha testing period (31st October 2009). We would be grateful for any feedback, bug reports etc in order to help us improve the reliability and user experience of the tools.

      Thanks,
      Malcolm Murray

      posted in Extensions & Applications Discussions extensions
      M
      mocathe1st
    • RE: Registering a Scrambled Extension

      OK, I've kind of sorted this out by not encrypting the file being referenced by SketchupExtension and encrypting the rest. This seems to work for now, but it would be quite nice if you could register encrypted ruby files as extensions.

      posted in Developers' Forum
      M
      mocathe1st
    • RE: Registering a Scrambled Extension

      Just wondering if anyone has any solutions for this? I've tried everything I can think of to get the scrambled extension to load up. When I try it with the non scrambled version everything works fine, but when I link SketchupExtension.new to an rbs file it comes back with a message that the file cannot be found even when I know for certain it is there. I've even used Sketchup.find_support_file to get the path to the rbs file I need to load the plugin with but I still get the same error message.

      Has anyone else had any problems with this kind of thing?

      Any help would be most appreciated.

      Thanks,
      Malcolm Murray

      posted in Developers' Forum
      M
      mocathe1st
    • Registering a Scrambled Extension

      Hello,

      I was just wondering if anyone could tell me if its possible to register a scrambled extension (where the ruby files are in .rbs format) using the SketchUp extension registering api.

      e.g. from the docs, the following line registers an extension:

      # Create an entry in the Extension list that loads a script called
           # stairTools.rb.
           require 'sketchup.rb'
           require 'extensions.rb'
      
           stair_extension = SketchupExtension.new "Stair Tools", "utils/stairTools.rb"
           stair_extension.version = '1.0'
           stair_extension.description = "Tools to draw stairs automatically."
           Sketchup.register_extension stair_extension, true
      

      but what if the ruby file was stairTools.rbs? I've tried just substitiuting the file extension for the .rbs one in my plugin but I just get an error message about the file not being found.

      Does anyone have any ideas as to why this would be?

      Thanks,
      Malcolm Murray

      posted in Developers' Forum
      M
      mocathe1st
    • RE: Getting the Current Date with SketchUp Ruby API

      OK, figured this out and have it working.

      Just have to add the date.rb, Date folder and rational.rb files from the Ruby Core files to the plugin and it works perfectly. πŸ˜„

      posted in Developers' Forum
      M
      mocathe1st
    • Getting the Current Date with SketchUp Ruby API

      Hi everyone,

      I was just wondering if anyone could help me find a way of getting the current date using the SketchUp API. It appears that the SketchUp API does not have access to the Ruby Date class. I was just wondering if anyone has come up against this issue before and found a workaround?

      I suppose one way would be to import the Ruby standard date class into my plugin, but I've no idea what other dependencies are on that....

      Any help would be most appreciated.

      Best Regards,
      Malcolm Murray

      posted in Developers' Forum
      M
      mocathe1st
    • RE: Weird bug with WebDialog and Flash

      Hi there,

      This problems appears on a PC, I haven't tried it on a Mac yet as there are a couple of Flash security issues that I need to resolve before it loads on the Mac. I'll try it with an external flash site that doesn't need local access though and post my results here.

      Basic HTML TextAreas do seem to work fine so that I can enter new lines etc without any issue. It only seems to be with flash text entry and only from within SketchUp. Opening the same page in the normal IE has no problems at all.

      I've just tried selecting different tools etc and the problem still seem to be there regardless of the tool selected.

      Its really puzzling as to why the enter key would be disabled (the esc key also doesn't appear to work based on the KeyListener test I did) while the other keys work fine.

      Thanks for your help, any ideas as to what is causing this would be most welcome.

      Thanks,
      Malcolm

      posted in Developers' Forum
      M
      mocathe1st
    • Weird bug with WebDialog and Flash

      Hello there.

      I've just come across a really strange problem with the SketchUp webdialog and flash applications. I can link a web dialog to my flash based gui html page and at first it appears to work correctly. The problem, however, is that the return key does not seem to work within the webdialog at all. All other keyboard keys work fine but the return key is completely ignored (as if its blocked). I've tried various tests including putting Keylisteners into my flex app to see what keys are recognised (only the esc and return keys aren't). I've also tried creating a new script that only opens a web dialog with a link to an external flash page and I get the same problem with this (so it doesn't appear to be a problem with my code). The external test page I used was: http://examples.adobe.com/flex2/inproduct/sdk/explorer/explorer.html

      I don't know if anyone has come across this before, but it is a real problem for me as I have built the gui for my plugin using Adobe Flex and I have some textareas that I need the users to fill out (which require multi-line input) so not having the return key is a real problem. Using normal HTML textareas seems to work fine and loading up Flex pages in normal Internet Explorer also seems to work fine.

      Any help would be most appreciated.

      Best Regards,
      Malcolm Murray

      posted in Developers' Forum
      M
      mocathe1st