sketchucation logo sketchucation
    • Login
    1. Home
    2. simjoubert
    3. Posts
    ⚠️ Attention | Having issues with Sketchucation Tools 5? Report Here
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 28
    • Groups 2

    Posts

    Recent Best Controversial
    • Plugin SJ Add DC Attribut

      Hello, (I'm not sure I'm in the right place!)

      I want to share with you my SJ Add DC Attribut plugin.

      Sj Add DC Attribute is a plugin for Sketchup.

      It is used to apply one or more common attributes to a selection.

      • Attributes can be entered, or taken from a list of favorite attributes or present in one of the components of the selection.

      • The dialog box is now in HTML, animated by java-script.

      • Automatic translation according to local Sketchup settings.
        Languages ​​supported English and French.

      https://www.sketchup.simjoubert.com/images/sj_adddcattribut/sj_adddcattribut_v0.2.5.gif

      The plugin is free, the code is not encrypted and commented in French to help French Ruby beginners.
      You can download the plugin:
      on my site : https://www.sketchup.simjoubert.com/my-plugins/sj-add-dc-attribute.html
      or on the Sketchucation plugin store :https://sketchucation.com/plugin/2537-sjadddcattribute

      Thank you for your feedback

      Simon

      posted in Plugins
      simjoubertS
      simjoubert
    • [Plugin] SJ Component To Scenes

      Hello, (I'm not sure I'm in the right place!)

      I want to share with you my SJ Component To Scenes plugin.

      sj Components To Scenes is a plugin that creates a scene for each definition of the selected instances.

      This is a rewrite of TimRowledge's "ComponentsScenes" plugin which worked great up until the 2019 version of Sketchup.

      • I added prefix options for layer and scene names and Sketchup > 2021 the ability to place created tags in a customizable folder.

      • It is accessible from the menu >Extensions>Simjoubert Tools>Components To Scenes.

      Or from the SJ Components To Scenes toolbar.

      • Automatic translation according to local Sketchup settings.
        Languages ​​supported English and French.

      https://www.sketchup.simjoubert.com/images/Plugins/sj_components_to_scenes/sj_components_to_scenes_02_reglage.png

      Thank you for your feedback

      Simon

      The plugin is free, the code is not encrypted and commented in French to help French Ruby beginners.
      You can download the plugin on my site

      Link Preview Image
      SJ Components To Scenes

      j Components To Scenes est un plugin pour Sketchup. sj Components To Scenes est un plugin qui créer une scène pour chaque définition des instances sélectionnée

      favicon

      (www.sketchup.simjoubert.com)

      posted in Plugins
      simjoubertS
      simjoubert
    • RE: Adding Solid Volume to Attributes

      Hello
      Thank you for this code which opens up nice perspectives for me, especially if I manage to debug the following situation!

      Sketchup does not offer the function to count the number of occurrences of a text string in a text.

      I have checked in the ruby window the following code and I get the expected result

      string = 'hello world'
      string.count('l')
      # This returns the integer 3 
      

      I want to implement a new function but I have the following error

      [wrong number of arguments (given 1, expected 2)]
      

      Here is my code that I added after the one from TIG

      # add_DC_function.rb
      # extends DCs functions
      require('sketchup')
      require('su_dynamiccomponents.rb')
      if defined?($dc_observers)
        # Open SketchUp's Dynamic Component Functions (V1) class.
        # BUT only if DC extension is active...
        class DCFunctionsV1
          protected
          # DC Function Usage; =volume()
          # returns the instance's volume [cu"]
          if not DCFunctionsV1.method_defined?(;volume)
            def volume(a)
              return @source_entity.volume
            end
          end
      	
      	    # DC Function Usage; =occurence(texte,texte recherche)
          # returns the number of the occurency of the string
          if not DCFunctionsV1.method_defined?(;occurence)
            def occurence(a, b)
              return a.count(b)
            end
          end
        end#class
      end#if
      

      Thank you for your help
      Simon

      posted in Dynamic Components
      simjoubertS
      simjoubert
    • RE: [Plugin] FullScreen v5.1.3 (25 April 2024)

      Hello and thank you for this plugin which will facilitate and improve the transition from modeling to customer presentation!
      The number of plugins in my toolbar has grown without my being able to get rid of a single one! Can you imagine saving different toolbar configurations to switch from one working environment to another depending on the state of play of the model. Modeling, texturing, Animation, Render, ...
      thanks again

      Bonjour et merci pour ce plugin qui va faciliter et améliorer le passage modélisation à la présentation client !
      Le nombre de plugins dans ma barre d'outils grossi sans que je puisse me défaire d'un seul ! Pouvez vous imaginer l'enregistrement de différente configurations de barre outils pour passer d'un environnement de travail à un autres selon l'atat d'avancement du modèle. Modélisation, texturing, Animation, Render,...
      Merci encore

      posted in Plugins
      simjoubertS
      simjoubert
    • RE: [Plugin][Code]SKMtools,Material/ImageTools

      Thanks TIG

      posted in Plugins
      simjoubertS
      simjoubert
    • RE: [Plugin][Code]SKMtools,Material/ImageTools

      Merci TIG
      J'ai modifié "Modèles" en "Modeles" et ça à fonctionner pour un petit PNG.
      Je suis en train de tester sur une jolie image d'erable du Japon !
      Je posterai les résultats!
      Merci encore pour ton super travail ! 😄

      posted in Plugins
      simjoubertS
      simjoubert
    • RE: [Plugin][Code]SKMtools,Material/ImageTools

      Bonjour à tous
      Bonjour TIG !

      Hello !

      My English is not perfect so excuses me !

      I had a ttrouble with the imagetrimmer !

      In the ruby console, I have this message report :

      Error; #<Errno;;ENOENT; No such file or directory - D;\Sketchup\Modèles\TrimmedImages\forme4[Edges].dat>
      C;/Users/simjo/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/SKMtools/ImageTrimmer.rb;264;in `readlines'
      C;/Users/simjo/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/SKMtools/ImageTrimmer.rb;264;in `make_edges'
      C;/Users/simjo/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/SKMtools/ImageTrimmer.rb;196;in `process_image'
      C;/Users/simjo/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/SKMtools/ImageTrimmer.rb;165;in `initialize'
      C;/Users/simjo/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/SKMtools/ImageTrimmer.rb;818;in `new'
      C;/Users/simjo/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/SKMtools/ImageTrimmer.rb;818;in `block in <top (required)>'
      SketchUp;1;in `call'
      

      List of step I do :

      [1]New skp model

      [2]Import image .png

      [3]Save file

      [4]Run plugin ImageTrimmer

      [5]Waiting

      I read some thing like this in the forum but i had already instal and update my java
      the .jar is already join with java

      Can you help me !
      Thanks you !

      Simon

      posted in Plugins
      simjoubertS
      simjoubert
    • RE: [Plugin][Code]SKMtools,Material/ImageTools

      Bonjour à tous !
      Hello every body !

      Sorry for my english !

      I have trouble with the imageTrimmer

      Each step i do :

      • 1- I open a new .skp file
        2- I importe a .png image with transparence part of image.
        3- I save my .skp file
        4- I select my image
        5- I run ImageTrimmer plugin
        6- I wait ( I see the progress bar ......)
        7- Nothing change !

      This is the report of the ruby console :

      Error; #<Errno;;ENOENT; No such file or directory - D;\Sketchup\Modèles\TrimmedImages\forme4[Edges].dat>
      C;/Users/simjo/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/SKMtools/ImageTrimmer.rb;264;in `readlines'
      C;/Users/simjo/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/SKMtools/ImageTrimmer.rb;264;in `make_edges'
      C;/Users/simjo/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/SKMtools/ImageTrimmer.rb;196;in `process_image'
      C;/Users/simjo/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/SKMtools/ImageTrimmer.rb;165;in `initialize'
      C;/Users/simjo/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/SKMtools/ImageTrimmer.rb;818;in `new'
      C;/Users/simjo/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/SKMtools/ImageTrimmer.rb;818;in `block in <top (required)>'
      SketchUp;1;in `call'
      

      If someone give me help, Thank you.

      Simon

      posted in Plugins
      simjoubertS
      simjoubert
    • 1
    • 2
    • 2 / 2