copy a light model with light power and source from a SH3D

This topic has been viewed 3450 times and has 5 replies
Thread status: Active
Looking for a particular 3D model or texture? [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
santbose
Posts: 62
Joined: Mon Jan 12, 2015 9:18 am
Country: Maharashtra, India

copy a light model with light power and source from a SH3D

Post by santbose »

how do I copy a light model with its light source and power from a SH3D file to my furniture library.

I can copy it from one SH3D file to another SH3D file, but not able to import the same to my catalogue/furniture library. Can you please help me.

Thanks in advance
okh
Posts: 1545
Joined: Sun May 12, 2013 9:43 pm

Re: copy a light model with light power and source from a SH3D

Post by okh »

Maybe I misunderstand, but I do not think what you ask is possible. There is a plugin to export (backup) libraries, but as you cannot individually import a model including light sources, I do not think that will work.

However, if you have a model with built-in light-source(s), originating from an installed library, in which case you can find it in that library. And with a bit of fiddling (such as deleting other items and merging the stripped library into the one you wish).

If you provide some more detail about exactly what and why you wish to transfer to a library (.sh3f), it may be easier to answer your question.

ok
santbose
Posts: 62
Joined: Mon Jan 12, 2015 9:18 am
Country: Maharashtra, India

Re: copy a light model with light power and source from a SH3D

Post by santbose »

Thanks Ok for the reply.

I have downloaded some example SH3D files from this forum and found some light models used in them which have their own light source and power and are also very useful for various purposes. So when ever I need to use them in my projects, I need to open the example (sample SH3D) file to copy the model to my drawings and project SH3D file to use them. So I was wondering if I could import them and make a .SH3F file which I could import in the application then it would have been easy and also save the time of opening the sample SH3D file every time.
okh
Posts: 1545
Joined: Sun May 12, 2013 9:43 pm

Re: copy a light model with light power and source from a SH3D

Post by okh »

.. downloaded some example SH3D files from this forum and found some light models ...
It is possible that the person who shared the file already has the properties in a Library / .sh3f file. If so, you can always ask them to share the .sh3f too. By the way, I do not think it is possible to set the lightsource power in the library properties as you can in the .sh3d file. ok
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: copy a light model with light power and source from a SH3D

Post by Puybaret »

You can set the power of a light by setting a smaller value for its [font=courier new]lightSourceColor[/font] property.
Emmanuel Puybaret, Sweet Home 3D creator
okh
Posts: 1545
Joined: Sun May 12, 2013 9:43 pm

Re: copy a light model with light power and source from a SH3D

Post by okh »

Yes. Sorry if I am adding to the confusion. But if I have understood correctly, it will not show up as a lower power level in the Modify Furniture dialogue(?). Whereas, in Home.xml, the Power level can be set as an attribute to the lightsource? I guess the end result is the same, though. ok
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest