sketchucation logo sketchucation
    • Login
    1. Home
    2. stony999
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    🛣️ Road Profile Builder | Generate roads, curbs and pavements easily Download
    S
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 3
    • Groups 1

    stony999

    @stony999

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

    stony999 Unfollow Follow
    registered-users

    Latest posts made by stony999

    • RE: Newbie: Drawing state diagrams with Ruby - would this work?

      As posted, I saw the benefit in using sketchup in using the programming language Ruby, which I know best of all languages.
      I understand now that a lot more has to be done in oder to achieve my goals. So maybe some kind of programmable Visio-like stuff would be better.

      I think I will give OOO Draw and OOO-Basic a try and see how far I will get with that.

      Thanks to all for your support.

      posted in Developers' Forum
      S
      stony999
    • RE: Newbie: Drawing state diagrams with Ruby - would this work?

      Thanks for your support. I have guessed 1 month for it.
      I have googled around a bit and have read through some script examples, so I understand a bit more now.
      Some questions I have so far for the connection between boxes:

      • is there a way to bind a group (line+text) to a box, so when a box is moved, the line is stretched and the text is moved?
      • How do I then find the line connection between the boxes? Do I have to investigate on coordinates or is there some kind of relation between box and the line+text group?
      • If I have a group of lines (polygon) + text, how do I then get there?

      Best regards
      Peter

      posted in Developers' Forum
      S
      stony999
    • Newbie: Drawing state diagrams with Ruby - would this work?

      Hello,

      I am trying to find a tool for creating state diagrams which shall then be executed externally. And so I would like to know whether my following approach would generally be feasible (I am an experienced Ruby programmer):

      • State diagrams consists of boxes and transitions (lines between boxes)
      • Boxes and Transtions(lines) should be selectable through the menu for drawing
      • Boxes have a fixed size from the beginning (may be changed later)
      • Transitions shall be drawn like simple line and shall be connected to 2 boxes
      • By right klicking on a box or transition I receive my own attributes form, where I can add some 5 to 10 attributes
      • I would like to show 2 attributes of the box and 2 attributes of the transition in the drawing. When moving or changing size, attributes should be moved dynamically
      • After saving the drawing, I would like to analize the drawing:
      • Get attributes of each box
      • Get attributes of each transition
      • see which boxes are connected by which transitions

      My general question is: Is that generally achievable with the current Sketchup version 8? As already mentionned, I am an experienced Ruby programmer. But I have no experience with the combination of Sketchup and Ruby yet, so I do not know about the limits and pitfalls.

      Any Help or suggestion is appreciated.

      Best regards
      Peter

      By the way: Can I disable existing menu items, which I do not need, by Ruby?

      posted in Developers' Forum
      S
      stony999