• Login
sketchucation logo sketchucation
  • Login
🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

Where can I find the scale of a component?

Scheduled Pinned Locked Moved Newbie Forum
sketchup
4 Posts 3 Posters 411 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    Cheem
    last edited by 9 Jan 2014, 21:08

    I have been modelling some construction projects I'm working on, trying to develop materials lists.

    At first I was creating a new component for each repeated length of a common material.
    For example, 2x4x8, 2x4x10, 2x6x10, etc.
    If I had to shorten these common sizes, I'd "Make Unique" and save as a new component.
    2x4x8#1, 2x4x8#2, etc.
    Then I would generate a report to determine how many of each size to order.

    With a little more experience, I realized I could scale the 2x4x8 component in the length direction, and it would be listed as the same component, 2x4x8, making it simpler to determine the quantity needed using "Generate Report."

    Thinking about this further, I'd like to try to make only one component for each common size, 2x4x1, 2x6x1, etc.
    Then I could scale these in the model as I put together the framing. However, I'm not sure how to export the scale factor. I can't find it anywhere.

    I envision a report that says 1 2x4x1, scale 8; meaning a 2x4x8. Possibly 1 2x4x1, scale 9, meaning a 9' 2x4. With a 9' length, I'd need to purchase 1 2x4x10, or split a 2x4x18 in half, depending on the circumstances. With some logic applied to the report, I could make it tell me that anything between scale 8 and 10 means I need to purchase a 10' 2x4, anything between scale 10 and 12 means I need to purchase a 12' 2x4, and so forth.

    I'd like to work out the logic and play around with the reporting. I'm not looking for a point in the direction of a plug-in. I'm just trying to determine how to export that scale factor. I can't even find where it might be shown on screen.

    I draw a 2x4x8' and make it a component. When I select it, entity info is component 2x4x8. If I copy that component, and then scale the copy, say to 7' long, the entity info is still component 2x4x8 with no information about whether or not it's been scaled.

    I feel like I'm really saying a lot to ask a simple question. I can't quite find the words to spit it out simply.

    Thank you for the help, and I apologize if the question has been asked and answered 100 times and I just can't find it. I did spend some time searching with no luck.

    1 Reply Last reply Reply Quote 0
    • C Offline
      Cheem
      last edited by 10 Jun 2015, 12:18

      I'm bumping this because I never did find the answer for this and ended up working around it with a fairly cumbersome, manual method. I'm curious still if anyone has any ideas, or perhaps it just isn't possible at this point.

      Thank you
      Tim

      Sent from my iPad using Tapatalk HD

      1 Reply Last reply Reply Quote 0
      • S Offline
        slbaumgartner
        last edited by 10 Jun 2015, 12:40

        I know you didn't ask for a plugin, but have a look at CutList. It will report all the instances of a Component with the same name, but it will organize them by length. E.g. all the 2x4x8 together, all the 2x4x10 together, etc.

        1 Reply Last reply Reply Quote 0
        • S Offline
          sdmitch
          last edited by 10 Jun 2015, 14:17

          @cheem said:

          I'm bumping this because I never did find the answer for this and ended up working around it with a fairly cumbersome, manual method. I'm curious still if anyone has any ideas, or perhaps it just isn't possible at this point.

          Thank you
          Tim

          . .

          the scale is found in the transformation

          xscl = component_instance.transformation.xscale
          yscl = component_instance.transformation.yscale
          zscl = component_instance.transformation.zscale
          
          

          To reset the scales to 1.0, you can use the Scale Reset plugin on by blog.


          Right click on component and choose "Component XYZ Scale". The scales will be displayed in a Messagebox.

          Nothing is worthless, it can always be used as a bad example.

          http://sdmitch.blogspot.com/

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          Buy SketchPlus
          Buy SUbD
          Buy WrapR
          Buy eBook
          Buy Modelur
          Buy Vertex Tools
          Buy SketchCuisine
          Buy FormFonts

          Advertisement