đź«› Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download
  • Layout 2 scriptable with Ruby?

    4
    0 Votes
    4 Posts
    308 Views
    H
    @unknownuser said: Can you give some examples of what you script so we can get some ideas of what to add to a scripting interface? I am not familar with Layout and it capabilitys since I am evaluating the specs for a possible future use. When I undertstand it right Layout is a separte EXE/Modul and not running in the same process then SketchUp. In Autocad the modellviews in modellspace are similar to the modellviews in paperspace. Both can be reached from autolisp and automated/scripted. So what I would expect from scripting layout: Inserting forms/templates and filling their data-fields. Drawing primitives (lines,arrows,text and whatever layout supports) in Paperspace Placing views and set them up with view-points, camera-settings, rendermodes etc. Iterating (reading propertys) through all elements in paperspace. Interfacing with the SketchUp main-modul. (Starting a layout/print process in Sketchup/Ruby, doing the job (passing a ruby call to layout) in layout/Ruby and return back to the calling point in SketchUp) Control (filenames/printers) the output (Printing/Exporting) with Ruby in Layout. So be able to give a customer a cadalog with Sketchup Components and ready made forms/templates and custom ruby code/toolbars to allow him easy product customising. (I hope I make it clear so far, since I am not native english) Greetings from germany Regards Hans-Peter
  • REAL circles with DXF export?

    21
    0 Votes
    21 Posts
    1k Views
    jeff hammondJ
    yeah TIG, i think i'm being unclear with my intent here.. i'm not too concerned with being 100% precise in order to build accurately (for instance, our tapes are in 1/16" increments so i round to the nearest 16th for the cut lists).. my concern is the method i previously had to go through in order to draw my arcs.. shown in the first half of this video -- [flash=500,400:ajuoc4zj]http://www.youtube.com/v/sCpbagJfGGQ&hl=en&fs=1[/flash:ajuoc4zj] it can be a pain to get the point which i achieved at 0:25 in the video.. especially when using a laptop with no mouse as i often do on the jobsite.. you'll see though that i divide my arcs up into 8" segments and there's no way i'm thinking about using a 1000 segment arc for push/pull etc.. i just want to find the point where an 8' radius is 5' tall -- i'm not too concerned with having true circles in SU.. it's just that if they were true, i'd be able to find that point very easily.. by hyper-dividing them into thousands of segments, i can temporarily mimic a true circle and get my construction point.. (and yes, 2000 may be overkill -- that was just an experiment that happened to work out and i didn't try to find the minimum amount i should be dividing them at.. you're saying 689 segments works as well so i'll try something closer to that)
  • Remove Component Definitions?

    5
    0 Votes
    5 Posts
    3k Views
    thomthomT
    I wonder why clearing the definitions entities and placing the component from the browser works, but not when placing from ruby...
  • Roads from Centrelines

    7
    0 Votes
    7 Posts
    477 Views
    Chris FullmerC
    I don't think its too complex to be done. Especially if you just want it in 2d. I don't think anything like that exists already though. Chris
  • True/false toggle?

    3
    0 Votes
    3 Posts
    224 Views
    Chris FullmerC
    Aha! That does precisely what I was hoping for! Thanks Fredo, Chris
  • Groups not aligned and views

    3
    0 Votes
    3 Posts
    255 Views
    MALAISEM
    Thanks Dave, I'll follow your advice. MALAISE
  • A big "Thank you!" to all Ruby-developers

    5
    0 Votes
    5 Posts
    297 Views
    boofredlayB
    Count me in on the Ruby Love Fest. Thanks all.
  • Game within sketchup

    12
    0 Votes
    12 Posts
    916 Views
    IdahoJI
    I would think a game similar to Mousetrap or Crazy Machines (1 or 2) would be doable... Lots of fun with SketchyPhysics and one could use Ruby's OO model to advantage in coding the game logic.
  • How do i install soapskin and bubble?

    3
    0 Votes
    3 Posts
    7k Views
    BurkhardB
    since I know soap skin, it was always under Tools.
  • Which Ruby version is embedded in SketchUp 7 ?

    9
    0 Votes
    9 Posts
    332 Views
    J
    Now that I think about it, but I doubt you can get SU to link to Ruby 1.9. It's probably hard wired for 1.8.
  • D = c.uniq - wrong syntax or a bug?

    7
    0 Votes
    7 Posts
    313 Views
    Chris FullmerC
    @jim said: Hehe, I used the variable 'd' for the dialog and then it got redefined in the webdialog. It's fixed: http://sketchuptips.blogspot.com/2007/08/plugin-webconsolerb.html Ahh, I hadn't considered a glitch in the webconsole - it was worked so incredibly well this whole time. Thanks for looking at it and getting a fix out there so fast! @Thom, yeah I thought the execute script was an odd error, so I thought maybe Google had messed up the .uniq method or something on their end. Glad its all up and working now, thanks Jim! Chris
  • Extensions Index Update

    8
    0 Votes
    8 Posts
    297 Views
    J
    Has anyone tried editing their contact info yet?
  • Anchor the leader for text entity

    4
    0 Votes
    4 Posts
    263 Views
    D
    Thank you for your quick reply. And yeah I noticed your suggestion in one of the above links too. The observer solution seems a little kludgey to me, especially when you can create the needed leader manually with the Text tool. So I'm still pretty new to SketchUp development, how that observers solution would work when say I would like to move my *.skp file to the other PC? I would obviously have to move it with the script which sets up observers?
  • Loading script without restarting?

    7
    0 Votes
    7 Posts
    326 Views
    Wo3DanW
    Jim, I see you are the creater of this webconsole script. Thank you for this great tool. What you just wrote in previous post, is this about creating route different from the webconsole in SU, to let you write outside SU and then run these snippets inside SU? I'll have a better look and see if I can get it to work if I understand. The webconsole is a huge improvement for a poor soul like me. (I must have missed it since it is from 2006) Thanks again, Wo3Dan
  • Webdialog problem

    12
    0 Votes
    12 Posts
    925 Views
    chrisglasierC
    As you know I am keen to promote the use of webdialogs. One significant reason is that html files can contain links to the world. Afterall we are told by such gurus as Kevin Kelly and Tim Berners-Lee that data linking is the future of the World Wide Web. @pout said: on the first point: the set of html is indeed not so small and it is regenerated a lot of times So I want to post this: Mechanisms should not be designed to suit the size of the current task. They should be made for types of tasks to be reusable with different variables and conditions. Then you and any collaborators will appreciate their existence in the future. Using html markup in quotes in either ruby or javascript files is contrary to this approach. Using tables for layout should be avoided. If you like I am willing to help you do it this way but you will need to show more of what you have achieved so far. Chris
  • Help! Film and Stage PLUGIN

    2
    0 Votes
    2 Posts
    298 Views
    Chris FullmerC
    I'm 90% sure that I've gotten it to work just fine with SU7. Just make sure you're putting it in the right plugins folder. It should show up at the bottom of the Camera menu if I recall correctly, Chris
  • Simple Script- any help would be appreciated

    3
    0 Votes
    3 Posts
    317 Views
    Z
    Thanks for the quick response and tips. small steps for now... I try what you said
  • Setting the Date and Time for a Shadows study

    5
    0 Votes
    5 Posts
    647 Views
    K
    Chris, Mat, Jim Many thanks - each of your responses added that extra bit to my knowledge. I think I have all I need for the next step of my journey. I am trying to build a virtual sundial correct for any Latitude and Longitude - which may seem a bit of a strange task. But Stetchup has rather a good model of the Earth's movement around the Sun. It correctly distinguishes between solar time - as seen on a sundial - from civil time - as read from your watch. So, with its ability to cast shadows correctly, a sundial simulator should not be too difficult. I'll keep you posted !
  • Internet Explorer 8 & SketchUp

    4
    0 Votes
    4 Posts
    415 Views
    scottliningerS
    The only problem we've seen so far (that I'm aware of), is that a couple of folks have required a restart if they install IE8 while SketchUp is open. So first suggestion is to install IE8 with all apps closed. But if you do see a webDialog problem, a system restart should fix it. Cheers,
  • Transition between scenes in splines and not straight lines

    3
    0 Votes
    3 Posts
    519 Views
    K
    Hi Ecuadorian. I have suggested or requested a similar feauture several times here on the forum but no luck so far.... The interest in smooth animation in a render engine combo seems to be very small.

Advertisement