sketchucation logo sketchucation
    • Login
    1. Home
    2. cesaro36
    3. Posts
    โ„น๏ธ 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

    Posts

    Recent Best Controversial
    • 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
    • RE: Introducing Viz - parametric modeling for SketchUp

      ๐Ÿ˜ฎ ๐Ÿ˜ฎ ๐Ÿ˜ฎ Awesome!

      posted in Extensions & Applications Discussions
      C
      cesaro36
    • RE: [Plugin] Q JS ALIGN TOOLBAR

      Is it possible to make this align plugin to work within a component/group? I usually have nested components and frequently rotated, the align plugin doesn't seem to work when the container has been rotated, so I assume that it needs to work with local coordinates instead of global ones.
      ๐Ÿ˜•
      Thanks

      posted in Plugins
      C
      cesaro36
    • RE: [Plugin] TIG-DualDims

      Wow you really speak the ruby language.
      It works great. 99% correct ๐Ÿ˜‰

      There is still a dimension that doesn't work well, but I can't figure out why. I drew it again now its ok.
      If it persist I'll tell you.

      Thanks a lot. Specially for your entusiasm.

      posted in Plugins
      C
      cesaro36
    • RE: [Plugin] TIG-DualDims

      ๐Ÿ˜’ Not working yet. I'm attaching the SKP v2015


      Pink and orange for v1.3


      dualdims test.skp

      posted in Plugins
      C
      cesaro36
    • RE: [Plugin] TIG-DualDims

      LOL
      At first I tried to move the company into the metric system (since we are in Mexico) But the owner of the company is from USA and most of the machinery too, and the carpenters at the shop were used to imperials too. So I couldn't help it.

      posted in Plugins
      C
      cesaro36
    • RE: [Plugin] TIG-DualDims

      ๐Ÿ‘ Awesome, very useful. Saddly I reallized this issue once my set of plans were done.
      When the points that define the dimmension are not in the same plane the converted values don't match. Dim in red measures are the same 23 17/32" as the blue ones.

      Thanks


      issue in red

      posted in Plugins
      C
      cesaro36
    • RE: RBeautify - Ruby Code Beautifier

      Wow thank you all,
      Now it does what I needed.
      Anyhow I found a workaround by using the sublime text 2 code editor.
      Here it is:
      https://packagecontrol.io/packages/RubyFormat

      Gracias

      ยกSaludos a todos!

      posted in Developers' Forum
      C
      cesaro36
    • RE: RBeautify - Ruby Code Beautifier

      Hi Al
      I'm trying to use your rbeautify.rb but I get this error:

      RBeautify.beautify_file("c:/rotular.rb")
      Error: #<NoMethodError: undefined method each' for #<String:0x0000000fef1050>> C:/rbeautify.rb:90:in beautify_string'
      C:/rbeautify.rb:194:in beautify_file' <main>:in <main>'
      SketchUp:1:in `eval'

      where rotular.rb is just a generic rb that I'm using as a sample.
      Could you please help me?

      Tks

      posted in Developers' Forum
      C
      cesaro36
    • RE: [Plugin] RichSection V0.5.8 UPDATED march 2015

      Sorry the lack of feedback PiGa.
      I'm having issues with version 0.5.3

      Can't change the properties of the default created richsection.

      Error: #<NoMethodError: undefined method attribute_dictionary' for nil:NilClass> c:/users/administrator/appdata/roaming/sketchup/sketchup 2014/sketchup/plugins/piga_richsection/richsection.rbs:2330:in optionsRShRetrieve'
      c:/users/administrator/appdata/roaming/sketchup/sketchup 2014/sketchup/plugins/piga_richsection/richsection.rbs:2083:in updateRichSection1' c:/users/administrator/appdata/roaming/sketchup/sketchup 2014/sketchup/plugins/piga_richsection/richsection.rbs:3593:in changeOptionsRSh'
      C:/Users/Administrator/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/PiGa_RichSection/RSpanel.rb:381:in block in create' C:/Users/Administrator/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/PiGa_RichSection/SKUI/events.rb:82:in call'
      C:/Users/Administrator/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/PiGa_RichSection/SKUI/events.rb:82:in block in trigger_event' C:/Users/Administrator/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/PiGa_RichSection/SKUI/events.rb:78:in each'
      C:/Users/Administrator/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/PiGa_RichSection/SKUI/events.rb:78:in trigger_event' C:/Users/Administrator/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/PiGa_RichSection/SKUI/window.rb:364:in event_control_callback'
      C:/Users/Administrator/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/PiGa_RichSection/SKUI/window.rb:318:in callback_handler' C:/Users/Administrator/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/PiGa_RichSection/SKUI/window.rb:276:in block in add_callback'
      -e:1:in `call'

      SKUPro2014
      Win8

      regards


      Before trying to update richsection name and options


      After

      posted in Plugins
      C
      cesaro36
    • RE: [Plugin] RichSection V0.5.8 UPDATED march 2015

      Hi Piet
      Since the last UI interface I can't get my sections to update (no section name change). These are the errors shown:
      Error: #<ArgumentError: 'DarkRed' not valid values in list.>
      C:/Users/Administrator/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/PiGa_RichSection/SKUI/listbox.rb:238:in value=' C:/Users/Administrator/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/PiGa_RichSection/RSpanel.rb:583:in block in create'
      C:/Users/Administrator/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/PiGa_RichSection/SKUI/events.rb:82:in call' C:/Users/Administrator/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/PiGa_RichSection/SKUI/events.rb:82:in block in trigger_event'
      C:/Users/Administrator/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/PiGa_RichSection/SKUI/events.rb:78:in each' C:/Users/Administrator/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/PiGa_RichSection/SKUI/events.rb:78:in trigger_event'
      C:/Users/Administrator/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/PiGa_RichSection/SKUI/window.rb:358:in event_control_callback' C:/Users/Administrator/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/PiGa_RichSection/SKUI/window.rb:312:in callback_handler'
      C:/Users/Administrator/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/PiGa_RichSection/SKUI/window.rb:270:in block in add_callback' -e:1:in call'

      posted in Plugins
      C
      cesaro36
    • 1
    • 2
    • 1 / 2