sketchucation logo sketchucation
    • Login
    1. Home
    2. renderiza
    3. Posts
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    🚨 Skimp | 25% Off until March 30 Buy Now
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 98
    • Posts 783
    • Groups 2

    Posts

    Recent Best Controversial
    • RE: [Plugin] Axis Cam v1.0.4

      [pre:dhml27td]Authors:: Renderiza
      Plugin Name:: Axis Cam
      Version:: 1.0.3
      Date:: 9/24/2013
      Cost:: Free[/pre:dhml27td]
      Axis Cam v1.0.3 is now available for download.
      %(#909090)[What is new:

      • Html Bug fixed! - Thanks to 'chris87' && jiminy-billy-bob. πŸ‘]

      @jiminy-billy-bob said:

      Same for me with line 155, 177, 199, 218. Character 92, so it's "<=" causing problem.

      I was looking on .rb document but that error was from html file. 😳
      From:

      <input 
        type="text"
        onkeypress='return event.charCode >= 48 && event.charCode <= 57 || event.charCode = 190'
      >
      

      To:

      <input 
        type="text"
        onkeypress='return event.charCode > 47 && event.charCode < 58 || event.charCode == 46'
      >
      

      Hope this fixes it...By the way where you guys spot this errors for html I have no idea. πŸ˜•

      posted in Plugins
      renderizaR
      renderiza
    • RE: [Plugin] Axis Cam v1.0.4

      @chris87 said:

      Sorry
      i try the new version 1.02 and i have exactly same script errors with sketchup 8 Pro (french version).

      Best regards

      Since I modified the code the idem line # must of change... Can you post new line numbers?

      Thanks!

      posted in Plugins
      renderizaR
      renderiza
    • Offset top face only...need help!

      Hi, bellow is an attempt to offset the top face lines but I am running into some issues.

      model = Sketchup.active_model
      ents = model.active_entities
      faces = ents.grep(Sketchup;;Face)
      sel = model.selection
      
      faces.each do |face|
      
        if face.normal.z == 1
          
          edges = face.edges
          edges.to_a.each do |e|
      
            p1 = e.start.position
            p2 = e.end.position
            
            x1 = p1.x
            x2 = p2.x
            y1 = p1.y
            y2 = p2.y
            
            length =  Math.sqrt((x1-x2)*(x1-x2)+(y1-y2)*(y1-y2)) 
            
            offset = 10.0
            
            x1p = x1 + offset * (y2-y1)/length #/
            x2p = x2 + offset * (y2-y1)/length #/
            y1p = y1 + offset * (x1-x2)/length #/
            y2p = y2 + offset * (x1-x2)/length #/
            
            newedges = ents.add_line([x1p,y1p,p1.z+5],[x2p,y2p,p2.z+5])
           
            sel.add newedges
          end
      
        end
      
      end
      

      Where do I start πŸ˜• ...

      Notice that when I add the line, the z coordinates have +5 added because if I make it same height as face the new edges break the next edge that it will offset and mess the result.

      You can see what I mean if you replace "p1.z+5" to "p1.z" & "p2.z+5" to "p2.z". You need to have a face that where z axis = 1.

      What I had in mind was to elevate the edges by 5 and somehow abstract the vertex position where the new edges intersect. Problem is they don't produce any vertex.

      Not sure if I am explaining myself but all I want is to offset the top face. Any help will be appreciated as always.

      Thanks!

      posted in Developers' Forum
      renderizaR
      renderiza
    • RE: Problem with removing letters from string

      @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! πŸ‘

      posted in Developers' Forum
      renderizaR
      renderiza
    • RE: [Plugin] Axis Cam v1.0.4

      Will check how that can be done.

      Thanks for suggestion!

      posted in Plugins
      renderizaR
      renderiza
    • RE: [Plugin] Axis Cam v1.0.4

      What would you suggest the controls would be for keyboard?
      'w,a,s,d' for moving and mouse pointer for the target?

      Thanks!

      posted in Plugins
      renderizaR
      renderiza
    • RE: [Plugin] Axis Cam v1.0.4

      @bagatelo said:

      I really liked that idea. But I think that would be more interesting if you create something that approaching this idea, using the keyboard:
      http://www.youtube.com/watch?v=2sTyJki96Ec
      It would be great if we can move the camera and also the target with keyboard, at the same time, like a game. It would be interesting if we could configure shortcuts permanent, even this plugin not being active

      Here is another plugin that works like in games... http://sketchucation.com/resources/pluginstore?pln=FPSNav

      'Axis Cam' is main purpose was to create specific camera pans that I would record with something like "Fraps".

      Maybe in the future I will try an make camera plugin that would control more like it does in a game so I can add extra features that some similar plugins don't have.

      Cheers! πŸ‘

      posted in Plugins
      renderizaR
      renderiza
    • RE: [Plugin] Axis Cam v1.0.4

      [pre:1glhfu13]Authors:: Renderiza
      Plugin Name:: Axis Cam
      Version:: 1.0.2
      Date:: 9/21/2013
      Cost:: Free[/pre:1glhfu13]
      Axis Cam v1.0.2 is now available for download.
      %(#909090)[What is new:

      • Bug fixed! - Thanks to 'chris87' for reporting bug. πŸ‘]
      posted in Plugins
      renderizaR
      renderiza
    • RE: [Plugin] Axis Cam v1.0.4

      @chris87 said:

      With Sketchup 8 Pro :

      Script error line 155 character 92 syntax error code 0

      idem line 177
      idem line 199
      idem line 218

      best regards

      Thank you for feedback! Will try to solve it...cheers! πŸ‘

      posted in Plugins
      renderizaR
      renderiza
    • RE: [Plugin] Axis Cam v1.0.4

      Maybe next update will include that feature.πŸ˜†

      posted in Plugins
      renderizaR
      renderiza
    • RE: [Plugin] Axis Cam v1.0.4

      [pre:u8m030nq]Authors:: Renderiza
      Plugin Name:: Axis Cam
      Version:: 1.0.1
      Date:: 9/20/2013
      Cost:: Free[/pre:u8m030nq]
      Axis Cam v1.0.1 is now available for download.
      %(#909090)[What is new:

      • Move the camera up or down the Z axis using the "w" & "s" keys.
      • Modify Field of View with "a" & "d" keys.
      • Multiply the speed by two when holding "Shift" key.]
      posted in Plugins
      renderizaR
      renderiza
    • [Plugin] Axis Cam v1.0.4

      [pre:224gq86c]Authors:: Renderiza
      Plugin Name:: Axis Cam
      Version:: 1.0.4
      Date:: 9/24/2013
      Cost:: Free[/pre:224gq86c]
      Axis Cam

      %(#909090)[Control your camera with keyboard along axis.

      Features

      • Move the camera along X & Y axis using the arrow keys.
      • Move the camera up or down the Z axis using the "w" & "s" keys.
      • Modify Field of View with "a" & "d" keys.
      • Multiply the speed by two when holding "Shift" key.

      Menus & Toolbars

      • Plugins Β» Renderiza Tools Β» Axis Cam
      • Toolbar button Β» Axis Cam]

      http://s14.postimg.org/wkynh4lnl/axis_cam215.png

      Available at
      sketchUcation
      PluginStore
      click here

      ______________________________________________________________________

      Extension Warehouse

      click here

      Note: If the latest version is not yet available at Extension Warehouse that means it is still awaiting to be approved by the quality assurance team to make sure extension meets the technical and security requirements.

      ______________________________________________________________________

      Web-Dialog

      http://s21.postimg.org/42rmszg8n/web_axis.png

      ______________________________________________________________________

      Controls

      http://s17.postimg.org/4nsj41ltb/controls.png

      posted in Plugins
      renderizaR
      renderiza
    • RE: Problem with removing letters from string

      @tt_su said:

      I would recommend you use Dan suggestions as it's always correct. You example will fail when you feed it a string that's over 100 characters. And it's not a good practice to give out of range values.

      Will replace the code to Dan is suggestion for the next update of "Rename by Layer" plugin.

      Thanks! πŸ‘

      posted in Developers' Forum
      renderizaR
      renderiza
    • RE: Problem with removing letters from string

      thank you guys!

      Here is what I ended up using to eliminate first four letters...

      "sting"[4,100] #=> "g"

      posted in Developers' Forum
      renderizaR
      renderiza
    • RE: [Plugin] Rename by Layer v1.0.3

      Fixed the "keep existing name" feature but in the mean time it should work only on groups.

      posted in Plugins
      renderizaR
      renderiza
    • RE: Problem with removing letters from string

      This one seems to work.

      a = "hello there"
      a[1,1] #=> "e"

      posted in Developers' Forum
      renderizaR
      renderiza
    • Problem with removing letters from string

      How can I remove the first four letters of a string?

      Here is a test that is giving me strange result...

      a = "hello there"
      a[1] #=> "101"

      I was expecting this...

      a = "hello there"
      a[1] #=> "e"

      What I am doing wrong?

      posted in Developers' Forum
      renderizaR
      renderiza
    • RE: [Plugin] Rename by Layer v1.0.3

      [pre:2yc1rtr7]Authors:: | Bagatelo| Renderiza |
      Plugin Name:: Rename by Layer
      Version:: 1.0.3
      Date:: 9/17/2013
      Cost:: Free[/pre:2yc1rtr7]
      Rename by Layer v1.0.3 is now available for download.
      %(#909090)[What is new:

      • The web-dialog is smaller
      • Keep existing name - This will include the existing name to the newly created one. For example:
        Layer = bed
        Existing name = door
        Add Number = True / Prefix

      Result = 001 - bed - door]

      Again thanks for feedback! πŸ‘

      Note: Need to recheck "Keep existing name" feature since its not working...will try to fix it as soon. πŸ˜•

      posted in Plugins
      renderizaR
      renderiza
    • RE: [Plugin] Rename by Layer v1.0.3

      @cmeed said:

      Amazing! Really Really good. A great companion to this is "Layers Panel" - photoshop layers window with nested layers. still in Beta and some wrinkles to iron out but, Like this plugin, very impressive!!

      I am a big fan of "Layers Panel" and think everyone should have it...Can't recommend it enough! http://sketchucation.com/forums/viewtopic.php?p=488833#p488833

      @cmeed said:

      All i could say on a negative - could we have a smaller window? it takes up alot of space and we know the name of it, if we lost the logo (sorry), at least i'd get back half my screen. πŸ˜†

      Next update should have smaller windows and I agree that the logo is taking too much space.

      Thanks for feedback...cheers! πŸ‘

      posted in Plugins
      renderizaR
      renderiza
    • RE: [Plugin] Rename by Layer v1.0.3

      @dedmin said:

      It is getting really great - BIG THANKS!!
      Can We have an option to append the layer name or/and numbers to the existing component's/group's names?

      That is good suggestion so lets see if it can be added to next update. πŸ‘

      posted in Plugins
      renderizaR
      renderiza
    • 1
    • 2
    • 8
    • 9
    • 10
    • 11
    • 12
    • 39
    • 40
    • 10 / 40