Octane Sketchup Exporter - Full 1022-04

Forums: Octane Sketchup Exporter - Full 1022-04
SketchUp Integrated Plugin (Integrated Plugin maintained by OTOY)

Octane Sketchup Exporter - Full 1022-04

Postby TIG » Wed Aug 11, 2010 1:10 pm

TIG Wed Aug 11, 2010 1:10 pm
Here is version 1022-04
Octane_1022-04.zip
(435.67 KiB) Downloaded 263 times
It has been updated so that 'locale' languages can now be used in the text of the tool's dialogs, menus etc using 'deBabelizer' and suitable 'lingvo' files.
It has also has some minor cosmetic tweaks to the dialogs and error reporting etc.
It now also comes with the separate 'Fix Reversed Face Materials' tool [inside the zip], which itself is now the next version [1.1] and includes a similar language translation option.

Note that there are several new files and sub-folders with this version so please ensure that they go into the correct places.

Please study the updated 'Help' PDF file regarding the 'locale' language translation and the other changes...

The 'lingvo' files that are supplied in the zip have translations of several common languages.
The default 'English' version is -
OctaneEN-US.lingvo
- you can copy it, rename and add appropriate translations for another 'locale'.
The others are -
OctaneFR.lingvo is French
OctaneDE.lingvo is German
OctaneES.lingvo is Spanish
OctaneNL.lingvo is Dutch
OctaneIT.lingvo is Italian
I am no great linguist and I'm sure there will be some errors and native-speakers will doubtlessly suggest improvements - these are welcome [!].
Also speakers of other languages which are not yet represented might wish to make their own 'lingvo' files - it is relatively easy to do.
If a 'lingvo' file that would match the locale is not found then the default 'English' [EN-US] is used for all text.

Feedback please...
TIG
User avatar
TIG
Licensed Customer
Licensed Customer
 
Posts: 536
Joined: Wed May 12, 2010 1:25 pm

Re: Octane Sketchup Exporter - Full 1022-04

Postby Elvissuperstar007 » Thu Aug 12, 2010 11:48 am

Elvissuperstar007 Thu Aug 12, 2010 11:48 am
where Russian)
win 7 /64x C2Quad 6600 2.4/ Nvidia 9800 GX2 1gb 512 bit + Asus 480 GTX/ DDR2 8Gb / NVIDIA 460 GTX 2GB/2x NVIDIA 580 GTX 3GB
Page octane render " В Контакте " http://vkontakte.ru/club17913093
User avatar
Elvissuperstar007
Licensed Customer
Licensed Customer
 
Posts: 2368
Joined: Thu May 20, 2010 8:20 am
Location: Ukraine/Russia

Re: Octane Sketchup Exporter - Full 1022-04

Postby TIG » Thu Aug 12, 2010 12:10 pm

TIG Thu Aug 12, 2010 12:10 pm
Elvissuperstar007

You write the translation lingvo file into Russian and you can have it! ;)

Also where's the lingvo file for Ukrainian, Czech, Finish, Polish, Portuguese, Japanese, Chinese, Korean, Hebrew, Greek, Turkish etc etc :roll:
TIG
User avatar
TIG
Licensed Customer
Licensed Customer
 
Posts: 536
Joined: Wed May 12, 2010 1:25 pm

Re: Octane Sketchup Exporter - Full 1022-04

Postby nektares » Sat Aug 14, 2010 5:06 am

nektares Sat Aug 14, 2010 5:06 am
WOW Tig! it works like a charm now! no more error messages, i got my GTX480's now and im gonna make some serious tests to octane very soon, i tell you if anything happens but it seems it´s doing great n_n!! THANK YOU!
..::nektares::..
User avatar
nektares
Licensed Customer
Licensed Customer
 
Posts: 12
Joined: Sat May 29, 2010 8:06 pm
Location: Mexico

Re: Octane Sketchup Exporter - Full 1022-04

