sketchucation logo sketchucation
    • Login
    1. Home
    2. fredo6
    3. Topics
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    Urasik Extensions | Lots of new extensions to check out Learn More
    Offline
    • Profile
    • Following 0
    • Followers 69
    • Topics 175
    • Posts 5,433
    • Groups 3

    Topics

    • fredo6F

      BezierSpline for SU8

      Watching Ignoring Scheduled Pinned Locked Moved SketchUp Discussions sketchup
      2
      0 Votes
      2 Posts
      448 Views
      J
      Blimey, you're quick off the mark! Thanks very much for continually supplying & supporting such a range of useful tools.
    • fredo6F

      Bug in Vector angle_between

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      6
      0 Votes
      6 Posts
      602 Views
      Dan RathbunD
      @dan rathbun said: @unknownuser said: Note that the result is correct is the vector length is.. The cutoff appears to be (works at or above): vec.length = 0.03162316231623162**...** inches Actually, I think the cutoff is more like the rounded value, of the square root of Sketchup's internal tolerance (0.001) ie: (0.001)**(1/2.0) >> 0.0316227766016838 [table=bg1 table1:34jvzu3e][thead:34jvzu3e][tr=:34jvzu3e][th=1:34jvzu3e]So the general rule is:[/th:34jvzu3e][/tr:34jvzu3e][/thead:34jvzu3e][tbody:34jvzu3e][tr=bg2:34jvzu3e][td=1,:34jvzu3e]If the product of the lengths of the two vectors, is less than that of Sketchup's internal tolerance (0.001"), the angle returned by angle_between is Math::PI/2 [ (Math::PI/2).radians.round= 90 deg,] instead of Math::PI [ (Math::PI).radians.round**= 180 degrees.]**[/td:34jvzu3e][/tr:34jvzu3e][/tbody:34jvzu3e][/table:34jvzu3e] viz: v1.length = 0.03162278 v2.length = 0.03162278 v1.angle_between(v2) >> 3.14159265358979 v1.angle_between(v2).radians >> 180 %(#000000)[# degrees] @unknownuser said: I would imagine that SU would normalize the vectors first before computing the angle, so that it's independent of the size. AGREED !! At first i could not imagine why the length would have anything to do with it, but then seeing how a square root is involved, they are likely using pythagorean trigonometry. @unknownuser said: And why return PI / 2 and not 0? That's funny also, PI/2 radians is 90 degrees. Perhaps they choose a known 'reference' vector (say the X-axis) and find the angle between it an v1. Then choose another 'reference' vector 90 degrees from the first (the Y-axis), and compute the angle between it and v2. If there's a bug in there (say half of the algorithm craps out,) that may be why you wind up with 90. now your inline fix, in code is: v1.normalize.angle_between(v2.normalize) or v1.normalize.angle_between([array].normalize)
    • fredo6F

      Debug Traces in Sandbox From Contours

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      7
      0 Votes
      7 Posts
      622 Views
      Dan RathbunD
      @unknownuser said: The others [warnings] with LibTraductor are inevitable, because, for compatibility reasons, I load twice LibTraductor code (the old file LibTraductor.rb for JoinPushPull and then the one from LibFredo6). When you next update the LibFredo6.. you can suppress the warnings when you know that your about to redefine old methods. Save $VERBOSE to a reference, then set $VERBOSE to nil (silent mode,) when done overriding methods, reset $VERBOSE back to what it was. MAKE SURE YOU SET IT BACK !! (or some peeps may get angry.)
    • fredo6F

      [Plugin] FredoTools::CurviShear 1.5a - 25 Aug 11 (ramps)

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      67
      0 Votes
      67 Posts
      169k Views
      A
      CurviShear indirmek istiyorum ama olmuyor. Yardımcı olabilir misiniz?
    • fredo6F

      Banners for Plugin publishing

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      4
      0 Votes
      4 Posts
      905 Views
      GaieusG
      This is a good idea, Fredo, although I would agree with Thom on the Download button. Also, I could imagine to place the downloadable plugin at the top of the posts as very often new members spend some time to figure out what to download and where to find it.
    • fredo6F

      [Plugin][$] Curviloft 2.0a - 31 Mar 24 (Loft & Skinning)

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      1k
      2
      0 Votes
      1k Posts
      3m Views
      Rich O BrienR
      @RASKL Please run the Window > Libfredo Settings > Fredo6 Plugins Information for Sketchucation Support menu command in SketchUp and copy/paste the output into your reply.
    • fredo6F

      [Tutoriel > Plugin] ToolsOnSurface 1.6

      Watching Ignoring Scheduled Pinned Locked Moved Français
      4
      0 Votes
      4 Posts
      4k Views
      A
      Est ce que l'on peut faire des plans bissecteurs avec et outil? autrement dit, peut on créer un plan (ou rectangle) qui coupe de manière égal l'angle créer par l'intersection de deux plans.
    • fredo6F

      [Tutorial > Plugin] ToolsOnSurface

      Watching Ignoring Scheduled Pinned Locked Moved SketchUp Tutorials sketchup
      4
      0 Votes
      4 Posts
      17k Views
      irwanwrI
      how to draw those shapes along the path?
    • fredo6F

      IMPORTANT: critical upgrade to Fredo6 scripts (grayout menu)

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      14
      0 Votes
      14 Posts
      12k Views
      brookefoxB
      I have nothing to add but a humble pile of warm, clean compostable thanks to all afflicted action figures who figured this out and fixed it.
    • fredo6F

      [Plugin] FredoTools::RevertCurve 1.1a - 25 Aug 11

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      4
      0 Votes
      4 Posts
      27k Views
      M
      Ahhh. Thank you! In parametric applications I am accustomed to detecting and altering vector direction. How do you detect curve direction in SkUp?? I didn't even know it mattered until yesterday! Anyway -- many many thanks for posting this little gem.
    • fredo6F

      Forum Plugins vs. Developer Forum

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      16
      0 Votes
      16 Posts
      1k Views
      mitcorbM
      Here's my 2 cents strictly as a user. I tend to agree with TIG's view. But I think there may always be some overlap, because strict division of function or content requires discipline, and in the heat of the moment to express an issue, maybe the discipline takes back burner. I do peruse the dialogue in Developer's Forum when I see it in New Posts. I even scroll through the coding when it is displayed, in a vague hope that I can make sense out of the language conventions, or simply to marvel at how bizarre and foreign it is to conversational language.
    • fredo6F

      FredoScale 2.0 - Manuel en Francais

      Watching Ignoring Scheduled Pinned Locked Moved Français
      1
      0 Votes
      1 Posts
      868 Views
      No one has replied
    • fredo6F

      ToolsOn Surface 1.5 - manuel en Francais

      Watching Ignoring Scheduled Pinned Locked Moved Français
      2
      0 Votes
      2 Posts
      498 Views
      pilouP
      Sympa pour la nébuleuse francophone!
    • fredo6F

      RoundCorner 2.1 documented in French

      Watching Ignoring Scheduled Pinned Locked Moved Français
      24
      0 Votes
      24 Posts
      3k Views
      C
      Normalement il conserve le formatage, Par sécurité, j'extrais avec les images et apres je les remplace par celles extraites par Some PDF Image Extractr Et je me demande si c'est réellement nécessaire!!
    • fredo6F

      [Obsolete] BZ__Chamfer for BezierSpline 1.2

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      6
      0 Votes
      6 Posts
      11k Views
      D
      Thank you Fredo!!! Another great tool!!! A question... I always see different and separate tools for round corners in 2D and round corners in 3D. Can be possible a single all-purpose round corner plugin? For example your RoundCorner plugin... if you try to round lines or faces (In 2D) it says invalid. Can your RoundCorner plugin incorporate your polyline arc corners and polyline chamfer for these invalid cases? It´s difficult to me to explain this in english but the idea would be that if you take the orange icon and you try to round lines or faces (In 2D) will make a fillet (polyline arc corners) and if you take the green one and you take a 2d face will make a chamfer. [image: 8GJ3_fillet.gif] Daniel S
    • fredo6F

      [Plugin] GhostComp - v1.4a - 31 Oct 18

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      101
      0 Votes
      101 Posts
      217k Views
      R
      @fredo6 said: @fredo6 said: @rv1974 said: Many years I wanted to ask.. On some stage Ghostcomp puts ALL 'real' instances at file's origin point. Is it a bug or a feature? The problem with those instances is if you'd delete them (at origin point) and run purge plugin there's no way to swap from ghost representation to 'real'. I'll see what I can do to force a conversion to real before a Purge. EDIT: I am not able to reproduce your problem. Could you elaborate. Thanks I Think I managed to catch the bug: Staying in Scene1: Enter context, select desired component (donut) make a ghost, exit context. Go to Scene 2. Ghost dummy plus original donut geometry created at 0,0,0. The file PM'd. [image: RI6V_GIF.gif]
    • fredo6F

      [Plugin][$] RoundCorner - v3.4a - 31 Mar 24

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      1k
      4
      0 Votes
      1k Posts
      4m Views
      Dave RD
      @gabrielaher you have a current subscription license for SketchUp, correct? If so, the only license you need to buy to use RoundCorner is the RoundCorner license fee.
    • fredo6F

      [Obsolete] BZ__Animation (divider for flight path)

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      20
      0 Votes
      20 Posts
      20k Views
      PixeroP
      Hmm...it worked fine for me with SU 7.1. Are you on a Mac?
    • fredo6F

      [Plugin] HoverSelect - v1.5a - 07 Oct 17

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      81
      0 Votes
      81 Posts
      140k Views
      A
      @fredo6 said: @ahmed0007 said: Follow mode not working any solution? Can you clarify and explain what is the problem. Follow option works fine for me. Fredo hello! fredo6 can you see my above response?
    • fredo6F

      Call to Mac users for script portability

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      101
      0 Votes
      101 Posts
      11k Views
      D
      Fredo, did the pic come?? i'll re-attach. freeScale. bottom box after TopMenu your delightful scripts, when I can download them (a problem with this site), and get them in the right place (my fault) are fantastic to use on the Mac, my comment was more about if any of the earlier ones had been absorbed into FreeScale or Pushpull, or outdated by SU7, etc.. then I will not try to find them now. cheers john [image: oPgQ_monpm2.jpg]
    • 1 / 1