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

    Posts

    Recent Best Controversial
    • RE: [Plugin] Sketchup Ivy

      @thomthom said:

      When you test your point against a face nested inside groups/faces you must trasnform that point to the co-ordinates of the face's containing face.

      So if you have a face nested inside a Group1 > ComponentInstance1 > Face, then you must add up the transformation of Group1 and ComponentInstance1 and apply that to the point to send to face.classify point.

      Thank you, get it! But i dont understand what transformations are applied to a new group (aka what happens when you group entities)?

      posted in Plugins
      P
      Pierreden
    • RE: [Plugin] Sketchup Ivy

      @thomthom said:

      @pierreden said:

      No I haven't. If i make a single face and grows an ivy on it, without grouping the face first, there's no problem at all. But if i group the face before growing an ivy on it, adhesion doesn't work, a consequence of classify_point not returning 1. Unless a transformation is applied to a group by the very act of grouping, transformations itself cant explain this behaviour.

      I couldn't find classify_point anywhere in the code... not in the current version?

      How do you obtain the point you test against classify_point, an InputPoint?

      Look in livevector_core.rb. line 187.

      classify_point is used to find the closest face to a new node on a branch, so the points tested against classify_point is the last point on each branch.

      posted in Plugins
      P
      Pierreden
    • RE: [Plugin] Sketchup Ivy

      @thomthom said:

      Have you taken into account the transformation of the group? If you pick a point on a face inside a group you get a point for the current context, and then you need to apply the transformation for the group(s) which the face is within.

      No I haven't. If i make a single face and grows an ivy on it, without grouping the face first, there's no problem at all. But if i group the face before growing an ivy on it, adhesion doesn't work, a consequence of classify_point not returning 1. Unless a transformation is applied to a group by the very act of grouping, transformations itself cant explain this behaviour.

      Can it be that Sketchup interprets this situation as if the point not being on the face itself, but "on" the group? ❓

      @thomthom said:

      I'm not sure if Selection Toys does it 100% correct. I can have a look in the code and compare against Vertex Tools (which I have tested on Windows and OSX).

      PM πŸ‘

      posted in Plugins
      P
      Pierreden
    • RE: [Plugin] Sketchup Ivy

      Thanks for all comments, kind words, crits and suggestions! Uploaded a new version 0.6.3 and tries to solve a number of issues and suggestions.

      @Earthmover: BRILLIANT! I guess this goes for everyone, but if you got some nice looking leafs, flowers or Ivy'ish stuff, im more than willing to include it in the releases (or maybe organize it somehow, website?) πŸ’­

      @driven: Added the breaks in the html. Hope this is better for all mac users. Added formatting to h4 headings πŸ€“

      @driven/solo: I can confirm that i is 73 (thats on my scandinavian keyboard). Added 105 to the "reset ivy" key mapping on advice from you guys πŸ‘

      @sadyo: The tool code is rewritten (after shameless spying on thomthoms Selection_toys code. Hopefully i handle mouse events right this time πŸ˜’ )

      @Rodrigonotor: awesome! Will include this soon.

      @srx: Thank you! The components have now been switched with SU 7 components. Hopefulle this works!

      @thomthom: I guess its expected behaviour, but if you try to classify a point on a face which is inside a group, the point is classified as not on the face. The result is this.The second problem is that some branches in the plugin sometimes manage to "break through" faces. Im not sure if this is a classify_point issue. or plugin algorithm which sometimes break, but cant solve the problem 100%.

      posted in Plugins
      P
      Pierreden
    • RE: [Plugin] Sketchup Ivy

      @solo said:

      @unknownuser said:

      Pixero wrote:
      Hmm...SHIFT+left mouse click doesn't finish the Ivy in 0.6 for me?

      Works for me, but pressing 'Y' does not reset for me.

      @solo: Its "i", not "y".

      @pixero: I dont got this problem either. maybe you have some conflicting plugins installed. I suppose there's no messages in the console?

      posted in Plugins
      P
      Pierreden
    • RE: [Plugin] Sketchup Ivy

      @krisidious said:

      can Fredo's "Check Plugins for Update" be added to this?

      http://forums.sketchucation.com/viewtopic.php?f=180&t=36701&p=323092&hilit=Check+Plugins+for+Update#p323078

      Good idea. Will look into it.

      @pixero said:

      Hmm...SHIFT+left mouse click doesn't finish the Ivy in 0.6 for me?

      Hmmmmm.... Weird. Cleaned up the code abit. Try the new 0.6.2. πŸ‘

      posted in Plugins
      P
      Pierreden
    • RE: [Plugin] Sketchup Ivy

      @pixero said:

      I can't get leaf size to work in the latest version.

      @pixero: Its working now πŸ‘

      @driven said:

      mostly works on the mac here.

      if key == 105 #i as in ivy, isn't an english SU shortcut key and works...

      john

      @driven: Thanks for the tip! reset button is now "i" πŸ‘

      @gaonirico said:

      I installed the version 0.5.4 but from the previous version 0.3 the menu not shows correctly and function the change of parameters. Happens because my monitor functions only to 800x600? or I must have installed some update of internet explorer?

      @gaonarico: I dont know im afraid. It might be a javascript issue, if so, updating you IExplorer might help. But this problem is noted and i really hope to solve it soon.

      @dbalex said:

      thanks! You're updating this plugin faster as hell! It's a nice improvement to have the stem (circle) made with more segments but maybe you should let the user choose between 3 and more, so we can keep the polycount low for big ivy walls.

      anyway thanks for your hard work, this plugin IS epic!

      @dbalex: Thank you man! glad you like it! You are right about the profile segments. I've added a parameter "branch detail" which sets the number of segments of the main branch. πŸ‘

      @oxer: Good to see its working! πŸ‘

      Peace out
      Pierre

      posted in Plugins
      P
      Pierreden
    • RE: [Plugin] Sketchup Ivy

      @gaonirico said:

      @thomthom said:

      @gaonirico said:

      Mnn, maybe two errors: the first
      quietly_force_sync_mats_cb just calledquietly_force_sync_mats_cb just calledquietly_force_sync_mats_cb just calledquietly_force_sync_mats_cb just calledquietly_force_sync_mats_cb just calledquietly_force_sync_mats_cb just calledquietly_force_sync_mats_cb just calledquietly_force_sync_mats_cb just calledquietly_force_sync_mats_cb just calledquietly_force_sync_mats_cb just calledERROR: skpHelperClasses.rb:updateSkpMaterial, unable to find a material called: Ivyleaf_21
      ERROR: skpHelperClasses.rb:updateSkpMaterial, unable to find a material called: Ivyleaf_21

      ... the second and but notable is that not takes me the changes of parameters in the menu

      That is a V-Ray for SketchUp error. What version do you have installed?

      Im use Sketchup 8.0.4811 and Vray 1.49.00

      Completely delete previous versions from the plugins folder and install the new 0.5.4

      posted in Plugins
      P
      Pierreden
    • RE: [Plugin] Sketchup Ivy

      @oxer said:

      I have tested the new 0.5.3 version on Mac and now the Ivy window appears and don't disappears, in the first left-click the plugin runs, but in the second left-clic nothing happens, the keyboards combination don't works on Mac and you can't finish the ivy.
      The Ruby console is empty, in the image below you can see all.

      Thanks again Pierreden for your effort!! πŸ‘

      Try the new 0.5.4 Oxer... hope it helps!

      Peace out

      posted in Plugins
      P
      Pierreden
    • RE: [Plugin] Sketchup Ivy

      @pixero said:

      @mukul.ar said:

      @ Pixero: the leaves are materials applied to rectangular components. I believe you can select a new material (your leaf) and change it in one component (will change in all). But it might have limitations as to the position of the texture of the leaves. (or not)

      Thats just it.
      I would like to use
      a) different components for different Ivy's.
      b) components that are not just a rectangle.

      There is no need for the component to be rectangular, theres no limitations at all. All you need to think about is that the component axis is where the leaf attaches to the stem, and that the green axis (y) is the depth, x is the width and z is the height/thickness of the leaf.

      http://i.imgur.com/IG8cV.jpg

      As i said, beyond this there is no rules or requirements, (unless i forgot about something essential?). The easiest way to make a new leaf is to insert a old leaf component, click "make unique" and alter it as you like

      Regarding leaf selection, i guess a less primitive method will come in a future release, but for now you'll have to delete the leafs you dont want on the ivy.... Sorry about that. (Uploaded version 0.5.3 which makes it so that the leaf components are only loaded on startup, not every time the SketchupIvy tool is activated. The components can be found in the "Plugins/LiveIvy/Textures/" folder)

      Peace

      posted in Plugins
      P
      Pierreden
    • RE: [Plugin] Sketchup Ivy

      It seems like Sketchup cant find the correct material, which is "Ivyleaf_2" (it looks for "Ivyleaf_21"), or that vray looks for the wrong one. Does this happen every time you make an ivy, or does it happen on special actions? Cant recreate this myself. After completely uninstaling and reinstaling the plugin, i dont get any errors with sketchup nor with vray

      http://i.imgur.com/eSwjM.jpg

      (I appreciate your debugging very much gaonirico!!)

      posted in Plugins
      P
      Pierreden
    • RE: [Plugin] Sketchup Ivy

      @gaonirico said:

      Error: #<IOError: Invalid component file>
      C:/Program Files/Google/Google SketchUp 8/Plugins/LiveIvy/LiveIvy_tool.rb:298:in load' C:/Program Files/Google/Google SketchUp 8/Plugins/LiveIvy/LiveIvy_tool.rb:298:in load_definitions'
      C:/Program Files/Google/Google SketchUp 8/Plugins/LiveIvy/LiveIvy_tool.rb:10:in initialize' C:/Program Files/Google/Google SketchUp 8/Plugins/LiveIvy/LiveIvy_tool.rb:342:in new'
      C:/Program Files/Google/Google SketchUp 8/Plugins/LiveIvy/LiveIvy_tool.rb:342
      C:/Program Files/Google/Google SketchUp 8/Plugins/LiveIvy/LiveIvy_tool.rb:298:in `call'
      C:/Program Files/Google/Google SketchUp 8/Plugins/LiveIvy/LiveIvy_tool.rb:298

      Try the new file (0.5.2) πŸ‘

      posted in Plugins
      P
      Pierreden
    • RE: [Plugin] Sketchup Ivy

      @gaonirico said:

      I uninstalled the previous version and installed the update but follows without functioning

      Any messages in the ruby console?

      posted in Plugins
      P
      Pierreden
    • RE: [Plugin] Sketchup Ivy

      @66searcher/gaonirico: Thats not good. Uploaded a new fix (0.5.1). test it out.

      @solo: Thats very weird. The only thing i can think of is that LumenRT adds an observer to something. Checked out JPP's source and cant find any sheared namespaces or anything.... Any suggestions?

      posted in Plugins
      P
      Pierreden
    • RE: [Plugin] Sketchup Ivy

      Thanks for the replies everyone!

      @pixero/thomthom/pugz: This is a brilliant idea. This wont be first priority, but will look into it after bug fixes and the mac issues πŸ‘

      @oxero/driven: Thank you! Will look at it and hope to release a fix later today (saturday)

      @didier/dbalex/gaonirico: Looks like the textures isnt applied to the material... Are you using SU8 (im actually not sure if this is an requirement)? Mac Windows? Any console messages when you start a new model and then starts the plugin?

      Thank you for your patience and coops everyone!

      Peace
      Pierre

      posted in Plugins
      P
      Pierreden
    • RE: Inherit from Sketchup Classes

      @tig said:

      You misconstrue - you can vary a vector's length without affecting its direction so making it longer gives it more 'force' but its direction is unchanged, normalizing it later gives it 'unit length'...

      @cleverbeans said:

      Based on your description it seems unclear as to why you'd want to use inheritance here when the goal is to simply store the weights associated with the vector. I can envision either a class with a .vector and .weight attribute and some supporting methods. Here are some examples of what I think would be cleaner implementations of your idea.

      
      > class MyClass
      >    attr_accessor ;weight
      >    def initialize(x,y,z,weight)
      >       @vector = Geom;;Vector3d.new(x,y,z)
      >       @weight = weight
      >    end
      >    def vector
      >       return @vector.transform(@weight)
      >    end
      > end
      > 
      

      Yes. you are perfectly right. I'm sort of new to the concept of vectors, and it have taken me a while to get comfortable with the concept. My question wasn't about this particular example, bur rather the concept of inhereting from Sketchup classes. I would love to be able to make my own My::Point3d class with additional methods, and still be able to use My::Point3d together with Geom::Point3d without errors.

      Peace
      Pierre

      posted in Developers' Forum
      P
      Pierreden
    • RE: [Plugin] Sketchup Ivy

      Thanks for the thumbs up and critics everyone!

      I have fixed solo's bug, will upload i fix later today πŸ‘

      @oxer: This is not good. I'm really struggling with mac support. Will fix as soon as i can! Any error messages in the console?

      @solo said:

      This is heading towards being an epic plugin...similar to what 'Fur' achieved IMo.

      Thank you! Really hope its of use. When i get time i will release additional plugins based on the same principles as this one. Have working proof of concepts for Cloth, fur and a simple particle flow system, all which i hope to develop further in the long run.

      Peace
      Pierre

      posted in Plugins
      P
      Pierreden
    • RE: [Plugin] Sketchup Ivy

      @solo said:

      Cool UI.

      One issue, if you close it you cannot open it again.

      Thanks for your reply... could you elaborate? I cant recreate it on my system... Are you on a mac? Sketchup 8? And how do you close it?

      Regards

      posted in Plugins
      P
      Pierreden
    • RE: [Plugin] Sketchup Ivy

      @kalu said:

      Can someone respond my question?...

      Thanks.

      Im sorry for my late reply. I have uploaded a new version which includes a gui!

      @everyone: Realy hope version 0.3 solves some of yout issues. It feels both faster and more stable on my computer, but if/when you experience problems, bugsplats or bugs, please pm me or write here. I will answer you as quick as possible.

      Also, f you have any suggestions regarding further development i would love to here them! πŸ‘

      Regards
      Pierre

      posted in Plugins
      P
      Pierreden
    • RE: [Plugin] Sketchup Ivy

      @Mac Users: Really sorry about the plugin not working. I have absolutely no clue what the issue is, but I will borrow a mac this weekend and see what i can work out πŸ˜‰

      @Andre: Thank you! Those renders looks great. What plugin do you use? Im currently looking at the distribution of leaves, and that lookes great πŸ‘

      I dont know when the next update will be released, but heres a little teaser of whats to come.

      cheers

      http://i.imgur.com/4R7V2.jpg

      posted in Plugins
      P
      Pierreden
    • 1
    • 2
    • 1 / 2