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

    Topics

    • M

      [Plugin] JointSU 1.0

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      6
      0 Votes
      6 Posts
      10k Views
      M
      Ok. For example, assuming already 2 components created and it's axis origin positioned at the center of the cilinders, this is the Workflow as they appear in the video: Drop 2 JointSU into the model Make each JointSU child of each Component Name both JointSUs Using "Zero" function, position each JointSU at the Components origin. Make Component#2 child of Component#1 (create of a product structure) Using "Set" function, establish the connection of the joints. Using "Panel" function, reverse the direction of the joint (Flip=true). Using "Set Anime" function, make this joint able to be part of the animation. Using "Anime Start", animate the whole model. Using "Anime Stop", stop model animation. Using "Panel", re-align the joint to it's original position. [flash=425,344:tbflk7u5]http://www.youtube.com/v/xe6SCnkbyjo[/flash:tbflk7u5] If interested I have the WMV video in much better quality, but it's 1.3 MB. (do not recall if there is a place to upload such files here). Regards Marcio
    • M

      [HowTo] update view to make animation

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      6
      0 Votes
      6 Posts
      327 Views
      T
      Sorry, if I'm going to debug this, I require a complete, small, failing example. I'm not going to try to reverse engineer your snippets.
    • M

      [HowTo] Make SendKeys (WIN32OLE) works "immediately" ?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      3
      0 Votes
      3 Posts
      829 Views
      M
      Just discovered I can Close components with "Sketchup.active_model.close_active" Thank you, but even with sleep(5) and bring the window to focus ... no success to trigger "Edit Component" shortcut ("Y"). p Sketchup.active_model.active_path s=WIN32OLE.new("WScript.Shell") p s.AppActivate("SketchUp") sleep(5) p s.SendKeys("y") sleep(5) p Sketchup.active_model.active_path
    • M

      [Wishlist] Edit Component

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      1
      0 Votes
      1 Posts
      512 Views
      No one has replied
    • M

      [HowTo?] Edit Components (or change "active level")

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      6
      0 Votes
      6 Posts
      2k Views
      TIGT
      model.close_active ### will jump you up one 'level' out of the current edit session. You can only go in the direction of the base model... You can repeat x(model.active_path.length) to close the edit back to the base model 'level'. Alternatively... model.active_path[model.active_path.length-2] ### to get up 1 level, or use -3 for 2 levels etc... All of these physically close any current edit sessions... If you just want to do something with the entities found at a particular 'level' then just use... parent=model.active_path[model.active_path.length-2] i.e. the container of the current edit session's instance/group parent_entities=parent.definition.entities if parent.typename=="ComponentInstance" parent_entities=parent.entities if parent.typename=="Group" etc... there's no need to close edits etc, just specify the actual entities-set to work on...
    • M

      [HowTo?] Find Instance parent's Instances

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      6
      0 Votes
      6 Posts
      445 Views
      M
      That is exactly what I was looking for ! Thank you Marcio Obs: A new documentation for SU7 Ruby APIs could be nice. It could be a kind of open Wiki so we all could help improve it, as write documentation is ... boring.
    • M

      Product/Component Structure Browser

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      3
      0 Votes
      3 Posts
      3k Views
      M
      Perfect! Thank you.
    • M

      [Plugin] JointSU (in drafting)

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      12
      0 Votes
      12 Posts
      13k Views
      M
      Finally I have version 1.0 Now it's highly dependent of the product structure (or OUTLINER), but seems to work well ... I will post it in a NEW thread. Enjoy and lets see how to improve this ... Regards Marcio
    • M

      [Plugin] Camera OrbitOnTarget v1

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      27
      0 Votes
      27 Posts
      22k Views
      jujuJ
      quick off-the-cuff alternatives you might want to look into, there may be more: Camera Tools Curic Spin Camera Animate Rotation Camera Circle Camera Spiral
    • M

      [Bug?] Pan "on border": Is this a known bug ?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      4
      0 Votes
      4 Posts
      222 Views
      R
      I think it was intended to avoid having to switch to Pan mode while drawing things.
    • M

      Mouse middle-button: Orbit vs MyTool

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      3
      0 Votes
      3 Posts
      378 Views
      M
      Yes, the onMButtonDown API when used inside any new tool "is broken". I already included a fix for that on the "WishList" stick. But now I realized the need of more than that. Something that works above the level of the tools - where onMButtonDown is. Maybe a new API like "Sketchup::onGlobalMButtonDown" that allows to associate my new Orbit tool to this trigger (and so, disassociate the default Orbit tool from that). I would like to know if there is any workaround (maybe change something on CameraOrbitTool class - where is this class?) before include this "Sketchup::onGlobalMButtonDown" on the WishList. Thank you.
    • M

      Can I issue OpenGL commands to SU ?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      2
      0 Votes
      2 Posts
      251 Views
      Al HartA
      You can issue OpenGL commands from Ruby. But I don't think they will do what you expect - such as changing the rotation of the current view. SketchUp's own view/camera interface is probably the bet way to do this.
    • 1 / 1