excellent ! can you provide more info about it ?
LE: a4chitect beat me with the questions 
Posts
-
RE: Lighting Plugin for Sketchup
-
RE: 3DVIA
pros:
- clean, big interface with nice icons
- soft sun shadows
- thick lines for move/manipulate
cons:
- hard to work after used to SU workflow
- middle mouse button + left to orbit - yuck

- not enough features to work on bigger project
- enter your login details on each open
- where is the open/import ?

conclusion: uninstall
-
RE: 3DVIA
I tested it some time ago - first impression - bleah (some things didnt worked, ...)

2nd chance now - one minus, it wants to be installed only on
drive. -
RE: How to check if a program is running with Ruby?
you need win32ole.so for that example.
... but you still need another file to access process identification (win32ole or win32api) -
RE: How to check if a program is running with Ruby?
here is one quick way
require "win32ole" procs = WIN32OLE.connect("winmgmts;\\\\.") all_proc = [] procs.InstancesOf("win32_process").each do |proc| all_proc.push proc.name.to_s.downcase end p all_proc.include?("indigo.exe") -
RE: Yahoo Image Search
just add an index.htm in the images dir that redirect to your main page
-
RE: Texture.use_alpha?
here some quick code to check for PNG transparency
class ReadPNG def initialize(file) @pngfile = File.open(file,"rb+").read read_offset(8) #skip header end def transparent? ok = true while ok chunk_size = read_offset(4).unpack("N")[0] section = read_offset(4) case section when 'PLTE' read_offset(chunk_size) when 'IDAT' read_offset(chunk_size) when 'tRNS' read_offset(chunk_size) return true else @offset += chunk_size end ok = section != "IEND" read_offset(4) # skip CRC end return false end def read_offset(length = 1, offset = nil) @offset ||= 0 @offset = offset if offset begin ret = @pngfile[@offset, length] rescue p "error reading at #{@offset}" end @offset += length ret end end p ReadPNG.new('texture.png').transparent? -
RE: Texture.use_alpha?
@unknownuser said:
Is there way to find out if a texture has alpha channel?
nope

@unknownuser said:
Will material.materialType help me?
nope again - it returns the same value as for a non-alpha texture
you can look for 'tRNS' chunk inside .png files - if present than it contains transparency
-
RE: Please Welcome Style Builder...
tip: read the help files first
let the styles madness begin !
-
RE: Random Delete?
[shameless plug] add Randor in the mix and you have a good looking forest, crowd, ... [/shameless plug]
-
RE: Voice activated Sketchup - it's here
it supports semicolon and comma and it needs a training stage to learn your voice but still keyboard is way faster (and why a 44mb download for an installed 3mb program ?)
unless you want to have fun saying the same thing on the microphone - "push pull you stupid computer !"
-
RE: New way to dynamically resize images
already available to play with your photos interactively at http://rsizr.com/ (since Sep.28)
-
RE: SU6 SKM processing
that means that the user must export as OBJ first - not acceptable

so I think I will use TextureWriter as there is no Ruby method that points to the .skm file to do a .zip parsing of .xml files. urgh

thanks anyway
-
SU6 SKM processing
does anyone knows how to get the texture file from a material ?
sketchup.com is down and I dont have a mirror of SU6 Ruby help and in SU6 textures are stored inside .skm (which are renamed .zip files) versus SU5 where all textures were stored normally in Materials subdir.
one way is to TextureWrite it but I dont like to clutter the HDD for that

-
RE: [Plugin] Unhide ALL (Edges) - Inside Groups / Components ???
and here is the fix (thanks TIG) - works with both .skp from JClements & Howard L' (for the cube in JClements .skp you need to triple click to select all connected as it is not a group)
-
RE: [Plugin] Unhide ALL (Edges) - Inside Groups / Components ???
azuby: unfortunately it suffers from the same problem - somehow duplicated groups have the same entities as in a component
-
RE: [Plugin] Unhide ALL (Edges) - Inside Groups / Components ???
here ya go unhide from groups/components on selection or all if no selection
-
RE: How can I assign a keyboard key as a SketchUp shortcut
oscarlok: it is not possible to make a keyboard shortcut via Ruby as this is a feature that user should decide (imagine if every script started to change your shortcuts
)