⚠️ Important | Libfredo 15.6b introduces important bugfixes for Fredo's Extensions Update
  • Round front edge of

    5
    0 Szavazatok
    5 Hozzászólások
    483 Megtekintések
    D
    Thanks a lot for the replies. The code actually draws it the way I would draw it manually. Thanks!
  • How does material color multiplication works?

    7
    0 Szavazatok
    7 Hozzászólások
    1k Megtekintések
    tt_suT
    I would need the deltas, and know whether the material is HSL shifted or tinted - something the Ruby API doesn't expose right now. But we have an issue open to address that.
  • Avoid SketchUpBIM?

    3
    0 Szavazatok
    3 Hozzászólások
    401 Megtekintések
    KrisidiousK
    It's in my architecture list. I'll put in a warning.
  • No DLLS were Found in the Waterfall Procedure

    2
    0 Szavazatok
    2 Hozzászólások
    2k Megtekintések
    S
    Yep, just now ran into this after installing GoPro. This solution fixed it. Many Thanks !!!
  • Xml anyone?

    16
    0 Szavazatok
    16 Hozzászólások
    1k Megtekintések
    TIGT
    @jp2009 said: How do you stop Sketchucation from downloading XML documents? It keeps doing this? There's an issue with the recently updated PluginStore Extension when used in Chrome. Disable that extension under Settings, until it is fixed... Breaking news... v1.3 of that Extension was released today, it should fix the issue, so install that to update things, and those xml errors should be no more...
  • View.refresh behavior

    3
    0 Szavazatok
    3 Hozzászólások
    613 Megtekintések
    thomthomT
    For animations it's best to use the Animation class instead of using sleep() and forcing a screen refresh. http://www.sketchup.com/intl/en/developer/docs/ourdoc/animation
  • About VB.Net and Sketchup Integration

    3
    0 Szavazatok
    3 Hozzászólások
    1k Megtekintések
    thomthomT
    The C API allow you to read and write files. For .NET integration you would have to create a wrapper that bridges the two.
  • Open Excel code to a Plug-in.

    3
    0 Szavazatok
    3 Hozzászólások
    476 Megtekintések
    D
    Thank You Very much.
  • Manipulating a polyline like the freehand tool

    2
    0 Szavazatok
    2 Hozzászólások
    333 Megtekintések
    pbacotP
    Bezier Spline? http://sketchucation.com/forums/viewtopic.php?t=13563
  • How to get face which is belong to two group

    9
    0 Szavazatok
    9 Hozzászólások
    691 Megtekintések
    TIGT
    Try the groups' .bounds if they 'touch', then some_group.bounds.max.x OR .y OR .z and some_other_group.bounds.min.x OR .y OR .z might be coincident ?? Especially if the are simple boxes...
  • Status Text being reset

    3
    0 Szavazatok
    3 Hozzászólások
    375 Megtekintések
    tt_suT
    There is no way to force a statusbar text to stick around. It's normally set by the active tool, but also by menu and toolbar items. Do you have a sample snippet that demonstrate the issue?
  • Need some help again.

    3
    0 Szavazatok
    3 Hozzászólások
    338 Megtekintések
    S
    Thanks again TIG! I am very grateful. I knew I was missing something, but was pretty much stumped. Thanks for putting me back on track, and so quickly. Cheers
  • How to attach text to a line

    3
    0 Szavazatok
    3 Hozzászólások
    566 Megtekintések
    P
    I'm sorry I have tried that .. but that is not what is in my mind.. I just want the text to follow the line even if I move one point only . . doing this manually is possible.. but not for ruby scripts I think..
  • RBZ installation on MAC OS

    3
    0 Szavazatok
    3 Hozzászólások
    511 Megtekintések
    S
    Hi John, many thanks for your quick reply. It was really helpful. I am now using the command line of winzip in my Powershell script, as you have proposed. The generated RBZ file is now working on my MAC also. Thanks a lot for your help. Sonja
  • Best way to delete entities

    19
    0 Szavazatok
    19 Hozzászólások
    7k Megtekintések
    Al HartA
    great - that's what I was looking for anyway
  • Problem with modules and classes: undefined method

    5
    0 Szavazatok
    5 Hozzászólások
    510 Megtekintések
    S
    **It works!**Thanks a lot, you saved my weekend!
  • Newby Ruby "Undefined Method" issue

    3
    0 Szavazatok
    3 Hozzászólások
    492 Megtekintések
    M
    The code is good. From the console it appears that the first run was ok, and then you ran again the script and the face cannot be created. The problem is that you are trying to create a face object in the same place occupied by the face created before. Clean all your objects first (select all> delete), and try again.
  • Exploding group removes material from a face

    4
    0 Szavazatok
    4 Hozzászólások
    501 Megtekintések
    TIGT
    inner = [[211.304795230314, 59.3387335473855, 144.121274015103], [198.016313479612, 93.8459200290483, 144.121274015103], [198.016313479612, 93.8459200290483, 209.586476052542], [211.304795230314, 59.3387335473855, 209.586476052542]] outer_right = [[123.368393800971, 287.689711452616, 222.214015434512], [124.599206984753, 284.49356753989, 222.214015434512], [124.599206984753, 284.49356753989, 7.04087985299685], [123.368393800971, 287.689711452616, 7.04087985299685]] outer_bottom = [[123.368393800971, 287.689711452616, 0.0], [123.368393800971, 287.689711452616, 7.04087985299685], [124.599206984753, 284.49356753989, 7.04087985299685], [278.931403899607, -116.27229864223, 7.04087985299685], [280.16221708339, -119.468442554957, 7.04087985299685], [280.16221708339, -119.468442554957, 0.0]] outer_left = [[278.931403899616, -116.272298642254, 222.214015434512], [280.16221708339, -119.468442554957, 222.214015434512], [280.16221708339, -119.468442554957, 7.04087985299685], [278.931403899607, -116.27229864223, 7.04087985299685]] outer_top = [[121.306929034951, 293.042869957925, 227.414539710024], [201.765305442185, 84.110634448818, 323.731055308166], [282.223681849419, -124.821601060289, 227.414539710024], [282.223681849419, -124.821601060289, 222.214015434512], [280.16221708339, -119.468442554957, 222.214015434512], [278.931403899616, -116.272298642254, 222.214015434512], [278.931403899616, -116.272298642254, 227.414539710024], [201.765305442185, 84.110634448818, 314.768300386351], [124.599206984753, 284.49356753989, 227.414539710024], [124.599206984753, 284.49356753989, 222.214015434512], [123.368393800971, 287.689711452616, 222.214015434512], [121.306929034951, 293.042869957925, 222.214015434512]] # place bounding faces temp_group = Sketchup.active_model.entities.add_group outer_right_face = temp_group.entities.add_face outer_right temp_group.explode temp_group = Sketchup.active_model.entities.add_group outer_bottom_face = temp_group.entities.add_face outer_bottom temp_group.explode temp_group = Sketchup.active_model.entities.add_group outer_left_face = temp_group.entities.add_face outer_left temp_group.explode temp_group = Sketchup.active_model.entities.add_group outer_top_face = temp_group.entities.add_face outer_top edges=temp_group.entities.grep(Sketchup;;Edge) temp_group.explode ### edges.each{|e| e.find_faces if e.valid?} # place a textured inner face temp_group = Sketchup.active_model.entities.add_group inner_face = temp_group.entities.add_face inner temp_group.explode ( material = Sketchup.active_model.materials.add("Red") ) unless material=Sketchup.active_model.materials["Red"] material.color="Red" # make 'red' once only inner_face.material = material ### # inner_face.erase! ### alternative # inner_face has lost it's material puts inner_face.material This works. It adds a face within the overall form too. The 'window' is colored after the explosion. Note how I also only make a 'Red' material once. You could erase the 'window' instead of making it 'Red'... The order of operations and exploding groups affects the result, but knowing that you can avoid it.
  • Send_action workarounds?

    8
    0 Szavazatok
    8 Hozzászólások
    785 Megtekintések
    Dan RathbunD
    On the PC, send_action can process native tool command integer IDs. I pub'd some IDs here (but do not use that file as is. It mods the API.) Just use it for tool ID reference. Somewhere here Thomas also posted a tool ID hash. Ex: Sketchup::send_action( 24201 ) # Union Tool
  • Is an entity in a surface

    13
    0 Szavazatok
    13 Hozzászólások
    2k Megtekintések
    tt_suT
    That's for that revised version!

Advertisement