sketchucation logo sketchucation
    • Login
    1. Home
    2. fredo6
    3. Posts
    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!
    🚨 Skimp | 25% Off until March 30 Buy Now
    Offline
    • Profile
    • Following 0
    • Followers 63
    • Topics 175
    • Posts 5,406
    • Groups 3

    Posts

    Recent Best Controversial
    • RE: How can I store binary data in an attribute

      @unknownuser said:

      ps Fred, if you are saving 3D points as attributes - what happens when a user moves the spline?

      Very interesting question, that I did not ask myself (actually, I just inherited the method from the previous bezier.rbscript by @Last). But magically, it seems to work fine, whether you move, scale or rotate the curve.

      There must be a trick!

      But this macro is full of surprise, for instance with an undocumented method "curve.move_vertices", which allows moving the vertices of a curve without having to recreate one.

      posted in Developers' Forum
      fredo6F
      fredo6
    • RE: How can I store binary data in an attribute

      I had the same problem with binary strings, because Sketchup stops the decoding at first \0 character.

      But if you just wish to store an array of fixnum, why don't you store it 'naturally'. Sketchup entity attributes does it well, back and forth. I used this for my bezierspline.rb macro, where I do store arrays of 3D-points in this way.

      posted in Developers' Forum
      fredo6F
      fredo6
    • RE: Keyboard translation PC / Mac

      Thanks very much Todd.

      There are strange things on the Mac, like the fact that several keys (alphas and numpad) do nt seem to be trapped on the KeyDown, but only on the KeyUp event. This is also the case for Tab, Del and Backspace. This may be due to the VCB interference.

      I'll see what I can do.

      Thanks again

      Fredo

      posted in Developers' Forum
      fredo6F
      fredo6
    • RE: Keyboard translation PC / Mac

      Thanks.
      For the time being, I will follow your advice (and also use File.join instead of building the string with /

      posted in Developers' Forum
      fredo6F
      fredo6
    • RE: Keyboard translation PC / Mac

      @unknownuser said:

      how about using Sketchup.find_support_file "Plugins" and then File.join(Plugins_dir, filename) ?

      This works on Windows as well.
      My problem is know whether this works on Mac, since I have no Mac and I have not even seen Sketchup running on a Mac!!

      Are you Mac User? If so,could you just cnfirm this works fine? Thanks in advance.

      posted in Developers' Forum
      fredo6F
      fredo6
    • RE: Keyboard translation PC / Mac

      Todd,

      Thanks for the offer.
      Here is the script KeysForMac.rb. It adds a menu item "Prompt for Mac keys" in the Plugins menu. When you invoke it, you will be notified on which key to type in the Status bar. The test takes less than 3 minutes.

      It normally generates a small text file KeysForMac.txt, which normally should end up in your folder equivalent on MAc to C:\Program Files\Google\Google SketchUp 6. Actually I just open the file with no directory reference, because this is another potentialproblem on Mac.

      	fname = "KeysforMac.txt"
      	f = File.new fname, "w"
      
      

      Talking about Directory and file paths on Mac, I have another problem with my method to find script files in the Plugins Directory. On Windows, I use the following statements:

      BZ___DirSU = Sketchup.find_support_file ".", "."
      BZ___SearchDir = Dir["#{BZ___DirSU}/Plugins/BZ__*.rb"]
      
      

      But it does not seem to work. Maybe you can find out what I should use instead on Mac.

      Again many thanks for your proposal.

      @unknownuser said:

      Example of file generated (here on Windows XP)
      http://www.sketchucation.com/forums/scf/sas/Ruby/KeysforMac.txt

      Small macros for capturing keys.
      To dropin Plugins folder
      http://www.sketchucation.com/forums/scf/sas/Ruby/KeysforMac.rb

      Fredo

      posted in Developers' Forum
      fredo6F
      fredo6
    • RE: Keyboard translation PC / Mac

      Thanks very much in advance Todd.

      On my Windows XP laptop, I have this:

      On the platform
      PLATFORM = i386-mswin32
      RELEASE_DATE = 2003-08-04
      RUBY_PLATFORM = i386-mswin32
      RUBY_RELEASE_DATE = 2003-08-04
      RUBY_VERSION = 1.8.0
      VERSION = 1.8.0

      On the Keyboard
      ALT_MODIFIER_KEY = 18
      ALT_MODIFIER_MASK = 32
      CONSTRAIN_MODIFIER_KEY = 16
      CONSTRAIN_MODIFIER_MASK = 4
      COPY_MODIFIER_KEY = 17
      COPY_MODIFIER_MASK = 8

      VK_ALT = 18
      VK_COMMAND = 18
      VK_CONTROL = 17
      VK_DELETE = 46
      VK_DOWN = 40
      VK_END = 35
      VK_HOME = 36
      VK_INSERT = 45
      VK_LEFT = 37
      VK_MENU = 18
      VK_NEXT = 34
      VK_PRIOR = 33
      VK_RIGHT = 39
      VK_SHIFT = 16
      VK_SPACE = 32
      VK_UP = 38

      On the Mouse control
      MK_ALT = 32
      MK_COMMAND = 0
      MK_CONTROL = 8
      MK_LBUTTON = 1
      MK_MBUTTON = 16
      MK_RBUTTON = 2
      MK_SHIFT = 4

      Still no idea about the other keys on Mac, and the difference between the concept of CONSTRAIN_MODIFIER_MASK and CONSTRAIN_MODIFIER_KEY.

      posted in Developers' Forum
      fredo6F
      fredo6
    • Keyboard translation PC / Mac

      It seems that there is at least a big difference between the two platforms in this area. So I would be grateful to a Mac user to advise on the principle to find out keys codes returned by the onKeyDown method on Mac.

      Pixero indicated to me the following codes on Mac
      Command/"Apple" = 1048576
      Alt/Option = 524288
      Control = 262144
      Arrow Left Key = 63234
      Arrow Right Key = 63235
      Arrow Up Key = 63232
      Arrow Down Key = 63233
      Shift Key = 131072

      But what about the regular alphabetic characters, the function keys, and the punctuation signs?

      Ideally, someone having both platforms should be able to establish the correspondance, and possibility write a small utility routine to 'unify' the keys between the two systems (unless this already exists!). I can do it, if someone gives me the list.

      Also, I'd like to know the rules for the value on Mac of the constant RUBY_PLATFORM, which apparently allows to detect which platform you run on. For Mac, I know at least the value 'powerpc-darwin'. However, what happens on more recent Macs, running on Intel and Leopard (I understand from an earlier post from Todd Burch, that there should anyway be the string 'darwin' in the constant).

      I am sure this will be helpful to the Sketchup Community, to make sure that scripts released can fonction both on Mac and PC.

      posted in Developers' Forum
      fredo6F
      fredo6
    • RE: BeizerSpline - Latest version (obsolete)

      @fletch said:

      So one tiny request (hopefully tiny) is there a way you could, after selecting the first point for the polyline tool, one could right-click and choose 'lock Z axis' and in this way it would draw all other points forcing them to match the exact elevation of the initial point? (This would be very handy for 'tracing' in plan view over the top of difficult geometry that one cannot seem to close/create a face from no matter what one does.)

      The option exists actually. When you draw a curve the default behavior is to force all points on the plane defined by the first 3 points (cursor is a black square). However, if you press the Up Arrow (i.e. blue axis), the points of the curve will be forced on the horizontal plane defined by the first point (cursor is a blue square). This works as well for the 2 other axis planes.

      posted in Developers' Forum
      fredo6F
      fredo6
    • RE: Support of Language translation - LibTraductor.rb

      It's easy anyway to replicate LangHandler with your own version you control (and anyway a GetString method that takes a default in case the string is not found).

      My observations were that it's seems that the community of Ruby 'scripters' prefer to avoid proliferation of files and deliver extensions with one or very few files.

      posted in Developers' Forum
      fredo6F
      fredo6
    • RE: Support of Language translation - LibTraductor.rb

      Several remarks:

      1. you are definitely right. It is more elegant with a separate file, so that you can proceed with the translation without touching anything in the code itself

      2. the Sketchup Ruby documentation is really poor 😞 . I did not know LangHandler, and furthermore, that it was provided in the standard tool librairies of Sketchup. The script itself is not commented. I am sure many of us would appreciate if the Sketchup team could improve the doc.

      3. I will indeed adapt LibTraductor to manage strings in external files, in order to keep the additional functions I wrote on dialog boxes.

      Thanks a lot for signaling this to me.

      By the way, I never found a Sketchup macro that had a separate 'string' file, but instead I found many that were published as several versions of the same macro translated within the code (like bezier.rband fr_bezier.rb, also written by the same @Last Software). Is this because Sketchup Ruby programmers don't really bother, or because nobody knows really about LangHandler?

      posted in Developers' Forum
      fredo6F
      fredo6
    • Support of Language translation - LibTraductor.rb

      When I designed the script bezierspline.rbI indeed bumped into the problem of language translation, both as a script programmer and as a script user. I made some research on what existed in terms of practices and tools and found very little. In general, scripts are written in a single language (English usually), and then the script is converted by someone into other languages, by modifying strings in the code and renaming the script file. For instance you have bezier.rband fr_bezier.rbon the Crai Ruby Depot.

      There are a few issues with this approach:

      • Having several versions of the file makes it more difficult to keep potential upgrades and bug fixing in sync.
      • Some errors can be made when translating strings embedded in the source code. You can forget to translate some, or accidentally translate strings that you should not.

      So I came up with this small library LibTraductor.rband a set of practices to rationalize a little bit the coding and the language translation management of Sketchup scripts.

      The principle is to provide a way to define and use strings that carry their own translated version.

      
      Mystring = "Hi |EN| Welcome  |DE| Wilkommen |FR| Bienvenue"
      
      

      The macro provides utility functions to support:

      • The definition and usage of multi-language strings, including substitution patterns with %1, …, %9
      • Mass assignment of string constants to variables
      • The designing of dialog boxes, with language translation and built-in validation
      • A few utilities on hash arrays (marshaling, un-marshaling, pretty print)

      Usage: just drop the macro file LibTraductor.rbin the Plugins folder of Sketchup, and in your script just insert a statement:
      require "LibTraductor.rb".

      Test utility: I published a test macro LibTraductor_test.rbto show some examples. It adds 4 menu items in the Plugins menu of Sketchup.

      Compatibility: the macro should work with Sketchup v5 and v6 (Pro and free versions, English and French). I tested it on Windows XP and Vista. I don't know however if it works on Mac

      Programming manual of the Traductor library:
      http://www.sketchucation.com/forums/scf/sas/Ruby/Tutorial%20Traductor%20-%20v1.pdf

      Test utility for LibTraductor:
      http://www.sketchucation.com/forums/scf/sas/Ruby/LibTraductor_Test.rb

      Script library to drop in Sketchup Plugins folder:
      http://www.sketchucation.com/forums/scf/sas/Ruby/LibTraductor.rb

      posted in Developers' Forum
      fredo6F
      fredo6
    • RE: Get_locale

      Strange things actually.
      On a PC with Windows XP in French, Sketchup v6.0.277, I get the following:
      Sketchup.get_locale --> "FR"
      Skectup.os_language --> "EN" (so two characters only).

      On another laptop, with Windows XP US International version and Sketchup v6.0.515, I get:
      Sketchup.get_locale --> "EN"
      Skectup.os_language --> "EN" (so two characters only).

      So this new behavior you report seems pretty recent.

      posted in Developers' Forum
      fredo6F
      fredo6
    • RE: International characters

      This is normal. For German characters, you do not need Unicode. So you should swith it off.
      For MSVC, I don't know if there is an efficient way to enter the extra characters. I am personally using Notepad++.

      posted in Developers' Forum
      fredo6F
      fredo6
    • RE: International characters

      This happens with French accents as well (I am using Notepad++ as my Ruby editor).
      The method is to prefix the special character with a backslash within the string.
      For instance "Gr\ö\βe"

      posted in Developers' Forum
      fredo6F
      fredo6
    • ***CheckforUpdate**** (for script publishing)

      [__________________________________________________________________________________________________________________
      This thread is used by LibFredo6 for CHECK FOR UPDATE information.
      It is reserved to script writers.
      In order to keep the thread as short as possible, Please do not post discussion here
      __________________________________________________________________________________________________________________
      ]**

      !!=!! Name = LibFredo6 ; author=Fredo6 ; version=15.9a ; Date= 25 Mar 26; info = sku::/plugin/903-libfredo6 ; comment = for FredoBend |FR| Pour FredoBend !!=!!

      !!=!! Name = FredoBend ; author=Fredo6 ; version=1.2g ; Date=01 Apr 26 ; required = LibFredo6 15.9 ; info = sku::/plugin/3012-fredobend ;
      description = Tools related to bending shapes |FR| Outils pour courber des objets ; comment = Bug fixing for SU versions prior to SU2021.1 |FR| Corrections de problèmes pour les versions SU antérieures à SU2021.1 !!=!!

      !!=!! Name = FredoSection ; author=Fredo6 ; version=1.5c ; Date=30 Jan 26 ; required = LibFredo6 15.8 ; info = sku::/plugin/2955-fredosection ;
      description = Tools related to Section Planes |FR| Outils lés aux plans de section ; comment = Bug fixing for Mac |FR| Corrections de problèmes pour Mac !!=!!

      !!=!! Name = Pic2Shape ; author=Fredo6 ; version=1.3a ; Date= 17 Dec 25 ; required = LibFredo6 15.6 ; info = sku::/plugin/2893-pic2shape ;
      description = Extraction of contours from images |FR| Extraction de contours a partir d'images ; comment = Extension of validity |FR| Extension de validité !!=!!

      !!=!! Name = LayOps ; author=Fredo6 ; version=1.3a ; Date= 18 Dec 25 ; required = LibFredo6 15.6 ; info = sku::/plugin/2913-layops ;
      description = Dual Dimensions in Layout |FR| Dimensions duales dans Layout ; comment = Extension of validity |FR| Extension de validité !!=!!

      !!=!! Name = ElevationProfile; author=Fredo6 ; version=1.4a ; Date= 17 Dec 25 ; required = LibFredo6 15.6 ; info = sku::/plugin/2746-elevationprofile ;
      description = Visualization and vertical analysis of curvilinear profiles |FR| Visualisation et analyse verticale de profils curvilinéaires ; comment = Extension of validity |FR| Extension de validité !!=!!

      !!=!! Name = FredoBatch; author=Fredo6 ; version=1.5a ; Date= 18 Dec 25 ; required = LibFredo6 15.6 ; info = sku::/plugin/2783-fredobatch ;
      description = Execute a set of tasks on a set of files |FR| Exécution d'un ensemble de taches sur un ensemble de fichiers ; comment = Extension of validity |FR| Extension of validity !!=!!

      !!=!! Name = Please2D ; author=Fredo6 ; version=1.0b ; Date= 20 Nov 24 ; required = LibFredo6 14.7 ; info = sku::/plugin/2773-please2d ;
      description = Force camera direction for selected scenes |FR| Force la direction de la caméra pour les scènes sélectionnées ; comment = bug fixing |FR| Correction de problèmes !!=!!

      !!=!! Name = Layport; author=Fredo6 ; version=1.4a ; Date= 19 Dec 25 ; required = LibFredo6 15.6 ; info = sku::/plugin/2719-layport ;
      description = Adjust Sketchup viewport for Layout |FR| Ajustement du vewport Sketchup pour Layout ; comment = Extension of validity |FR| Extension de validité !!=!!

      !!=!! Name = FredoXRef; author=Fredo6 ; version=1.2a ; Date= 24 Mar 24 ; required = LibFredo6 14.3 ; info = sku::/plugin/2645-matsim ;
      description = Manage XRef components |FR| Gestion de composant XRef ; comment = Initial public release |FR| Première version publique !!=!!

      !!=!! Name = FredoConnect; author=Fredo6 ; version=1.4a ; Date= 19 Dec 25 ; required = LibFredo6 15.6 ; info = sku::/plugin/2767-fredoconnect ;
      description = Allow a team to work concurrently on a shared model |FR| Permet à une équipe de travailler en parallèle sur un modèle partagé ; comment = Extension of validity |FR| Extension de validité !!=!!

      !!=!! Name = MatSim; author=Fredo6 ; version=1.7a ; Date= 17 Dec 25 ; required = LibFredo6 15.6 ; info = sku::/plugin/2645-matsim ;
      description = Simulation of Materials in SketchUp models |FR| Simulation de Matières dans un modèle SketchUp ; comment = Extension of validity |FR| Extension de validité !!=!!

      !!=!! Name = FredoSketch; author=Fredo6 ; version=1.7a ; Date= 17 Dec 25 ; required = LibFredo6 15.6 ; info = sku::/plugin/2582-fredosketch ;
      description = Site of base tools |FR| Suite d'outils de base ; comment = Extension of validity |FR| Extension de validité !!=!!

      !!=!! Name = ThruPaint; author=Fredo6 ; version=2.8d ; Date= 14 May 25 ; required = LibFredo6 14.7 ; info = sku::/plugin/2561-thrupaint ;
      description = Advanced Paint Tool |FR| Outil d'application de matériels avancé ; comment = Bug fixing |FR| Correction de problème !!=!!

      !!=!! Name = MoveAlignMe; author=Fredo6 ; version=1.4a ; Date= 02 Apr 24 ; required = LibFredo6 14.3 ; info = sku::/plugin/2455-movealignme ;
      description = Move and align objects interactively |FR| Déplace et aligne des objets interactivement ; comment = Future compatibility |FR| Compatibilité future !!=!!

      !!=!! Name = LordOfTheToolbars ; author=Fredo6 ; version = 2.9c ; Date= 20 Dec 24 ; required = LibFredo6 14.7 ; info = sku::/plugin/2430-lordofthetoolbars ;
      description = Organize your SketchUp workspace |FR| Organisation de l'environnement de travail SketchUp ; comment = Fix an issue preventing VRay 7 to work and fix for Personal scripts |FR| Corrige un problème empechant VRay 7 de fonctionner et pour la sauvegarde des scripts personnels !!=!!

      !!=!! Name = FredoSpline ; author=Fredo6 ; version=2.6a ; Date= 01 Apr 24 ; required = LibFredo6 14.3 ; info = sku::/forums/viewtopic.php?f=323&t=72402 ;
      description = Creation of splines and other curves based on control points |FR| Creation de splines et autres courbes basées sur des points de contrôle ; comment = Future compatibility |FR| Compatibilité future !!=!!

      !!=!! Name = FredoGuides ; author=Fredo6 ; version=2.9a ; Date= 19 Dec 25 ; required = LibFredo6 15.6 ; info = sku::/forums/viewtopic.php?f=323&t=71933 ;
      description = Manage Sketchup Guides |FR| Gestion des Guides SketchUp ; comment = Extension of validity |FR| Extension de validité !!=!!

      !!=!! Name = FredoGhost ; author=Fredo6 ; version=2.1a ; Date= 01 Apr 24 ; required = LibFredo6 14.3 ; info = sku::/forums/viewtopic.php?f=323&t=71266 ;
      description = Proxy Framework for SketchUp |FR| Gestion de Proxy pour SketchUp ; comment = Future compatibility |FR| Compatibilité future !!=!!

      !!=!! Name = FredoPortrait ; author=Fredo6 ; version=2.9a ; Date= 01 Apr 24 ; required = LibFredo6 14.3 ; info = sku::/forums/viewtopic.php?f=323&t=71340#p650582 ;
      description = Custom Cameras and Image Generation / Export based on the selection |FR| Caméras persos et Génération d'Images / Export basé sur la sélection ; comment = Future compatibility |FR| Compatibilité future !!=!!

      !!=!! Name = MrHide; author=Fredo6 ; version=1.8a ; Date= 02 Apr 24 ; required = LibFredo6 14.3 ; info = sku::/plugin/2300-mrhide ;
      description = Toolbar for direct access to some SketchUp functions |FR| Barre d'outils pour accès direct à certaines function de SketchUp ; comment = Future compatibility |FR| Compatibilité future !!=!!

      !!=!! Name = FredoCorner ; author=Fredo6 ; version=2.7a ; Date= 31 Mar 24 ; required = LibFredo6 14.3 ; info = sku::/plugin/2120-fredocorner ;
      description = Tools dedicated to the filleting of shapes in 3D |FR| Outils de chanfreinage de formes 3D ; comment = Future compatibility |FR| Compatibilité future !!=!!

      !!=!! Name = VisuHole ; author=Fredo6 ; version=1.5a ; Date= 01 Apr 24 ; required = LibFredo6 14.3 ; info = sku::/forums/viewtopic.php?f=323&t=59165#p538311 ;
      description = Tools dedicated to drilling, carving and embossing shapes |FR| Outils de percement et extrusion en creux et relief de formes ;
      comment = Future compatibility |FR| Compatibilité future !!=!!

      !!=!! Name = FredoTools ; author=Fredo6 ; version=4.5c ; Date = 24 Jun 24 ; required = LibFredo6 14.3 ; info = sku::/plugin/907-fredotools ;
      description = Suite of standalone plugins grouped in a single delivery |FR| Divers Plugins regroupés dans un seul package ;
      comment = Fix for wrong calculation of volume in SolidVolume |FR| Correction du calcul de volume dans SolidVolume !!=!!

      !!=!! Name = FredoScale ; author=Fredo6 ; version=3.6a ; Date= 01 Apr 24 ; required = LibFredo6 14.3 ; info = sku::/plugin/1169-fredoscale ;
      comment = Future compatibility |FR| Compatibilité future !!=!!

      !!=!! Name = BezierSpline ; author=Fredo6 ; version=2.2a ; Date= 22 Apr 21 ; info = sku::/forums/viewtopic.php?f=323&t=13563#p100509 ; comment = Performance contextual menu |FR| Performance menu contextuel !!=!!

      !!=!! Name = Curvizard ; author=Fredo6 ; version=2.5a ; Date= 01 Apr 24 ; required = LibFredo6 14.3 ; info = sku::/plugin/804-curvizard ;
      description = Suite of tools manipulating curves |FR| Suite d'outils pour manipuler des courbes ; comment = Future compatibility |FR| Compatibilité future !!=!!

      !!=!! Name = CurviLoft; author=Fredo6 ; version=2.0a ; Date= 31 Mar 24 ; required = LibFredo6 14.3 ; info = sku::/plugin/1175-curviloft ;
      description = Construct shapes based on contours |FR| Construction de forme sur la base de contours ; comment = Future compatibility |FR| Future compatibilité !!=!!

      !!=!! Name = RoundCorner ; version = 3.4a ; Date = 31 Mar 24 ;
      Author = Fredo6 ; info = sku::/plugin/1173-roundcorner ; comment = Future compatibility |FR| Compatibilité future ; required = LibFredo6 14.3 !!=!!

      !!=!! Name = Ghostcomp ; author=Fredo6 ; version=1.4a ; Date= 31 Oct 18 ; required = LibFredo6 8.7 ; info = sku::/forums/viewtopic.php?f=180&t=21469#p180536 ; comment = Maintenance release |FR| Maintenance corrective !!=!!

      !!=!! Name = Animator; author=Fredo6 ; version=4.6a ; Date= 18 Dec 25 ; required = LibFredo6 15.6 ; info = sku::/plugin/1839-animator ; comment = Extension of validity |FR| Extension de validité !!=!!

      !!=!! Name = Souvenir; author=Fredo6 ; version=2.2b ; Date= 07 Apr 24 ; required = LibFredo6 14.3 ; info = sku::/plugin/1999-souvenir ; comment = for SU2024 and fix in model history |FR| Pour SU2024 et correction de l'historique des modèles !!=!!

      !!=!! Name = HoverSelect ; author=Fredo6 ; version=1.5a ; Date= 07 Oct 17 ; required = LibFredo6 7.7 ; info = sku::/forums/viewtopic.php?f=180&t=18916#p155058 ; comment = required for OSX High Sierra |FR| Compatibilité OSX High Sierra !!=!!

      !!=!! Name = SUClock ; author=Fredo6 ; version=3.1a ; Date = 02 Apr 24 ; required = LibFredo6 14.3 ; info = sku::/plugin/910-suclock ;
      comment = Future compatibility |FR| Compatibilité future !!=!!

      !!=!!Name = ToolsOnSurface ; author=Fredo6 ; version=2.6a ; Date= 01 Apr 24 ; info = sku::/forums/viewtopic.php?f=180&t=11212#p76625 ;
      Description = Suite of tools to draw on surfaces |FR| Suite d'outils pour dessiner sur des surfaces ; comment = Future compatibility |FR| Compatibilité future ; required = LibFredo6 14.3 !!=!!

      !!=!! Name = JointPushPull ; version=4.8a ; Date = 30 Mar 24 ; author=Fredo6 ; info = sku::/plugin/715-jointpushpull ; Description = Push-Pull with various modes and options |FR| Push-Pull avec différents modes et options ;
      comment = Multi-instances groups, special curves (circles, arcs, polygons) |FR| Groupes multi-instances, Courbes spéciales (cercles, arcs, polygones) ; required = LibFredo6 14.3 !!=!!

      !!=!!Name = FredoTools::MarkVertices ; author=Fredo6 Tools ; version=1.2a ; Date= 20 Jul 11 ;
      Description = Put a construction point at selected edges and faces vertices |FR| Positionne un contruction point au vertex des arêtes et faces sélectionnées ; info = sku::/forums/viewtopic.php?f=323&t=37197#p327946 ;
      comment = Now part of FredoTools|FR| Publié dans FredoTools !!=!!

      !!=!!Name = FredoTools::ColorFlatMode ; author=Fredo6 Tools ; version=1.0a ; Date= 18 Nov 19 ; info = sku::/forums/viewtopic.php?f=323&t=71816 ;
      Description = Switch view to no shading and natural colors |FR| Bascule la vue vers un mode sans ombrages et avec couleurs naturelles ;
      comment = First release |FR| Publication initiale !!=!!

      !!=!!Name = FredoTools::ElementStats ; author=Fredo6 Tools ; version=1.0a ; Date= 10 Jan 15 ;
      Description = Interactive Statistics on Entities in the model |FR| Statistiques interactives sur les entités du modèle ; info = sku::/forums/viewtopic.php?f=323&t=60591#p553304 ;
      comment = Part of FredoTools 2.5 |FR| Publié dans FredoTools 2.5 !!=!!

      !!=!!Name = FredoTools::ReportLabelArea ; author=Fredo6 Tools ; version=3.3b ; Date= 06 Dec 20 ;
      Description = Create reports on Areas - Browse model with Areas - Create and Edit labels with Areas|FR| Crée des rapports sur les Surfaces - Navigation interactive pour les surfaces dans le modèle - Crée et modifie des labels texte avec des Surfaces ; info = sku::/forums/viewtopic.php?f=323&t=40025#p354050 ;
      comment = Auto-refresh option |FR| Option pour rafraichissement automatique !!=!!

      !!=!!Name = FredoTools::MoveAlong ; author=Fredo6 Tools ; version=1.3a ; Date= 13 Sep 21 ; info = sku::/forums/viewtopic.php?f=323&t=57337 ;
      Description = Extend the SU Move tool with additional features |FR| Etend l'outil SU Move avec des fonctions complémentaires ;
      comment = fix autosmooth always on |FR| Correction de l'autosmooth toujours activé !!=!!

      !!=!!Name = FredoTools::DrawAlong ; author=Fredo6 Tools ; version=1.2a ; Date= 12 Oct 14 ; info = sku::/forums/viewtopic.php?f=323&t=57733 ;
      Description = Extend the SU Line tool with additional features |FR| Etend l'outil SU Line avec des fonctions complémentaires ;
      comment = fixes related to Construction Points |FR| Corrections concernant les Points de Construction !!=!!

      !!=!!Name = FredoTools::ConstructFaceNormal ; author=Fredo6 Tools ; version=1.3a ; Date= 20 Jul 11 ; info = sku::/forums/viewtopic.php?f=323&t=37501#p330985 ;
      Description = Draw a construction line along normals of selected faces|FR| Crée une ligne de construction suivant la normale des faces sélectionnées ;
      comment = Now part of FredoTools|FR| Publié dans FredoTools !!=!!

      !!=!!Name = FredoTools::CountFacesBySides ; author=Fredo6 Tools ; version=1.1a ; Date= 19 Dec 11 ;
      Description = Categorize and Count faces according to their number of sides|FR| comptabilise les faces selon leur nombre de cotés ; info = sku::/forums/viewtopic.php?f=323&t=30976#p272262 ;
      comment = Now part of FredoTools|FR| Publié dans FredoTools !!=!!

      !!=!!Name = FredoTools::AngleInspector ; author=Fredo6 Tools ; version=1.0a ; Date= 17 Nov 14 ;
      Description = Measure Angles between elements of the model in one click |FR| Mesure les angles entre éléments du modèle en un seul clic ; info = sku::/forums/viewtopic.php?f=323&t=30976#p272262 ;
      comment = Initial public release |FR| Publication initiale !!=!!

      !!=!!Name = FredoTools::RevertCurve ; author=Fredo6 Tools ; version=1.1a ; Date= 25 Aug 11 ;
      Description = Revert the orientation of curves|FR| Inverse le sens des Courbes Sketchup; info = sku::/forums/viewtopic.php?f=323&t=25710#p221170 ;
      comment = Now part of FredoTools|FR| Publié dans FredoTools !!=!!

      !!=!!Name = FredoTools::CurviShear ; author=Fredo6 Tools ; version=1.5a ; Date= 25 Aug 11 ;
      Description = Vertical Shearing of Curves (useful for ramps)|FR| Cisaillement vertical de Courbes (utile pour faire des rampes) ; info = sku::/forums/viewtopic.php?f=323&t=29230#p254673 ;
      comment = Now part of FredoTools|FR| Publié dans FredoTools !!=!!

      !!=!!Name = FredoTools::RemoveLonelyVertices ; author=Fredo6 Tools ; version=1.2a ; Date= 20 Jul 11 ; info = sku::/forums/viewtopic.php?f=323&t=37619#p332047 ;
      Description = Remove vertices joining consecutive collinear edges|FR| Supprime les vertex qui joignent des arêtes colinéaires consécutives ;
      comment = Now part of FredoTools|FR| Publié dans FredoTools !!=!!

      !!=!!Name = FredoTools::ThruPaint ; author=Fredo6 Tools ; version=1.3a ; Date= 20 Oct 16;
      Description = Extension of the SU Paint Tool|FR| Extension de l'outil Paint de Sketchup ; info = sku::/forums/viewtopic.php?f=323&t=44552#p397448 ;
      comment = Purge feature |FR| Option Purge !!=!!

      !!=!!Name = FredoTools::ReverseOrientFaces ; author=Fredo6 Tools ; version=1.a ; Date= 11 Apr 12;
      Description = Reverse or Orient Faces with Click and Click & Drag |FR| Inverse ou oriente les faces en mode Clic et Clic-Deplacer ; info = sku::/forums/viewtopic.php?f=323&t=44551#p397447 ;
      comment = Published with FredoTools|FR| Publié dans FredoTools !!=!!

      !!=!!Name = FredoTools::EdgeInspector ; author=Fredo6 Tools ; version=1.2a ; Date= 12 Oct 14;
      Description = Inspect and Fix edge defects in Model|FR| Inspecte et répare certains défauts d'arêtes dans le modèle ; info = sku::/forums/viewtopic.php?f=323&t=56004#p508307 ;
      comment = Fixes and evolutions for Lost Junctions, Tiny Edges and Tiny Gaps |FR| Corrections et evolutions pour Lost Junctions, Tiny Edges et Tiny Gaps !!=!!

      !!=!!Name = FredoTools::AutoReverseFaces; author=Fredo6 Tools ; version=1.0a ; Date= 25 Feb 15;
      Description = Automatically align the orientation of faces|FR| Aligne automatiquement l'orientation des faces ; info = sku::/forums/viewtopic.php?f=323&t=61144#p558705 ;
      comment = initial public release |FR| Publication initiale !!=!!

      !!=!!Name = FredoTools::SolidVolume; author=Fredo6 Tools ; version=1.4a ; Date= 10 Feb 20;
      Description = Compute the volume and faces area of solids in the selection |FR| Calcul du volume et de la surface de solides dans la sélection ; info = sku::/forums/viewtopic.php?f=323&t=61781#p565102 ;
      comment = Fix bug in volume calculation regardless of orientation of faces |FR| Corrige un problème de calcul de volume indépendamment de l'orientation des faces !!=!!

      !!=!!Name = FredoTools::Convexify; author=Fredo6 Tools ; version=1.0a ; Date= 25 Feb 15;
      Description = Convex decomposition of 3D shapes|FR| Decomposition convexe de formes 3D ; info = sku::/forums/viewtopic.php?f=323&t=61145#p558706 ;
      comment = initial public release |FR| Publication initiale !!=!!

      !!=!!Name = FredoTools::DivideEdges; author=Fredo6 Tools ; version=1.0a ; Date= 09 Jul 17;
      Description = Divide and/or Mark edges and curves|FR| Division / Marquage d'arêtes et de courbes ; info = sku::/forums/viewtopic.php?f=323&t=67995 ;
      comment = initial public release |FR| Publication initiale !!=!!

      !!=!!Name = FredoTools::FaceTriangulator; author=Fredo6 Tools ; version=1.0a ; Date= 24 Feb 18;
      Description = Triangulate a set of faces with custom triangulation points|FR| Triangulation d'un ensemble de faces avec spécification de points de triangulation supplémentaires ; info = sku::/forums/viewtopic.php?f=323&t=69323 ;
      comment = initial public release |FR| Publication initiale !!=!!

      !!=!!Name = FredoTools::ColorBySlope; author=Fredo6 Tools ; version=1.0a ; Date= 12 Sep 19;
      Description = Colorize faces based on their slope |FR| colorise les faces selon leur pente ; info = sku::/forums/viewtopic.php?f=323&t=71605&sid=4a399e49e98db441fb3056fac2b8ce8e ;
      comment = initial public release |FR| Publication initiale !!=!!

      !!=!!Name = FredoTools::ColorByAltitude; author=Fredo6 Tools ; version=1.2a ; Date= 10 Jul 21;
      Description = Colorize faces based on their altitude |FR| Colorise les faces selon leur altitude ; info = sku::/forums/viewtopic.php?f=323&t=71714 ;
      comment = bug fixing for coloring on Mac |FR| Correction de problèmes pour le coloriage sur Mac !!=!!

      !!=!!Name = FredoTools::ColorPaint; author=Fredo6 Tools ; version=1.2a ; Date= 02 Nov 19;
      Description = Configurable Color Selector |FR| Sélecteur de couleurs configurable ; info = sku::/forums/viewtopic.php?f=323&t=71713 ;
      comment = Support of transparency and Combo mode |FR| Support transparence et mode Combo !!=!!

      !!=!! Name = TopoShaper ; author=Fredo6 ; version=2.7a ; Date= 01 Apr 24 ; required = LibFredo6 14.3 ; info = sku::/plugin/716-toposhaper ;
      Description = Generate terrain from iso-contours or Cloud of Points|FR| Génère un terrain à partir d'iso-contours ou d'un Nuage de Points ;
      comment = Future compatibility |FR| Compatibilité future !!=!!

      !!=!!Name = 000RedirectPlugins ; author=Fredo6 ; version=1.1a ; Date= 30 Jul 11 ;
      Description = Define one or several additional Directories for loading Plugins|FR| Définit un ou plusieurs dossiers supplémentaires pour le chargement des Plugins ;
      comment = OBSOLETE - To be replaced by 000_AdditionalPluginFolders |FR| OBSOLETE - A remplacer par 000_AdditionalPluginFolders !!=!!

      !!=!!Name = 000_AdditionalPluginFolders ; author=Fredo6 ; version=4.0a ; Date= 30 Aug 13 ;
      Description = Define one or several additional Directories for loading Plugins|FR| Définit un ou plusieurs dossiers supplémentaires pour le chargement des Plugins ;
      comment = OBSOLETE - To be replaced by !AdditionalPluginFolders |FR| OBSOLETE - A remplacer par !AdditionalPluginFolders!!=!!

      !!=!!Name = AdditionalPluginFolders ; author=Fredo6 ; version=5.4a ; Date= 27 Sep 20 ;
      Description = Define one or several additional Directories for loading Plugins|FR| Définit un ou plusieurs dossiers supplémentaires pour le chargement des Plugins ; info = sku::/forums/viewtopic.php?f=323&t=39073#p345150 ;
      comment = Bug fixing |FR| Correction de problème !!=!!

      PLEASE DO NOT START A DISCUSSION in THIS THREAD - the thread should remain small for performance reasons.

      posted in Developers' Forum
      fredo6F
      fredo6
    • BeizerSpline - Latest version (obsolete)

      Edit 19 Oct 08: I released a comprehensive version of BezierSpline,version 1.2, which includes this extension. It is advised to refere to the following post:
      http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=13563#p100509


      The latest version of Bezierspline is now published on Crai Ruby Depot
      http://www.crai.archi.fr/RubyLibraryDepot/Ruby/Newest_scripts.html

      It includes:

      • Classic Bezier curve, Cubic Bezier, Uniform B-Spline and Polylines
      • Creation, Edition, insertion and deeletion of control points, curve closing, etc....
      • A tool bar is available
      • Better Mac compatibility (I still need a Mac User to confirm)
      • Language translation available in English, French, German and Hungarian
      • Some documentation, mostly in english

      On language translation, I am still missing some languages. So if anyone speaking Italian, Spanish, Portuguese, Dutch, etc... wishes to help, here attached is the file containing the strings to be translated. Just do the translation, I will take care of the integration. Even better, if anyone is willing to translate the quickcard (1,5 pages), also attached as MS Word file. Thanks in advance.


      Text file containing strings to be translated


      Quick reference manual (1.5 page) to be translated thanks

      posted in Developers' Forum
      fredo6F
      fredo6
    • Keeping control over very long tasks

      Hi to all,

      I was wondering if there was a way to give back control to the Tool message loop when performing a long calculations.

      To be clearer let's assume you have a piece of code that may take a long while to process. Assuming it is executed in the context of a Tool, it seems that you cannot catch any event while it is processed (such as getting a key or click down). This may be because Sketchup is monothreaded.

      I tried to call iteratively each piece of processing in a Start_timer call, but this does not work (in addition the usage of Ruby continuation, callcc, does crash the program).
      If you start a seaparet thread, it does not work either (it seems that Skecthup API cannot eb executed ina separated thread).

      If anyone has an idea, that would be helpful. It is a pity that Sketchup does not have a method for that!

      Thanks

      Fredo

      posted in Developers' Forum
      fredo6F
      fredo6
    • RE: Bezier et spline

      On peut garder l'ancienne version. Il y a compatibilite dans les deux sens (on peut editer une courbe de Bezier creee par une macro avec l'autre macro), mais je me suis arrange pour qu'il n'y ait pas de clash entre les deux macros.

      posted in Français
      fredo6F
      fredo6
    • Bezier et spline

      Je viens de decouvrir qu'il y avait un Forum francais sur le site. Interessant 😒 :esurp:

      Je viens de publier une evolution de la venerable macro bezier.rb, avec plus de possibilites pour editer les courbes de Bezier et de nouvelles courbes (Cubic Bezier et B-Spline uniforme).

      C'est dans la partie Ruby, mais comme cela concerne les utilisateurs de Sketchup, je vous fais passer le lien.
      http://www.sketchucation.com/scf/viewtopic.php?f=9&t=3633

      La macro s'appelle bezierspline.rb, et j'ai fait un peu de doc pour l'utiliser (bon ! la doc est en anglais, sauf un petit resume en franncais). Les fichiers sont attaches dans ce forum Ruby dans differents posts (du aux limitation du site pour les attachments).


      Bezierspline illustration.jpg

      posted in Français
      fredo6F
      fredo6
    • 1 / 1