• Login
sketchucation logo sketchucation
  • Login
πŸ€‘ 30% Off | Artisan 2 on sale until April 30th Buy Now

[Plugin] RichSection V0.5.8 UPDATED march 2015

Scheduled Pinned Locked Moved Plugins
395 Posts 85 Posters 131.8k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    pgarmyn
    last edited by 19 Nov 2013, 12:37

    @micione said:

    Report a conflict with "offset.rb."
    attached file.

    Ok, thanks. I will try to fix that. It will take some time.... ❗

    1 Reply Last reply Reply Quote 0
    • P Offline
      pgarmyn
      last edited by 19 Nov 2013, 18:26

      @doush-007 said:

      Hello,
      i install the plugin but it doesn't appear any where , i searched in toolbar menu , any idea ?
      I am using sketchup 2013.

      A new plugin must be activated in the menu 'window/preferences',
      a panel opens, select 'extensions' and activate 'RichSection'.

      1 Reply Last reply Reply Quote 0
      • D Offline
        doush-007
        last edited by 19 Nov 2013, 18:54

        thanks a lot πŸ˜„

        1 Reply Last reply Reply Quote 0
        • P Offline
          pgarmyn
          last edited by 19 Nov 2013, 21:56

          @micione said:

          Report a conflict with "offset.rb."
          attached file.

          Offset.rb is not a standalone plugin (Can be called by other plugins). It is from Rick Wilson, created in 2004.
          What's happening ❓ How do you know there is a conflict ❓
          What other plugin is using offset.rb ? (Probably anther plugin from Rick Wilson) ❓

          1 Reply Last reply Reply Quote 0
          • T Offline
            TIG Moderator
            last edited by 19 Nov 2013, 22:04

            Because your code is all encrypted we don't know what it does.
            If it has any 'offset; methods within it that are not encapsulated in your module/class methods, then your 'offset()' method might well clash with the bald scripted 'offet.rb' by RickW, if users have that loading with other scripts.
            Your code must not interfere with base class/module/methods or other's scripts that load as helpers - these are things like offset.rb, progressbar.rb and so on... It's easy enough to recast your own versions within your own modules so there is no overlap with other scripts... πŸ˜’

            TIG

            1 Reply Last reply Reply Quote 0
            • P Offline
              pgarmyn
              last edited by 19 Nov 2013, 22:32

              @tig said:

              Because your code is all encrypted we don't know what it does.
              If it has any 'offset; methods within it that are not encapsulated in your module/class methods, then your 'offset()' method might well clash with the bald scripted 'offet.rb' by RickW, if users have that loading with other scripts.
              Your code must not interfere with base class/module/methods or other's scripts that load as helpers - these are things like offset.rb, progressbar.rb and so on... It's easy enough to recast your own versions within your own modules so there is no overlap with other scripts... πŸ˜’

              About my code:

              • Every method, variable, ... is declared within module PiGa ; module RSection ; end ; end
              • No basic classes or modified or extended.
                And this is the case for the loader PiGa_RichSection.rb, and the main ruby RichSection.rbs

              That wasn't yet good practice in 2004 (Looking in code of offset.rb)
              I scanned my code : there is no method 'offset' or anything else named 'offset'

              So, if there is something ❓ The problem is not there.
              Please, micione tell me....
              What's happening ? How do you know there is a conflict ?
              What other plugin is using offset.rb ? (Probably anther plugin from Rick Wilson)

              1 Reply Last reply Reply Quote 0
              • M Offline
                micione
                last edited by 19 Nov 2013, 22:49

                pgarmyn,

                "offset.rb" is used by other tools of Rick Wilson (eg "windowizer").
                What happens:
                Your tool applies the first section, then it stops, stuck.
                Any attempt to use the "move tool" on the section, it causes BugSplat.

                Only by removing "offset.rb" your tool starts working again.
                In order to identify the conflict, must be eliminated (one by one) all installed plugins. And this is what I did.
                I hope I was helpful.

                P.S. perhaps seek the advice of Rick Wilson?

                1 Reply Last reply Reply Quote 0
                • P Offline
                  pgarmyn
                  last edited by 19 Nov 2013, 23:16

                  @micione said:

                  pgarmyn,

                  "offset.rb" is used by other tools of Rick Wilson (eg "windowizer").....

                  Thanks
                  I will test it out. Tomorrow

                  1 Reply Last reply Reply Quote 0
                  • P Offline
                    pgarmyn
                    last edited by 19 Nov 2013, 23:21

                    @unknownuser said:

                    A futur hit for sure! β˜€
                    When you say Demo, will be commercial at the end ?

                    Maybee commercial... . But I will also keep a FREE version .
                    Until March 2014, everybody can have the full 'DEMO'(Thanks for the correction Bob James)
                    As 'RichSections' are standard SU-groups, they only need the plugin for update.

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      TIG Moderator
                      last edited by 20 Nov 2013, 09:56

                      The issue might be that offset.rb [ill advisedly] adds a new method to Array.offset(distance)* this clashes with the Point3d.offset(vector, distance) because an Array of three values [x,y,z] can be offset just as it it were a Point3d, but the native method is expecting a Vector3d [or an Array of three [xv,yv,zv]] and an optional second argument of a distance that overrides the vector's length...

                      *In my copy of offset.rb I have renamed it as offsetArray(dist) to avoid the clash [it's never used anyway!].

                      So to avoid clashes with the offset.rb method Array.offset() never use .offset() on point that is expressed as an Array - make that array into a Point3d before the offset is applied, then the clash is avoided.
                      So it should be
                      point=Geom::Point3d.new(0,1,2) [or ...new([0,1,2])]
                      then
                      point.offset(vector)
                      or in one step
                      Geom::Point3d.new([0,1,2]).offset(vector)
                      BUT NEVER
                      [0,1,2].offset(vector)
                      or
                      pt=[1,2,3] pt.offset(vector)

                      πŸ˜’

                      TIG

                      1 Reply Last reply Reply Quote 0
                      • G Offline
                        gbing
                        last edited by 20 Nov 2013, 11:48

                        Amazing!!
                        This plugin cover one of the CAD missing function in sketchup.
                        Now I need to check it in layout.

                        Thank you pgarmyn!

                        1 Reply Last reply Reply Quote 0
                        • E Offline
                          Elibjr
                          last edited by 20 Nov 2013, 22:08

                          Wow, this is a amazing! This is starting to make Sketchup look more like a CAD modeler! Well done. I-Render Nxt also renders section cuts similar to Indigo. I will also try this with this and Layout later!

                          1 Reply Last reply Reply Quote 0
                          • P Offline
                            pgarmyn
                            last edited by 21 Nov 2013, 06:49

                            @tig said:

                            The issue might be that offset.rb [ill advisedly] adds a new method to Array.offset(distance)* this clashes ...

                            Thanks TIG and micione, for the analysis πŸ‘

                            Anyway, I don't think Array.offset is the reason for the incompatibility. As I said, no method in my plugin uses offset.

                            I just installed Windowizer-3 (W3) beside RichSection (RS) in SU8.
                            In this version of Windowizer there is no def offset(dist) for class Array.
                            I confirm Bugsplat when combining both plugins. When using RS or W3,
                            But after uninstalling RS (also the files), I have also have Bugsplats in W3 for complex models (many nested groups).

                            Bugsplat in RS (combined with W3) takes always place at the end, after a commit operation,

                            TO BE CONTINUED....

                            1 Reply Last reply Reply Quote 0
                            • A Offline
                              ArCAD-UK
                              last edited by 22 Nov 2013, 01:01

                              Impressed so far πŸ‘

                              Feedback:

                              Why create two scenes? I appreciate they are different but do you really need two when the change is simply a toggle of the section plane?

                              RICHSECTION NAME is strange when using custom names e.g. the resulting names aren't as expected

                              It might be useful to have a simple continuous line in the Projection line styles.

                              1 Reply Last reply Reply Quote 0
                              • P Offline
                                pgarmyn
                                last edited by 22 Nov 2013, 07:02

                                @arcad-uk said:

                                Impressed so far πŸ‘

                                Feedback:.....

                                Why create two scenes? The first scene is for editing: The camera is not saved, the sectionplan is visible. The second scene (name+p : for parallel view) is for those who really use it (directly) in layout: camera saved, sectionplan not visible. But i can put some swiches in the RichSection settings.

                                RICHSECTION NAME is strange ...... Dont understand. Is it the 'p' at the end?

                                It might be useful to have a simple continuous line.... : In what case? Exemple?

                                Thanks for your interest. πŸ˜‰

                                1 Reply Last reply Reply Quote 0
                                • A Offline
                                  ArCAD-UK
                                  last edited by 22 Nov 2013, 10:53

                                  @pgarmyn said:

                                  RICHSECTION NAME is strange ...... Dont understand. Is it the 'p' at the end?

                                  Last night my first section entry [XL01] was replaced with [XL0001] today everything seems ok πŸ˜• I may have used "undo" and messed things up.

                                  There is a lot going on when creating an RS, can I do a complete undo with 1 click?

                                  @pgarmyn said:

                                  It might be useful to have a simple continuous line.... : In what case? Exemple?

                                  I was thinking in LO I might want to explode the scene and apply a different line style but I now see that RichSections don't display in vector mode. 😞

                                  1 Reply Last reply Reply Quote 0
                                  • J Offline
                                    jolran
                                    last edited by 22 Nov 2013, 10:57

                                    @unknownuser said:

                                    I was thinking in LO I might want to explode the scene and apply a different line style but I now see that RichSections don't display in vector mode. 😞

                                    You do know that you can do this in Hatchfaces ? If you want real edges as hatches from section slice that is.

                                    1 Reply Last reply Reply Quote 0
                                    • A Offline
                                      ArCAD-UK
                                      last edited by 22 Nov 2013, 11:22

                                      @jolran said:

                                      You do know that you can do this in Hatchfaces ? If you want real edges as hatches from section slice that is.

                                      I will have a look at that thanks! I'm not a fan of raster hatching...

                                      1 Reply Last reply Reply Quote 0
                                      • J Offline
                                        jolran
                                        last edited by 22 Nov 2013, 11:33

                                        Check out the help files, if that does not work for you, you can PM me and fire the questions. Or if you rather post a question in Hatchafaces topic thats fine too.

                                        1 Reply Last reply Reply Quote 0
                                        • P Offline
                                          pgarmyn
                                          last edited by 22 Nov 2013, 12:42

                                          @arcad-uk said:

                                          Last night my first section entry [XL01] was replaced with [XL0001] today everything seems ok πŸ˜• I may have used "undo" and messed things up.

                                          There is a lot going on when creating an RS, can I do a complete undo with 1 click?

                                          I was thinking in LO I might want to explode the scene and apply a different line style but I now see that RichSections don't display in vector mode. (

                                          Undo : I can't undo scenes and styles loaded (from file). The SU API for Ruby has no functions to create them from scratch. I have to load them from a file. No way, at my knowledge, to include this in the undo DB (within start and commit_operation).

                                          Controle vector output (with color and line style) to Layout : I can only dream of it. πŸ˜‰

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 4
                                          • 5
                                          • 19
                                          • 20
                                          • 2 / 20
                                          2 / 20
                                          • First post
                                            33/395
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement