Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4065454
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T15:59:05+00:00 2026-05-20T15:59:05+00:00

I am looking for a way to convert several skp, kmz or dae files

  • 0

I am looking for a way to convert several skp, kmz or dae files at once into 3ds or fbx format. In sketchup pro you can do export as…3ds or fbx but that would take too long to open each file and export it. Is there a command line in sketchup, or a script that could be used to perhaps automate this process?
Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T15:59:06+00:00Added an answer on May 20, 2026 at 3:59 pm

    you need to invoke sketchup from the command-line specifying a script
    to run immediately

    sketchup.exe -RubyStartup d:\scripts\runexport.rb

    in your ruby script (runexport.rb) you can

    1. load your model. See http://code.google.com/apis/sketchup/docs/ourdoc/model.html#import

    2. export your model. See http://code.google.com/apis/sketchup/docs/ourdoc/model.html#export

    3. and finally, shutdown sketchup. See http://forums.sketchucation.com/viewtopic.php?f=180&t=29162

    For recursively walking the directory, try this ruby code (from wikipedia)

    Pattern matching using regular expressions

    #define a recursive function that will traverse the directory tree
    def printAndDescend(pattern)
      #we keep track of the directories, to be used in the second, recursive part of this function
      directories=[]
      Dir['*'].sort.each do |name|
        if File.file?(name) and name[pattern]
          puts(File.expand_path(name))
        elsif File.directory?(name)
          directories << name
        end
      end
      directories.each do |name|
        #don't descend into . or .. on linux
        Dir.chdir(name){printAndDescend(pattern)} if !Dir.pwd[File.expand_path(name)]
      end
    end
    #print all ruby files
    printAndDescend(/.+\.rb$/)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm looking for a way to convert HTML entity numbers into a character using
I am looking for a way to convert my List(Of string) into an Object
I am looking for an efficient way to convert a ResultSet into a form
I'm looking for a way to convert a BigInteger into a very short String
I'm looking for av way to convert a string into whitespace; spaces, newlines and
I'm looking for a way to convert an object to one of several different
I initially was looking for a way convert byte to float, and found answers
As the title says i am looking for a way convert a huge number
I'm looking for a way to convert hex (hexadecimal) to dec (decimal) easily. I
Hej everyone, problem : I am looking for right way to convert an index

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.