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!
    🔌 Smart Spline | Fluid way to handle splines for furniture design and complex structures. Download
    Offline
    • Profile
    • Following 0
    • Followers 59
    • Topics 174
    • Posts 5,348
    • Groups 3

    Posts

    Recent Best Controversial
    • RE: [Plugin][$] Tools On Surface - v2.6a - 01 Apr 24

      @gaieus said:

      @rv1974 said:

      Actually I meant afterwards, in entity info window

      THAT didn't work for me either but the VCB input is just fine (at least for me)/quote]

      Gaieus,

      You're probably right that the entity info is maybe reserved to the native Sketchup shape. Actually, I have no clue what to do in Ruby to catch a change in this Entity window. But if someone knows....

      Normally all modifications can be done right after the shape is generated (and of course while drawing it). This applies to distance, angle, rings and nb of segments.

      Fredo

      posted in Plugins
      fredo6F
      fredo6
    • RE: [Plugin][$] Tools On Surface - v2.6a - 01 Apr 24

      @dave r said:

      But that TOS_Dir and OFS_Dir could not be removed. I have removed those RB files and directories from the Plugins folder. I hadn't removed them before the first time I tried the new set of tools. After seeing that message box the first time, I did remove those files but I still get it the first time after opening SketchUp. Is this message just a normal thing?

      You asked about what folks were getting for loading times but I haven't seen the thing I'm supposed to click on to see it.

      Thanks again.

      Dave

      Dave,

      For the warning message, There was a bug in the initial version posted, but I fixed it and reloaded yesterday 12 Jul around 1pm. I am not sure, but if you downloaded before, it is wise to take the latest version. Sorry for inconvenience.

      For the script load time, go to the menu 'Tools>Tools On Surface>About...' It is shown in the dialog box.

      Fredo

      posted in Plugins
      fredo6F
      fredo6
    • RE: [Plugin][$] Tools On Surface - v2.6a - 01 Apr 24

      Edson,

      Check if one of these files is still in the Plugins folder.

      • LibOnSurface.rb
      • OffsetOnSurface.rb
      • LineOnSurface.rb
      • PolygonOnSurface.rb
      • EraserOnSurface.rb
      • PolylineOnSurface.rb.

      I am not familiar with how scripts install on Mac, but it seems that you have an old LineonSurface.rb and Offset_on_surface.rb which is active and loaded.

      posted in Plugins
      fredo6F
      fredo6
    • RE: [Plugin][$] Tools On Surface - v2.6a - 01 Apr 24

      @edson said:

      hi fredo,

      thanks again for one more great script.

      1. i am also getting the message about looking for older versions of the script.

      2. why do i have the line drawing tool twice on my menu? see picture.

      regards.

      Edson,

      It looks like you have something rescued from version 1.1. Did you delete the older files?

      posted in Plugins
      fredo6F
      fredo6
    • RE: [Plugin][$] Tools On Surface - v2.6a - 01 Apr 24

      @gaieus said:

      OK, thanks Fredo! - and again, for this great tool! 👍

      I did too fast. The bug was still present.
      The correct version is now online in the main message (after 12h45 today)

      posted in Plugins
      fredo6F
      fredo6
    • RE: [Plugin][$] Tools On Surface - v2.6a - 01 Apr 24

      The Warning message is simply a bug. Thanks to signal it and sorry for that.
      I have updated the Zip file in the main message of this thread. I also integrate the code to make the script a proper Sketchup Extension, based on a suggestion from Matt666. You'll need to activate the script after first installation in the Preferences-Extension dialog box.

      Hope this is fine now

      Fredo

      posted in Plugins
      fredo6F
      fredo6
    • RE: [Plugin][$] Tools On Surface - v2.6a - 01 Apr 24

      On Matt666's suggestion (right before I released), it could be possible to configure ToolsOnSurface as an extension of Sketchup (like Sandbox), which you can turn on and off from the Menu Preferences--> Extensions.

      This way, you can decide whether you want to load it, or can turn it off when you troubleshoot your plugins.

      As I don't know what would be the best for users, I would simply ask all of you about what you think is more appropriate.

      For the version configured as Extension, you just need to replace the file ZLoader__OnSurface.rbwith the one attached in the Sketchup plugins directory.

      Also, I indicate the time of loading the ToolsOnSurface scriptsin the About menu item of the ToolsOnSurface menu. Can you check if you see abnormal load times in your environment(on mine it is below 100 ms)

      Thanks for your feedback

      Fredo


      To replace the existing file in the Sketchup PLugins folder

      posted in Plugins
      fredo6F
      fredo6
    • Tools on Surface - nouvelle version 1.3

      J'ai posté une nouvelle version de la suite d'outils, avec plus de formes geometriques et un mécanisme d'inference simulée.
      moreshapes.jpg
      C'est sur le Ruby forum
      http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=11212#p76625

      posted in Français
      fredo6F
      fredo6
    • RE: [Plugin][$] Tools On Surface - v2.6a - 01 Apr 24

      Additional doc on Offset on Surface(which I could not attach to previous message, as It exceeded the limit of 2 Mb). Just drop it in the TOS_Dir_13 subfolder.


      to drop in subfolder TOS_Dir_13

      posted in Plugins
      fredo6F
      fredo6
    • [Plugin][$] Tools On Surface - v2.6a - 01 Apr 24

      The information on ToolsOnSurface is maintained on the Plugin Home Page of ToolsOnSurface. This is also where you can download the RBZ file.

      ea174777-beca-4b97-933f-bf3f93b268f2-Requirements.png

      • LibFredo6: v14.3b or above

      • Sketchucation ExtensionStore: v4.4.0 or above (for licensing)

      • Sketchup version: SU2017 and above

      • Platform: Windows and Mac OSX

      • Usage: Licensed under Sketchucation SCFLicense

      • Free Trial period (full features): 30 days from first usage

      • Perpetual license (3 seats): $15

      • Part of Fredo6Bundle2022 license (8 plugins): $50

      To purchase the license of ToolsOnSurface or the Bundle of 8 plugins, go to this page and sign in.

      25195c77-254c-4841-9654-9cb088b3b34c-Overview.png

      Tools on Surface is a Suite of Tools drawing on curved surfaces, with lines, various shapes, offset and Freehand / Polyline. It provides an inference mechanism, a Contour Editor and a dedicated Eraser.
      moreshapes.jpg
      Shapes includes:

      • Circleand Polygon
      • Rectangle, defined by its length and width
      • Parallelogram, defined by its length, width and angle
      • Ellipses, defined by axes
      • Circle defined by 3 points
      • Arcs(circular)
      • Sectors, defined by origin, direction and angle
        All shapes have in addition the option to draw Rings, that is, the same contour offset by a negative or positive distance. And of course, all generated contours can be later edited by the Contour Edition tool.

      The inference mechanismtries to simulate some stickiness when lines are drawn along some remarkable directions. There is also a Lock inference mechanism to force drawing in a particular direction. A Protractor can help to pick particular angles.

      ToolsOnSurface also works to draw lines and shapes 'without' a surface.
      See videos in the tutorial

      0ffa0c0c-41a8-4aae-bd83-23690c83f832-Documentation.png

      Quickcard ToolsOnSurface - English - v2.0 - 12 Nov 13.pdf

      Quickcard ToolsOnSurface - French - v2.0 - 12 Nov 13.pdf

      fe8e629e-382c-470d-852d-30487775c6d2-Videos.png
      There is a very good video by Justin (TheSketchupEssentials) giving an overview of the plugin.

      posted in Plugins
      fredo6F
      fredo6
    • RE: Suspending the 'undo' stack

      @whaat said:

      Thanks guys,

      Maybe this snippet will explain what I am trying to do.

      def onMouseMove(flags, x, y, view)
      > 
      > 	if @hide
      > 		 
      > 		ph=view.pick_helper
      > 		ph.do_pick(x,y)
      > 		e=ph.best_picked
      > 		if e.class==Sketchup;;Group
      > 			if (test_condition)
      > 				e.hidden=true
      > 				@hidden.push(e)
      > 			end
      > 		end
      > 	end
      > end
      

      I don't want the hiding to be 'undoable'. When the user clicks the mousebutton, some geometry gets created. This is the operation that I DO want 'undoable' (which works fine). However, all of the hiding that is done in the 'onmousemove' method is also added to the undo stack. 😡

      I had the same issue with Joint Push Pull, as I do hide faces when dragging.
      The workaround I found is to do a Sketchup.start_operationbefore all, and then do an Sketchup.abort_operationwhen the edition is finished (you have also to trap it in the OnCancel method). This way, you get nothing in the Undo stack and anyway, all individual operations are in the same batch of modifs.

      Fredo

      posted in Developers' Forum
      fredo6F
      fredo6
    • RE: Set Vertex Position?

      I think you'd better use Transform by vector, since each vertex would have a different transformation. So you create a list of vectors for each vertex between the original point and the rounded points.

      Note that this may not work fine as Transforming elements in Sketchup follows the same rules as in the User Interface, allowing or not the transformation based on privileged direction.

      In my opinion, just rounding the coordinates of vertex will destroy the planarity of faces if you had some in your model.

      posted in Developers' Forum
      fredo6F
      fredo6
    • RE: Joint Push Pull Classic (Old version) - v2.2a - 26 Apr 17

      @plot-paris said:

      if I do large jpp operations, SketchUp sometimes freezes (certainly, if I click somewhere else).

      By the way, in case you exhaust all posts in SCF, I would recommend that you perform JPP by pieces. Normally, making sure the option "extend to neighbors" is on, then the result should be the same.

      For the time being, there seems to be no way to interrupt the script or prevent it to grasp all Sketchup CPU, giving the impression that Sketchup freezes. May beGoogle will do something for version 7!

      posted in Plugins
      fredo6F
      fredo6
    • RE: Problem installing joint push pull

      The file stored on Crai Depot contains a bug, for whatever reason. Sorry for that
      Please download instead from the Forum athttp://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=6708#p42783

      Fredo

      posted in Developers' Forum
      fredo6F
      fredo6
    • RE: Joint Push Pull Classic (Old version) - v2.2a - 26 Apr 17

      @mpowell1234567890 said:

      Both. It happens with a large model. "For example, I made a large maze type shape using a "cubic benzier" or "the freehand" tool. then I clicked on the shape to select it. Then I used the joint push pull to push pull it. 1st click I chosen the height, but when I click it the 2nd time - after a minute, it freezes up.

      So, Can you confirm this works fine with small model?

      Then, how large is the 'large model'?
      Although there are surely limits to how many faces and segments you can handle (due to limits in Ruby memory allocation), JPP usually takes very long when there are many elements. Because Ruby is not multi-threaded within Sketchup, it may 'freeze' Sketchup and even the progress bar, while computing. This may take minutes or longer, but may well end up at some point in time. If you can, try this before doing something else than computing to see if it finally finishes.

      posted in Plugins
      fredo6F
      fredo6
    • RE: Problem installing joint push pull

      A few hints and questions

      • LibTraductor should be the version 20 Jan 08
      • Don't worry with LibTraductor.def. It is just useful to force a particular language and not mandatory at all
      • Are you on PC or Mac?
      • Is Tools on Surface working fine?
      • Can you turn on the Ruby console and load manually the script (type load 'JointPushPull.rb'. Then can you post the output arror messages in this thread

      Thanks

      Fredo

      posted in Developers' Forum
      fredo6F
      fredo6
    • RE: [Obsolete] Tools On Surface - v1.2

      @arkix said:

      How can i say more about your "great job" ?!? 😍 ...maybe (if you help me how) i can help to translate it in italian to diffuse and use more.
      I mean... i tried immediately to translate it but, obviously, 😳 I am not a magician about Ruby script and I could not do this: I added and copied everything you have already done for the translation into French by putting | IT | and translating but ... nothing! does not work!
      You can, please help me?
      Thanks again for everything

      ArkiX,

      Thanks in advance for the offer. I think it's wise to wait a little bit (at least next version 1.3) to have something more stable. I will then publish a clean text file for contributors to translate in their favorite language, and then integrate it myselffor release.

      By the way, the translated language should appear automatically based on your local Windows. If it is in Italian, then the script will use the strings with |IT|. Is it the case with your PC?

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

      @jorgensen said:

      Is it possoble to connect two Cubic BeizerSplines ?

      Not really. But this is a good idea.

      posted in Developers' Forum
      fredo6F
      fredo6
    • RE: Message for Fredo6

      Watkins,

      This script was written in one hour for someone who asked for this in the French section of the forum (the idea was just to Xray a selection). So, it is not polished and there is no documentation. True, the current version only handle one selection, as the objective was mainly to generate pictures from the model.

      However, if you think it is useful, I can pour more time into it and come up with something that would be more useful and handle many selections.

      In your case, I simply recommend you restore the model and then select your two components.

      Also, note that I found no way to Xray bitmap textures (as the Ruby API does not give the capability to duplicate textures!). The bitmap texture does not appear when Xrayed.

      Fredo

      posted in Developers' Forum
      fredo6F
      fredo6
    • RE: Message for Fredo6

      Here is one, very ugly.

      Just drop it in the Plugins folder and it should appear in the toolbar when you restart Sketchup.

      By the way, the script keeps memory of the selection, so that you can toggle between Xray and Plain as you wish after you made the initial selection.


      IconXraySelection.png

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