sketchucation logo sketchucation
    • Login
    1. Home
    2. jolran
    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 37
    • Posts 1,027
    • Groups 2

    Posts

    Recent Best Controversial
    • RE: How can you combine two ruby scripts?

      There are probably more well educated persons who can answer this, but I'll give it a shot!

      You could run the scripts with some conditionals. If something happends then do this. else do that, and so on. You will have to look up some Ruby learing rescources to look into that.

      Otherwise. You can use different icons to "launch" each method.

      In any way it would probably be good to put both script in it's own method so they don't conflict with each other.
      And then you could call them IF something happends like the first advice.

      I'm just giving you the BIG picture here. You probably have to read up a little on ruby.
      If this isen't what you was asking for, and the answer is to basic I apologize.

      Happy coding!

      posted in Plugins
      jolranJ
      jolran
    • RE: [Plugin] Add Scene Layers

      Do you want 1 new layer created for each scene?
      And ALL geometry put on that layer in each new scene, wich means that you only have 1 layer totally to begin with in you scene.

      Otherwise I can only guess you want a new "set" of layers for each new scene.
      Could become a lot of layers πŸ˜„
      You can not nest layers for what I know.

      Oh, and maybe this can help.

      http://forums.sketchucation.com/viewtopic.php?f=323&t=40166

      posted in Plugins
      jolranJ
      jolran
    • RE: [Plugin] Hatchfaces (v1.8 beta) UPDATED 15-Dec-2012

      Bonjour.

      I thought giving a little update, so you don't think I have given up on the plugin. πŸ˜„

      Due to webdialog testing I'll noticed that the script had to be reorginized quite alot. Especially if LineHatching and ordinary component patterns are supposed to coexist in the same script. And there will be options for crosshatching for comp.patterns as well!

      • color background(or none).
        So in order to keep the same requested grouping as LineHatches, there where a lot of conditions to be met to even be able to test the dialog. And the webdialog part is hard to code..
        At the moment I can "stear" the plugin with @variables set to TRUE or FALSE or VALUE.
        The idea is to link those to the Webdialog later on.

      The way I have organized the script is methods on top. And a main script just calling methods with if statements. The methods have few arguments. Mostly (group) or (face), so things are easy to keep track of and to reuse methods.

      Then the question is. Is there any performance differences in having it set up this way. Compared to having Modules loaded in(with methods) like I see a lot of coders use. It's not a very long script. 400 - 500 lines of code.

      Here's a pic of crosshatching with comp-pattern. Grouping the same as LineHatching. Can't get rid of the border on comp-patterns though. Tough nut to crack...
      Much easier with LineHatches.


      version1.8 preview.jpg

      posted in Plugins
      jolranJ
      jolran
    • RE: [REQ] Another type of component edit ( for plants)

      I'm taking a guess you are using the free version of Sketchup, right?

      Cause If I understand you correctly, what you are asking for is what Dynamic Components are used for. You assign different attributes and change them accordingly.

      I don't think any plugin developper is "up to the mood" of creating a new DC component plugin.

      However a special "plant" plugin with different attributes etc is fully possible to create! But then again it have to be something extra to compete with DC's..
      OR maybe to satisfy "nonpro" versions of Sketchup.

      posted in Plugins
      jolranJ
      jolran
    • RE: Webdialog example

      Great info.

      I probably should get that windowiser4 plugin then. It does seam very handy as a plugin, as well πŸ˜„

      Thanks

      posted in Developers' Forum
      jolranJ
      jolran
    • RE: Dimensioning in Layout

      Saw tooth πŸ˜„ , Yeah that describes it even better.

      posted in LayOut Discussions
      jolranJ
      jolran
    • RE: Webdialog example

      Ah, move tool. Missed that one. Great thanks!

      Windowizer4. Hmm. Commersial plugin. I don't mind paying for something, but I suspect it's scrambled, like $plugins usually are?

      'Octane Exporter' Is indeed a beast. But I do see some things there I can get inspired by, like you said. However, trying to figure out what is acctually going on in complicated scripts can be very difficult, especially when linked to other modules or classes rb's.

      Will have a look at move tool.

      posted in Developers' Forum
      jolranJ
      jolran
    • Webdialog example

      Hi. If one of you guru's would pick 1(or more) simple plugin to be used as an example in educational purpose for webdialogs, which would it be?
      It's kinda hard to go through every plugin available πŸ˜„
      Believe me, I'm working on it.

      Now, it would have to be a simple one that is fairly basic in structure. Pure JS, no Jquery cause I find one have another JS file to compare against. And that confuses things, nomatter how good JQuery is.

      What I feel is that, those plugins that DO use webdialogs are very complex. Probably due to the requirements of doing webdialogs. Either it's a commersial plugin=scrambled. Or made by one of the super computer geeks from this forum=Very hard to read/ understand.

      The Googleblog tutorials are good, but get you going just somewhat.

      posted in Developers' Forum
      jolranJ
      jolran
    • RE: Dimensioning in Layout

      Step artifacting or "stairs"(has many names) is.. Well I better give you an example, I'm not an expert. But did a lot of video-editing some years ago, and this was an important topic..

      Lets say you are in Photoshop(or other image editing program).
      Now to see this effect better, make a small 300X300 resolution image.
      Draw a straight horisontal line. Lets say 1 pixel thick. Looks fine?

      Rotate it 30 - 45 degrees, and you will see stair effect on the line.

      This effect is not so common to vector graphics, as in rasters.

      So in Vector mode in Layout you will not get this sideeffect. In Hybrid-mode it's nearly perfect(for Sketchup edges, that is). In Raster you mode you MAY get stairs from thin edges. Thin edges are more prone to this side-effect. And edges are quite thin.

      IF you must use raster-mode and get this akward side effect. Try using as high resolution as possible. Cause the more pixels there are to work with, the smoother the stairs will get.

      Hope that wasen't to basic for you πŸ˜„

      posted in LayOut Discussions
      jolranJ
      jolran
    • RE: [REQ] Component array formerly Triangular array

      @unknownuser said:

      Well I don't know all that exists

      No, you are right. That did not exist exactley.

      What I ment was you did not go to that trouble for my sake. Now that you have. I'm greatful πŸ˜„ .

      Thanks.

      posted in Plugins
      jolranJ
      jolran
    • RE: [REQ] Component array formerly Triangular array

      Well yeah.! But Chris F's Components onto Faces already does that function, so...

      Obviously you are a very talented programmer, so in my opinion it's a little waste for you to do something does already exist. Or might exist in next versions of thoose plugins.

      posted in Plugins
      jolranJ
      jolran
    • RE: [REQ] Component array formerly Triangular array

      Way to go Sdmitch. Nice update πŸ‘

      There is only one issue as I see it(look pic). But then again fixing this could be going into the domain of one of Chris Fullmer tools. And if we are gonna follow point 1) http://forums.sketchucation.com/viewtopic.php?f=180&t=12423 then you might already have what is needed in your plugin..

      Congrats!


      smidth plugin.jpg

      posted in Plugins
      jolranJ
      jolran
    • RE: [REQ] Component array formerly Triangular array

      Shark πŸ˜‰

      Maybe use selected component instead of a list. When I tried it the list went out of screen, filled with components. It remembers last created/selected component? That's nice and enough then?

      Some components get outside the bounds, but that behavior is hard to predict IF you are going to expand the plugin to work in all axes.

      Nicely done.

      posted in Plugins
      jolranJ
      jolran
    • RE: [Plugin] Hatchfaces (v1.8 beta) UPDATED 15-Dec-2012

      I woulden't say easy. I'm thick as a mid-evil castle door.

      Yep, hours it is. Rewarding sensation when things get going a little. Time before that is frustrating pain πŸ˜„ .

      posted in Plugins
      jolranJ
      jolran
    • RE: [Plugin] Hatchfaces (v1.8 beta) UPDATED 15-Dec-2012

      Yeyy! Got the picture switching going. First success in Javascript.

      Well this is the code I use if someone is in the need for it. If it can be improved, please tell.

      The function change picture source by the name of selection in scrollist.
      You will have to call the function in the <select> tag in the HTML, by "onchange" + "functionname".

      function changePic(hatchImage)
      {
          // Get the select options text
          var i=document.getElementById("selskp")
      	var hatchSelect = i.options[i.selectedIndex].text; 
          
         // Create our Image src name, concat
          var hatchImage = "img/" + hatchSelect + ".gif";
      
          // Assign the image
         document.getElementById("imag").src = hatchImage;
      }
      
      
      And in the html you just call onchange="changePic()" 
      
      <select id="selskp" name="components" size=15 onChange="changePic()" >
      
      
      
      posted in Plugins
      jolranJ
      jolran
    • RE: [REQ] Component array formerly Triangular array

      Ahhhh.. I did not understand that TIG meant to use crosshatching in current version of hatchfaces. Rather tiling of some triangular pattern in upcoming versions..Never mind.

      @unknownuser said:

      entering 1m spacing ends up being 1.155m

      Well acctually it's not. For each edge that is. Spacing is perpendicular to degrees selection.
      It only looks that way when crosshatching skews lines together.
      Try using 45 degrees. Or if you want to use 30 degrees try using 866 mm spacing instead.

      @unknownuser said:

      Is it possible to populate intersections with components or construction points (or whatever)?

      Not quite yet. Thats a whole new plugin. But try exploding lines onto face. The you will get an intersection where you can put stuff.

      posted in Plugins
      jolranJ
      jolran
    • RE: Dimensioning in Layout

      Glad I could help πŸ˜„

      posted in LayOut Discussions
      jolranJ
      jolran
    • RE: [REQ] Component array formerly Triangular array

      There are eager young new code-sharks out there just waiting for a new idea to jump on, so it's a good idea putting [REQ] on it.

      @unknownuser said:

      TIG wrote:

      Jolran's new hatching tools could replicate this 2d arraying in a given polygon for you...

      Yes, but I think he want's 3d components. Besides, I'll think it will never get out in public, unless I become a JS expert. This webdialog stuff is hartbreaking πŸ˜„ .

      Seriously though. I think Justo have a good idea for a plugin here.

      I'm not gonna hijack this thread, but turning some of the parts in hatchfaces to make a new 3d components tiler based on patterns, would be cool. I can consider working on that..

      posted in Plugins
      jolranJ
      jolran
    • RE: [REQ] Component array formerly Triangular array

      So you want 3 angular patterns? Is that it? Or a component placer based on pattern with "outer limits", sort of say? Interresting...

      Should maybe put a request-tag on this post. Don't know if this feature in a plugin excist. Maybe Copy Along Path...
      There are so many plugins, difficult to keep track of them all.

      Triangular pattern are more complexed. But I suppose one could copy a set of rows with double the spacingdistance for each copied row. Then in between those another set of row copies offset "sideways", to get the zigzag triangular pattern.

      However out in the "borders" you would now get zigzag components as well and that may not be wanted. Determin copy limits or wich components to erase to get a nice aligned outside frame is the hard part..

      posted in Plugins
      jolranJ
      jolran
    • RE: What is your favorite Photorealistic Renderer?

      Lightwave you say. Heh, take some time getting into. Powerful though. Prefered XSI when there was a foundation version, doing that kinda things.

      I think Svasilion was looking for relatively simple and not to so expensive solution. πŸ˜„

      posted in Extensions & Applications Discussions
      jolranJ
      jolran
    • 1
    • 2
    • 34
    • 35
    • 36
    • 37
    • 38
    • 51
    • 52
    • 36 / 52