![]() |
|
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
(#1)
|
|
|
Moderator
![]() Posts: 794
Join Date: 2002.10
Location: Texas
|
Google Sketch Up -
2006.06.14, 03:10 PM
Possibly one of the easiest architectural modeler I have EVER used. Not too good for organic modeling, but for anything with hard edges (I can think of a million and 2 possibilities), it is perfect.
It only has ONE problem, it (the non pro version) can't export to any meaningful formats So, what are everyone elses opinion on this wonderful new program? Link for lazy: http://sketchup.google.com/ |
|
|
|
|
(#2)
|
||
|
Moderator
![]() Posts: 575
Join Date: 2002.09
Location: Belgium
|
2006.06.14, 03:34 PM
Quote:
Other than that, my first thought was that it was a cool app for beginners and intermediate users. |
|
|
|
|
|
(#3)
|
|
|
Moderator
![]() Posts: 794
Join Date: 2002.10
Location: Texas
|
2006.06.14, 04:02 PM
ahh yes, I suppose to me it was new as in it was the first time I saw it. Specifically under Google's name.
|
|
|
|
|
(#4)
|
|
|
Member
![]() Posts: 323
Join Date: 2002.09
Location: Toronto
|
2006.06.14, 04:04 PM
Yep, this would be a sweet modeller for first-person-shooter style maps, but $495 for OBJ export is a little steep! The free version's license is also very restrictive - obviously Google just wants people to make models for Google Earth and give'm away for free. If they had a less encumbered $50-$100 mid range version I'd just might bite...
|
|
|
|
|
(#6)
|
|
|
Member
![]() Posts: 323
Join Date: 2002.09
Location: Toronto
|
2006.06.15, 01:54 AM
I tried AC3D a while back - command-Q is "Select None"
- It looks decent in other respects but the workflow and features didn't stand out as anything special.I'm not knocking SketchUp Pro's price (I'm sure it's worth every penny to people who use it commercially) but as someone who's invested a lot of money and time into Cinema4D any add-on 3D tools I buy would have to offer enough specialized functionality to justify the price. SketchUp Pro doesn't fall into my threshold for such a tool, but a more affordable stripped-down version just might - that's all I was trying to point out. |
|
|
|
|
(#7)
|
|
|
Moderator
![]() Posts: 418
Join Date: 2002.04
Location: London, UK
|
2006.06.15, 09:55 AM
I haven't tried the free version (I use the pro version at work), but I believe the Ruby scripting API is still present in the free version. Since you can examine the geometry from scripting, I suspect that it's possible to write scripts to export to any format you want.
Anyone want to try it? ![]() |
|
|
|
|
(#8)
|
||
|
Moderator
![]() Posts: 794
Join Date: 2002.10
Location: Texas
|
2006.06.15, 01:20 PM
Quote:
tell me more. |
|
|
|
|
|
(#9)
|
|
|
Member
![]() Posts: 1,045
Join Date: 2003.01
Location: Italy
|
2006.06.15, 01:27 PM
wow, the only 3d modeller I'm able to use...
|
|
|
|
|
(#10)
|
||
|
Moderator
![]() Posts: 794
Join Date: 2002.10
Location: Texas
|
2006.06.15, 06:10 PM
Quote:
![]() |
|
|
|
|
|
(#11)
|
||
|
Moderator
![]() Posts: 1,597
Join Date: 2005.07
Location: Moon
|
2006.06.17, 02:00 AM
Quote:
![]() |
|
|
|
|
|
(#12)
|
|
|
Moderator
![]() Posts: 1,597
Join Date: 2005.07
Location: Moon
|
2006.06.17, 05:42 AM
NOooOoooooo!
I did it ![]() Code:
def do_it()
model = Sketchup.active_model
if(!model) then
UI.messagebox "Failure !model"
return
end
entities = model.entities
if(!entities) then
UI.messagebox "Failure !entities"
return
end
$all_vertices_pointers = Array.new
faces_string = ""
entities.each { |entity|
if(entity.typename == "Face") then
my_mesh = entity.mesh 0
n_points = my_mesh.count_points
for i in 1..n_points
my_point = my_mesh.point_at i
my_index = $all_vertices_pointers.index(my_point)
if(my_index) then
my_index += 1
else
$all_vertices_pointers += [my_point]
end
end
n_polys = my_mesh.count_polygons
for i in 1..n_polys
faces_string += to_obj_polygon(my_mesh.polygon_points_at(i))
end
end
}
$all_vertices_pointers.each { |vert|
to_obj_vertex(vert)
}
print faces_string
UI.messagebox "Done"
end
def to_obj_vertex(vert)
print "v "
print vert.to_a.join(" ")
print "\n"
end
def to_obj_polygon(my_vertices)
my_str = "f"
my_vertices.each { |my_point|
my_str += " "
my_str += ($all_vertices_pointers.index(my_point)+1).to_s
}
my_str += "\n"
end
do_it()
|
|
|
|
|
(#13)
|
|
|
Member
![]() Posts: 1,045
Join Date: 2003.01
Location: Italy
|
2006.06.17, 09:06 AM
Wow, what a l33t haxxor!
|
|
|
|
|
(#15)
|
|
|
Moderator
![]() Posts: 1,597
Join Date: 2005.07
Location: Moon
|
2006.06.17, 09:18 AM
I R
Save it as "/Library/Application Support/Google SketchUp/Plugins/objExporter.rb" In Google SketchUp, go into the Window/Ruby Console, and type load 'objExporter.rb' after creating _somthing_. It will print it to the console as an obj file. It only exports a list of vertices and faces, but its a good start and wings can load up the data it saves. If anyone makes any improvements try and get them to me and we will have a proper export plugin soon enough. ![]() |
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|