Postby TIG » Sat Aug 14, 2010 8:42 am

TIG Sat Aug 14, 2010 8:42 am
Fix Reversed Face Materials Tool - Minor Update to ES Lingvo File
Here is an updated lingvo file in Spanish [made by Defisto] with some changes in gender and idiom improvements.
Unzip it and put it into the ../Plugins/FixReversedFaceMaterials/ folder.
Aquí un actualizado archivo-lingvo en español [hecho por Defisto] con algunos cambios de género y la mejora de idioma.
Descomprímelo y lo puso en la carpeta ../Plugins/FixReversedFaceMaterials/.
FixReversedFaceMaterialsES.zip
(550 Bytes) Downloaded 159 times
TIG
User avatar
TIG
Licensed Customer
Licensed Customer
 
Posts: 536
Joined: Wed May 12, 2010 1:25 pm

Re: Octane Sketchup Exporter - Full 1022-04

Postby TIG » Mon Aug 16, 2010 10:27 am

TIG Mon Aug 16, 2010 10:27 am
Fix Reversed Face Materials Tool - Update
Here is v1.2 of the separate tool 'Fix Reversed Face Materials'.
FixReversedFaceMaterials.zip
(9.99 KiB) Downloaded 156 times
It has updated lingvo files and an additional tool "Fix Reversed Face Materials [Forced]" that fixes only on selected faces even if they have a front-material but also have a back-material...
Here are all the notes from within the script itself...
    (c) TIG 2010
    FixReversedFaceMaterials.rb
    Usage:
    Plugins > Fix Reversed Face Materials
    Select entities including any suspect faces [edges etc are ignored].
    If any face has a back-material BUT it has no front-material it is assumed
    to have been made incorrectly and to be oriented the wrong way round,
    with the desired material applied to the back instead of the front.
    So then the face is reversed and its front-material is made to match the
    back-material - including any UV-mapping appropriately corrected -
    the back-material is then removed.
    If there is no selection you are asked if you want to process the whole
    model, if you reply "Yes" then absolutely everything is selected !
    If the selection includes groups or components you are asked if you want to
    process these too - if you reply "Yes" then any faces inside them are also
    processed. If there are 'nested' groups or components with these they are
    also processed through the nesting.
    A closing dialog reports how many faces have been fixed.
    To see the affect switch from Texture mode and view in MonoChrome mode, run
    the tool and you should see the changed faces flip - switch back to Texture
    mode and you should see no difference in appearance since all the materials
    should still be the same, but incorrectly oriented faces have been fixed.

    IF there are still back-faces oriented the wrong way then they will have
    materials applied to both sides and so will have been excluded from the fix.
    There is another option to force selected faces to flip, swap the front and
    back materials and then delete the unneeded material that is by then
    swapped onto the back face.
    Plugins > Fix Reversed Face Materials [Forced]
    Use this option with care! It will flip any selected faces that have
    materials applied to both faces, swap the materials over and delete the
    material that is by then swapped onto the back face. Pick only the faces
    you know to be wrong [in MonoChrome], otherwise you might mess up already
    correct faces. As a safety precaution if any of the selected faces have
    their front face towards the camera a dialog asks if you want to continue -
    if you answer 'Yes' then they are all processed, if you answer 'No' then
    the operation is canceled and nothing is changed.

    Donations:

    by PayPal to info @ revitrev.org
    Version:
    1.0 20100806 First Issue.
    1.1 20100811 Text deBabelized.
    1.2 20100816 'Forced' option added and lingvos updated.
TIG
User avatar
TIG
Licensed Customer
Licensed Customer
 
Posts: 536
Joined: Wed May 12, 2010 1:25 pm

Re: Octane Sketchup Exporter - Full 1022-04

Postby TIG » Tue Aug 17, 2010 11:56 am

