• Login
sketchucation logo sketchucation
  • Login
ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

[Plugin] 2.5D CAM Plugin 20121202

Scheduled Pinned Locked Moved Plugins
80 Posts 32 Posters 91.3k 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.
  • T Offline
    TIG Moderator
    last edited by 3 Apr 2015, 11:18

    Find line #701 and change:
    vert = new_faces[0].vertices
    to
    **if new_faces[0];**vert = new_faces[0].vertices**;else;vert = face.outer_loop.vertices;end**
    That part has a similar un-trapped call as before.
    If there are no new face there are no vertices ! 😒

    TIG

    1 Reply Last reply Reply Quote 0
    • E Offline
      ely862me
      last edited by 3 Apr 2015, 11:55

      Yep, that seems to have made it work. Thanks a lot !
      There are some other errors appearing though.
      And the written code it is a bit bizarre, instead of just two passes of 15 mm it does like 4.. I hoped by using this plugin to get rid of the other a lot more complicated software to write the code for me(at least for the simple parts). I am about to complete the build of my CNC and last time I tried to do some works with it and because of the lack of the experience and proper software I had to let it go until the next time.
      I designed my router in Sketchup and that helped me a lot. Yet, if I would do it again, most likely I would change the design entirely- lots of parts seems now to be not well thought.


      error 2.txt

      Elisei (sketchupper)


      Before no life was done on Earth it was THE LIFE ITSELF...GOD
      Come and See EliseiDesign

      1 Reply Last reply Reply Quote 0
      • T Offline
        TIG Moderator
        last edited by 3 Apr 2015, 12:20

        Find lines #866-#869 in the RB file...
        filename = UI.savepanel "Save Gcode File", "c:\\", "default.nc" #header outputfile = File.new( filename, "w" )
        If you do not choose a file in the 'savepanel' the output fails badly.
        Change the lines to read...
        filename = UI.savepanel**(**"Save Gcode File", "c:\\", "default.nc"**)** #header **return nil unless filename;**outputfile = File.new( filename, "w" )
        This exits the file writing method if you have canceled the 'savepanel' - i.e. filename==nil...

        TIG

        1 Reply Last reply Reply Quote 0
        • A Offline
          apochroma
          last edited by 1 Jul 2015, 15:38

          Hi TIG

          Seems great work to me. I give it a try this afternoon. Before, i was using SketchUcam.
          Your software was not intended to make pockets?

          That would be really great, if i could also cut pockets.

          At the moment it cuts only inner parts the nearest distant to the geometry.
          Do you still work at this plugin? Did you know, there are other guys working on a similar project?

          favicon

          (www.phlatforum.com)

          Maybe sharing would be great? Otherwise, could you help me and tell me how i could make a pocket with your Plugin?
          Kind regards
          Claus


          This should be a pocket

          1 Reply Last reply Reply Quote 0
          • T Offline
            TIG Moderator
            last edited by 8 Jul 2015, 13:56

            @Claus

            This not 'my' plugin.
            I simply stepped in to fix some issues it had...

            Perhaps someone else can advise you on setting up 'pockets' ?

            TIG

            1 Reply Last reply Reply Quote 0
            • T Offline
              tramspotters
              last edited by 20 Jul 2015, 10:45

              I think I found another error:

              ( This file created by CNC_profile.rb )
              ( Cutter Diameter: 0.03937007874015748 )
              ( Stock Size: 7.330896464323272 x 1.3754388245933877 x 0.05905987881581955 )
              G21 ( Unit of measure: millimeter )
              G90 ( Absolute programming )
              M03 ( Spindle on [clockwise] )

              G00 Z5,000 F30 (Move safety height)
              G00 X0.00 Y.00 F100 ( Move to origin )
              G00 X3,321 Y4,880 F100
              G01 Z0.019685039370078546 F15
              G01 X3,321 Y4,880 Z0,500 F50
              G01 X14,173 Y4,880 Z0,500 F50

              Unit are millimeter, but the move in z direction is made in inches: G01 Z0.01968.... that are exactly 0.5mm. But where is the 0 level in z direction? On top of the bed or on top of the workpiece?

              Also the cutter diameter is given in inches.

              1 Reply Last reply Reply Quote 0
              • K Offline
                kevplank
                last edited by 9 Jan 2016, 16:00

                Did I miss something? I can't get the plugin to install. It's looking for an .rzb file. It won't recognize a .rz file. Did I miss something in the setup? -running OSX latest Sketchup version as of 01-01-16.

                1 Reply Last reply Reply Quote 0
                • B Offline
                  Box
                  last edited by 9 Jan 2016, 16:25

                  @kevplank said:

                  Did I miss something? I can't get the plugin to install. It's looking for an .rzb file. It won't recognize a .rz file. Did I miss something in the setup? -running OSX latest Sketchup version as of 01-01-16.

                  Start by going back one page and reading the answers to your own questions.

                  1 Reply Last reply Reply Quote 0
                  • T Offline
                    TIG Moderator
                    last edited by 9 Jan 2016, 21:50

                    @kevplank said:

                    Did I miss something? I can't get the plugin to install. It's looking for an .rzb file. It won't recognize a .rz file. Did I miss something in the setup? -running OSX latest Sketchup version as of 01-01-16.

                    The Installer needs an RBZ file.
                    It's an old thread - the original comes in a ZIP file:
                    http://sketchucation.com/forums/download/file.php?id=98895
                    If you change the file-type suffix to ".rbz" it'll install.
                    You need the helper[s] mentioned earlier.
                    http://sketchucation.com/forums/viewtopic.php?p=443051#p443051
                    You'll also need to make the edits mentioned earlier !
                    http://sketchucation.com/forums/viewtopic.php?p=443070#p443070
                    http://sketchucation.com/forums/viewtopic.php?p=444949#p444949 [adjust for v2016 !!!]

                    Other fixes:
                    http://sketchucation.com/forums/viewtopic.php?p=562603#p562603
                    http://sketchucation.com/forums/viewtopic.php?p=562741#p562741
                    http://sketchucation.com/forums/viewtopic.php?p=562756#p562756

                    I 'gave up':
                    http://sketchucation.com/forums/viewtopic.php?p=572144#p572144

                    What to do repeated ! http://sketchucation.com/forums/viewtopic.php?p=555761#p555761
                    What NOT to do ! http://sketchucation.com/forums/viewtopic.php?p=555759#p555759

                    Other ideas: http://sketchucation.com/forums/viewtopic.php?p=541812#p541812

                    There might be better / newer tools available...

                    TIG

                    1 Reply Last reply Reply Quote 0
                    • K Offline
                      kevplank
                      last edited by 10 Jan 2016, 12:45

                      OK I got it. I found the post that said to change the name of the .zip file from .zip to .rzb and that worked like a charm. Now it's on to plugging in the gcode to my mach3 pre and post code and this should work like a charm. Thank you!!

                      1 Reply Last reply Reply Quote 0
                      • Dave RD Offline
                        Dave R
                        last edited by 10 Jan 2016, 13:01

                        @kevplank said:

                        OK I got it. I found the post that said to change the name of the .zip file from .zip to .rzb and that worked like a charm.

                        Not to pick nits but rather to avoid confusion for someone else who might come along with a similar issue, it is not rzb as you've written several times. Instead, it is rbz for the file extension.

                        Etaoin Shrdlu

                        %

                        (THERE'S NO PLACE LIKE)

                        G28 X0.0 Y0.0 Z0.0

                        M30

                        %

                        1 Reply Last reply Reply Quote 0
                        • M Offline
                          ModuleProduction
                          last edited by 10 Jan 2016, 15:13

                          Hello, how to download the plugin? Or tell me is it posible to cut the pieces obtained with 3D software fusion cuisine here is the link of project SketchUp DXF:

                          Object moved

                          favicon

                          (onedrive.live.com)

                          Pierre

                          1 Reply Last reply Reply Quote 0
                          • M Offline
                            MaterG
                            last edited by 4 Jun 2016, 09:08

                            Hi,

                            this plugin gives me the following error, whatever the value of safety distance is:

                            "Safety Height is lower than top of part. Please correct."

                            Therefore sometimes the program freeze and I notice in the outliner some outer and inner group being created and deleted.

                            The parameter "Safe distance from table" ("Safety Height" I suppose) is higher than the height of the model, so why does the message appears?

                            The test model and the settings used are attached, can you help me?

                            Other two question:

                            • I used inches values but what happens using another unit? How exactly unit measures are managed by this plugin?
                            • what means 2.5D? The GCode generated doesn't rappresent a truly 3D model?

                            Thank you.


                            cam_test.skp


                            model_settings.jpg


                            plugin_settings.jpg


                            test_model.jpg

                            1 Reply Last reply Reply Quote 0
                            • Dave RD Offline
                              Dave R
                              last edited by 7 Jun 2016, 09:47

                              @materg said:

                              Hi,

                              this plugin gives me the following error, whatever the value of safety distance is:

                              "Safety Height is lower than top of part. Please correct."

                              The parameter "Safe distance from table" ("Safety Height" I suppose) is higher than the height of the model, so why does the message appears?

                              Since your part is less than 8 in. tall and the Safety Height is set to 9 in., it's no wonder you're getting that message. What happens if you set the safety height to half an inch?

                              Etaoin Shrdlu

                              %

                              (THERE'S NO PLACE LIKE)

                              G28 X0.0 Y0.0 Z0.0

                              M30

                              %

                              1 Reply Last reply Reply Quote 0
                              • M Offline
                                MaterG
                                last edited by 7 Jun 2016, 21:12

                                @dave r said:

                                @materg said:

                                Hi,
                                Since your part is less than 8 in. tall and the Safety Height is set to 9 in., it's no wonder you're getting that message. What happens if you set the safety height to half an inch?

                                thanks for your reply

                                first of all the safety heigth is NOT lower than the top of the part,
                                furthermore even if I lower the value to 7.5 (smaller than the height of model) the message still appears, so definitely the message appears in both conditions, lower or higher then the heigth of the model.

                                Did you test my model?
                                Can I have a working example?

                                1 Reply Last reply Reply Quote 0
                                • Dave RD Offline
                                  Dave R
                                  last edited by 7 Jun 2016, 22:05

                                  You can make your own working model. Get rid of those hidden grids and try it again. It works fine for me without the grids. You'll have to unlock the one parallel to the red axis before you can delete it.
                                  Screenshot - 6_7_2016 , 5_13_32 PM.png
                                  My results

                                  Etaoin Shrdlu

                                  %

                                  (THERE'S NO PLACE LIKE)

                                  G28 X0.0 Y0.0 Z0.0

                                  M30

                                  %

                                  1 Reply Last reply Reply Quote 0
                                  • M Offline
                                    MaterG
                                    last edited by 9 Jun 2016, 05:18

                                    @dave r said:

                                    You can make your own working model. Get rid of those hidden grids and try it again. It works fine for me without the grids. You'll have to unlock the one parallel to the red axis before you can delete it.
                                    [attachment=1:2ugannqm]<!-- ia1 -->Screenshot - 6_7_2016 , 5_13_32 PM.png<!-- ia1 -->[/attachment:2ugannqm]
                                    My results

                                    Thank for your help Dave!

                                    But still remain some serious glitches.

                                    Those grids where not selected so why the plugin process them?
                                    Therefore I exported the GCode for a simple cube, the file is attached and opencam gives me the errors reported in the screenshot.

                                    As you can see the decimal number are written with comma insted of point and this is not valid.
                                    I replaced the characters and the model is displayed correctly.

                                    Then I tried to work the model posted here but the program, after have processed it correctly, doesn't show the save dialog and crashes.

                                    At this point I wonder what the correct workflow is to generate GCode with sketchup? I open a thread in "SketchUp for 3D Printing" section but for some reason was moved in "SketchUp Pro & Make Discussions":
                                    http://sketchucation.com/forums/viewtopic.php?f=15%26amp;t=65111%26amp;p=597157#p597157

                                    Can you give me some hints?


                                    opencam_error.jpg

                                    1 Reply Last reply Reply Quote 0
                                    • G Offline
                                      guyrob175
                                      last edited by 22 Dec 2016, 08:39

                                      I have just found this plugin and would love to have a go at using it, but I cant get it to work on 2013. Will it work on this version or newer versions?
                                      Thanks

                                      1 Reply Last reply Reply Quote 0
                                      • Dave RD Offline
                                        Dave R
                                        last edited by 22 Dec 2016, 10:35

                                        @guyrob175 said:

                                        I have just found this plugin and would love to have a go at using it, but I cant get it to work on 2013. Will it work on this version or newer versions?
                                        Thanks

                                        Did you try following TIG's directions here?

                                        I ran it in SU2016 and showed an example of the output.

                                        Etaoin Shrdlu

                                        %

                                        (THERE'S NO PLACE LIKE)

                                        G28 X0.0 Y0.0 Z0.0

                                        M30

                                        %

                                        1 Reply Last reply Reply Quote 0
                                        • FBPrescherF Offline
                                          FBPrescher
                                          last edited by 24 Sept 2021, 18:41

                                          i have Sketchup 2017 pro and i can not seam to get this plugin to even show up let alone work. i'm very interested in this. can you shed some light on what to do?

                                          Trimbling Addiction can be a Good Thing!

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

                                          Advertisement