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

    Topics

    • X

      Giving images different name with export image

      Watching Ignoring Scheduled Pinned Locked Moved Newbie Forum sketchup
      3
      0 Votes
      3 Posts
      350 Views
      X
      @unknownuser said: you can't not change that line, "c:/temp/_image.png" IS your image name... each new one will overwrite the previous... if you want different names that line has to change... john Then, what if I don't specify an image file path? Only the name and extension of image file will be remained and it looks like it can be treated... using #{name}
    • X

      Adding input parameter to simple code

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      5
      0 Votes
      5 Posts
      618 Views
      TIGT
      Assuming you wrap all of your code in a method inside your own module... @x = 1.m unless @x @y = 1.m unless @y @z = 0.m unless @z results = inputbox(['X: ', 'Y: ', 'Z: '], [@x, @y, @z], 'Slicing Rectangle Dims') return nil unless results @x, @y, @z = results BUT then you need to decide the values for each point... If all of the slices are in plan then only the Z value is important. Can I suggest you use: bb = model.bounds min = bb.min max = bb.max then a single input for the Z thus: @z = 0.m unless @z results = inputbox(['Z: '], [@z], 'Slicing Height') return nil unless results @z = results[0] Extract the x/y/z values from min and max and make the points for the face from those... p1 = [min.x, min.y, @z] p2 = [max.x, min.y, @z] p3 = [max.x, max.y, @z] p4 = [min.x, max.y, @z] later entities_b.add_face(p1, p2, p3, p4) Note how whe adding a face you only need the points for each vertex, if you were adding edges you need to add the extra 'p5' to close the loop.
    • X

      Getting idea about removing invisible area

      Watching Ignoring Scheduled Pinned Locked Moved Newbie Forum sketchup
      2
      0 Votes
      2 Posts
      293 Views
      oceanembersO
      You don't really need a dedicated plugin for this - solid tools and joint push pull's follow extrusion will do you fine (and the follow extrusion is a little overkill, honestly, it can be done with vanilla sketchup just fine) [image: EfSuUju.gif] edit: excuse the buggy gif, at least it's still decipherable I suppose
    • X

      Can we trim shape inside of other shape?

      Watching Ignoring Scheduled Pinned Locked Moved Newbie Forum sketchup
      7
      0 Votes
      7 Posts
      295 Views
      D
      xi21lipa A trick I use is to [hide] a face or faces (group etc) to edit inside/behind etc. Sort of peeling back an orange to get at the goodies inside. One can hide a number of objects/faces etc and then either [unhide] all at one time or enter CTL/z to reveal one at a time. I set keystrokes [H] to hide and [U] to unhide. Hope this works for you. dtr
    • 1 / 1