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

    cesaro36

    @cesaro36

    10
    Reputation
    1
    Profile views
    22
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    cesaro36 Unfollow Follow
    Extension Creator registered-users

    Latest posts made by cesaro36

    • RE: Method or plugin for subdividing like this sample

      Hi guys

      This is what I came up with a few months ago, but it fails when curves or inner loops exist.

      Also it uses the offset.rb from Smustard(TM).
      By using this combination of soft and smooth you are able to put correct dimensions in both SKP and LO
      If you need to get rid of the changes the plugin Fix101 takes care of it.

      Any ideas to improve this?

      #CSR create soften edges for renders
      ss = Sketchup.active_model.selection
      Sketchup.active_model.start_operation("test")
      old_edges = []
      new_faces = []
      ss.each{|e|old_edges.push e if e.class == Sketchup::Edge}
      ss.each{|s|new_faces.push s.offset(-0.0625) if s.class == Sketchup::Face}
      old_edges.each{|oe| oe.smooth = true}
      new_faces.each{|nf| nf.edges.each{|nfe| nfe.soft = true; nfe.hidden = true}}
      Sketchup.active_model.commit_operation

      2017.08.07-Screenshot_CSR-0919_01.png
      2017.08.07-Screenshot_CSR-0919_02.png
      2017.08.07-Screenshot_CSR-0921_01.png

      posted in Developers' Forum
      C
      cesaro36
    • RE: Method or plugin for subdividing like this sample

      How simple you make it look like.
      Thanks. I'll dig into it.

      posted in Developers' Forum
      C
      cesaro36
    • Method or plugin for subdividing like this sample

      Hi everyone
      Is there any plugin or code snippet that creates this kind of subdivision, basically is a offset from each edge in a solid component?
      My goal is to smooth corners at objects prior to any rendering.
      Corner subdivision

      Saludos

      posted in Developers' Forum
      C
      cesaro36
    • RE: PickHelper does not pick elements outside active context

      Thanks for picking up the question ThomThom
      I'm developing a measuring tool and part of the functionality lies on the capability of the tool to make a quick measurement no matter what context you are into.

      Currently I'm getting the information via pickpoint but I'm having hard time trying to get rid of the interferencing and also confuses me a lot when the cursor is over a face but one or more edges are just behind that face because my draw method to highlight either the face or the edge goes crazy when underneath the cursor are to much geometry happening. I wanted to implement a method using pickhelper but the not picking outside active context thing stopped me.

      The tool angleinspector from fredo marvelously does exactly what I want to achieve and I'm trying to mimic that functionality but without success.

      http://sketchucation.com/forums/viewtopic.php?f=180%26amp;t=67058
      Here you can see a gif describing my problem.

      Saludos

      posted in Developers' Forum
      C
      cesaro36
    • RE: PickHelper does not pick elements outside active context

      Hi Fredo
      Did you find a way to "pick" entities outside the active context?

      posted in Developers' Forum
      C
      cesaro36
    • RE: Help please. How to get transformation for the face

      Thanks Anton
      I'll try it as soon as I get to my laptop.

      posted in Developers' Forum
      C
      cesaro36
    • RE: Help please. How to get transformation for the face

      Thanks TIG
      My intention is to highlight the face that the cursor is passing over.
      In the Animation GIF you can see that when the interfering is happening the highlighted face is been drawn where it should'n, meaning that the transformation given by @ip.transformation is not the same as it was before the iterferencing while the @ip.face is still the same. (is that make sense)
      I'm doing my best trying to explain this in english.

      posted in Developers' Forum
      C
      cesaro36
    • RE: Help please. How to get transformation for the face

      thanks, but... what I mean is how to get the correct transformation for the face bellow when the cursor is inferenced. Is there something I'm missing?

      posted in Developers' Forum
      C
      cesaro36
    • Help please. How to get transformation for the face

      Hi everyone
      I need help to get the transformation of the current face under the cursor.
      I'm using the input point method but my problem emerges when the cursor is Inferenced.

      It is weird because my @ip.face is correct but @ip.transformation doesnt match.

      I dont use a pick helper because I need to get faces outside p.e. when editing inside a component.

      The only plugin that I've seen it managing well is AngleInpector from Freddo tools.

      Any ideas?

      Thanks


      get transformation

      posted in Developers' Forum
      C
      cesaro36
    • RE: [Plugin] Q JS ALIGN TOOLBAR

      If anyone interested, another tool for that matter.
      http://www.eltallerconstructor.com/distribute-objects-sketchup-plugin/

      http://www.eltallerconstructor.com/wp-content/uploads/2016/01/Captura_de_pantalla_012616_075350_PM-300x147.jpg

      posted in Plugins
      C
      cesaro36