sketchucation logo sketchucation
    • Login
    1. Home
    2. OscarLok
    3. Posts
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    ⚠️ Important | Libfredo 15.6a introduces important bugfixes for Fredo's Extensions Update
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 10
    • Posts 74
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: Geomatry Resizer or Paramatric???

      @fletch said:

      application: for architects, this would mean that if they need a 200 square foot room, and they could change one length of the room to fit a certain space, and then the other length would change automatically, while maintaining the proper square footage (or square meters) area size of the room.

      Hi Fletch,
      It may be possible!
      May I know that is the room always in rectangle shape?? or more than two length (e.g. L-shape & etc) which has more than one unknow element(but still possible).
      Could you please send me some room shape which you do normally.

      Regards
      Oscar

      posted in Developers' Forum
      OscarLokO
      OscarLok
    • RE: Geomatry Resizer or Paramatric???

      Hi,
      This script is not ready yet. It has bugs, but it is improving every week. Actually, it is a part of my script (OSCarcase.rb) which is for cabinet making.

      Regards
      Oscar

      posted in Developers' Forum
      OscarLokO
      OscarLok
    • RE: Geomatry Resizer or Paramatric???

      Here is one more :-
      http://www.youtube.com/watch?v=3aUzVROyDwo

      Oscar

      posted in Developers' Forum
      OscarLokO
      OscarLok
    • Geomatry Resizer or Paramatric???

      Hi,
      This script still has a fews bug! I am improving it.

      I will group up my uploads into here in the future...

      2D Parametric

      1. http://www.youtube.com/watch?v=YbgvsmQMTMI

      Here is the latest avi

      1. http://www.youtube.com/watch?v=3aUzVROyDwo&feature=related
      2. http://www.youtube.com/watch?v=8qkQjN0QJiw
      3. http://www.youtube.com/watch?v=c-OYXKwg2WY&feature=related

      first OSCresizer beta version

      1. http://www.youtube.com/watch?v=srihMB7khyo
      2. http://www.youtube.com/watch?v=Spnxp4x7HhA&feature=related

      OSCangle beta

      1. http://www.youtube.com/watch?v=AU-Xgkjd7Bs&feature=related

      Regards
      Oscar

      posted in Developers' Forum
      OscarLokO
      OscarLok
    • RE: Ruby to make resizing model easier

      Hello Jean-Franco

      It is still under improving! I will keep upload the latest version of the script in youtube(avi file).

      Regards
      Oscar

      posted in Developers' Forum
      OscarLokO
      OscarLok
    • RE: Ruby to make resizing model easier

      Here is one more example:-
      http://www.youtube.com/watch?v=Spnxp4x7HhA

      Regards
      Oscar

      posted in Developers' Forum
      OscarLokO
      OscarLok
    • RE: [Request] Opener Metric

      Hi Nexus

      It should be possible!
      I have script which can adjust the width, hight and location.
      It is not as simple as your example, but it may be more flexible.
      Or it may resize and relocate after your window created.

      Here is the example:-
      OSC_05.zip

      Regards
      Oscar

      posted in Plugins
      OscarLokO
      OscarLok
    • RE: Ruby to make resizing model easier

      Dear Peweuk

      Yes! I am the same person who write OSCarcase.
      May I know that are you(or anybody) still using it ?

      Regards
      Oscar

      posted in Developers' Forum
      OscarLokO
      OscarLok
    • RE: How the RUBY apply a dimension(with label, dimension line wi

      Hi, Didier Bur

      Thanks for your reply!
      May I know how to select the end point or mid point with the mouse indicator select via RUBY, please? Just like the indicator appear when the mouse near the end or mid point of an edge.

      Thanks
      Oscar

      posted in Developers' Forum
      OscarLokO
      OscarLok
    • How the RUBY apply a dimension(with label, dimension line wi

      May I know that how the RUBY apply a dimension(with label, dimension line with arrow end) to a line or edge, please?

      Thanks
      Oscar

      posted in Developers' Forum
      OscarLokO
      OscarLok
    • How can I assign a keyboard key as a SketchUp shortcut

      Hi,

      May I know that how can I assign a keyboard key as a SketchUp shortcut via ruby, please?

      Thanks
      Oscar

      posted in Developers' Forum
      OscarLokO
      OscarLok
    • Need help on better way to do mouse select

      Hi,

      I have write the below ruby, but I think there are better way to do this.
      Could anybody tell me how to make it like we select the dimension tool, please?
      It is like we move the mouse near the end or mid point of an edge, it will have an indicator appear.

      def onLButtonDown(flags, x, y, view)
      Censored to protect your privacy(view,x,y)
      if @mode1
      @end_pt = Censored to protect your privacy
      constline = Sketchup.active_model.entities.add_cline (@start_pt,@end_pt)
      @mode1 = false
      else
      @mode1 = true
      @start_pt =Censored to protect your privacy
      end
      end

      def onMouseMove(flags,x,y,view)
      if (@mode1) then
      if @constline
      Censored to protect your privacy!
      Censored to protect your privacy!
      end
      Censored to protect your privacy(view,x,y)
      @pts = [@start_pt, Censored to protect your privacy]
      @constline = Sketchup.active_model.entities.add_cline (@start_pt,Censored to protect your privacy)
      @t = Sketchup.active_model.entities.add_text ((Censored to protect your privacy).distance (Censored to protect your privacy)).to_s, (Censored to protect your privacy)

      I don't know how to use "view", the below cannot work.

      view.line_width = 10

      view.set_color_from_line(@pts[0], @pts[1])

      view.drawing_color = "gray"

      view.draw(GL_LINES, @pts)

      view.draw_lines($start_pt, $ip.position)

      end
      end

      Thanks
      Oscar

      posted in Developers' Forum
      OscarLokO
      OscarLok
    • Ss add ss.group ???? Need Help

      How can I add a particular group to the selection from an selected entity which is part of a group, please ?

      ss add ss.group ????
      ss add ss.parent ????
      cannot work!

      Thanks
      Oscar 😒

      posted in Developers' Forum
      OscarLokO
      OscarLok
    • May I know how to use "close_active" from the Model Class,pl

      May I know how to use "close_active" from the Model Class,please? πŸ˜•
      Thanks
      Oscar

      posted in Developers' Forum
      OscarLokO
      OscarLok
    • 1 / 1