Continuing the discussion from Basic Cube Grid Wireframe Script (Cubic Array):
Recently there was a request by @CogentDesign, and as you see above he was happy about my code. But I don’t!
I had some more time and realised creating groups can cause slowdown and/or non responsive SU for a long time, for more then certain amount of cages. So I decided to create as a component instances (groups still an option…).
But if I fix it, I decided that I’ll make it a little more “fancy” … however still not checks all possible wrong inputs and so on, but here we are:
dezmo_support_birdcage.rbz (29.4 KB)
You can install it using Extension Manager. (It’s not signed, so take that into account with your EM settings.)
You will get:
- No warranties! (Use it at your own risk!)
- Menu Under Extension: “Wireframe BirdCages” (You can assign shortcut.)
- Two toolbar. The first one with the ugly icon is the main one.
(The second one - nice beer - you can ignore, use, close…whatever, there is no obligation, no promise, just a possibility! There will be no negative or positive consequences at all. ) - You can enter the lengths as a current unit (integer, float number) or use regular SketchUp format, 1549mm or 5’1" for example. It will be displayed always according the settings in Model info/Units.
- The last entered values will be remembered during the current session. (If you restart SU, the defaults loaded.)
- You can undo the operation with one click (or Ctrl+z).
- The created cage component definition name will be “Cage-” + x-y-z sizes (if you chose to create groups - witch is not recommended - the name also numbered at the end)
- The instance names will contains its “location” in a matrix and number by the order of creation.
- The Braces components definition name will be “X” or “Y” + “Braces” + the number of diagonals + the length of one diagonal.
- The length unit format in the names also based on the the settings in Model info/Units.
- You will get a summary info at the end. (Also printed out to Ruby Console)
- Tags applied as requested in the above mentioned topic. (Best use with color by tag, and edge color by material in the Style settings)
- Should work on older version of SU up to current and upcoming, also on Mac, however I did not tested.
3 posts - 2 participants