[Bf-funboard] Blend viewer.

Campbell Barton ideasman42 at gmail.com
Sat Jun 20 13:23:07 CEST 2015


In a recent build you can do...

blender b --factory-startup --python-expr "import bpy;
bpy.context.window.screen = bpy.data.screens['3D View Full'];
bpy.context.user_preferences.filepaths.use_load_ui = False"

... you can add a blend file after to view it.

On Sat, Jun 20, 2015 at 6:46 PM, Knapp <magick.crow at gmail.com> wrote:
> Campbell, I looked at the CLI for blender and did not see any commands to
> set up the full screen etc that would need to be set at startup in the
> viewer mode. Is there a resource for these commands or are they not there?
>
> On Sat, Jun 20, 2015 at 8:35 AM, Knapp <magick.crow at gmail.com> wrote:
>
>> Yes, I see no problem at all with just using blender as the viewer in
>> Dolphin. I will see if I can get that working. I really have no idea how
>> but I bet I can.
>> Thanks!
>>
>> On Sat, Jun 20, 2015 at 5:47 AM, Campbell Barton <ideasman42 at gmail.com>
>> wrote:
>>
>>> On Sat, Jun 20, 2015 at 6:59 AM, Knapp <magick.crow at gmail.com> wrote:
>>> > On Fri, Jun 19, 2015 at 10:46 PM, gandalf3 <zzyxpaw at gmail.com> wrote:
>>> >
>>> >> On 06/19/15 05:18, Knapp wrote:
>>> >> > Is there a Blend viewer that can be linked to Dolphin (KDE Linux) or
>>> >> other
>>> >> > file browsers so we can view blends? If not, would it be hard to
>>> write?
>>> >> >
>>> >> There is a plugin to preview .blends in dolphin already:
>>> >> kde-look.org/content/show.php/?content=146380
>>> >>
>>> >> --
>>> >> -gandalf3
>>> >>
>>> >
>>> > Yes, I know and use that, but the thumbnail is way to small but that has
>>> > been talked about before.
>>> > What I meant here is a 3d viewer.
>>>
>>> In the 90's there was in fact a blend file viewer (Ton mentioned
>>> recently, not sure it was released?).
>>>
>>> The viewer would end up having to be a stripped down version of
>>> Blender (to load libraries, node trees, GLSL shaders, modifiers
>>> etc...) It would basically end up being Blender without the
>>> game-engine, addons or an interface.
>>>
>>> Its not especially hard to do this, (though it would take some time to
>>> setup), the problem is more that its a hassle to maintain longer term,
>>> and a reasonable amount of work just for the slight convenience of
>>> viewing Blend files in a different kind of window.
>>>
>>> Blender loads fairly fast, just make a wrapper script that loads a
>>> blend file without any UI & only-render view-port option enabled.
>>> Functionally this is nearly the same as a Blend-file viewer.
>>> _______________________________________________
>>> Bf-funboard mailing list
>>> Bf-funboard at blender.org
>>> http://lists.blender.org/mailman/listinfo/bf-funboard
>>>
>>
>>
>>
>> --
>> Douglas E Knapp
>>
>> Massage in Gelsenkirchen-Buer:
>> http://douglas.bespin.org/tcm/ztab1.htm
>> Please link to me and trade links with me!
>>
>
>
>
> --
> Douglas E Knapp
>
> Massage in Gelsenkirchen-Buer:
> http://douglas.bespin.org/tcm/ztab1.htm
> Please link to me and trade links with me!
> _______________________________________________
> Bf-funboard mailing list
> Bf-funboard at blender.org
> http://lists.blender.org/mailman/listinfo/bf-funboard



-- 
- Campbell


More information about the Bf-funboard mailing list