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

    Wainiha

    @Wainiha

    10
    Reputation
    1
    Profile views
    6
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    Wainiha Unfollow Follow
    registered-users

    Latest posts made by Wainiha

    • Apply styles by group/component instead of global

      Would be really great to apply a "sketchy" style to a portion of a model that one wishes to de-emphasize and use a different style for the primary focus of the model. For example, I want to focus only on a roof system design so would have that part in "Engineering" style and the remainder of the building below (which is irrelevant) in a sketchy, freehand style.

      P.S. Example attached; created by hiding the roof, applying "Sketchy" pencil style, take screen snapshot, then hide containers and un-hide roof, apply "Engineering" style to roof - and make a composite of the two in Photoshop:
      ![mixed styles: Engineering and "Sketchy" pencil](/uploads/imported_attachments/lATM_sketch.gif "mixed styles: Engineering and "Sketchy" pencil")

      posted in SketchUp Feature Requests sketchup
      W
      Wainiha
    • RE: JavaScript support for Dynamic Components

      @gaieus said:

      You can do a lot of malicious things with javascript.

      That's an absurd dismissal of a very good idea. The fact is that without writing or using Ruby plugins, the ability to program Sketchup Dynamic Components is extremely limited.

      posted in SketchUp Feature Requests
      W
      Wainiha
    • JavaScript support for Dynamic Components

      Would be great to add full JavaScript support for Dynamic Components, including:

      • DOM-like traversal of all parent/child components (DCs) and access to their attributes
      • JavaScript in attribute formulas (special syntax? "=JavaScript:___")
      • JavaScript function calls for more elaborate coding abilities
      posted in SketchUp Feature Requests sketchup
      W
      Wainiha
    • RE: DC Behaviors list

      @whit said:

      I may be going about this all wrong, but I'm trying to make something very specific.
      What I want is: to generate copies of a component which land in the model on the same plane as the original and equally spaced apart. I see how to do the stretch function, but I need individual copies, in AutoCad it is the array function. Can you point me in the right direction?

      I think what you want is to add 'Position' attributes X and Y and define them based on the 'Copy' variable.

      Attached is an example that creates columns and rows of a fixed size solar panel by scaling the frame that wraps around it. X and Y for each copy of the panel are defined as follows:

      X=solar_array!frameThick+(rowXLenX)
      Y=solar_array!frameThick+(rowY
      LenY)

      'rowX' and 'rowY' are custom attributes of the panel, defined as follows (note use of 'Copy'):

      rowX=FLOOR(Copy/solar_array!numY)
      rowY=Copy-(rowX*solar_array!numY)

      'numY' (and 'numX', which is not used here for positioning) are computed at the top level of the component hierarchy, along with the exact dimensions of the surrounding frame, based on the number of panels that will fit within the re-scaled frame (by dragging its edges):

      LenX=CEILING((current("LenX")-(2frameThick))/sun_power305_single_crystalline!LenX)sun_power305_single_crystalline!LenX+(2frameThick)
      LenY=CEILING((current("LenY")-(2
      frameThick))/sun_power305_single_crystalline!LenY)sun_power305_single_crystalline!LenY+(2frameThick)

      And some code to make sure the minimum size contains one panel (not zero!).

      I now frequently use DCs like this instead of move/copy; there are advantages.


      Solar array will scale in two dimensions by replicating a single panel as needed.

      posted in Dynamic Components
      W
      Wainiha
    • ANIMATE negative value creates a new Custom attribute

      Using a negative value for ANIMATE in an 'onClick' behavior creates a new Custom attribute - SU Pro 7.1 - image shows example:

      1. animate(doorAngle,0,90) works correctly.

      2. Interact clicks toggle values between "0" and "90", doors open/close as expected.

      3. Change animate value from "90" to "-90" and click to Interact; 'doorAngle' value changes to "-90" and doors open backwards as expected.

      4. Click again and ERROR! Instead of 'doorAngle' value changing from "-90" back to "0" as expected (closing the doors), a new Custom attribute is created with the name "-90", and on subsequent Interact clicks, its value toggles instead of 'doorAngle'.

      http://www.wingo.com/images/animate_error.gif

      posted in SketchUp Bug Reporting sketchup
      W
      Wainiha
    • "Share Model" doesn't work in SketchUp Pro 7, Win7

      "Share Model" doesn't work in SketchUp Pro 7.1.6860 under Windows 7 (brand new Dell laptop). A blank "3D Warehouse" window opens showing left/right arrows and "Home" icon and a clicking sound is heard every half second or so, endlessly, until I click the "Home" icon. Then the 3D Warehouse home page appears with a "Sign In" link at the top right but IT'S THE ONLY LINK ON THE PAGE THAT DOESN'T WORK!!!? Have tried this repeatedly for several days now; I paid for SketchUp Pro and expect this critical feature to work.

      posted in SketchUp Bug Reporting sketchup
      W
      Wainiha