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!
    🫛 Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download
    Offline
    • Profile
    • Following 0
    • Followers 55
    • Topics 173
    • Posts 5,302
    • Groups 3

    Posts

    Recent Best Controversial
    • RE: [Obsolete] Tools On Surface - v1.1

      Circles and Polygons are coming!
      Probably in a few days.

      Actually, I am struggling to make the algorithm a little more robust, as Sketchup is not accurate enough with methods like Interesect_line_plane, which causes some problems in some situation.

      By the way, I did not get bug reports about these tools, while myself, I can find several problems when playing with different surface topologies. Maybe it's good enough in a day-to-day work?

      By the way, I am not sure Bezier is useful on surfaces (precisely because Bezier are much better when drawn in a plane), but I am working on Arcs and also on Polylines (useful in order to correct contours).

      Just a matter to find some time!!

      posted in Plugins
      fredo6F
      fredo6
    • RE: [Obsolete] Tools On Surface - v1.1

      Daniel,

      If there is one area where I still have to learn is the Inference mechanism in Sketchup.

      However, if you wish to draw contours parallel to others (as in your example), then I suggest you use the Offset tool (possibly with Construction line mode). Select the edges and also faces they border and offset by a distance. This is described in the Tutorial, on pages 3-4.

      I plan to build a Tape Measure tool to ease this operation, but it is still not written.

      Fredo

      PS: by the way, thanks for the icons. I'll see how to integrate in a next release (and there is another proposal from CadFather which I need to look at).

      posted in Plugins
      fredo6F
      fredo6
    • RE: [Obsolete] Tools On Surface - v1.1

      @majid said:

      i made a date palm tree , when started to play whit this great ruby ... it was just a fun ...but finally the result was amazing.... and here is some pics, to show my respect to Fredo

      Majid,

      I think this would deserve a tuto, as myself I am still wondering how you used the tool to create so realistic palm trees !

      Fredo

      posted in Plugins
      fredo6F
      fredo6
    • RE: [Obsolete] Tools On Surface - v1.1

      @daniel s said:

      Hi fredo...

      About the offset on surface the external offset deletes the original surface... is there a way to keep the original surface like in the previous version? In the image I put in "1" the external offset, in "2" the actual result and in "3" what i´m trying to get.

      About the icons and cursors i tried to make them.. but i can´t do the ones with Cline. The ones i can don´t look very good... but i post them here.

      Daniel S

      Daniel (and all)

      Sorry for this. I fixed the bug and reloaded on the first message of this thread.
      (Bubbalove: try again, as you wanted to download when I was replacing the file. Sorry)

      posted in Plugins
      fredo6F
      fredo6
    • RE: [Obsolete] Tools On Surface - v1.1

      Macs,

      I understand. This is due to a problem in Sketchup when you create a curve made of edges on an existing edge (you can check this is the case when you generate in a group and then explode). I'll try to fix it.
      By default, the script generates curves for each line drawn. If you deactivate this option (key F9), it works correctly.

      posted in Plugins
      fredo6F
      fredo6
    • Outils de Dessin sur Surface

      Je viens de publier la premiere version d'une suite d'outils permettant de dessiner ou de creer de la geometrie sur des surfaces. Pour l'instant, il y a OffsetOnSurface(deja publie, mais avec quelques evolutions) et LineOnSurface, qui clone l'outil de dessin de lignes de Sketchup, mais sur une surface.
      OffsetOnSurface Sample 2.jpg
      LineOnSurface Sample.jpg
      Il y a une petite doc en Francais
      J'ai en plan d'autres outils, des que j'ai un peu de temps!

      voir : http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=9637&p=60520#p60512

      posted in Français
      fredo6F
      fredo6
    • RE: [Obsolete] Tools On Surface - v1.1

      @solo said:

      Just gave me another toy, I mean tool. 👍

      3 minutes to make.
      crackedupyc4.jpg

      Solo,

      very nice illustration of what you can do by combining JPP and the Tools on Surface.
      Would you mind if I take the picture and put it in the documentation?

      Fredo

      posted in Plugins
      fredo6F
      fredo6
    • RE: [Obsolete] Tools On Surface - v1.1

      @macs said:

      Hi Fredo! Your tools are fantastic! 👍
      I think i found a problem while I was playing with the line tool:

      I've attcached this simple model
      draw a plane line with your tool from the lower vertex of the segment
      up in vertical. The result line will be connected to the upper circle
      and not to the starting vertex.
      The same does not happen with the costruction line.

      I am not totally clear on what happened to you.
      What is sure is that when the surfaces contains planes which are perpendicular, the interpretation of a path on the surface is always ambiguous.
      Cylinder Dos.jpg

      posted in Plugins
      fredo6F
      fredo6
    • RE: [Obsolete] Tools On Surface - v1.1

      @gaieus said:

      A question: what do you mean by "Drape on surface"? The Sandbox Drape tool is already applied on a surface!

      Unlike the native Sandbox, DrapeOnSurface would not use projection, but reconstruction of geometry on the surface with respect of distance. Typically, you should be able to draw text (or any shape) fully around a cylinder (and possibly extrude it with JPP).
      DrapeOnSurface is also an easier way to produce drawings on Surface. Actually, you draw on a plane (where you have all Sketchup tools and can be accurate), and then you drape on the surface.

      @gaieus said:

      Another question; how about a texture positioning (with multiple pins and the ability to dustort the image) on surface? All those organic modelers (like kwistenbiebel) are crying for something like that! 😉

      Interesting idea, but it would need to be described in more details

      posted in Plugins
      fredo6F
      fredo6
    • [Obsolete] Tools On Surface - v1.1

      [Edit 17 Sep 09] new version 1.5 available with more shapes, Eraser and Contour Edition, see http://forums.sketchucation.com/viewtopic.php?f=323&t=11212&hilit=plugin#p76625.

      As you could guess, Offset On Surface was the first member of a family of tools that would reproduce the Sketchup native tools, but on Surface.

      So here is the first version of ToolsOnSurface. It contains only 2 tools at the moment:

      • OffsetOnSurface(with a number of enhancements compared to version 1.0 and replacing this version (see original discussion at http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=8821)
        OffsetOnSurface Sample 2.jpg

      • Line on Surface, which is analog to the Line tool in Sketchup
        LineOnSurface Sample.jpg
        For Offset On Surface, there are a few evolutions:

      • Generate in Plain Line or in Construction Line (with / without Construction Point)

      • Handle overlapping contours and split them, to try handling the issue raised by a4chitect (see http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=6708&start=45#p52807)

      • Double Click to repeat with same distance on a different selection (as requested by Coen)

      • Generation Group now common to all operation on surface

      • Correction of distance possible after operation

      • Revisit the contour simplification algorithm

      • Separate file for default settings (colors, options, …)

      • Added a programming API for Ruby

      • Fixed a number of bugs

      For Line on Surface, it is quite similar to its Sketchup cousin, with a few evolutions

      • Draw Plain Line or Construction line (with / without Construction Point)
      • Also supports distance in VCB (during and after) and redo via double click

      I updated the documentation on OffsetOnSurface accordingly.

      I also added a short Reference manual for all Tools on Surface. It describes the installation and summarizes the key points for each tool. It is available in English and in French.

      Next tools should be

      • PolygonOnSurface(including Circle and ellipses)
      • TapeOnSurface, to mimic the Tape Measure tool
      • RectangleOnSurface
      • DrapeOnSurface

      Fredo

      PS: Call for Help: Icons and Cursors
      You surely noticed that my artistic limits for designing icons and cursors. So, if anyone has suggestions, thanks in advance!

      posted in Plugins
      fredo6F
      fredo6
    • RE: [New Feature]: Floating Shorcut

      The problem is that you also need key shortcuts within a tool (for instance I use Function keys to change some options and parameters in JPP or OffsetOnSurface).
      Sketchup traps any key type and would switch to the tool is the key is assigned to any.

      posted in Developers' Forum
      fredo6F
      fredo6
    • RE: Joint Push Pull

      @north_frost said:

      Great tool 👍
      Works excellent ❗

      Thanks.
      I suggest you try the latest version, which has more features
      http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=6708

      posted in Developers' Forum
      fredo6F
      fredo6
    • RE: Help needed: drawing_color (all colors)?

      Do you mean that the list of colors in the doc does not apply to #view.draw_points??
      see http://download.sketchup.com/sketchuphelp/gsu6_ruby/Docs/Ruby-Color.html

      posted in Developers' Forum
      fredo6F
      fredo6
    • RE: Bezierspline by fredo6 editing

      @a4chitect said:

      could someone help me understand why when editing spline sometimes the selecting cursor is a black filled square and sometimes it is an empty square? the filled cursor can't be locked to axes when moving while the empty square can and also snaps to geometry better. I could't recognize any apparent reason why sometimes I get the filled one and sometimes don't. thanks

      By the way, you seem to use the older version which had bugs about inferences. I have made a correction in the release of January 2008, which is on Crai Depot
      (see also http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=5429)

      posted in Developers' Forum
      fredo6F
      fredo6
    • RE: Polyreducer Experiments

      Extremely impressive how you master this domain of 3D modelling!
      I am sure you'll make many Sketchuper happy, especially when importing from other 3D software.

      Fredo

      posted in Developers' Forum
      fredo6F
      fredo6
    • RE: "SuivezMoi"

      @gilles said:

      bonjour,
      Le Topic "aidez moi"
      (http://www.sketchucation.com/forums/scf/viewtopic.php?f=51&t=9016&st=0&sk=t&sd=a#p54715)
      sur la création d'un limon d'escalier met l'accent sur les limites de l'outil SuivezMoi: si le chemin d'extrusion n'est pas sur un plan (cas d'une hélice), il se produit une rotation de la surface extrudée à chaque segment du chemin comme on peut le constater sur la figure de gauche, alors que l'on voudrait obtenir la figure de droite.

      Quelqu'un connait-il un plugin qui gère ce "problème"?
      Peut-être un petit challenge pour Fredo6 à qui l'on doit l'excellent "jointPushPull"
      @+

      Je me pose en effet la question d'automatiser un Follow Me sans projection orthogonale. C'est faisable, mais il me faut un peu de temps.

      posted in Français
      fredo6F
      fredo6
    • RE: Script help !

      @didier bur said:

      Qu'est ce que le paramètre hcomp ? Il manque du code là-dedans...

      <hcomp> est effectivement une Hash Table qui sert a enregistrer les composants traitees. En effet, quand on parcourt la selection, on peut tomber sur plusieurs instances du meme composant, et en realite, on ne doit appliquer la modification de texture qu'une seule fois, pour la definition du composant, ce qui modifiera toutes ses instances.

      Dans le cas present, cela n'a effectivement pas d'impact (au pire on change plusieurs fois la texture du meme composant!).

      Pour le material, il faut utiliser l'objet <model.materials.current> et non son nom

      Enfin, il me semble aussi que la ligne "model.commit_operation" est mal placee. Mieux vaut ecrire:

      
      model.start_operation "Texturiser selection"
      process_seltxt model.selection, {}, active_material
      model.commit_operation		
      
      

      Ci-joint une version modifiee du script

      Fredo

      PS1: Didier a raison de dire que la fonction de texturage d'une selection existe en standard dans le user interface de Sketchup. Mais je remarque que ton script texture les deux cotes des faces, ce qui n'est effectivement pas disponible en standard

      PS2: il me semble qu'en Sketchup Ruby, on ne peut pas creer un nouveau materiel qui est une copie d'un existant (materials.add cree un nouveau material vide). Si quelqu'un connait une methode, cela me rendra service!

      PS3: Sorry for non-French speaking members!


      seltxt Modif.rb

      posted in Developers' Forum
      fredo6F
      fredo6
    • RE: Aidez moi svp !!!!

      Très très belle méthode et réalisation.
      Bravo!

      posted in Français
      fredo6F
      fredo6
    • RE: A kickass UI using WebDialogs and DHTML Suite.

      Chris,

      That's a very neat job and a damned good idea to enhance interactivity for some plugins requiring options and being context sensitive for actions (The Sketchup tool bar is actually very limited to interact efficiently and the button state management of Sketchup is simply buggy).

      I guess this works for Mac too.

      As soon as I can, I'll give it a try to regroup some commands of my plugins (Bezier, JPP, OOS, etc...) as it will be easier to show the options.

      Fredo

      PS: your dialog box is very esthetic. I like very much the design. And if you allow me, I will take some inspiration of it when I try one.

      posted in Developers' Forum
      fredo6F
      fredo6
    • RE: [Obsolete] Offset On Surface (v1.0)

      I think I understand now.
      When you offset, the new contour is generated as a curve (you can change this by toggling F9).
      Then, a Joint Push Pull will consider that because the contour is a curve, the edges have to be generated as Soft and Smooth. This behavior actually is natural in most situations where you push pull a curved surface (for instance generated from Sand Box).

      Of course, it is possible to introduce options for all these behaviors, as it would anyway difficult for the script to decide by itself!

      posted in Developers' Forum
      fredo6F
      fredo6
    • 1
    • 2
    • 258
    • 259
    • 260
    • 261
    • 262
    • 265
    • 266
    • 260 / 266