[Plugin] Import ALL from Folder

Re: [Plugin] Import ALL from Folder

Postby appgeo » Fri Jan 12, 2018 4:08 am

I installed successfully to Sketchup Make Version 16, 32 bit on Windows PC running Windows 7.
Imported 4 small .DAE files and report says successful. However, nothing shows up on screen.
These files load fine when using the "File, Import" dialog in Sketchup, one at a time.
In "File, Import" dialog you have to place imported DAE file manually. Plug in does not ask. I always insert at origin of the model, so that would be fine. What am I doing wrong?
Thanks! Fred
0

appgeo 
 

Re: [Plugin] Import ALL from Folder

Postby harnstein » Fri Apr 05, 2019 11:41 am

Hi @TIG,

I'm working on modeling a bunch of objects from photo reference. Therefore I used your plugin to mass import image files.

They come in nicely arranged next to each other - unfortunately they're all in random order..??

Their original filename is DSC_XXX, I tried batch renaming it to incremental numbers but that didnt solve it.

Any idea how to solve this?

Many thanks as usual :D Niko
0
still sketchin'

harnstein 
 

Re: [Plugin] Import ALL from Folder

Postby TIG » Fri Apr 05, 2019 12:03 pm

If you want to import the file types in alphanumeric order, then sort the list as follows.
Edit the file [../Plugins/import_from_folder.rb] using a plain-text editor like Notepad++ [or TextWrangler on MAC].

At line #124
list.each_with_index{|f, ix|...
change it to read
list.sort.each_with_index{|f, ix|...
then save and close.
Now restart SketchUp...
1
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] Import ALL from Folder

Postby harnstein » Fri Apr 05, 2019 1:24 pm

Thanks a lot for your super quick support!

I'll try it when I get back to the office.

Another TIG tool that comes right on time.. ;)
0
still sketchin'

harnstein 
 

Re: [Plugin] Import ALL from Folder

Postby Sugareth » Sun Jun 16, 2019 8:36 pm

Hi all, I have posted a companion plugin for Blender, which enables you to bulk export Collada files from Blender (which is very good at importing STL). Hope it helps someone.
https://github.com/johnnyshield/blender
0

Sugareth 
 

Re: [Plugin] Import ALL from Folder

Postby superanus » Mon Jul 29, 2019 4:07 pm

amazing tool - thanks
I have 50+ geolocated skp files
is it possible to place them according its own coordinates instead all in 0,0,0

would donate this feature- thank you in advance!
0

superanus 
 

Re: [Plugin] Import ALL from Folder

Postby TIG » Mon Jul 29, 2019 6:54 pm

Unfortunately SKP imports default to 0,0,0 - unless it's done manually - when you can choose a location.
However, if a SKP is geo-located, then importing it [e.g. manually] can force it to its geo-located point ??
I can't see how we need to automate that...
:shock:
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] Import ALL from Folder

Postby harumscarum » Tue Jul 30, 2019 7:45 pm

just recently it was possible to make this with the KMZ files
as soon as geo-located model or Geo-Location itself is in SketchUp scene - on the import KMZ files placing each in just exact location
0

harumscarum 
 

Re: [Plugin] Import ALL from Folder

Postby TIG » Tue Jul 30, 2019 7:55 pm

Sorry, but your post is unclear.
Is it a question or a statement of fact ??

Please explain...
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] Import ALL from Folder

Postby harumscarum » Tue Jul 30, 2019 8:25 pm

just checked again - it also works with the SKP files (with geo-located ones)

1. fist we need to add as many location tiles as we need - File - Geo-Location - Add Location
2. after that all geo-located SKP files automatically importing on its location - no need to move it


here is a quick test - 3 random buildings in the Austin, TX downtown
0

harumscarum 
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

Previous


 

Return to Plugins

Who is online

Users browsing this forum: kotone77, magdamatejek, mrlee23987 and 140 guests

Visit our sponsors: