sketchucation logo sketchucation
    • Login
    1. Home
    2. jiminy-billy-bob
    3. Posts
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 26
    • Posts 1,028
    • Groups 2

    Posts

    Recent Best Controversial
    • RE: [Plugin] Layers Panel 1.2.1

      @cmeed said:

      -All groups gone 😞

      This is a real problem 😕 I'll need to add a debug mode so that users can check if groups are gone for good, or if there is just a bug displaying them. Could you send me the file ? (Even without geometry)

      @cmeed said:

      also when turning off render toolbar there's a big gap at the top....

      I was able to reproduce that, it seems to be a CSS problem, I'll release a fix soon.

      @cmeed said:

      -just thought about your 'move to selected layer' how about 'move and rename' mmmmm interesting - you might be stepping on 'rename by layer plugin' toes but maybe you could get together - they work as a great accompaniment

      Nope, Renderiza's plugin works great, no need to replicate the work 😄

      posted in Plugins
      jiminy-billy-bobJ
      jiminy-billy-bob
    • RE: Detect update scene

      @dan rathbun said:

      Also the Page class can have it's own RenderingOptions hash (separate from the model's hash,) so you can also attach a RenderingOptionsObserver subclass to individual page's renderingoptions.

      That's interesting ! 😄 Thanks a lot Dan, I'll look into that.

      posted in Developers' Forum
      jiminy-billy-bobJ
      jiminy-billy-bob
    • RE: [Plugin] Layers Panel 1.2.1

      New version 0.5 beta !

      Changelog :

      • Displays a warning when drawing geometry to another layer than layer0
      • New Delete button that moves content to the current layer
      • New button to set selection's layer as current layer
      • New button to move selection to highlighted layer
      • Now supports Podium render
      • Option to purge unused groups
      • Option to hide the render toolbar
      • Option to open Layers Panel when Sketchup starts
      • Potential fix for rename bug

      http://i.imgur.com/KJOyOXA.png

      Download in the plugin store !

      posted in Plugins
      jiminy-billy-bobJ
      jiminy-billy-bob
    • RE: [Plugin] Layers Panel 1.2.1

      @leolouie2 said:

      I have just downloaded this for the 1st time. Is there a way to make it recognized existing layers in the model?

      It should do that by default.
      Are you using Windows ?

      posted in Plugins
      jiminy-billy-bobJ
      jiminy-billy-bob
    • RE: [Plugin] Layers Panel 1.2.1

      This is really weird. Can you open this link with Internet Explorer and tell me what the popup says ? (If you don't have a popup, this may be because of an ActiveX warning at the bottom or top of the IE window)

      posted in Plugins
      jiminy-billy-bobJ
      jiminy-billy-bob
    • RE: Detect update scene

      @tig said:

      The API reads like it's triggered 'when a page changes', but I suspect you are right and it's actually 'when the pages collection change'... 😒

      Actually "whenever the pages change", so yeah the pages collection 😄

      posted in Developers' Forum
      jiminy-billy-bobJ
      jiminy-billy-bob
    • RE: Detect update scene

      @tig said:

      This spots if any of the pages in the pages-collection have changed

      Are you sure ? I tested and it doesn't trigger when a page is updated.

      What I'm trying to do is to store layer-groups (from my Layers Panel) state/visibility only when the scene is updated.
      I guess I'll just go with that method then.

      posted in Developers' Forum
      jiminy-billy-bobJ
      jiminy-billy-bob
    • RE: [Plugin] Layers Panel 1.2.1

      @huckrorick said:

      Hi,
      Just installed Layers Panel. It says: "Your Internet Explorer version is outdated."
      I have IE10. Microsoft site says I have the latest version. Just to test I installed IE11 (beta). Still get the same message. What's up?

      Try that :

      • Open Internet Explorer
      • Press "Alt"
      • Click on "tools" which should have appeared at the top of the window when you pressed alt
      • Click on "Compatibility mode settings"
      • Make sure "Display all websites in compatibility mode" and "Display intranet sites in compatibility view" are NOT checked

      Then try again to open Layers Panel

      posted in Plugins
      jiminy-billy-bobJ
      jiminy-billy-bob
    • Detect update scene

      Hi guys

      Is there any way to detect if a scene is being (or has been) updated ? From the documentation, I can see there is no observer method for that. Am I wrong ?
      If true, has anyone been able to develop a trick to detect this ? I was thinking about a somehow complicated hack : Storing layer visibility, and compare it with the current visibility when scenes change. But is there an easier way of doing ?

      posted in Developers' Forum
      jiminy-billy-bobJ
      jiminy-billy-bob
    • RE: [Plugin] Layers Panel 1.2.1

      @huckrorick said:

      Any thoughts about how to deal with that?
      (I'm guessing to change the way the plugin works would be very difficult or impossible).

      It might (maybe) be possible. Not sure though, and it won't be easy, so probably not soon.

      posted in Plugins
      jiminy-billy-bobJ
      jiminy-billy-bob
    • RE: [Plugin] Layers Panel 1.2.1

      @huckrorick said:

      Hi,
      Just installed Layers Panel. It says: "Your Internet Explorer version is outdated."
      I have IE10. Microsoft site says I have the latest version. Just to test I installed IE11 (beta). Still get the same message. What's up?

      Weird, your IE is recognize as IE6 or 7.
      Can you open this link with Internet Explorer and take a screenshot?
      Actually, the webdialog displays a warning when it detects IE7 or below. But maybe your version is detected as "below 7" for some reason...

      Anyone having the same issue?

      Also, can you screenshot Layers Panel so I can see how it displays it?

      posted in Plugins
      jiminy-billy-bobJ
      jiminy-billy-bob
    • RE: How to store web-dialog parameters/settings?

      @renderiza said:

      jiminy-billy-bob suggested Sketchup.write_default ... Is this the best option? Can someone post an easy to follow example on how to implement it?

      For example, this is the way I store which render engine the user has selected in the list of the latest version of Layers Panel :

      For instance, when he clicks on "Vray", I have a javascript function sending to ruby
      window.location = 'skp:useRenderEngine@vray'

      A callback receives it and store "vray" in the registry

      <span class="syntaxdefault"></span><span class="syntaxkeyword">@</span><span class="syntaxdefault">dialog</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">add_action_callback</span><span class="syntaxkeyword">(</span><span class="syntaxstring">"useRenderEngine"</span><span class="syntaxkeyword">)</span><span class="syntaxdefault"> do </span><span class="syntaxkeyword">|</span><span class="syntaxdefault">wdl</span><span class="syntaxkeyword">,</span><span class="syntaxdefault"> engine</span><span class="syntaxkeyword">|<br /></span><span class="syntaxdefault">    Sketchup</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">write_default</span><span class="syntaxkeyword">(</span><span class="syntaxstring">"jbb_layers_panel"</span><span class="syntaxkeyword">,</span><span class="syntaxdefault"> </span><span class="syntaxstring">"render_engine"</span><span class="syntaxkeyword">,</span><span class="syntaxdefault"> engine</span><span class="syntaxkeyword">)<br /></span><span class="syntaxdefault">end</span><span class="syntaxcomment">#callback       &nbsp;</span><span class="syntaxdefault"></span>
      

      Then when the user opens up again the Webdialog, a JS function is triggered when the document is ready, and asks ruby what is stored in the registry :
      window.location = 'skp:getRenderEngine';

      Ruby reads the registry and answers to JS :

      <span class="syntaxdefault"></span><span class="syntaxkeyword">@</span><span class="syntaxdefault">dialog</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">add_action_callback</span><span class="syntaxkeyword">(</span><span class="syntaxstring">"getRenderEngine"</span><span class="syntaxkeyword">)</span><span class="syntaxdefault"> do </span><span class="syntaxkeyword">|</span><span class="syntaxdefault">wdl</span><span class="syntaxkeyword">,</span><span class="syntaxdefault"> action</span><span class="syntaxkeyword">|<br /></span><span class="syntaxdefault">    engine </span><span class="syntaxkeyword">=</span><span class="syntaxdefault"> Sketchup</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">read_default</span><span class="syntaxkeyword">(</span><span class="syntaxstring">"jbb_layers_panel"</span><span class="syntaxkeyword">,</span><span class="syntaxdefault"> </span><span class="syntaxstring">"render_engine"</span><span class="syntaxkeyword">)<br /></span><span class="syntaxdefault">    useRenderEngine </span><span class="syntaxkeyword">=</span><span class="syntaxdefault"> </span><span class="syntaxstring">"useRenderEngine('#{engine}');"<br /></span><span class="syntaxdefault">    </span><span class="syntaxkeyword">@</span><span class="syntaxdefault">dialog</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">execute_script</span><span class="syntaxkeyword">(</span><span class="syntaxdefault">useRenderEngine</span><span class="syntaxkeyword">)<br /></span><span class="syntaxdefault">end</span><span class="syntaxcomment">#callback    &nbsp;</span><span class="syntaxdefault"></span>
      

      And JS uses this information ("vray") to display Vray's render buttons.

      Hope this helps 😉

      posted in Developers' Forum
      jiminy-billy-bobJ
      jiminy-billy-bob
    • RE: [Plugin] Layers Panel 1.2.1

      @bob james said:

      Is there any way you can add the ability to alphabetize the groups and then the layers within a group?

      I'll try to add this feature.

      posted in Plugins
      jiminy-billy-bobJ
      jiminy-billy-bob
    • RE: [Plugin] Layers Panel 1.2.1

      Yes it should work fine on WinXP with IE8. Avoid IE6-7, though.

      posted in Plugins
      jiminy-billy-bobJ
      jiminy-billy-bob
    • RE: [Plugin] Layers Panel 1.2.1

      Does it happen to one (or several) particular layer/group while all the other layers in the file can be renamed fine ?

      posted in Plugins
      jiminy-billy-bobJ
      jiminy-billy-bob
    • RE: [Plugin] Layers Panel 1.2.1

      I added a potential fix for the next version.

      Does it happen every time you try to rename these particular layers/groups ? Even after restarting Sketchup ? Do you use special characters ?
      What are your Windows and IE versions ?

      posted in Plugins
      jiminy-billy-bobJ
      jiminy-billy-bob
    • RE: [Plugin] Rename by Layer v1.0.3

      http://www.sketchup.com/intl/en/developer/docs/ourdoc/sketchup.php#write_default
      😉

      posted in Plugins
      jiminy-billy-bobJ
      jiminy-billy-bob
    • RE: [Plugin] Layers Panel 1.2.1

      When it's done 😄

      BTW : I don't think it was necessary to quote the whole original post.

      posted in Plugins
      jiminy-billy-bobJ
      jiminy-billy-bob
    • RE: CatchUp Edition 19 - PluginStore 2.0

      It'll be for CathUp #20 haha ! 😄

      posted in SketchUp Discussions
      jiminy-billy-bobJ
      jiminy-billy-bob
    • RE: [Plugin] SketchUcation Tools

      👍

      posted in Plugins
      jiminy-billy-bobJ
      jiminy-billy-bob
    • 1 / 1