🛣️ Road Profile Builder | Generate roads, curbs and pavements easily Download
  • [Example] box.rb version 2.0.0

    9
    0 Votes
    9 Posts
    3k Views
    Dan RathbunD
    @edson said: would you care to explain what is the difference between your version and the one that packs with sketchup? I did in the first post of this thread. I wrapped the original code like thus: module Examples module SU module Box # the original create_box method end # Box end # SU end # Examples In addtion I made the create_box() method a module function (see Ruby Pick-Axe book: module_function) I also made a small correction, by moving the last line up inside the preceeding if block. I marked all lines that were added or moved. Wrapping the code, in it's own namespace prevents it from being corrupted by scripts that load afterwards, that have methods (or other objects,) with the same name. What was happening was, that after box.rb loaded, then later make_pano_pm.rb would load, and it ALSO had a method named " create_box". Since neither script (originally) was wrapped in a module they were actually defining methods within the SAME namespace (which is class Object.) Whenever Ruby reads a method definition of a method that is already defined, it deletes the old method, and replaces it with the new one. So.. make_pano_pm.rb was redefining the create_box() method that both scripts were trying to use,... BUT the latter one was not written to work with both scripts, and users trying to use box.rb would never see the box dimensions input dialog appear. If you did not have make_pano_pm.rb in your Tools folder (dir,) then box.rb would work normally, and you would not notice anything amiss. I did NOT change or improve box.rb to be a better plugin, because it's not a plugin. It's really a simple code snippet, to be used as an example and a base, from which ruby-newbie's are to play with and improve themselves, thereby learning by doing.
  • How Big is Your SketchUp Folder?

    5
    0 Votes
    5 Posts
    349 Views
    KrisidiousK
    Wow... Solo. my project folder is only 14 gigs... I have about 200 house projects in it with each having like 6 models of the project at various phases or versions.
  • Split an object into sections

    2
    0 Votes
    2 Posts
    264 Views
    TIGT
    An example of what you want to split & bend would help us greatly to advise you, as I for one don't fully grasp what you really need...
  • Subdivide and smooth

    12
    0 Votes
    12 Posts
    18k Views
    G
    Hi misterdemo, Is this what you are looking for? This is done by clicking the Tgi3D SU AMorph's "upsample" command a few times depending on the level of detail you want. [image: kqZn_upsample.jpg] Free Training version of Tgi3D SU Amorph will probably not be enough for this unless you want to work in smaller portions each time, but you can download the 30-Day Trial version of Tgi3D SU PHOTOSCAN (another plugin) to try the "upsample" command without vertex limitation. Tgi3D SU PhotoScan includes ALL the capabilities in Tgi3D SU Amorph (and additional features for creating accurate 3D models from photographs.)
  • [request] Cline from Camera Eye to Sun

    7
    0 Votes
    7 Posts
    624 Views
    dereiD
    Thank you TIG, this is exactly what I wanted.
  • Weld won't weld

    13
    0 Votes
    13 Posts
    2k Views
    mitcorbM
    Glad to be of assistance. Also, some short sections(arcs of two or 3 segments) of the curve path seem to have chords forming faceless slivers, the distances are so tiny. Again, this can be seen when you zoom in to clipping.
  • Camera Paths to Thea-

    11
    0 Votes
    11 Posts
    940 Views
    Bob JamesB
    Waiting
  • My Plugins Folder

    10
    0 Votes
    10 Posts
    636 Views
    bagateloB
    How Could I know your needs? Each person must Be conscious of Their reality. I drop and delete plugins in the plugins folder almost every day. It would be interesting some plugin that we could set up a lot of folders and each folder we put numerous plugins. Thus, as our need to work that day, we could choose a specific folder with set of plugins. [image: 6roP_whatineed.jpg]
  • Sketchup and GoSimulate

    3
    0 Votes
    3 Posts
    2k Views
    A
    Cool video.
  • Is there a plugin that can show 'vanishing points'?

    10
    0 Votes
    10 Posts
    3k Views
    Dave RD
    Could you draw a line through those vanishing points to show the horizon?
  • [Plugin] Snap to Unit

    4
    0 Votes
    4 Posts
    10k Views
    dereiD
    @alz said: It takes whatever object(s) you have selected and moves them to the nearest "grid" setting. . So, if I have snapping set at 1cm and I have an object situated at 10,5cm from origin, it will be snapped to 100? (I assume that my "grid" cell is 1cm, right?)
  • Windowizer

    7
    0 Votes
    7 Posts
    1k Views
    EdsonE
    @pitrak said: That's the default behaviour of the free Windowizer indeed. 4 looks amazing, I especially like that you can input proportions for the different panes. Albeit unfortunately only in the horizontal division if I understand correctly. It does cost 10 bucks though. I think I'll order it, seems well worth the cost. you can also input proportions for the vertical divisions.
  • Plugin-rb-ANGLE DIM

    4
    0 Votes
    4 Posts
    695 Views
    W
    Did not think the big differance was right to pay or not pay. Thanks anyway, TIG and Dave R. As for the dishes: you're at ease.
  • [Plugin] QuadsFrom2Tris v1.3 20110312

    13
    0 Votes
    13 Posts
    11k Views
    Rich O BrienR
    Works fine, trying my hardest to break it..
  • Hole Punching Issues with Door Component

    4
    0 Votes
    4 Posts
    395 Views
    TIGT
    @cobb89 said: @tig said: .. You must have the outer face of the wall and the same z-orientation of the cutting component, if one is reversed unexpected results will occur... how can I match the z-orientation of both the wall and the component?? Make sure you have a wall facing out and that your cutting component's Z [blue] axis is the same as the face's normal... That is make sure the cutting-component and wall's face 'face' the same way ?
  • Fill Volume With Components?

    3
    0 Votes
    3 Posts
    458 Views
    HieruH
    Thanks for the advice Pilou. To be honest I'm a bit intimidated by Sketchyphysics, so I'll try and figure something out with CompoSpray. Would I be right in thinking that CompoSpray doesn't work within a volume, but I could achieve what I want by stacking planes with components sprayed onto them (deleting the planes afterwards)? Or did you have some other technique in mind?
  • Export shadows as vector object

    3
    0 Votes
    3 Posts
    5k Views
    srxS
    http://www.1001shadows.com/en/index.html
  • [Request] or is it Possible?

    2
    0 Votes
    2 Posts
    354 Views
    Chris FullmerC
    Yeah, that kind of thing is totally do-able. Camera recorder already has a feature to turn each of its frames into a scene. It could be added fairly easily to camera recorder. But then it would not work with regular scenes I suppose. Adding it to regular scenes would also not be that hard. The user just has to specify ahead of time what FPS to use, then the plugin would get ther camera position for each frame, slightly adjust the camera position, and then make a scene there. I think the hardest part by far would be getting the camera shake to be believable. I'm afraid it is more than just randomized points. I think it is more of a randomized wave, and then determining where the camer should be on the wave at that point in time. Camera shake is not just randomly bounced from point to point per frame, it is bouncing up/down/around over multiple frames in the same direction, until you hit the upper/lower most point of the bounce, then find a new direction to bounce in. Which in my mind appears to be more like a wave. I'm sure Remus could crank that out if he ever came back. Anyone other math guys out there want to tackle this? Once we start talking waves I get nervous Chris
  • Which WIN32API.so ?

    17
    0 Votes
    17 Posts
    3k Views
    Al HartA
    @djohnson.nz said: Brilliant piece of detective work Mr Hart. The last winapi.so file you made available works perfectly. Thank you for all the time you have put into this issue. Cheers, David. Thanks David. We will start using that one for our Plugins. Al
  • What is this icon?

    11
    0 Votes
    11 Posts
    1k Views
    thomthomT
    @mitcorb said: Thanks, thomthom: When you say "has focus" you mean the active window, right? Yes.

Advertisement