sketchucation logo sketchucation
    • Login
    1. Home
    2. dacastror
    3. Topics
    🛣️ Road Profile Builder | Generate roads, curbs and pavements easily Download
    D
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 30
    • Posts 138
    • Groups 1

    Topics

    • D

      Questions about realization of tools

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      20
      0 Votes
      20 Posts
      501 Views
      D
      is true, on several occasions have been very frustrating these examples [image: Bgt9_computadoragolpes.gif]
    • D

      Find the position of a group in the active context

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      6
      0 Votes
      6 Posts
      210 Views
      D
      I solved the problem, the key was to use "mod.edit_transform.origin" I leave the code in case anyone needs it one day mod = Sketchup.active_model sel = mod.selection parert_origin = mod.edit_transform.origin entity_origin = sel[0].transformation.origin distance = entity_origin-parert_origin tr = mod.edit_transform.inverse distance.transform tr
    • D

      Refer to entities from code

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      19
      0 Votes
      19 Posts
      546 Views
      D
      wow thanks Dan, I will take some time to study this code, worth but me several questions arise, I will try to solve the most I can on my own, thank you very much (google translator)
    • D

      [V-ray] My video rendering

      Watching Ignoring Scheduled Pinned Locked Moved Gallery
      11
      0 Votes
      11 Posts
      492 Views
      D
      @jpalm32 said: Nice! I read that if the glass is pyrex and the liquid is like canola oil (Could be another oil), there is no refraction. this is correct if oil index and the index of the glass are the same however both indices of refraction index will be different compared to air, so there will be refraction when light passes from glass to air or air to glass (google translator)
    • D

      Trick to match the output of V-Ray and output Sketchup

      Watching Ignoring Scheduled Pinned Locked Moved V-Ray render plugins extensions
      4
      0 Votes
      4 Posts
      12k Views
      S
      @thomthom said: That limit the size of your render to the size of the viewport. If you need highres images, but in the same aspect ratio of the viewport use the "Get view aspect" button and then lock the aspect ratio. Then you can increase the output size and still be relative to SU. So if you save out a 3000px wide image in SU and then render out a 3000px wide image in VfSU they match, no problem. as it indeed, I was wondering if there is a vertical correction for the camera as in 3d max vertical correction at a vray camera or Guess vert, I've tried 2 point perspective but it changes the camera position and if I move it back the perspective changes . so my question is: is it posible to correct verticals (easy way) without moving my view?
    • D

      My spherical render

      Watching Ignoring Scheduled Pinned Locked Moved Gallery
      4
      0 Votes
      4 Posts
      520 Views
      Bryan KB
      Heads up to others: be sure to click on the arrows that take you to other places. Nice bonus!
    • D

      Get the coordinates of the corners of the "blue box"

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      7
      0 Votes
      7 Posts
      337 Views
      thomthomT
      Get's the ComponentDefinition of the ComponentInstance or Group definition = self.get_definition(entity) Get's the bounds of the definition - note that if you get the bounds of the instance it will be a Boundingbox aligned to the model axis - not the instance axis. Which is why you need to get the definition bounds. bb = definition.bounds Now transform the points of the definition boundingbox with the transformation of the instance. pts = self.bound_points(bb).map { |pt| pt.transform( entity.transformation ) In other words, get the boundingbox of the definition and apply the instance transformation to the coordinates of that boundingbox.
    • D

      [Code] Print the transformation matrix

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      14
      0 Votes
      14 Posts
      2k Views
      D
      thank you very much Thomas and Tig that prompt reply! I will try to implement your suggestions right now
    • D

      Edit materials from code

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      11
      0 Votes
      11 Posts
      205 Views
      D
      this is what I have achieved so far entidad = %(#FF8000)[Sketchup]%(#0040BF)[.active_model.selection][0] curretmaterial = entidad%(#0040BF)[.material] nameM = curretmaterial%(#0040BF)[.name] curretmaterial%(#0040BF)[.color]=[102, 0, 51] curretmaterial%(#0040BF)[.name]=%(#BF8080)["nuevo tono"] I shall be able then apply the recommendations (sorry for bad English)
    • D

      Plugin for Gaussian bells

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      5
      0 Votes
      5 Posts
      221 Views
      D
      thank you very much for the help, great links
    • 1 / 1