sketchucation logo sketchucation
    • Login
    1. Home
    2. Mcdull
    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.6b introduces important bugfixes for Fredo's Extensions Update
    M
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 10
    • Posts 28
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: How to set egds of an enities in-visible?

      @thomthom said:

      http://code.google.com/intl/nb/apis/sketchup/docs/ourdoc/drawingelement.html
      entity.hidden=
      or
      entity.visible=

      (aah! beaten by Lightning Chris!)

      thank u

      another problem
      how to get the intersect line of to entities, i want to hide the intersect line

      posted in Developers' Forum
      M
      Mcdull
    • How to set egds of an enities in-visible?

      i want to set edgs of a face invisible?
      is there any attributes in face to set it?
      thank u

      posted in Developers' Forum
      M
      Mcdull
    • Looking for a plugin to dispaly cordinate

      is there any plugin to disply the coordinates of the edgs,when i point to the egde or the point

      posted in Developers' Forum
      M
      Mcdull
    • RE: Asking For Help Points are not planar (resolved)

      @thomthom said:

      @mcdull said:

      i have solved the problem ,thank u

      And what was it?

      when i generate 3d wall,some points are not planar.i have changed the function.

      posted in Developers' Forum
      M
      Mcdull
    • RE: Asking For Help Points are not planar (resolved)

      i have solved the problem ,thank u

      posted in Developers' Forum
      M
      Mcdull
    • RE: Asking For Help Points are not planar (resolved)

      @thomthom said:

      Have you outputted the loopVertices to the Ruby Console content before passing on add_face? Just to visually inspect the data?

      Have to look further into what the code does before I can say anything more.

      But this code, right before line 250.

      
      > loopVertices = []
      > for v in loop
      >   loopVertices.push([v.x,v.y,v.z])
      > end
      > 
      

      Should that not say for v in loop.vertices ?

      I gather that you want an array of 3D points?

      That can be written:

      
      > loopVertices = loop.vertices.collect { |v| v.position }
      > 
      

      yes ,i have inspected all the loopvertices to the Ruby Console content,every wall has 6 faces.
      but if passing on add_face,the error will come out with the message points are not planar.
      Vertex.position returns a Point3D for that Vertex.

      posted in Developers' Forum
      M
      Mcdull
    • RE: Asking For Help Points are not planar (resolved)

      @thomthom said:

      Would help if you enclosed your code in the CODE tag so it doesn't get smileys in the code - and it will preserve formatting. And with such a long code it's probably easier to just attach it.

      ok,i have done.thank u

      posted in Developers' Forum
      M
      Mcdull
    • Asking For Help Points are not planar (resolved)

      i am trying to read polyline from xml document,then to generate three-dimensional wall.now there is a problem that just lines in the X direction can be drawn,the others in the y direction can not be drawn,and show a message that
      Error: #<ArgumentError: E:\test\RubyApplication1\lib\main.rb:250:in `add_face': Points are not planar>

      // if i draw the lines in the y -direction by it self,it can be done, i dont know why?pelese help me!
      thank u very much!

      [code][code][code][/code][/code][/code]
      

      [attachment=1:3jpuek0d]<!-- ia1 -->main.rar<!-- ia1 -->[/attachment:3jpuek0d]

      posted in Developers' Forum
      M
      Mcdull
    • 1 / 1