⚠️ Important | Libfredo 15.6b introduces important bugfixes for Fredo's Extensions Update
  • Dynamic Component DCFunctionsV1 within in Module

    34
    0 Szavazatok
    34 Hozzászólások
    9k Megtekintések
    michaelwhksgM
    A proposed layout for a new site that shows the pallet racking, with a dedicated mezzanine on the left and conveyor system for segregating the inventory via dispatch routes. https://warehouseblueprint.com https://youtu.be/dEl8C2FJ9A8 [image: ic0e_WarehouseLayout20.png] [image: SLfl_WarehouseLayout20-rendered.png]
  • Hexagon

    2
    0 Szavazatok
    2 Hozzászólások
    1k Megtekintések
    sdmitchS
    @medeek said: Is there a simple way to draw a hexagon with the API, I'm not seeing it. I would like to specify a center point and radius similar to what you do to add a circle. entities.add_ngon(center,normal,radius,sides)
  • Question about cubicpanoout.rb

    17
    0 Szavazatok
    17 Hozzászólások
    4k Megtekintések
    filibisF
    @valerostudio said: This is an old posting but seems to be an issue in 2017. Anyone have a solution for this? If you are experiencing 'grey bars' problem, try using these resolutions: 1020, 2040, 4080 etc... (multiplied by two) I don't know why but it works that way. Also check this plugin for a better version with additional WebGL features: WebGL Cubic Panorama
  • Method or plugin for subdividing like this sample

    31
    0 Szavazatok
    31 Hozzászólások
    5k Megtekintések
    tuna1957T
    JQL, sorry your "gardening" efforts haven't born fruit. Your right that Twilight has it's roots in KT. Really surprised that other render engines don't have a bevel function, particularly those that are a lot more pricey than Twilight. "planting a seed" might have been the wrong term. Sounds like it's time for screaming, shouting and name calling.....
  • Geom::Transformation

    5
    0 Szavazatok
    5 Hozzászólások
    2k Megtekintések
    anteolicA
    Thanks!
  • No output text on Windows 7 system command

    4
    0 Szavazatok
    4 Hozzászólások
    2k Megtekintések
    M
    Jiva, It's complicated. I started using Ruby years ago with SketchUp. Been away from SketchUp for while, but I'm still using Ruby. As I recall, the files get split into two locations, you have to edit the SketchUp.exe file, etc. I've also been building Ruby for quite a while, so the files I used were my own and built with current compilers & toolchains. With SU 2017, it can only run with Ruby 2.3 due to the changes that occurred in Ruby 2.4. There may be a publicly available build of Ruby 2.3 in the (hopefully near) future...
  • DOC MULTIPLE REFERENCE MODELS

    4
    0 Szavazatok
    4 Hozzászólások
    1k Megtekintések
    jujuJ
    Sorry, I'm struggling to understand what you're getting to, I won't be able to help you. Please be sure to update your profile (it is currently showing you're working on SU7), this will help others in assisting you.
  • SketchUp Update Broke the Foundation Plugin

    8
    0 Szavazatok
    8 Hozzászólások
    2k Megtekintések
    Dan RathbunD
    Or single object extension via mixin module (as shown above.) unless bb.extend(BB_Volume).volume == 0.0 # do code here end Or if only supporting Ruby 2.x+ SketchUp versions, you can use class refinements that are only active within your files. See: http://ruby-doc.org/core-2.0.0/doc/syntax/refinements_rdoc.html
  • Ruby not returning correct dimensions

    4
    0 Szavazatok
    4 Hozzászólások
    1k Megtekintések
    TIGT
    You have found your own solution.
  • Extension Licensing System

    4
    0 Szavazatok
    4 Hozzászólások
    1k Megtekintések
    michaelwhksgM
    Thanks a lot, Rich. Will send a PM to him.
  • Extension Signing

    11
    0 Szavazatok
    11 Hozzászólások
    8k Megtekintések
    G
    My CabMaker rbz is quite large, just over 20 megabytes. I often get a Browser time out - however if I wait a bit and then reopen the portal the message that I can download the extension is there. I then check the rbz for rbe files and rb files. If only the 1 rb file and lots of rbe then I am satisfied. Finally I install the plugin and test it out. The reason for the large size is the manual is almost 8 megs (180 pages with lots of images) Also my context sensitive help folder has 360 png files and is now over 6 megs. I use a batch file that backs up my rb files into the proper version numbered folder and creates the rbz package for the portal. The batch file also moves my testing configuration out of the plugin and moves it back after the package is complete. I also simplify things by using a public area for my plugins. This area is accessible by all versions of Sketchup from SU 7 all the way to SU 2017. require 'sketchup.rb' require_all('c:/users/public/documents/sketchup')
  • Delete a list of components by their definitions.

    24
    0 Szavazatok
    24 Hozzászólások
    4k Megtekintések
    TNTDAVIDT
    **I can not understand why the texture applied to "TOTO" is purged. If I go through "purge_unused" the texture "TOTO" is not deleted. So I'll get around the problem with another method. To delete a list of materials, I can write this: mat_names = ['TOTO','LOLA','CUBE'] materials = Sketchup.active_model.materials mat_names.each{|mnj| materials.remove(mnj)} Can we do the same with "purge_unused", so that the unused materials of the list are deleted? Thank you for your help.**
  • Pass array to a c/c++ ruby extension

    6
    0 Szavazatok
    6 Hozzászólások
    2k Megtekintések
    Dan RathbunD
    Never could understand SWIG much. Cryptic interface language. If you intended to write a library that needs interfaces in multiple scripting languages, then SWIG might lessen the workload. Or if you are wanting a Ruby interface for some library already written that has SWIG interface files, then again I can see using SWIG. But for an extension that will be written specifically for SketchUp, since it only uses Ruby, I cannot see much use for SWIG. https://en.wikipedia.org/wiki/SWIG http://www.swig.org/tutorial.html http://www.swig.org/
  • Multi-Point Tool

    2
    0 Szavazatok
    2 Hozzászólások
    1k Megtekintések
    Dan RathbunD
    @medeek said: What I would like to do is make it possible to hold down the control key or some other key while selecting the point to position the footing, thereby the allowing the user to select multiple points. (As said also in the other forum...) The convention for SketchUp is that the CTRL key acts as a toggle in and out of copy mode. (This is why the API defines the constants as COPY_MODIFIER_KEY and COPY_MODIFIER_MASK. Examine how the SelectionTool switches in and out of add or subtract mode, and the cursor changes to show + or - satellite icons. Or the MoveTool, ... etc. Also see this other thread here at SCF: http://sketchucation.com/forums/viewtopic.php?f=180%26amp;t=67837#p621579 You'll need to decide how to let the user tell the tool when they are done picking points. Another convention is that the ESC key resets the tool to it's initial state, or cancels the current state. (See the onCancel callback.) The ENTER is another way, detected via a onReturn or onKeyUp callback.
  • Application Development Exploding Component Instances

    16
    0 Szavazatok
    16 Hozzászólások
    3k Megtekintések
    TNTDAVIDT
    The loading time decreased from 2 minutes to 4 seconds. Thanks Driven
  • Knowing the ComponentInstance a DimensionLinear is attached

    5
    0 Szavazatok
    5 Hozzászólások
    2k Megtekintések
    TIGT
    Until it's fixed how about a clunky and convoluted workaround ? If the pa=dim.start[0].parent is a component-definition then you need to see if there is pa.instances[1] if not then the one instance is the answer. If there are more than one instance you need to iterate those, and assemble a list of their transformation.origin positions [ensuring the transformation steps back to match the dim's parent's and of course takes into account any instance scaling etc...] - let's call that 'pvs'. The pt=dim.start[0] gives you a point inside the definition. You have ps=dim.start[1] as the point of the dim in 3d space. Transform the 'pvs' inversely and compare that point with ps, if they match then you could have a hit. Of course two or more instances where some are rotated or flipped so that vertex is coincident in 3d returns two or more 'hit' points, so it'd not be possible to determine the attachment that way... So, it's better if it worked like it should !!!
  • Indigo Renderer + Sketchup plugin developer

    7
    0 Szavazatok
    7 Hozzászólások
    3k Megtekintések
    I
    Hi all, we're still looking for a SketchUp developer to work on our plugin! Please get in touch with us at contact@indigorenderer.com if you're interested. Kind regards, The Indigo team
  • Weird DimensionLinear behavior

    5
    0 Szavazatok
    5 Hozzászólások
    2k Megtekintések
    Dan RathbunD
    @ittayd said: Thanks, I'm asking about ways to interact with the text: getting, setting. No this is not what you asked! Such a simple thing (as what method's a class has) can be easily found by looking at the API dictionary. http://ruby.sketchup.com/Sketchup/DimensionLinear.html ... which is a subclass of (and therefore inherits methods from http://ruby.sketchup.com/Sketchup/Dimension.html ... which is a subclass of (and therefore inherits methods from http://ruby.sketchup.com/Sketchup/Drawingelement.html ... which is a subclass of (and therefore inherits methods from http://ruby.sketchup.com/Sketchup/Entity.html ... which is a subclass of (and therefore inherits methods from http://ruby-doc.org/core-2.2.4/Object.html You asked about dims nested inside transformed instances. I am not sure if the .text getter will return transformed lengths or not. Also not sure what happens when the context is open and not. So test. The means I showed above avoids the conversion of text ( String) into a numeric ( Length) object, and just gets the length.
  • Bounds change depending on active context?

    5
    0 Szavazatok
    5 Hozzászólások
    2k Megtekintések
    Dan RathbunD
    @ittayd said: And, I wouldn't mind the coordinates changing if contains? would have acted sanely, always returning true to a point that is inside the group BoundingBoxes are always aligned with the model's axes. This means if you rotate a cuboid instance, it's bounding box will increase. The second thing you need to realize is that bounding boxes have an untransformed state (ie, the definition's entities bounds,) and each of their instances transformed bounds. The transformed bounds are not just translational, they can also be affected by the rotation and scaling of the instance. @ittayd said: I would expect the coordinates to never change no matter what entity is opened. As a coder, most of time when generating geometry, you are just working in the definition's local coordinates with the IDENTITY transform, (ie, everything is 1:1 and you're specifying geometry oriented in relation to the definition's local origin and axes.) But when the user double-clicks into an instance, that might be rotated or scaled (transparently they are actually editing the definition,) but perhaps not at the 1:1 scale. Imagine an instance that has been scaled 2x. The user would be drawing edges that are twice as long on the screen. So their needs to be some transforming back to the definition's scale and coordinates. Julia wrote a really good explanation of this recently (ie past few months.) Need to find this and give you the link.
  • Mass material importer

    14
    0 Szavazatok
    14 Hozzászólások
    10k Megtekintések
    C
    Thanks a lot guys for the tips ! the script work fine. But really no one have any idea how to batch-adjust the tiling of the material ? Other ways it will take me days to manually adjust each one of them (I have like 500 skm tu adjust)

Advertisement