Page 1 of 3

Octane Sketchup Exporter - Full 1022-04

PostPosted: Wed Aug 11, 2010 1:10 pm
by TIG
Here is version 1022-04
Octane_1022-04.zip
(435.67 KiB) Downloaded 264 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...

Re: Octane Sketchup Exporter - Full 1022-04

PostPosted: Thu Aug 12, 2010 11:48 am
by Elvissuperstar007
where Russian)

Re: Octane Sketchup Exporter - Full 1022-04

PostPosted: Thu Aug 12, 2010 12:10 pm
by TIG
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:

Re: Octane Sketchup Exporter - Full 1022-04

PostPosted: Sat Aug 14, 2010 5:06 am
by nektares
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!

Re: Octane Sketchup Exporter - Full 1022-04

PostPosted: Sat Aug 14, 2010 8:42 am
by TIG
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 161 times

Re: Octane Sketchup Exporter - Full 1022-04

PostPosted: Mon Aug 16, 2010 10:27 am
by TIG
Fix Reversed Face Materials Tool - Update
Here is v1.2 of the separate tool 'Fix Reversed Face Materials'.
FixReversedFaceMaterials.zip
(9.99 KiB) Downloaded 158 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.

Re: Octane Sketchup Exporter - Full 1022-04

PostPosted: Tue Aug 17, 2010 11:56 am
by TIG
Fix Reversed Face Materials Tool - Update
Here is v1.3 of the separate tool 'Fix Reversed Face Materials'.
FixReversedFaceMaterials.zip
(10.96 KiB) Downloaded 167 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.

Re: Octane Sketchup Exporter - Full 1022-04

PostPosted: Sat Aug 21, 2010 4:23 pm
by define
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

Re: Octane Sketchup Exporter - Full 1022-04

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

best

klaus

Re: Octane Sketchup Exporter - Full 1022-04

PostPosted: Sat Aug 21, 2010 5:40 pm
by nipparnlert
Thank you so much.