SketchUp tip: How to make 3D previews

Squonk shared a small tutorial on how to make ‘3D Warehouse‘-like previews for your SketchUp 3D Models. It involves installing and using the SketchUp Web Exporter plugin:

This tool will create in the given directory a collection of JPEG pictures and an HTML file containing the JavaScript code to animate the panorama, as well as a ZIP file containing the above files for convenient deployment on a website.

Via the forum.

Join the Conversation

6 Comments

    1. The “eagleUp_export.ulp” is a script written in the EagleCAD C-like “ULP” language, so it sould be pretty easy to understand.

      And as KiCAD is using documented (more or less) plain text files, it should also be pretty easy too to translate thses KiCAD data files into the same input files generated for the SketchUp plugin, using a Python script, don’t you think?

      At least this would be the way I would explore it.

      But the major problem is how to map all the EagleCAD parts that are defined as 3D SketchUp models to their KiCAD counterparts (part mapping scheme?)…

      1. I studied a bit the output of the eagleUp_export.ulp script, it seems that it generates some images for each layer and the “.eup” output file contains only the coordinates of the holes and the position of the modules. Kicad doesn’t have any scripting support yet, but I’ve seen that they have started to integrate a python scripting engine in the development branch, so there might be already a parser for the “.brd” files.
        For the part mapping, I’m thinking to keep an associative array with the footprint name and the name of the equivalent 3D SketchUp model.

      2. I am glad that you are actually looking at it! Although I am using EagleCAD, it is stil lagreat thing is KiCAD is made to work with Sketchup.

        Yes, I confirm that the script is generating large “.jpg” files, along with a binary “.eup” file.I am not sure however about their contents, as I didn’t check the export script. OTOH, I remember having seen somewhere a documentation on KiCAD’s “.brd” file structure, which is ASCII, IIRW.

        Why not ask the EagleUp developer ?

      3. eup files are not binaries, they are simple text files with basic comand for the sketchup plugin like hole(x,y,z) etc…

Leave a comment

Your email address will not be published. Required fields are marked *

Notify me of followup comments via e-mail. You can also subscribe without commenting.