sketchucation logo sketchucation
    • Login
    1. Home
    2. OscarLok
    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 10
    • Posts 74
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: [Plugin] Boolean--OSCoolean (Dec 2013) for SU 8 up free ver

      hi,
      Thanks for your support!
      at the moment, OSCoolean is not compatible with SketchUp 2014.
      And I will refine it after September this year. ๐Ÿ˜„

      Thanks
      Oscar

      • I am sorry for the late reply.
      posted in Plugins
      OscarLokO
      OscarLok
    • RE: [Plugin] Boolean--OSCoolean (Dec 2013) for SU 8 up free ver

      Hello TIG

      I would like to know that is the SketchUp's tolerance matter be solved if I scale everything up x1000, then do the boolean lastly scale everything down in the OSCoolean for every cases, please?

      posted in Plugins
      OscarLokO
      OscarLok
    • RE: [Plugin] Boolean--OSCoolean (Dec 2013) for SU 8 up free ver

      Hello,
      OSCoolean Dec 2013 version for both groups & components is uploaded in the first post - or as RBZ from the PluginStore...
      And it is still free to use.
      Hope this can help!
      Enjoy! ๐Ÿ˜

      Regards
      Oscar

      posted in Plugins
      OscarLokO
      OscarLok
    • RE: [Plugin] Boolean--OSCoolean (Dec 2013) for SU 8 up free ver

      Thanks for your support and encourage.
      I will review my script for SU 2013 at December since my schedule is busy now.
      Again, thanks for your support๏ผ

      posted in Plugins
      OscarLokO
      OscarLok
    • RE: [Plugin] Boolean--OSCoolean (Dec 2013) for SU 8 up free ver

      @doodledown said:

      Thanks for this, very excited. I just upgraded to 8 for this, but the plugin isn't showing up. Are there any dependencies or known conflicts that could be at fault?

      My plugins folder only has the folders Cadspan, JPP_Dir_15, LIBFREDO6_Dir_34, Ocean, TIGtools, TOS_Dir_16 plus Utilities, plus the rb files deBabelizer, extrubeEdgesby(various things), jointpushpull, LibFredo6, LibTraductor, loop_subdiv, ocean_extension, su2stl, ZLoader_OnSurface and utilities, if that for some reason makes it obvious to anyone. (Obv there's also OSCoolean.) I'm on 7 Pro.

      Thank you very much, whether or not you can point out what's wrong!

      Do you have the Oscar folder inside your plugins folder in 8?
      or try to unzip the OSCoolean again into your plugins folder in 8, please.

      Oscar ๐Ÿ˜„

      posted in Plugins
      OscarLokO
      OscarLok
    • RE: Manipulation entities in a group through Ruby?

      @tig said:

      You can get an array of the vertices of a face [or some edges etc] and move them using a vector transformation, in the form something like

      vertices = face.vertices
      > vector = Geom;;Vector3d.new(0,0,1)
      > ### this is 'up' 1"
      > vectors = []
      > vertices.length.times{vectors << vector}
      > group.entities.transform_by_vectors(vertices, vectors)
      > ### all of the face's vertices will move up 1"
      

      ๐Ÿค“

      Dear Tig

      I would like to know that can your script apply on a face with arc or circle edges with round hole inside the face, please?

      Thanks
      Oscar

      posted in Plugins
      OscarLokO
      OscarLok
    • RE: [Plugin] Boolean--OSCoolean (Dec 2013) for SU 8 up free ver

      @shura said:

      Does it work in SU 7.1 as well?

      This is a SU 8 onlyใ€‚Maybe in the next next versionใ€‚ใ€‚ใ€‚ใ€‚ ๐Ÿ˜‰

      posted in Plugins
      OscarLokO
      OscarLok
    • RE: [Plugin] Boolean--OSCoolean (Dec 2013) for SU 8 up free ver

      @unknownuser said:

      OSCAR

      In your Oct release, only three icons are displayed. And the last two, cut and intersect perform the same function.

      Thanks for your work with this plugin.

      Ken

      Hello Ken,

      I am sorry for that! I have changed it to the New OCT version. The previous one is still Sept version.

      Thanks Ken ๐Ÿ˜„

      Oscar

      posted in Plugins
      OscarLokO
      OscarLok
    • RE: Solid Tools

      ๏ผˆNew๏ผ‰OSCoolean OCT 2010 version can do trim & splitใ€‚
      http://forums.sketchucation.com/viewtopic.php?f=323&t=14773

      posted in Woodworking
      OscarLokO
      OscarLok
    • RE: Solid Tools

      This time, OSCoolean has a toolbar for selecting 2 groups, speed improved and more stable.

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

      Oscar ๐Ÿ˜„

      posted in Woodworking
      OscarLokO
      OscarLok
    • RE: Excel to SU ( 29/7/08 version )

      Hello Coulteri,

      Do you have any example of sketchup and excel files, please?

      Thanks
      Oscar

      posted in Developers' Forum
      OscarLokO
      OscarLok
    • RE: GrowFamily

      Congratulation Rick! ๐Ÿ‘

      posted in Developers' Forum
      OscarLokO
      OscarLok
    • RE: Using Visual Basic 2008 Express dialog form in Ruby.

      This is the youtube link. (I do not know how to get the video inside this forum. ๐Ÿ˜ณ ) Thank You ๐Ÿ‘

      [flash=560,340:2jyf8wrk]http://www.youtube.com/v/hGjFK5o9g-I&hl=en&fs=1&[/flash:2jyf8wrk]

      This shows the latest version is more stable. ๐ŸŽ‰

      [flash=560,340:2jyf8wrk]http://www.youtube.com/v/ljVn-F7qxqQ&hl=en&fs=1&[/flash:2jyf8wrk]

      posted in Developers' Forum
      OscarLokO
      OscarLok
    • RE: Using Visual Basic 2008 Express dialog form in Ruby.

      There is a Released Version of OscarVB in the first post.
      The two bridges are inside the zip file.
      And the free version of VB 2008 Express can be download from the Jim post above. ๐Ÿ‘
      Thank You!

      posted in Developers' Forum
      OscarLokO
      OscarLok
    • RE: Using Visual Basic 2008 Express dialog form in Ruby.

      This is the example ruby script :

      def test
      input = UI.inputbox ["Ruby says"], ["Hello! VB!"], "Make Friend with VB"
      OscarVB.dialog(File.join(File.dirname(__FILE__),"HelloVB.exe"))
      OscarVB.execute_script("HelloVB.exe","Label2_text","Ruby says ; " + input[0])
      OscarVB.execute_script("HelloVB.exe","TextBox1_text","Hello! RB!")
      end
      

      The below is the VB.net script :

      Public Class Form1
      Dim rb As New OscarRB.Ruby

      I use this two ruby script to call and pass parameter to the below VB.net Sub.
      OscarVB.execute_script("HelloVB.exe","Label2_text","Ruby says : " + input[0])
      OscarVB.execute_script("HelloVB.exe","TextBox1_text","Hello! RB!")

          Sub Label2_text(ByVal tx As String)
              Label2.Text = tx
          End Sub
      
          Sub TextBox1_text(ByVal tx As String)
              TextBox1.Text = tx
          End Sub
      

      This is the way we start to connect ruby and vb.net. It is a MUST.

          Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
              rb.Open(Me)
          End Sub
      

      Using "End" to Exit the VB.net form.

          Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
              End
          End Sub
      

      This is how we execute a ruby script in the VB.net form.

          Private Sub TextBox1_Leave(ByVal sender As Object, ByVal e As System.EventArgs) Handles TextBox1.Leave
              rb.execute_script(Me, "draw_text", TextBox1.Text)
          End Sub
      

      End Class

      posted in Developers' Forum
      OscarLokO
      OscarLok
    • RE: Using Visual Basic 2008 Express dialog form in Ruby.

      Hi tomot,
      May I know that where I can get Grasshopper VB.net code samples, please?
      I do try to search in this forum but no result.

      posted in Developers' Forum
      OscarLokO
      OscarLok
    • RE: Using Visual Basic 2008 Express dialog form in Ruby.

      Hai Jim,
      There is an example inside the zip file.
      Yes! The forms is created using VB.Net(free version), and call by SketchUp(MUST be ver 7.1...) ruby.
      We can pass the parameter to the form and pass back to SU. It shows in the latest youtube video.
      I never try it on Mac, and the dll is build on Windows PC.

      posted in Developers' Forum
      OscarLokO
      OscarLok
    • RE: Using Visual Basic 2008 Express dialog form in Ruby.

      Hai toxicvoxel,

      There is a new version which is more stable in the first post. โ˜€
      And don't know you can understand my english's explaination at the above. ๐Ÿ˜ณ
      Is this "what is going behind the scenes" means how to use it, or others? ๐Ÿ˜ณ
      Anywhere I do my best! ๐ŸŽ‰

      posted in Developers' Forum
      OscarLokO
      OscarLok
    • Using Visual Basic 2008 Express dialog form in Ruby.

      This is an example for using Visual Basic 2008 Express(free version) dialog or form inside Ruby.
      Requirment :-

      1. SketchUp ver 7.1
      2. Visual Basic 2008 Express

      The version 27 Oct 09 is Released Version. ๐Ÿ˜‰
      You just unzip every file into the Plugins folder, then restart the SketchUp. There is an example inside the zip file.

      If you want to use this bridges in Ruby, you need OscarVB.rbs and OscarRB.dll which are included inside the zip file, too.

      Ruby side:-
      Define Sketchup::require 'OscarVB.rbs'

      And, there are only TWO function in the 'OscarVB.rbs'

      1. OscarVB.execute_script(vb_dialog,vb_script,vb_parameter)
        vb_dialog -- type string, vb.net form.
        vb_script -- type string, vb.net Sub or Function which you defined and want to call.
        vb_parameter -- type string, the parameter of the above Sub or Function.
        e.g. OscarVB.execute_script("HelloVB.exe","TextBox1_text","Hello! RB!")

      2. OscarVB.dialog(vb_exe)
        vb_exe -- type string, the vb.net form and its' path.
        e.g. OscarVB.dialog(File.join(File.dirname(FILE),"HelloVB.exe"))

      VB 2008 side:-
      Define Dim rb As New OscarRB.Ruby at the top of the code of VB 2008

      And also, there are only TWO function in the 'OscarRB.dll'(MUST import OscarRB.dll to VB 2008)

      1. rb.Open(ByVal vb_dialog As Form)
        vb_dialog -- type form, it is the vb.net form.
        e.g. rb.Open(Me) 'Put it inside the form load event.

      2. rb.execute_script(ByVal From_dialog As Form, ByVal To_rbscript As String, Optional ByVal To_rbparameter As String = "")
        From_dialog -- type Form, it is the vb.net form.
        To_rbscript -- type String, this is the ruby script name which you defined and want to call.
        To_rbparameter -- type Optional, String, the parameter of the above def which is ruby script.
        e.g. rb.execute_script(Me, "draw_text", TextBox1.Text)[/i]


      Ver 27 Oct 09

      posted in Developers' Forum
      OscarLokO
      OscarLok
    • RE: [Plugin] Boolean--OSCoolean (Dec 2013) for SU 8 up free ver

      Hi Fred,

      Yes, I have tried your skp!
      I am now starting to improved my script to avoid the "erasing unwanted lines". ๐Ÿ˜’
      At this moment, my new script(will be released soon / ver 2009) is operate inside group, that means the boolean result is inside a group. ๐Ÿ˜„
      Secondly, the speed is improved. ๐Ÿ˜„
      Now, It is the stable issue need to improved. ๐Ÿ˜ณ

      Oscar
      Happy Chinese New Year! ๐Ÿ˜„

      posted in Plugins
      OscarLokO
      OscarLok
    • 1 / 1