TIG Tue Aug 17, 2010 11:56 am
Fix Reversed Face Materials Tool - Update
Here is v1.3 of the separate tool 'Fix Reversed Face Materials'.
FixReversedFaceMaterials.zip
(10.96 KiB) Downloaded 165 times
It has some minor typo corrections, updated lingvo files and another additional tool - "Delete Back-Materials" - which does what its name says - but use with caution and read the notes below first!
Here are all the notes from within the script itself...
    (c) TIG 2010
    FixReversedFaceMaterials.rb
    Usage:
    Plugins > Fix Reversed Face Materials
    Select entities including any suspect faces [edges etc are ignored].
    If any face has a back-material BUT it has no front-material it is assumed
    to have been made incorrectly and to be oriented the wrong way round,
    with the desired material applied to the back instead of the front.
    So then the face is reversed and its front-material is made to match the
    back-material - including any UV-mapping appropriately corrected -
    the back-material is then removed.
    If there is no selection you are asked if you want to process the whole
    model, if you reply "Yes" then absolutely everything is selected !
    If the selection includes groups or components you are asked if you want to
    process these too - if you reply "Yes" then any faces inside them are also
    processed. If there are 'nested' groups or components with these they are
    also processed through the nesting.
    A closing dialog reports how many faces have been fixed.
    To see the affect switch from Texture mode and view in MonoChrome mode, run
    the tool and you should see the changed faces flip - switch back to Texture
    mode and you should see no difference in appearance since all the materials
    should still be the same, but incorrectly oriented faces have been fixed.

    IF there are still back-faces oriented the wrong way then they will have
    materials applied to both sides and so will have been excluded from the fix.
    There is another option to force selected faces to flip, swap the front and
    back materials and then delete the unneeded material that is by then
    swapped onto the back face.
    Plugins > Fix Reversed Face Materials [Forced]
    Use this option with care! It will flip any selected faces that have
    materials applied to both faces, swap the materials over and delete the
    material that is by then swapped onto the back face. Pick only the faces
    you know to be wrong [in MonoChrome], otherwise you might mess up already
    correct faces. As a safety precaution if any of the selected faces have
    their front face towards the camera a dialog asks if you want to continue -
    if you answer 'Yes' then they are all processed, if you answer 'No' then
    the operation is canceled and nothing is changed.

    Once you are happy that you model has its faces oriented as desired then
    there is another tool to tidy up face-materials...
    Plugins > Delete Back-Materials
    Select entities including any faces with back-materials you want
    processing [edges etc are ignored].
    If any selected face has a back-material its material will be deleted.
    If there is no selection you are asked if you want to process the whole
    model, if you reply "Yes" then absolutely everything is selected !
    If the selection includes groups or components you are asked if you want to
    process these too - if you reply "Yes" then any faces inside them are also
    processed. If there are 'nested' groups or components with these they are
    also processed through the nesting.
    A closing dialog reports how many faces had their back-materials
    deleted.
    Note: Groups and Component-Instances that can have materials applied
    directly onto them - then any faces within them that have the default-
    material [front and/or back] will then appear to have that material applied
    to them. In fact these faces within the Group/Definition will still have
    the default-materials [front and/or back]. If you want to quickly remove
    the appearance of this material on the back-faces within the group then
    explode the group and immediately regroup the geometry - the group's
    previous material will then be individually transfered to each face that
    had the default-material. Now use this 'Delete Back-Materials' to delete
    the unneeded back-material. With component-instances you can similarly
    explode the instance and immediately make its geometry into a Component -
    using anew name if only that instance is to change or using the same name,
    overwriting the original definition to update all instances of it -
    however, remember that you can have several instances of a definition with
    different materials applied to them and displayed in lieu of the default-
    material, so doing this might have unexpected consequences, so think
    beforehand!
    Use 'Delete Back-Materials' this with care and only AFTER using other tools
    to correct flip and/or swap front/back material etc...

    Donations:

    by PayPal to info @ revitrev.org
    Version:
    1.0 20100806 First Issue.
    1.1 20100811 Text deBabelized.
    1.2 20100816 'Forced' option added and lingvos updated.
    1.3 20100817 New 'Delete Back-Materials' tool added.
    Glitch in translation of strings fixed.
    Updated all lingvos.
