🚨 Skimp | 25% Off until March 30 Buy Now

Subcategories

  • No decscription available

    20 Topics
    462 Posts
    HornOxxH
    @pilou said: More appetizing in chocolate! Eggs are good as well - but only very fragile when falling down in SketchyPhysics
  • Exploded circle not circle anymore... (request code or idea)

    8
    0 Votes
    8 Posts
    1k Views
    N
    I played around with Curve class methods model = Sketchup.active_model edges = Sketchup.active_model.selection first_edge = edges[0] curve = first_edge.curve puts edges.count puts first_edge puts curve and for a selected circle the output was: 24 #Sketchup::Edge:0x3fc8cc0 #Sketchup::ArcCurve:0x40f86e0 but for an exploded circle i got 24 #Sketchup::Edge:0x3dbd9a8 nil The only conclusion is that add_circle method add some extra information (like center point and radius) to the circle object. And that makes the difference. One way could be to redraw selected segments with circle or arc. I'll think about this. First select wanted segments then compute the point wehere vectors perpendicular on edges intersect. Now distance from that point to a segment's vertex is the radius. First vertex on edges[0] and last vertex on edges[-1] can help to find the starting and ending angle. In the end, edges.count represents the number of segments for add_arc. Now selected segments can be replaced with an ArcCurve object. One thing remains: to check if selected edges were part of a face. If not, just redraw the arc. But if the face exists, i think an array must be created with all vertexes to redraw the face. Ok, things can become messy if selection contains other strange entities... but it can be refined. grrr... I think those guys from Google could make a lot of things more transparent here... and not just here
  • [Obsolete] FredoScale 1.0e (Free Scaling, Taper Scaling)

    140
    0 Votes
    140 Posts
    42k Views
    fredo6F
    It seems that SU tries to optimize the size of file, and it uses the same entities for Groups, until they are edited. When you copy a group, you can check that in the Entity window, it does tell you that there are several instances. BUT, you don't have the "Make Unique" feature. The workaround I found to make a group unique is simply to open it and close it. From the Ruby standpoint, there seems to be no way to detect that a group exists in multiple instances. In SU6, I use make_uniquemethod on Groups in a rather blind way. In SU7, you get a warning message telling you this method is deprecated, so I thought SU7 would automatically make a group unique as soon as you apply some transformation to its entities. It does not seem to be the case. Anyway, the bug is easy to fix. It will go to the next version. But I can't remove this bloody Warning messge from the Ruby console! If anyone knows how to check a Group is in one or several copies in the model, thanks to advise Fredo
  • Dumbest ruby question ever?

    3
    0 Votes
    3 Posts
    374 Views
    A
    Well that's not a dumb question! I was expecting something like: "Did that guy that made Ruby own Ruby Tuesdays?" (can anyone think of something grander?)
  • Follow me & scale

    7
    0 Votes
    7 Posts
    592 Views
    I
    Hi Guys, thank you all a lot for the feedback tapermaker is even better than what I had in mind & Personally I think this could be added even in the must have plugin.
  • Convert sketchup files to ruby

    20
    0 Votes
    20 Posts
    3k Views
    thomthomT
    @tig said: To take it to its logical conclusion you extract all of the skp data into a data file... That is in effect the skp file so why have you bothered ? That's what I've been thinking as well. I think we need some clarification on the actual purpose of the original question. I could be that the question itself isn't correct.
  • I need SU:Plugin Zerkalo for SU7

    5
    0 Votes
    5 Posts
    480 Views
    J
    http://www.crai.archi.fr/RubyLibraryDepot/Ruby/em_geo_page.htm
  • Selection Box problem after intalling rubys

    6
    0 Votes
    6 Posts
    428 Views
    thomthomT
    Also, when experience problems with plugins, open the Console Window as it might output useful information to pin point the problem. Remember, you have to open the window before you do any action you know fail. Opening it afterwards will have no use.
  • Advanced Tutorial?

    3
    0 Votes
    3 Posts
    409 Views
    T
    Thanks, I'll do just that!
  • Ruby to organize plugins

    22
    0 Votes
    22 Posts
    2k Views
    jeff hammondJ
    nah bob.. no sucker punch.. i just found out about it 3 weeks ago or so when i finally upgraded to leopard and read one of those "99 hidden leopard features" type of articles..
  • Hello, and is it possible to do this? (long, sorry)

    10
    0 Votes
    10 Posts
    921 Views
    T
    @jim said: Myles, I'd be willing to create a Dynamic Component for you to try if you can send it to me with an explanation. You could also upload the Component here, if you'd like. Jim, that's a very nice offer. I'll see if I can upload something here - it would be very simple.
  • Export > Animation > SWF ?

    5
    0 Votes
    5 Posts
    1k Views
    D
    Hi All This should work for almost any "movie" format. Super translator from and to===== http://www.erightsoft.com/SUPER.html Such as avi-mov-wmv to swf/flv etc. Audio and Video settings. I have used this a bunch and no VD. It will make you scroll through info before getting to the download and will beg for a small $$$ when you go to settings. One will need to know settings for each file formatb but works like sliced bread when you configure correctly. Hint: deselect DirectShow Decode [ ]box dtr
  • Line on surface.

    5
    0 Votes
    5 Posts
    546 Views
    A
    Jim! I need to buy some brain memory How can I forgot that! Of course ! Thanks!
  • Send string value to Webdialog

    7
    0 Votes
    7 Posts
    469 Views
    P
    ok i'll look into it Thanks!
  • Whaat's Up Blog

    4
    0 Votes
    4 Posts
    498 Views
    MALAISEM
    Excellent ! MALAISE
  • Triangluar Line removal?

    9
    0 Votes
    9 Posts
    669 Views
    T
    Thanks everyone! Cleanup_model.rb did the trick! with thanks to John H. Aughey for the script.
  • Plugins folder?

    4
    0 Votes
    4 Posts
    988 Views
    J
    very funny.
  • Ruby access to photo match image?

    5
    0 Votes
    5 Posts
    792 Views
    free agentF
    sorry hope im not hijacking but this has been bugging me about photomatch, you can't match a photo that has been corrected to 2 point perspective, and if u can't control the photo through the API can u control the guiding lines? like is the any way to lock the blue axis in a vertical possition to force it into 2 point?
  • Weld on imported Mesh.obj ?

    5
    0 Votes
    5 Posts
    545 Views
    Chris FullmerC
    Another of my favorite tools for this stuff is Stray Lines. Often when a face does not close it is because the lines don't actually meet up correctly. So label stray lines goes through and puts a little text tag at each line end that does not meet another end. So you can see VERY easily all lines that don't actually touch. Sometimes theya re obvious, but often they are virtually impossible to find w/o this tool. Chris EDIT: To make it more clear, once the lines are labeled, it then makes it clear where to go to start filling in the missing segments, deleteing, extending lines, etc.
  • Profile Builder Tutorial Malware alert

    3
    0 Votes
    3 Posts
    445 Views
    thomthomT
    It's a false positive. Report it to the makers of your anti-virus application. The PDF documentation of Profile Builder is safe, I've used it since the beta with no infections caused by it.
  • Ruby Importer API Crash

    3
    0 Votes
    3 Posts
    386 Views
    J
    That fixed it! Thank you, Sang.

Advertisement