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: Finding unit of drawing in options

      @fletch said:

      I believer Matt Frenglish is trying to ask how to get the units of the drawing. πŸ˜‰
      j'espere que ne te casse pas les pieds, Matt666!

      Then, try this
      def get_current_unit ()
      case Sketchup.active_model.options[0][2]
      when 0
      return "inch"
      when 1
      return "feet"
      when 2
      return "mm"
      when 3
      return "cm"
      when 4
      return "m"
      end
      end

      posted in Developers' Forum
      OscarLokO
      OscarLok
    • RE: Finding unit of drawing in options

      Hi Mattt,
      I think, I misunderstand what the title already! 😳

      "a" is the value of any numeric input.

      Oscar

      posted in Developers' Forum
      OscarLokO
      OscarLok
    • RE: Finding unit of drawing in options

      Hi,
      Try this one :-

      def get_current_unit_(a)
      case Sketchup.active_model.options[0][2]
      when 0
      return a.to_inch
      when 1
      return a.to_feet
      when 2
      return a.to_mm
      when 3
      return a.to_cm
      when 4
      return a.to_m
      end
      end

      Oscar

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

      Hi Fletch,

      As we agree with this :-

      @fletch said:

      Really awesome, Oscar, yes, let's post this to the whole forum for all to share ideas. I would love a custom answer for the way our firm handles the excel spreadsheet program, but really probably it's best for everyone if it's more universal... as I mentioned.

      but the fact you can read a spreadsheet from excel and draw spaces - that's really what I was looking to find out - and you did it! 😍

      Now, I have a format of it. Any feedback are welcome! I will do a quick script(spreadsheet to SU) for it.

      Regards
      Oscar


      Universal Format.xls

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

      Hi Fletch,

      I have send you a PM to test.
      Any feedback are welcome! πŸ˜„

      Regards
      Oscar

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

      @fletch said:

      Here's the original thread where this topic was discussed. I realize what I'm referring to in that thread is possibly a bit more involved than what you're trying to do... perhaps not.

      May I have a copy of the Building's program spreadsheet excel file, please ? (You can PM to me if you want.)

      Thanks
      Oscar

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

      @unknownuser said:

      You can't resend them, they've already been sent, the recipients have not looked at them yet, that is what it means when PM's remain in the "outbox".

      O I see! β˜€
      Thank you! Juju

      Oscar

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

      Hi Bep,

      @bep said:

      Now my enthousiasme is somehow under control,I can give you some first, hopefully usefull remarks.
      -Could you script preferbly use the users own units settings (my settings are Decimal, and cm for example.
      -If the first dimension of the sketcht triangle is changed, the hole figure should be scaled without losing the proportions of the initial sketch,like when scaling with the "tape measure"tool.
      -The warning if you make size off a side of a triangle to large ,now is "the minimum size=..",
      should it not be "max.size="?

      *units setting should be no problem.
      *proportions of the initial sketch can be figure out.
      *"max.size=" will be done.

      *Only I do not understand is :- 😳

      @bep said:

      -Could the defauld box to fill in when you want to adjust a line lenght be the size box.
      (The most important for trilateration)

      Thanks for your feedback πŸ˜„

      Oscar
      Any feedback is welcome!

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

      @unknownuser said:

      Check you "outbox" in the User Control Panel (UCP), if the PM is no longer in your "outbox" the recipient has opened/received it.

      Hi Juju
      There are 3 PM in the "outbox" . May I know how to resend again, please?

      Regards
      Oscar

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

      Hi Bep,

      May I know that do you receive my PM, please?

      Oscar

      posted in Developers' Forum
      OscarLokO
      OscarLok
    • RE: Server problems

      THANK YOU !!!

      Oscar

      posted in Corner Bar
      OscarLokO
      OscarLok
    • RE: Geomatry Resizer or Paramatric???

      Hi Bep, a4chitect & Gjenio

      There is a new 2D parametric geometry avi which lock the edges in the first POST . It show that how to make the trilateration. We start to do it by select a face, then we can lock the edge we want.
      By the way, we can adjust (or lock) which side(or both sides) to be adjusted.

      This is just a quick test. Don't know is it the correct way.
      If it is the right way, I will develope it further ! πŸ˜’

      Oscar

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

      Thanks ! Bep !

      You give me a lot of imformation ! Let me see what I can do.
      I have start it.

      Oscar
      any suggestion are welcome ! πŸ˜„

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

      Hi Bep,

      The MobileCAD is only in German. Do you have any video tutorial regarding its' U.I. and the process of drawing a floor plan, please? (I would like to try to understand it by visually.)

      Let me see weather there are orther way to make trilateration possible.
      What I understand is to lock two edges' length and adjust the third edge's length. I may be wrong. πŸ˜•

      Oscar

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

      Here is the rough demo :-
      http://www.youtube.com/watch?v=c-OYXKwg2WY

      In the AVI, I draw trapezoid (The word trapezoid has multiple definitions. Here is to describe a four-sided polygon, with two edges parallel and the other two equal in length.) and then change it into triangle .
      In the demo, it show the "Both Side A & B" Adjust, that means no lock to both side (as I describe previus reply). It show the one side locked or the other side adjusted, too. We can choose which side to lock or adjust.

      Oscar

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

      After reading the tutorial of sketchflat program, I use my two script ( OSCresizer & OSCangle) to try to do the similar drawing to the tutorial.

      I found that it is very interesting to write a parametric geomatry script. β˜€ I may try to start from 2D, then 3D.
      πŸ˜„

      Oscar

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

      Hi Gjenio & Bep

      Wow! πŸ˜„ The sketchflat program is great. It is a two-dimensional technical drawing program. Lots of information !

      3D Autonomic Dimensioning is great tool.
      Hi Rick Haws, I would like to know how this is progressing ?

      Thanks
      Oscar

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

      Hi Fletch

      @fletch said:

      that is, if the room were an L you could select faces to 'lock' and the rest would be able to move (assumed that floor and ceiling would automatically be 'locked'.

      Actually, I am confusing what I am doing now, is it Resizer or Paramatric?
      I maybe wrong, I think that what you descript is more to paramatric geomatry. If I am not wrong, parametric needs formular to make constraints to geometry.( similar to my old script "OSCarcase" )
      I will rewrite the OSCarcase to make it easier !

      @fletch said:

      πŸ’­ of course, the next step would be the ability to link this to an excel file and have it build the spaces automatically from that file.

      I thought there are some ruby scripts regarding this idea already !
      May I know what is the data or format in the excel file,please ?

      πŸŽ‰ I need more idea about paramatric geomatry, please!

      Thanks
      Oscar

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

      @a4chitect said:

      I second the wish for
      edge position/length locking
      face position/area locking
      any angle locking

      Hi a4chitect & Gjenio

      Let me see... πŸ˜’ I have to think that which way to execute it. πŸ˜•
      I will show some avi after it has been done.
      VERTEX, EDGE, FACE, ANGLE....(one by one) Give some time. πŸ˜„
      What I have done are:-

      1. Select an edge, AUTO indicate the two side as point A & B
      2. Enter the NEW length
      3. Select which side(ponit A, B or bothsides) of the edge to ADJUST (similar to LOCK 1 FACE)
        What I am doing now is :-
      4. Select a face to lock, then repeat the above.
      5. But, the script will adjust the edge ONLY in step 3(similar to LOCK 1 Vertex??? or Edge???). πŸŽ‰

      Oscar

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

      Hi MALAISE

      It is improving weekly. πŸ˜›
      Any suggestion are welcome!
      Thanks

      Regards
      Oscar

      posted in Developers' Forum
      OscarLokO
      OscarLok
    • 1
    • 2
    • 3
    • 4
    • 3 / 4