Attachments
FixReversedFaceMaterials.zip
(10.96 KiB) Downloaded 144 times
TIG
User avatar
TIG
Licensed Customer
Licensed Customer
 
Posts: 536
Joined: Wed May 12, 2010 1:25 pm

Re: Octane Sketchup Exporter - Full 1022-04

Postby define » Sat Aug 21, 2010 4:23 pm

define Sat Aug 21, 2010 4:23 pm
hello TIG,

in the first place I can't thank you enough for the great work you have done here.
Not to speak about the numerous great plugs for sketchup that you have written.

Its unaffordable to be able to just press a button or two and off you go with octane.

I however have a question, which you might be able to answer (or even solve:).

I really appreciate one sketchup feature very much. I'm talking about
the ability to put 'decals' (png-with alpha-channel) on plane surfaces
and with some effort even on simple rounded surfaces by just draging them there from
the win-explorer.
I use this very often for example to put a logo on an exhibition stands wall
or any product graphic on the respective produkt.

Now - here comes the question/challenge. If I try to export these sketchup files to octane
it would loose the alpha-channel or - in the most cases - does'nt even export.

If I use twilight for sketchup there's no problem.

Is this because octane is still in beta and does not have a decal-system? or is it a feature that
noone else is working with and so has been neglected?

It would be really cool if the 'sketchup-decals'/alpha-png's could make it into octane.

Enclosed is a sketchup-file with just a simple cube and an alpha-png attached to it.
It won't export as long as the alpha-png is in place.
If however one exports as an obj from sketchup directly octane will start at least.
Though the alpha-png will not show up with alpha channel automatically - this can probably
be adjusted inside octane (did'nt find out as yet).

Perhaps one (you?) could think about a texture baking plug in sketchup which
could help solve this?

thx again for the exporter and all your plugs for sketchup

Klaus

by the way: the camera* under octane behaves completely different when opening
the same file a) that was exportet as an obj with the exporter that comes with sketchup
b) if exporting with octane-exporter... may be you can look into this too.
*it seems as if one axis is disabled ...someone claimed that before I think...try rotating a simple cube for example
define
Licensed Customer
Licensed Customer
 
Posts: 6
Joined: Sat Mar 13, 2010 12:51 pm
Location: germany

Re: Octane Sketchup Exporter - Full 1022-04

Postby define » Sat Aug 21, 2010 4:30 pm

define Sat Aug 21, 2010 4:30 pm
forgot to include the sketchup-file. here it is.

best

klaus
define
Licensed Customer
Licensed Customer
 
Posts: 6
Joined: Sat Mar 13, 2010 12:51 pm
Location: germany

Re: Octane Sketchup Exporter - Full 1022-04

Postby nipparnlert » Sat Aug 21, 2010 5:40 pm

nipparnlert Sat Aug 21, 2010 5:40 pm
Thank you so much.
new user :
Hardware : win7-x64 / i7-930-2.8 / ASUS P6T / PCI Express x16 Gen2 / DDR3 G.Skill 6GB. / Inno Geforce GTX470 CUDA Cores 448 / CoolerMaster / GX-750
Software : Octanerender pre-Beta 2.42 / Sketchup8 / Nvidia Driver 260.99 / CUDA 3.2.1
User avatar
nipparnlert
Licensed Customer
Licensed Customer
 
Posts: 75
Joined: Fri Jun 18, 2010 3:59 pm
Location: Thailand
Next

Return to SketchUp


Who is online

Users browsing this forum: No registered users and 1 guest

Wed Oct 21, 2020 11:14 am [ UTC ]