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

    Topics

    • renderizaR

      From string to not a string

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      9
      0 Votes
      9 Posts
      2k Views
      renderizaR
      Dan Rathbun I can't thank you enough you sir are brilliant!
    • renderizaR

      How to store web-dialog parameters/settings?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      5
      0 Votes
      5 Posts
      713 Views
      renderizaR
      It works! Did simple test that saved some of the web-dialog settings. def activate @@check = "start" end def deactivate(view) @@check = "end" end def push_frame(dialog,data) params = query_to_hash(data) ################ ## START ## ################ if @@check == "start" @@check = "no" saved = Sketchup.read_default("canvas_panel", "store_dlg") UI.messagebox saved #Will prompt last selected value before closing from web-dialog end ################ ## END ## ################ if @@check == "end" @@check = "no" inp = params['sel_ip'].to_s #This is value from web-dialog Sketchup.write_default("canvas_panel", "store_dlg", inp) end end Need to do what TIG suggested which was to make array into string to store multiple web-dialog settings. After that will have to use that data to make web-dialog use the settings last used when it was last closed.
    • renderizaR

      How to hide the maximize & minimize web-dialog button?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      12
      0 Votes
      12 Posts
      898 Views
      tt_suT
      Didn't try. Then you'd have to hook into the windows messages. yuck
    • renderizaR

      Onload issue with web-dialog window on Mac.

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      7
      0 Votes
      7 Posts
      441 Views
      renderizaR
      @tt_su said: That will prevent the initial white dialog under OSX. Yes I did that and received feedback from a Mac user that the dialog was loading ok. @tt_su said: On a sidenote, I always recommend jQuery or similar frameworks. They take care of most cross compatibility issues - even in this case because jQuery.ready() event uses the DOM ready event which doesn't cause any white out. I will need to study how to implement this for future...thanks!
    • renderizaR

      Offset top face only...need help!

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      4
      0 Votes
      4 Posts
      299 Views
      renderizaR
      @tig said: Read my SmartOffset code to see how I offset the edges of a given face... That is by no means an easy task but I will try to understand what you wrote. Isn't there a 1st grader version? @tt_su said: Side note - Ruby is very slow. You'll find using the SketchUp API's .distance method much faster than doing your own length calculation. At least if you do this for a somewhat large set of entities. That is good to know thanks!
    • renderizaR

      [Plugin] Axis Cam v1.0.4

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      32
      0 Votes
      32 Posts
      11k Views
      renderizaR
      Hi, I have not updated my SketchUp Extensions for 5 years, but I am currently working on ways to monetize them so that I can invest more time in maintaining my Plugins. I hope to improve all my Extensions soon so that people can enjoy them once again. Best regards, Renderiza
    • renderizaR

      Problem with removing letters from string

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      10
      0 Votes
      10 Posts
      370 Views
      renderizaR
      @tig said: SO THEN **b = a.split('')[4..-1].join('')** o there should do it, even with strings containing non-ASCII characters Great advice!...thank you guys!
    • renderizaR

      Flood rescue operation continues in Colorado.

      Watching Ignoring Scheduled Pinned Locked Moved Corner Bar
      1
      0 Votes
      1 Posts
      238 Views
      No one has replied
    • renderizaR

      [Plugin] Rename by Layer v1.0.3

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      51
      0 Votes
      51 Posts
      23k Views
      nanolinN
      @renderiza said: @nanolin said: Hello . anyone can share me the latest version please , thank Hi, Here is an RBZ of Rename by Layer After installing please restart SketchUp. [attachment=0:1hc7teg6]<!-- ia0 -->i3d_renamer.rbz<!-- ia0 -->[/attachment:1hc7teg6] This is a very old plugin so I modified the code a bit, but it still needs a mayor update. Thanks , you saved my life
    • renderizaR

      Plugin Folder Permision Issue

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      6
      0 Votes
      6 Posts
      1k Views
      renderizaR
      Thank you TIG I used your first suggestion and it works great.
    • renderizaR

      Modifying Web-Dialog content size possible?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      4
      0 Votes
      4 Posts
      258 Views
      renderizaR
      @aerilius said: Why do I reply here I'm not a god… I am currently building a temple on your honor...at least a SketchUp model of it for sure! Thanks!
    • renderizaR

      Problem with face.normal directions...help!

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      10
      0 Votes
      10 Posts
      454 Views
      TIGT
      Back to the question... NorthEast Quadrant: normal.y>0 normal.x>0 SouthEast Quadrant: normal.y<0 normal.x>0 SouthWest Quadrant: normal.y<0 normal.x<0 NorthWest Quadrant: normal.y>0 normal.x<0 As you said: Due North: normal.y==1 normal.x==0 Due East: normal.y==0 normal.x==1 Due South: normal.y==-1 normal.x==0 Due West: normal.y==0 normal.x==-1 Exactly Vertical: normal.z==0 Upwards Facing: normal.z>0 Downwards Facing: normal.z<0 Exactly Up: normal.z==1 Exactly Down: normal.z==-1
    • renderizaR

      X-UA-Compatible meta tag changes image button position.

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      6
      0 Votes
      6 Posts
      719 Views
      renderizaR
      @aerilius said: Once you override such a property (like padding: 0) the button can't be rendered anymore using the theme, and it won't look native anymore. I noticed that before using paddin:0 the button had a gloss effect on the button. @aerilius said: without width/height works fine for me. I tried this and it does center the button image but then the button is too big. @tt_su said: Exactly what code to use depend on the scenario and layout you have. Got a small snippet? http://sketchucation.com/resources/pluginstore?pln=RND_KeyScene The .html file is inside the "RND_Keyscene" folder...its called "rnd_keyscene.html" Note: Using the paddin:0 worked ok even though that will mess the theme used for button but I can deal with that. Thanks!
    • renderizaR

      String into Array...need help!

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      2
      0 Votes
      2 Posts
      144 Views
      renderizaR
      Found it... array = "a,b,c".split(',') array[0] #=> a array[1] #=> b array[2] #=> c Cheers!
    • renderizaR

      Hide selected objects from scenes except the active one?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      3
      0 Votes
      3 Posts
      213 Views
      renderizaR
      Thanks TIG but there is a problem... Lets say I have two scenes with two objects and I select the 1st object from 1st scene and do the script...it will work but...if I go to 2nd scene and select the 2nd object to do the script when I go to 1st scene the 1st object ends up hidden as well which it was not supposed to. (Hope this makes sense) Anyhow it may be that the page.update needs to first select each page before doing update. So that means I can't use your suggestion but I did find a solution... Here is the code... model = Sketchup.active_model pages = model.pages sel = model.selection c_page = pages.selected_page skip = [] skip << c_page.name pages.each {|page| pages.selected_page = page if page.name != skip.first sel.each do |e| e.hidden = true end page.update end } page_num = 0 pages.each {|page| if page.name == skip.first pages.selected_page = model.pages[page_num] break end page_num+=1 } skip.clear Note: Updated the explanation a bit to fix it a little so it makes more scene hopefully.
    • renderizaR

      Set layer color with code possible?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      6
      0 Votes
      6 Posts
      164 Views
      renderizaR
      Hopefully next API update includes this function...Thanks TIG!
    • renderizaR

      Help Faking Ambient Occlusion!

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      11
      0 Votes
      11 Posts
      499 Views
      renderizaR
      I still plan to keep working on this and will post future progress. The best case scenario will be to make it work on faces that have angle...so far my attempts have failed in solving this but will keep trying.
    • renderizaR

      [Plugin] PanoScene v1.0.0

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      10
      0 Votes
      10 Posts
      12k Views
      M
      I don't understand how to operate this. It just creates two scenes (Default and a_-180░) then does nothing.
    • renderizaR

      Want to learn &quot;view.draw2d&quot;...is there any basic examples?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      10
      0 Votes
      10 Posts
      436 Views
      thomthomT
      @renderiza said: Want to learn using "view.draw2d" and was wondering if there is a very basic example code I can use for learning. It has to be used within a Tool. You invalidate the viewport when something needs to be drawn. And the method then simply accept a set of 2d points (defined by Geom::Point3d)
    • renderizaR

      Failed saving image on plugin directory. (solved)

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      3
      0 Votes
      3 Posts
      180 Views
      renderizaR
      Hi, Doing some research I found this post by TIG and it was pretty much what I was looking for. http://sketchucation.com/forums/viewtopic.php?p=281017#p281017 Thanks!
    • 1
    • 2
    • 3
    • 4
    • 5
    • 2 / 5