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

    Topics

    • G

      The Material Function in Dynamic Components

      Watching Ignoring Scheduled Pinned Locked Moved Dynamic Components sketchup
      3
      0 Votes
      3 Posts
      3k Views
      TIGT
      Your issue is this... The rectangular face inside the DC has no materials at all == <default>. Use Entity Info on the internal face [edit the DC] to see that. When you change the DC's "Material" it applies to the DC instance itself. So when you get Entity Info on the DC itself it's say "Red". But the internal face with no material <default> which are inside a component [or group] 'display' the material of that container - the face's material does NOT change from <default>. So although a face might 'look' "Red", it actually has no material at all <default>. Your DC code looks for all faces colored "Red" inside the DC component, BUT there are NONE, because the actual face has the <default> material - so you correctly get Area=0. You can fix the DC code to report the face's area by using Area as =FACEAREA()/2 Note /2 *** to consider just the one side ! Now that DC always reports the Area of the internal face***. In your current DC the Area is returned, and you have its Material of say "Red" etc. BUT if you have a "Red" material actually painted on to the face itself [one side], then the code =FACEAREA(Material) will work IF the chosen Material is "Red" - giving Area=12345... - otherwise it's Area=0 - as if another color is chosen there are no "Blue" or "Green" faces, so then the DC's chosen Material returns Area=0 again... In DC code you cannot assign a material to a face, only to a 'container' - component-instance or group. You can change the way a face 'appears', because any faces using the <default> material displays using the container's material, but its material is still <default>. ...
    • G

      How to update a model in 3D Warehouse

      Watching Ignoring Scheduled Pinned Locked Moved SketchUp Discussions sketchup
      2
      0 Votes
      2 Posts
      202 Views
      J
      I made a script for t his years ago.. model-id.rb Each model on the 3DWarehouse has a unique ID. Visit the model in the 3D Warehouse, copy the ID and paste it in the Model ID plugin dialog. Then when you upload the model, it will replace the one on the 3D Warehouse. [image: mF3B_2014-06_66.png] [image: jSW1_2014-06_67.png]
    • G

      See lenght instead of factor when scaling.

      Watching Ignoring Scheduled Pinned Locked Moved Dynamic Components sketchup
      6
      0 Votes
      6 Posts
      2k Views
      bazB
      As Philip says. Once you attach a dimension to the object it will change dynamically as you scale, which I think is what you are asking for?
    • G

      Change Units in dynamic components

      Watching Ignoring Scheduled Pinned Locked Moved Dynamic Components sketchup
      1
      0 Votes
      1 Posts
      439 Views
      No one has replied
    • G

      How to make a dynamic component with the ScaleTool that snap

      Watching Ignoring Scheduled Pinned Locked Moved Dynamic Components sketchup
      7
      0 Votes
      7 Posts
      2k Views
      G
      I'll pay it forward when my I have some more knowledge about SU.
    • 1 / 1