sketchucation logo sketchucation
    • Login
    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

    How to export from processing to Sketchup?

    Scheduled Pinned Locked Moved Newbie Forum
    sketchup
    8 Posts 5 Posters 1.8k Views 5 Watching
    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.
    • A Offline
      arystoteles
      last edited by

      Hello everyone!

      Can someone tell me whether it is possible to somehow output geometries from processing to Sketchup?

      1 Reply Last reply Reply Quote 0
      • J Offline
        Jim
        last edited by

        i Wiktor,

        I think it should be possible. There are a number of free importers for various data formats - .stl, .ply, .dxf, .dae, .obj. If Processing can output the geometry in one of these, or even a custom format, then you should be able to import the data via one of the existing plugins or even a custom plugin.

        Hi

        1 Reply Last reply Reply Quote 0
        • TIGT Offline
          TIG Moderator
          last edited by

          It depends on the format of the data that you have.
          There are several importers available - either SUp-native[dae], SUp-pro[dxf/dwg] or 3rd-party-scripts[obj/csv/stl] etc - to get data into a SKP.
          If the data is in a particular 'text' format it possible to parse the contents of a file and use the data for SKP geometry... Of course you need to know what the format is and what the various parts 'mean' etc...

          TIG

          1 Reply Last reply Reply Quote 0
          • A Offline
            arystoteles
            last edited by

            Oh thanks guys! Interesting. I am also very new to processing and never exported anything out of it. But lets say I made a 3d cube in processing and I want to see it in sketchup... Do you know of any resources for dummies that would show me how to do that?

            1 Reply Last reply Reply Quote 0
            • TIGT Offline
              TIG Moderator
              last edited by

              What is 'processing' and what formats can it export into ?
              πŸ˜•
              You're not giving us much to go on here...

              TIG

              1 Reply Last reply Reply Quote 0
              • IdahoJI Offline
                IdahoJ
                last edited by

                Here ya go TIG: http://processing.org/ I've been using it to prototype embedded web content. It's quite fun and a very simple language to learn.

                To Arystoteles: You might consult the Processing forums as there are a number of threads discussing object exporting that you might find informative and relevant to SU. The link the Processing forum is here: https://forum.processing.org/allforums

                Currently Processing has fairly good facility for exporting .dxf files. Here's a simple example:

                import processing.dxf.*;
                
                boolean record;
                
                void setup() {
                  size(500, 500, P3D);
                }
                
                void keyPressed() {
                  // use a key press so that it doesn't make a million files
                  if (key == 'r') record = true;
                }
                
                void draw() {
                  if (record) {
                    beginRaw(DXF, "output.dxf");
                  }
                
                  // do all your drawing here
                
                  if (record) {
                    endRaw();
                    record = false;
                  }
                }
                
                

                Sketchup 7 allowed .dxf import via a separately available plugin, I'm not sure about SU8 as I don't use .dxf files myself. TIG would know better about that I'm sure.

                Cheers.

                "For a moment, nothing happened. Then, after a second or so, nothing continued to happen."

                1 Reply Last reply Reply Quote 0
                • TIGT Offline
                  TIG Moderator
                  last edited by

                  Thanks...

                  It seems to have a DXF writer option... If you get v7 [still available] it has a free DXF importer; v8-pro has a DXF importer and there are some free DXF importers too...
                  It also has a 'text' writer option to write data to a text file, these files can be used to read in 3d data and make geometry too, using 3rd-party tools... There is also talk about exporting OBJ/STL etc so it seems to have a plethora of options...

                  So the question is... how are you going to export the data, and then how to import it into a SKP...

                  TIG

                  1 Reply Last reply Reply Quote 0
                  • pilouP Offline
                    pilou
                    last edited by

                    @unknownuser said:

                    So the question is... how are you going to export the data, and then how to import it into a SKP...

                    Maybe you can make with it something that plugins yet existing in Su don't make πŸ˜‰

                    Processing is very powerful and don't take in case any exploitation system so works directly in any one and for any one! πŸ‘
                    So you don't lost time to see in deepth the painfull Windows or osx or linux or...! πŸ’š

                    This guy has made some artistic exploration with it! 😎

                    I had used it for this inverse πŸ’š
                    One little form from in SU, image in Processing πŸ˜„
                    My code is here β˜€

                    http://www.polyloop.net/attachment.php?attachmentid=31659&d=1308254259

                    Frenchy Pilou
                    Is beautiful that please without concept!
                    My Little site :)

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

                    Advertisement