sketchucation logo sketchucation
    • Login
    1. Home
    2. MartinRinehart
    3. Topics
    🛣️ Road Profile Builder | Generate roads, curbs and pavements easily Download
    M
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 131
    • Posts 766
    • Groups 1

    Topics

    • M

      SendAction Reduced

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

      Upgrade NotePad++?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      16
      0 Votes
      16 Posts
      2k Views
      Chris FullmerC
      I guess I would recommend using it without the do, since ruby syntaxd seems to think its redundant (which I do find odd as it does not fit their other loop syntaxes). Or if it helps, I learned the array.each do |e| ... endmethod first and I was able to understand it fairly quickly. And I hve zero programming experience outside of Ruby for Sketchup. Another bonus to teaching that method is that all the API uses it, as apposed to the for in end loop. So it might help readers transition into the API smoother. But that is just a thought, Chris
    • M

      Materials Bugs?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      16
      0 Votes
      16 Posts
      747 Views
      C
      ThomThom, you rock! That took care of the issue on this model. Thank you so much and have a Happy Thanksgiving! C
    • M

      Hide/show a WebDialog

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      7
      0 Votes
      7 Posts
      376 Views
      thomthomT
      On OSX - the window is actually just hidden. The embedded WebBrowser object is created as you add the HTML to the WebDialog object - as oppose on PX, where it's rebuilt on evvery .show....
    • M

      Stairs Ruby?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      9
      0 Votes
      9 Posts
      830 Views
      artmusicstudioA
      @martinrinehart said: Google didn't help me find the killer stairs Ruby I was looking for. Is there one? what about this? coming soon..... http://www.youtube.com/watch?v=PMWwlmsmNAs regards stan
    • M

      [Plugin] HTML popper/writer

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      5
      0 Votes
      5 Posts
      8k Views
      O
      hello can you please make a step by step guide on how to make this work properly because it only work once after i installed it and shows a blank html after i restart skp... i make c:sketchup directory and just installed both and cant understand the following intructions cuz im not used to it
    • M

      [Plugin] VisMap 2 - Improved Layer/Scene Visibility Map

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      41
      0 Votes
      41 Posts
      29k Views
      M
      @jsteacy said: Everyone, here is the fixed vismap2, hopefully it ends up on the plugin store someday. It runs in 2020 so I assume it's backwards compatible. Martin Reinhart is the original programmer but moved on, he gave me permission to find someone to fix it and repost. Turns out my brother-in-law was able to do just that but he doesn't want to be named/credited. All usage/modification should follow Martin's original licensing which I guess is just freeware. I'm not a coder, so all I can tell you is how to use it and that the errors went away when I started using the attached script. Definitely a great one. Would highly recommend. Got it can confirm its working on SU19 I did have to got in and manually remove old versions first. Thanks Gents. Appreciate it.
    • M

      [Plugin] VisMap Pro Set Free

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      4
      0 Votes
      4 Posts
      5k Views
      H
      Martin, I've found your VisMap Tool really useful. ......... However, I've hit a possible bug when running it on one particular (massive) model. This model contains 174 Layers, 46 Scenes (Large No of Layers Mainly Due to XRef'd Components). ........... Error messages attached. I'm using the latest VisMapPro version, but I also get the same error message with the previous version of VisMap ......... I'm running this script after opening the file - no scenes / layers have been edited so its nothing to do with scenes not being updated. Initially I thought it might be a conflict with Xref'd Components (TIGs wonderful script). But I've eliminated that as I can get VisMap to run with other skp files that have Xref'd components. .......... Unfortunately, it won't be possible for me to send u a copy of the troublesome skp file, but if you get the chance to have a look at attached error msg files, or if you've come across this with other skp files I'd be interested. Anything you can do, much appreciated. .......... Thanks once again for producing your fantastic script. Regards Howard Leslie [image: nnkr_Err_Msg.jpg] [image: 6Vw6_Debug_Msg.jpg]
    • M

      Dialog - Simple WebDialog Communication Underware

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      17
      0 Votes
      17 Posts
      4k Views
      Dan RathbunD
      Got another 'jewel' for the WebDialog list of treasure's: If you want to have the nice XP styled 'themed' controls (buttons, scrollbars, tabs, etc.), instead of the old ugly Win 3.x style, there's a META tag to put in the HEAD section. This 'formally' is known as MS Common Controls ver 6 (where the old ver was 5.) These controls are housed in comctl32.dll, which shipped with XP. (Look at properties to see product ver, not file version.) here's the tag: <!-- This tells the HTML frame to use MS Common Controls ver 6+ if available --> <!-- (also known as XP style themed controls.) .HTA files always NEED this. --> <META HTTP-EQUIV="MSThemeCompatible" CONTENT="Yes"> For more info, see Using Visual Styles with HTML Content on page: http://msdn.microsoft.com/en-us/library/ms997646.aspx#xptheming_topic11 ..and BTW if ya' wonderin' why SU doesn't use ver 6 controls in their dialogs, it's because they didn't turn them 'on' (as a dependant assembly,) in the Sketchup.exe manifest. A holdover from preXP days I imagine. I'm running SU with them ON, but there are some display issues with the brown buttons on the left of the status bar (no images,) as well as few other things. [See post in Google groups, Technical Issues if interested. Have forwarded a 'bug' report to Google as well. Perhaps the next version, they'll have all the controls updated seeing as how they only support XP and higher.] .
    • M

      Modeling Roofs

      Watching Ignoring Scheduled Pinned Locked Moved SketchUp Discussions sketchup
      13
      0 Votes
      13 Posts
      711 Views
      M
      @unknownuser said: i might be misunderstanding so... Nice tutorial! You understood. Actually, I'm working on my tutorial's Ruby section and I want to suggest that this is a good example of a deceptively simple drawing that is really helped by having a Ruby. Using this is easier: [image: PdVW_roofster.gif]
    • M

      [Plugin] VisMap Pro Beta Available, Free

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      14
      0 Votes
      14 Posts
      10k Views
      JClementsJ
      Yup. I used the name VisPro with a detailed description so the user would know its origin. I guess you could delete the Proxy Scene at the tail end of the script. Not sure creating and deleting would slow things down tho.
    • M

      Frameset for WebDialog

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      5
      0 Votes
      5 Posts
      215 Views
      M
      @chris fullmer said: yes. Headline, today's NY Post: Previous Post Pockets Prestigious Polonius Prize! brevity == wit.soul
    • M

      Growing/Shrinking Text and Checkboxes in MSIE WebDialogs

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      2
      0 Votes
      2 Posts
      136 Views
      thomthomT
      IE doesn't play nice with pixel values. It refuses to scale the text then. It only scales relative units. The default font size of pretty much all browsers are 16px. So it's common to set the font-size of html to 62.5% - so that the base font size is 10px. Then you can use em values easier: 1.2em becomes 12px.
    • M

      Synchronizing Multiple WebDialogs

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      20
      0 Votes
      20 Posts
      2k Views
      chrisglasierC
      @martinrinehart said: If you find a tool that actually lets you step through the states of the browser, it would be invaluable. ... for whom? "This is commercial, for-profit work. At some point there will be a send-me-money feature added. At this point (mid-summer, 2009) that feature does not exist. The whole price right now is feedback. Tell me what works and what's unclear. Major mistakes and minor typos." [source] Free content/editing from feedback seems as bad as free designs from competitions (much despised around here - example).
    • M

      Ruby to WebDialog Communication

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      13
      0 Votes
      13 Posts
      557 Views
      chrisglasierC
      @unknownuser said: The Mac requires a complete <body> section before it will do anything. If your actual body depends on getting data from Ruby, this is a problem. The trick is to have bogus HTML that displays a "Start" button. Call the Ruby when the button is pressed. (And wait for it to call back, as above.){tutorial} This may well be true but the reason I used a start button solution was that cgScenes immediately examines the model for the current scene and list of all, and as I understand there is no **Sketchup.active_model when the Ruby scripts are first loaded. BTW I would question whether the notice " 2009, Martin Rinehart" in "SketchUp Ruby Interface to JavaScript" is appropriate given the contributions of SCF members. ** edited 1400 gmt for clarity
    • M

      Module Wrapper for Your Ruby

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      7
      0 Votes
      7 Posts
      761 Views
      Dan RathbunD
      @martinrinehart said: Your class names are not protected, even though your classes are defined in the module. Absolutely and totally WRONG ! A module namespace protects evrything inside it. It can have it's OWN constant of the same name as another constant in a higher namespace. The same for variables and method names. YOUR module can have a class Matrix, and MINE can have a class Matrix, and they are different. @martinrinehart said: By the way, your "xxx.rb" file provides a namespace wrapper for its variables. Next time you see Matz, ask him why its just for variables. Clarification: Only local_variables NOT instance_variables (@var), class_varaibles (@@avr) or Constants ( MSG, Value etc.) Running unwrapped code corrupts the ObjectSpace, with: Constants will be left behind in Object and become globally available. @vars will be left behind in Object and even when set nil, GC does not clean them up. @@vars will be left behind in Object and even when set nil, GC does not clean them up, AND worse... every class inherits them.
    • M

      Global Object Stupidity, Ruby Question

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      12
      0 Votes
      12 Posts
      630 Views
      N
      I think this can help to understand modules. Since a few hours ago, I did not had any idea about what modules are. This gave me a clue. I hope others will find it enlighting too. http://www.rubyfleebie.com/an-introduction-to-modules-part-1/
    • M

      Personal Request

      Watching Ignoring Scheduled Pinned Locked Moved SketchUp Discussions sketchup
      1
      0 Votes
      1 Posts
      191 Views
      No one has replied
    • M

      Note to Google: Better Browser == Better WebDialogs

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      22
      0 Votes
      22 Posts
      1k Views
      thomthomT
      I think the most important criteria: which ones will let the .execute_script be synchronous?
    • M

      Crazy Hard Modeling Challenges!

      Watching Ignoring Scheduled Pinned Locked Moved SketchUp Discussions sketchup
      11
      0 Votes
      11 Posts
      1k Views
      thomthomT
      Yea - File size isn't a good scale for a "light" component. Textures alone can make a simple model be very heavy in file size - since they store the original size - not the 1024x1024 that SU actually use. Max 100Kb & 1000 faces? (Maybe a couple of thousands more?) What's it's going to be used for?
    • 1 / 1