sketchucation logo sketchucation
    • 登入
    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

    Export For CAM software

    已排程 已置頂 已鎖定 已移動 Extensions & Applications Discussions
    extensions
    51 貼文 14 Posters 17.1k 瀏覽 14 Watching
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • D 離線
      dedmin
      最後由 編輯

      Still, there isn't a clear solution for exporting DC options.

      1 條回覆 最後回覆 回覆 引用 0
      • TIGT 離線
        TIG Moderator
        最後由 編輯

        Since an 'option' is itself an attribute can't you use that to 'filter' the other attributes as needed ?
        http://code.google.com/apis/sketchup/docs/tutorial_attrreporting.html

        TIG

        1 條回覆 最後回覆 回覆 引用 0
        • D 離線
          dedmin
          最後由 編輯

          Maybe I could give You an answer if I know anything about Ruby programing 😲 Downloaded the book "Automatic SketchUP" and I'm even more confused! 😒 😒

          1 條回覆 最後回覆 回覆 引用 0
          • TIGT 離線
            TIG Moderator
            最後由 編輯

            Can we recap on the issues under discussion here...

            Someone wants a tool that lets you export a selected DC as a 2D DXF - you pick the face to be 'up'.
            So the tool needs to find the picked face in the DC and then make a 2D DXF from it ?
            Perhaps the DC options are only needed for other reporting and not the DXF making ??
            The DXF is made a report is made referencing the DXF and containing certain info extracted from the DC ?

            Please could the 'requester' post a step-sheet with images, results etc on how this is currently done 'manually' so that the automation is then clearer... I must be readily doable ? 🤓

            TIG

            1 條回覆 最後回覆 回覆 引用 0
            • D 離線
              dedmin
              最後由 編輯

              I can comment only on exporting DC options, not attributes! Here we put all the valuable information that is visible and usable in SketchUp and in SketchUp Pro. We can make different components and put the info we need - for legs, doors, panels, handles and etc. that have the same options - we can select all the legs and change their options at once - for instance color or price. Then we need to export all this for reporting - the best as cvs so we can import in Excel or Calc and combine all the elements to get this

              2010-08-03_142524.jpg
              2010-08-03_143103.jpg

              1 條回覆 最後回覆 回覆 引用 0
              • TIGT 離線
                TIG Moderator
                最後由 編輯

                The the options are the attributes. You need a [new] attribute reader customized to your needs... ❓

                TIG

                1 條回覆 最後回覆 回覆 引用 0
                • D 離線
                  dedmin
                  最後由 編輯

                  Does SketchUP holds all the attributes and the options in the same dictionaries? If so then the reader needs to export only the options of the selected components from that table.

                  1 條回覆 最後回覆 回覆 引用 0
                  • TIGT 離線
                    TIG Moderator
                    最後由 編輯

                    The instance should hold various attributes values, the dictionary can be named whatever the creator called it - e.g. 'product_info'.
                    The DC's options/attributes are found in a special 'dynamic_attributes' dictionary.
                    The code at the end of the link I posted is specifically made to show you how to extract such info from a model / instance etc...

                    TIG

                    1 條回覆 最後回覆 回覆 引用 0
                    • Y 離線
                      yvan
                      最後由 編輯

                      The geometries should also be exported as follow:

                      1. Create a dynamic component with attributes to be exported in the csv file.

                      http://www.catalystinteriors.com.au/images/stories/sketchup/01.png

                      1. Select primary face in all components to be machined. (components such as hardware are excluded if no face is selected). Only one face per component can be selected.

                      http://www.catalystinteriors.com.au/images/stories/sketchup/02.png

                      1. Tooling is set by placing geometries in specific layers. For example vertical drilling with a 5mm bit would be associated with the dxf layer called “DV_5”; Routing offset for external shape with DXF layer “ROX_9” (9 for a 9mm router bit.) any combination of machining can be accomplished by linking tooling “strategies” in the CAM software with DXF layers created by Sketchup.

                      http://www.catalystinteriors.com.au/images/stories/sketchup/03.png

                      1. When the model is ready all “primary” faces are exported as DXF polylines in a specified folder together with the csv file.

                      http://www.catalystinteriors.com.au/images/stories/sketchup/04.png

                      1. The csv file is then used to automate the import in the CAM software (Enroute, Aspan etc...)

                      http://www.catalystinteriors.com.au/images/stories/sketchup/05.png

                      Catalyst Interiors Pty. Ltd. - shopfitters Adelaide South Australia

                      1 條回覆 最後回覆 回覆 引用 0
                      • S 離線
                        sketchdata
                        最後由 編輯

                        I use a script to export the Entity Information, Attributes, and Outline (BOM Structure) from the SUP drawing into CSV files. But the CSVs are not "flat files", they use the EntityID to link records between each file after they have been imported into a database. I have attached samples of the files, perhaps the Data functions inside OpenOffice can help "flatten" the attribute information? or they could be imported into an OpenOffice Base ".odb" database, then you could write queries? Not sure if OpenOffice can link to the .csv files like MS Access does, and then you wouldn't have to re-import each time? Anyways, the script is very BETA at this point.


                        Sample Data Files

                        1 條回覆 最後回覆 回覆 引用 0
                        • T 離線
                          t.larcombe
                          最後由 編輯

                          not sure if this will be of much help. I have used sketchup for CNC work and some of the plugins such as stl or dxf converters are good such as the one here
                          [url]
                          http://www.guitar-list.com/.../convert-sketchup-skp-files-dxf-or-stl
                          [/url]
                          but i also use mesh lab software. I only use this for smallish models and prototypes so I am not sure how well it will work for you but try it

                          302 Found

                          favicon

                          (meshlab.sourceforge.net)

                          exporting from sketchup as a collada file and them messing about with it in meshlab, it does seem to work but needs experimenting with depending on what you are doing

                          1 條回覆 最後回覆 回覆 引用 0
                          • D 離線
                            dedmin
                            最後由 編輯

                            @sketchdata said:

                            I use a script to export the Entity Information, Attributes, and Outline (BOM Structure) from the SUP drawing into CSV files. But the CSVs are not "flat files", they use the EntityID to link records between each file after they have been imported into a database. I have attached samples of the files, perhaps the Data functions inside OpenOffice can help "flatten" the attribute information? or they could be imported into an OpenOffice Base ".odb" database, then you could write queries? Not sure if OpenOffice can link to the .csv files like MS Access does, and then you wouldn't have to re-import each time? Anyways, the script is very BETA at this point.

                            Why it is so hard to just export component's options? All this data is so messy - seems easy to me just to write by hand what I need!

                            1 條回覆 最後回覆 回覆 引用 0
                            • D 離線
                              dedmin
                              最後由 編輯

                              http://sites.google.com/site/sketchuptogcode/

                              1 條回覆 最後回覆 回覆 引用 0
                              • M 離線
                                marcomartim
                                最後由 編輯

                                Because, instead of exporting, not seeking to make the process within CAM SketchUp?

                                In this forum there is an excellent plugim to 2.5D (to generate GCode)
                                http://www.phlatforum.com/

                                There are already other plugim for developing 3D

                                1 條回覆 最後回覆 回覆 引用 0
                                • S 離線
                                  sketchdata
                                  最後由 編輯

                                  Here is a video on the SketchUp reporting solution we have been working on.
                                  http://www.youtube.com/watch?v=M2Y53vgqSQs

                                  1 條回覆 最後回覆 回覆 引用 0
                                  • D 離線
                                    dedmin
                                    最後由 編輯

                                    Just a sample how simple things can be made complicated! Really scaring! 😒

                                    1 條回覆 最後回覆 回覆 引用 0
                                    • S 離線
                                      sketchdata
                                      最後由 編輯

                                      I'm guessing you don't like the reports?

                                      1 條回覆 最後回覆 回覆 引用 0
                                      • D 離線
                                        dedmin
                                        最後由 編輯

                                        @sketchdata said:

                                        I'm guessing you don't like the reports?

                                        In my previous posts I outlined what I thinks is a good use of the dynamic components data. We can put one data for panels, another for hardware and etc. Export this as csv and combine as You wish in Excell or Calc. So far seems impossible to do in SketchUP - and especially if there are non english characters.
                                        Something You can do in CAD with BOM - You can choose what to include in the BOM, have different templates, put custom data and etc.

                                        1 條回覆 最後回覆 回覆 引用 0
                                        • S 離線
                                          sketchdata
                                          最後由 編輯

                                          I hope I understand your reporting concerns, I think your looking for the following? What if we put the different part types on their own layers, example cut parts on a "CUT PART" layer, Hardware on "HARDWARE" layer, and if all the entities on that layer share the same attributes. Then as the report prints, the rows could be grouped together by layer and the column headers could change to match the attribute names for entities in that group? then export the report to Excel? The non-english issue is interesting, I will see if I can determine language on the client machine, and have the report translate the attribute names.

                                          1 條回覆 最後回覆 回覆 引用 0
                                          • D 離線
                                            dedmin
                                            最後由 編輯

                                            @sketchdata said:

                                            I hope I understand your reporting concerns, I think your looking for the following? What if we put the different part types on their own layers, example cut parts on a "CUT PART" layer, Hardware on "HARDWARE" layer, and if all the entities on that layer share the same attributes. Then as the report prints, the rows could be grouped together by layer and the column headers could change to match the attribute names for entities in that group? then export the report to Excel? The non-english issue is interesting, I will see if I can determine language on the client machine, and have the report translate the attribute names.

                                            Yes, that is exactly my point! Because the info that one needs is different for different parts. For example - for the purchased legs we need the supplayer, the material(color),the price and maybe the height of the legs. And the attributes gives Us the freedom to put this data, but so far there is no way to use it for reporting. And even there is no need to export all at once - just the parts with identical attributes - and then we can put this data on a separate sheets or in the same sheet and etc. This also works with the free version - the supplayer puts the attributes that the customer can see and fill and then can send back as an order.

                                            http://forums.sketchucation.com/download/file.php?id=52143&t=1

                                            http://forums.sketchucation.com/download/file.php?id=52144&t=1

                                            1 條回覆 最後回覆 回覆 引用 0
                                            • 1
                                            • 2
                                            • 3
                                            • 2 / 3
                                            • 第一個貼文
                                              最後的貼文
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement