ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info
  • Request Section Management Panel

    11
    0 Votes
    11 Posts
    83 Views
    alexpacio2013A
    @Didier-Bur said in Request Section Management Panel: @alexpacio2013 OK I got it. Currently I'm working on an update of my 'Scenes Tools' plugin and it will do almost what you're after. If time permits, I'll develop a script to choose a scene and to activate (or not) a section plane for that scene and update the scene. Regards, In practice, you need a panel where, once the scene has been sectioned, you can activate or deactivate the sections or vice versa, match the section to a scene Let me know when you're ready. I don't understand why no one thought of this, it's a very important thing. Great.
  • Weird area calculation

    1
    1
    1 Votes
    1 Posts
    19 Views
    No one has replied
  • About Fredo

    2
    0 Votes
    2 Posts
    43 Views
    fredo6F
    Je préfère rester anonyme. Merci encore de votre intérêt pour mes plugins.
  • 2 Votes
    2 Posts
    60 Views
    Dan RathbunD
    Please reorganize your extension as a TRUE SketchUp extension. See: https://ruby.sketchup.com/file.extension_requirements.html Also, take note of the various numeric conversion methods that the SketchUp API has added to the Numeric class. (You do not need to write your own conversion formulae.) Here is an example that will default to model units, if the unit argument is blank: def convert_to_inches(value, unit = nil) units = Sketchup.active_model.options["UnitsOptions"] if unit.nil? # use model units case units["LengthFormat"] when Length::Architectural, Length::Fractional return value.inch when Length::Engineering return value.feet else # Length::Decimal unit = units["LengthUnit"] end end case unit when :in, Length::Inches then value.inch when :m, Length::Meter then value.m when :cm, Length::Centimeter then value.cm when :mm, Length::Millimeter then value.mm when :ft, Length::Feet then value.feet when :yd, 5 # NOTE: constant Length::Yard (5) was added for SU2020, # use 5 to avoid NameError exception in older versions. value.yard # yards to inches else value.inch # if inches or unknown end end Also, this is a good read for dealing with units in SketchUp: https://www.thomthom.net/thoughts/2012/08/dealing-with-units-in-sketchup/
  • Flags (onkeydown) in skp 2025

    2
    1
    0 Votes
    2 Posts
    32 Views
    Dan RathbunD
    FYI, I did report this to Trimble.
  • 0 Votes
    6 Posts
    36 Views
    Didier BurD
    @kitesoul99 Above is a little enhancement: select the material before typing matTexture in the console. Regards
  • Edit Signature

    Solved
    4
    0 Votes
    4 Posts
    41 Views
    Rich O BrienR
    @onzki Click your avatar top right of page and choose Edit Profile
  • SoapSkin&bubble time limit finished?

    15
    0 Votes
    15 Posts
    22k Views
    Mike AmosM
    @JoMaLeFe English please.
  • sign extension doesn't work

    2
    0 Votes
    2 Posts
    15 Views
    TIGT
    It was flaky last week, when drag-n-drop of the RBZ didn't work on some specific OSs, but then navigating to the RBZ file and selecting it would still work... I'm surprised it's not been properly fixed by now.
  • custom length snapping

    3
    1
    0 Votes
    3 Posts
    52 Views
    K
    Thank you so much for the info.
  • 'break_edges' behavior wrong when in a group context

    6
    1
    0 Votes
    6 Posts
    40 Views
    Didier BurD
    Yesssss ! Deleting all faces before using find_faces WORKS. Thanks a lot TIG
  • How Can I Identify a Sketchup File at a Binary Level?

    3
    0 Votes
    3 Posts
    41 Views
    V
    I'm hoping that it's all in one cluster to be fair, the file was about 60mb, so if I can search the binary manually, and find it myself in a hex editor I stand a chance of manually recovering. I guess I need to create some test files, then view them in a hex editor to find the strings I need to search for.
  • C SDK save in 2022 or 2023 formats

    7
    0 Votes
    7 Posts
    42 Views
    G
    @TIG Thank you for your input. My understanding of the C SDK is: SUModelSaveToFileWithVersion(model, "SU2021.skp", SUModelVersion_SU2021); - Should save into the "versionless" 2021 format and it should load without any error or warning into SU 2022 and SU 2023 SUModelSaveToFileWithVersion(model, "SUcurrent.skp", SUModelVersion_Current); - should save in the version of the SDK (in this case 2024) But instead both function calls save in SU 2024 format which IMO is an error in the SDK. I'll try to contact them to sort this.
  • 0 Votes
    4 Posts
    67 Views
    Dan RathbunD
    If it does not work using onLButtonDown then try renaming the callback to onLButtonUp. I recall back in the v8 days there were some quirks with one or the other callback method (I think on Mac platform mostly.)
  • [Code] realign UVs, or: convert projective to affine

    10
    0 Votes
    10 Posts
    1k Views
    C
    @TIG said in [Code] realign UVs, or: convert projective to affine: @chris341 It is a very old thread ! I've fixed the basic syntax errors and added modules etc. It works in v2024 [should be OK in v2020] - but I'm unsure of its efficacy... Aerilius_UV_realign_uvs.rb Haha yes!! This seems to work, at least at first glance. Just one texture exported. Thank you so much! I will report back if I have any other issues with it.
  • Looking for a developer to help create a custom Component im

    2
    0 Votes
    2 Posts
    40 Views
    P
    Hi. Can I help you ?
  • How to copy a hole component inside to another component ?

    Moved
    1
    1
    0 Votes
    1 Posts
    27 Views
    No one has replied
  • Ruby Sketchup Programmatic Union of Multiple items

    10
    0 Votes
    10 Posts
    2k Views
    Dan RathbunD
    @Sklik-Rab said in Ruby Sketchup Programmatic Union of Multiple items: @Dan-Rathbun How to check if @union become nil? To check if the reference points at nil, you can use: @union.nil? which is inherited by Array from Object#nil? To check if the array is empty, you can use: @union.empty?
  • Joint Push Pull

    7
    0 Votes
    7 Posts
    2k Views
    fredo6F
    @sajid1999 This is normal. If you change your PC, the unique hardware ID changes. You can release old seats on this page (you'll need to sign-in)
  • Making a selection in a ruby script and applying command

    9
    0 Votes
    9 Posts
    55 Views
    TIGT
    @hollymichel No, it doesn't read a lot better. You must add the 'code' tag and put your Ruby code inside it. Then the start and end tags [i.e. three back-quotes each: note I put spaces in front here to prevent the forum thinking it was more code... ``` ### ruby code text goes here ``` ] they must both be on their own lines. Which looks like this in the post. ### ruby code text goes here Simplify your process, and make it more complex only when you've got some good results. Trying to do it all in one go is just too difficult. How do you eat an elephant - take small bites !

Advertisement