I'm just not familiar with the Windows API and I was wondering if you can access the registry without using it. I am guessing not.
Posts
- 
RE: How to read the windows registry?
 - 
How to read the windows registry?
From the little research I have done, it seems like the only way to ready values from the Windows registry is to use the WinOLE library. Is there a way to do it without using a library?
Can someone post some sample code for how to ready values from the registry using an external library?
Thanks in advance!
 - 
RE: Sketchup to Luxrender
@2kemon said:
I know absolutely nothing about coding, but I know what works, and the skindigo exporter works to near perfection, so an exporter based on that would be great! But is that allowed, now that whaat is working for Glare on developing the indigo exporter further?
A new exporter based on SkIndigo would be copyright infringement. There is no GPL code in SkIndigo. There was at one point but I have re-written it.
 - 
RE: [Plugin] UVTools v0.1
sorry guys, I am swamped with other projects. I won't be updated this one for awhile.
 - 
RE: [REQ] Lock texture coordinates
Here are some methods to load and save UV sets. If someone wants to use them to create a 'lock texture' plugin, that's fine with me.

def store_uvs(ents,uvset) face=0 case uvset when 0 key="uv0" when 1 key="uv1" when 2 key="uv2" when 3 key="uv3" end Sketchup.active_model.start_operation "Save UV set" for e in ents if (e.valid?) and (e.class==Sketchup;;Face) polymesh=e.mesh 5 uvs=polymesh.uvs 5 for i in (0..uvs.length-1) uvs[i]=uvs[i].to_a #converts the Point 3D objects to arrays so they won't be transformed end e.set_attribute 'uvs',key,uvs face=face+1 Sketchup.set_status_text("Stored uvs for #{face} faces.") end end UI.messagebox "UVs saved for #{face} faces." Sketchup.active_model.commit_operation end #function ###################position a texture on a material from a stored UV set def position_map(entities,set) face=0 failed=0 return if set=="SU" key="uv"+set.to_s p "positioning map" p entities for e in entities p e if (e.valid?) and (e.class==Sketchup;;Face) uvs=e.get_attribute 'uvs',key #gets the stored array of uv coordinates for this face for the given uv set p uvs if uvs pos=[] polymesh=e.mesh 5 #get a polygon mesh representation of the face polygons=polymesh.polygons poly_index=0 begin for p in polygons[poly_index] point=polymesh.point_at(p.abs) if point pos.push(point) pos.push(uvs[p.abs-1]) end end e.position_material e.material, pos, true face=face+1 Sketchup.set_status_text("Loaded uvs for #{face} faces") rescue #this is required because SketchUp sometimes fails to position the texture properly poly_index=poly_index+1 if polygons[poly_index] pos=[] retry #try to postion texture again using next polygon in the face else failed=failed+1 end end end end end if failed>0 stext="Unable to load UVs for #{failed} faces. Loaded UVs for #{face} faces." else stext="Loaded UVs for #{face} faces." end #UI.messagebox (stext) end #end position map - 
RE: Bike wip
@unknownuser said:
Thanks Eric. It seems to be keeping my interest. I think it is the ruby discovery process that is the coolest part. I'll see how far I can get...cheers!
Very nice modelhead! Hey, have you tried rendering with a more studio-like setup instead of sun+sky? It will really improve the look of your renders. Another thing to try is using EXR environment maps. (There's free ones available online if you do a bit of digging)
 - 
RE: [Plugin] UVTools v0.1
@spenceju said:
Could someone please tell me how to use this plugin in sketchup? I put the file in the plugins folder but I do not see a "UV tools" context menu. Please let me know.
Thanks,
Justin Spencer
Hi spence,
Someone else posted this issue using a Mac system. I am actually not sure if the plugin works at all on Mac. Has anyone got it to work on Mac? - 
RE: Subdivide and Smooth Tutorial Contest
Well, the contest deadline has arrived. I will post the results on my blog pretty soon. It won't be too hard to pick the winner. There was only one entry!
  Oh well...   
  Can anyone explain the lack of entries? - 
RE: WebDialog show_modal on Mac
@jim said:
Does anyone know offhand if calling
show_modalon a Mac suspends the ruby script as it does on windows?Hey Jim,
I am 95% sure that it does not suspend it. - 
RE: Rendering animations
@remus said:
very cool whaat, we going to be able to play with this in the next skindigo?
yeah...this will feature will probably be included in the next beta.
 - 
RE: Rendering animations
@solo said:
Thats cool, must have taken ages with Indigo, right?
I hear Thea also has the ability to render Sketchyphysics, or at least will when released.
Each frame rendered 30 seconds. I think there were 96 frames. The resolution was pretty small (I think 300x300).
 - 
RE: Rendering animations
Something like this?

[flash=423,344:yddq5g08]http://www.youtube.com/v/aRNFmaQ9rU0&hl=en&fs=1[/flash:yddq5g08] - 
RE: Subdivide and Smooth Tutorial Contest
Not much time left. Make sure you get your entries in before June 1st!

 - 
RE: Hey Whaat: Profile Builder...?
yeah...unfortunately, Profile Builder is based on the native Follow Me tool and cannot help you here.
  However, if you do a lot of this sort of modelling, it will pay for itself pretty quick.  
 - 
Subdivide and Smooth Tutorial Contest
Hi,
To celebrate the one year anniversary of Subdivide and Smooth, I am having a tutorial contest with cash prizes! Check it out here:
There's not much time left so get those entries in!

Thanks everyone for supporting my plugins!Dale
 - 
RE: Profile Builder released!
@sir said:
is it possible to edit a profile which has already been extruded along a load of paths, and have the paths update to the new profile? or do i just have to make the edited one a new profile and re-extrude it?
Well, if you first select all the profile members that you want to change, then click the 'Edit Member Properties' button. If you check the 'Profile' box, then all of the selected members will switch to whatever profile is currently shown in the dialog box. There is no need to re-extrude anything.
@unknownuser said:
also the bug that you mention about a profile dissaperaring when reversing direction affects me, but more recently im getting it never apprearing in the first place. (SKP pro 6) any fix for this yet?
Sorry, there is no fix for this. It seems to only happen in SU6, so it seems like it is a SketchUp bug in version 6.@unknownuser said:
sometimes it works tho. weird!
yes it is very baffling for me...@unknownuser said:
it'd be nice to have manual selection of the placement point too, maybe in another version
  
You have full control over placement point by using the x and y offset values. I am not sure what you mean here.
@unknownuser said:
and to be able to make the profile builder popup dissapear into its title bar, like materials popup. but i guess ruby doesnt control that eh?
Sorry, not possible
@unknownuser said:
is there a limit to the complexity of the profile? cos it refuses to do anything with my more complex ones

I have tried some pretty complex profiles and never had any problems. Can you upload the SKP showing the profile you are trying to use? Maybe you found a bug. Thanks!
Let me know if you need any more help!
Dale - 
RE: Indigo Going Commercial
@unknownuser said:
so there's a mac version out now.. problem is, i can't get any of my models in there... the app seems to open fine but skindigo doesn't work with OS X..
is there another way to get .skps into indigo or is the exporter the only way to do it?
Hi Jeff,
I am currently working hard on SkIndigo OSX. Please be patient as there a lot of things to fix for it to work properly on Mac.
As of now, the only way to use SkIndigo on a Mac is to use bootcamp or equivalent.
I hope to have a working Mac version out within a couple of weeks.
Dale
 - 
RE: Indigo Going Commercial
I don't remember the exact day I found out (I could check the forums), but it would have been the same day as the beta testing group. So really...I had no special advanced notice.