Page 1 of 1

Octane Sketchup Exporter 1_00-05 [v2014]

PostPosted: Thu Mar 13, 2014 1:08 pm
by TIG
This version has the (c) dates corrected to 2014 etc.
The Help PDF is also updated to suit...
This version is still compatible with SketchUp v2014...
As usual...
Install it by extracting the contents of the ZIP into your Plugins folder, maintaining all helper files within their subfolders, as seen inside the ZIP, when appropriate.
Restart Sketchup to auto-load it.
Read the instructions provided...
Octane_1_00-05.zip
(480.16 KiB) Downloaded 954 times

To install it 'automatically' edit the ZIP and remove the unnecessary README.txt file, and then change its suffix to .RBZ and then use the Preferences > Extensions > Install tool [available in >v8M2]...

Re: Octane Sketchup Exporter 1_00-05 [v2014]

PostPosted: Thu Mar 13, 2014 8:00 pm
by Eznit
Obrigado!

Thank you! :P

Re: Octane Sketchup Exporter 1_00-05 [v2014]

PostPosted: Sat Apr 26, 2014 8:03 pm
by smicha
TIG,
Thank you for the update. It seems that it works faster than previous versions.

PS. I am looking for the line in your code that is responsible for precision. Could you please help. I'd like sometimes to use only four digits and sometimes eight. It would be very convenient to have precision option built in the exporter.

s

Re: Octane Sketchup Exporter 1_00-05 [v2014]

PostPosted: Sun Apr 27, 2014 9:54 am
by TIG
smicha wrote:TIG,
Thank you for the update. It seems that it works faster than previous versions.

PS. I am looking for the line in your code that is responsible for precision. Could you please help. I'd like sometimes to use only four digits and sometimes eight. It would be very convenient to have precision option built in the exporter.

s
You'll need to edit the 'MTL' parts saying things like:
mtl_file.puts("Kd " + ffcol.to_a[0..2].collect{|c| "%.6g" % ((c.to_f/255)**2.2) }.join(" "))
or

Change the "%.6g" to a bigger or smaller number.
The default is 6 d.p. BUT if there are ending zeros these are stripped [by 'g']
There are other values that always stay at 3 d.p. like this:
mtl_file.puts("Ks 0.333 0.333 0.333")
or
mtl_file.puts("d #{"%.3g" % mat.alpha }")

For the MESH - the 'v' is set to 12 d.p [or less with 'g'], as in:
newv="v #{"%.12g" % (xx.to_m.to_f)} #{"%.12g" % (yy.to_m.to_f)} #{"%.12g" % (zz.to_m.to_f)}"
or
newvt="vt #{"%.12g" % (uv.x)} #{"%.12g" % (uv.y)}"
or
newvn="vn #{"%.12g" % (xx)} #{"%.12g" % (yy)} #{"%.12g" % (zz)}"
:?

Re: Octane Sketchup Exporter 1_00-05 [v2014]

PostPosted: Sun Apr 27, 2014 5:57 pm
by smicha
Thanks TIG. That helps a lot.

Re: Octane Sketchup Exporter 1_00-05 [v2014]

PostPosted: Sun Dec 14, 2014 9:51 am
by clausgs
HI

Do this exporter work with Sketchup 2015???

Re: Octane Sketchup Exporter 1_00-05 [v2014]

PostPosted: Sun Dec 14, 2014 1:05 pm
by clausgs
HI TIG

I just tried the 1_00-05 exporter in sketchup 2015 and it is much slower than in SU 2014.
?????
SU 2014 about 100 sec
SU 2015 about 215 sec

Model have about
187000 edges
84000 faces

What's the problem here?
Any solution to this?
Any work in progress for an updated exporter?

Re: Octane Sketchup Exporter 1_00-05 [v2014]

PostPosted: Mon Dec 15, 2014 10:53 am
by TIG
I have stopped any further development of this Ruby script. :-(
I'm afraid it stays as it is - warts and all !
Otoy's Octane now has it own custom made SUp exporter which is better integrated and works more efficiently [it has 'binary' coding].

Re: Octane Sketchup Exporter 1_00-05 [v2014]

PostPosted: Mon Dec 15, 2014 12:54 pm
by clausgs
TIG wrote:I have stopped any further development of this Ruby script. :-(
I'm afraid it stays as it is - warts and all !
Otoy's Octane now has it own custom made SUp exporter which is better integrated and works more efficiently [it has 'binary' coding].


HI TIG
Fully understand,,, thanks for the great work on this exporter any way.

Octane's own exporter???
Do you mean the one that are fully integrated in SU,, also render inside SU???

Thanks