sketchucation logo sketchucation
    • Login
    1. Home
    2. Mcdull
    3. Topics
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info
    M
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 10
    • Posts 28
    • Groups 1

    Topics

    • M

      How to set length units in code

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      3
      0 Votes
      3 Posts
      166 Views
      TIGT
      If you are getting the x/y/z values as strings [perhaps from an imported text file] then ` z=z+'.m' 4.5.m ### as a string eval(z) 177.165354330709 ### in inches [SUp's base units and used to position the point]if they are as floats then z=z.m` will work to convert it...
    • M

      How to move a group?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      6
      0 Votes
      6 Posts
      231 Views
      M
      thank u,i have got it...
    • M

      How to get a intersection btween a line and a face

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      4
      0 Votes
      4 Posts
      201 Views
      TIGT
      You could also look at model.raytest The point could be one that you used for your vertical edge and the vector is [0,0,-1] It will return any array raytest[0] is the intersection point and raytest[1][-1] is the face or edge it hits... http://code.google.com/apis/sketchup/docs/ourdoc/model.html#raytest
    • M

      How to get a selected object center?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      3
      0 Votes
      3 Posts
      134 Views
      M
      @chris fullmer said: because you are finding the bounding box for the first entitiy in the list of entities. What you want is to find the bounding box of the first entitiy in the selection set I would bet. model = Sketchup.active_model sel = model.selection first_entity = sel[0] try that i got it ,thank u ~
    • M

      How to inspect all faces?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      7
      0 Votes
      7 Posts
      267 Views
      thomthomT
      You probably want to look into the PolygonMesh class as well. if you use face.mesh - it willl return a PolygonMesh for that face. The PolygonMesh is triangualted. I got a plugin that let you hover over a face and visually see the PolygonMesh representation of that face: http://forums.sketchucation.com/viewtopic.php?f=323&t=21472
    • M

      How to display Tree structure

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      8
      0 Votes
      8 Posts
      291 Views
      Al HartA
      You can also use the SKP "Simple Extrension" API to put your tree structure into a C++ list box. Here is a sample we use to display component categories and select components for placement. (click on image to remove scroll bars) [image: MVsq_tree.jpg]
    • M

      Add attributes to a face???

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      13
      0 Votes
      13 Posts
      514 Views
      thomthomT
      @chris fullmer said: I'm amazed that you keep coming back to the observer's Thom They have caused you so much pain already. well... that's the part I haven't done yet. there is an issue with the area calculation SU does when you have skewed groups/components. haven't gotten to the part of adding the observers yet. But I dread it. I've yet not dared to go back to DoubleCut.
    • M

      How to set egds of an enities in-visible?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      7
      0 Votes
      7 Posts
      212 Views
      Chris FullmerC
      I like that one Jim.
    • M

      Looking for a plugin to dispaly cordinate

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      5
      0 Votes
      5 Posts
      165 Views
      honoluludesktopH
      Thanks, Chris.
    • M

      Asking For Help Points are not planar (resolved)

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      9
      0 Votes
      9 Posts
      760 Views
      M
      @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.
    • 1 / 1