Print at Jan 21, 2026, 4:50:50 PM
Posted by alaX at Oct 1, 2018, 5:31:40 PM
New prefixes
Here's my first test model with new prefixes. Sofa turns into bed, with one part rotating around hinge and the other one moving along rail.



Download obj+mtl: sofa-bed-1.zip
Sketchup file: sofa-bed.skp

Posted by okh at Oct 1, 2018, 5:49:00 PM
Re: New prefixes
Very nice. It will be interesting to test different ways of using the prefixes. ok

Posted by alaX at Oct 1, 2018, 10:12:24 PM
Re: New prefixes
I have a few ideas but I don't have tool (or skills) to make really nice models. I can explore and show some solutions, explain how it works - it gives me more fun than just creating perfect piece of art.

Laptop table - you can adjust height and tilt.


Posted by alaX at Oct 3, 2018, 7:39:31 PM
Re: New prefixes
laptop_table.zip
---------------------------------------------


clock.zip



chair.zip

Posted by VeroniQ at Oct 3, 2018, 10:17:51 PM
Re: New prefixes
Many thanks, AlaX. I needed this chair!

Posted by Puybaret at Oct 3, 2018, 11:51:35 PM
Re: New prefixes
Excellent work alaX, I'm so happy that my explanations about shape prefixes were enough for you to create these models smile

By the way, it would be nice to give details about under what license you want to share your 3D models (like CC-0, CC-BY or LAL), and even better upload them in one or more 3D models contribution tickets.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by alaX at Oct 4, 2018, 11:09:13 PM
Re: New prefixes
@Emmanuel
I'm happy you're happy smile
I will upload my models but I need to know how do you plan "to set bounds on rotation and translation" link


@VeroniQ
Take mine wink I don't use it except as a reference for my model. But seriously - wait for final version. I reduced size and made it more smooth and I'm not done yet.

Posted by alaX at Oct 9, 2018, 11:19:03 PM
Re: New prefixes
Clock is already available on sourceforge.net (#503 )
Guys, I need your opinion about few things. Here (#504 ) is sh3d file with some models - look at it and let me know what looks better or what is total failure.

Posted by UbuntuBirdy at Oct 10, 2018, 6:55:30 AM
Re: New prefixes
I really like your creations! In my opinion, the brown wooden chair and the four legged round chair look better than the others.
I'm not sure where the difference is with the scissors, but I think the reflections on the left one look better for me ...
----------------------------------------
Pascal

SH3D 6.6 / Ubuntu 22.04 (Mainline-Kernel) / Radeon RX580 / Ryzen 7 5800x

Posted by bdfd at Oct 10, 2018, 7:55:03 AM
Re: New prefixes
Guys, I need your opinion about few things. Here (#504 ) is sh3d file with some models - look at it and let me know what looks better or what is total failure.
Hi Alax,

I tried your file.
I'm impressived about your work. applause

I've put furnitures in bad position in a 'max situation'. biggrin

My question is : can you prevent this ?

Example : How have a seat of the stool with a mini or maxi height ?

smile
.
----------------------------------------
Evil progresses when good people do nothing!
---
SH3D 7.1 and nothing else - W11 64b in 4K

Posted by okh at Oct 10, 2018, 10:07:39 AM
Re: New prefixes
I think all the models are great. Quickly tested hinges, rails and texture mapping, very nicely done!

As for the hinges, I prefer the left, darker brown chair - seems more logical to me. Out of curiosity, did you try with all three elements groups of the chair to be hinged? So when you fold the chair, you can also put the chair upright at the same time. But - without trying - I see that triple hinges might just be confusing.

The models are pretty close to perfect in my opinion. Not bloated, nice texture mapping, clean nice design. I cannot really come up with any ideas for improvement.

BTW, I also really like the way the new features have been implemented. Quite impressive that SH3D correctly guessed the axis direction and pivot of the hinges in the few tests I have done. I had expected to do a lot of trial and error to make it work as planned.

ok

PS My personal preference when messing with the .obj files, is to change origin of vertices to 0 and to remove normals. Not only to get smallest possible models, but when adding group names with mirrors, hinges and rails, a bare bone .obj file can be slightly easier to work with. But that is just me, and, of course, means absolutely nothing for your nice final product...

Posted by alaX at Oct 10, 2018, 11:28:59 PM
Re: New prefixes
@UbuntuBirdy
@bdfd
@okh
Thank you. kiss


Yes, scissors have different reflections (s1 vs.vn). Maybe it's not so important for such small model but I was trying to achieve as realistic appearance as possible in case somebody wants to make it focus point of an artwork wink I was trying to add sweethome3d_window_mirror prefix (super shiny look) but hinge didn't work with it crying

I don't know how to stop rotation or translation of openings. Earlier in this thread I asked Emmanuel about what he had announced here

I made third version of folding chair - it seems quite easy to operate (two hinges are in the same place).
folding chair x3.sh3d

Simple .obj file...that's my dream. I almost always remove normals but I'm starting to think that doesn't shrink .obj in my cases (rounded/soften edges - compare size of new chair in two versions 6.3+s and 6.3+vn). I didn't think about origin of vertices - I'll try that. Renaming and removing groups would be easier if I knew better regular expressions My models may look clean but SU thinks otherwise and exports each piece which once was a group (or something like that) as a separate "instance geometry" so I end up with too many groups in my obj (exported fromSH3D).

Posted by Puybaret at Oct 10, 2018, 11:33:19 PM
Re: New prefixes
Thanks for posting these nice models.
About limiting moves and rotations, don’t expect something soon if ever it’s possible. It’s not the priority of the moment.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by alaX at Oct 10, 2018, 11:55:18 PM
Re: New prefixes
I have to accept that. I will focus more on models without hinges and rails.

Posted by UbuntuBirdy at Oct 11, 2018, 12:16:42 AM
Re: New prefixes
I know, I'm a lucky guy with my powerful machine and therefore my question: why do you need as small files as possible? Do they really slowing down your systems or even cause some problems?
I personally love as much details as possible in a object and hi-res textures. But as I said, I don't know how it is to work with a older, not so powerful system...
----------------------------------------
Pascal

SH3D 6.6 / Ubuntu 22.04 (Mainline-Kernel) / Radeon RX580 / Ryzen 7 5800x

Posted by Puybaret at Oct 11, 2018, 12:21:33 AM
Re: New prefixes
I didn’t want to refrain you from creating that kind of model sad
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by UbuntuBirdy at Oct 11, 2018, 12:32:55 AM
Re: New prefixes
Do not worry, I create my models as I need them, without considering memory or hdd space. Some of them occupy many hundreds of MB on my HDD...
----------------------------------------
Pascal

SH3D 6.6 / Ubuntu 22.04 (Mainline-Kernel) / Radeon RX580 / Ryzen 7 5800x

Posted by Puybaret at Oct 11, 2018, 12:45:22 AM
Re: New prefixes
UbuntuBirdy, my comment was for alaX but of course, feel free to design detailed models too!
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by UbuntuBirdy at Oct 11, 2018, 2:23:20 AM
Re: New prefixes
Oh, excuse me, I probably felt too important... laughing
----------------------------------------
Pascal

SH3D 6.6 / Ubuntu 22.04 (Mainline-Kernel) / Radeon RX580 / Ryzen 7 5800x

Posted by hansmex at Oct 11, 2018, 12:48:17 PM
Re: New prefixes
@alaX
Thanks for the movable models.
I tried the three folding chairs:
1 - The left chair cannot be rotated to a vertical position, you need a second modification to put it more upright, as if it were leaning against a wall.
2 - I couldn't move the seat of the white chair.
3 - The right chair is the best model: the seat can be made to stand vertical, seat and hind legs can be easily rotated.
Also, I like the way textures are applied to each part, looks very good!

@Emmanuel
It might be a useful (but not urgent) addition to set limits to the movable parts, something like upper and lower limit of the range of movement.

Hans
----------------------------------------
Hans

new website - under constuction
hansdirkse.info

Posted by UbuntuBirdy at Oct 11, 2018, 3:42:49 PM
Re: New prefixes
After Hans discovered some issues I tested them one more time - and yes, he is right:
1. (left folding chair) This issue is no problem for me, but it would be nice if we can turn the whole chair standing upright.
2. (right folding chair) Same problem as in point 1 but in a different position.
3. (right folding chair) The hinges of the back legs are "Broken". They move out of the counterpart...
----------------------------------------
Pascal

SH3D 6.6 / Ubuntu 22.04 (Mainline-Kernel) / Radeon RX580 / Ryzen 7 5800x

Posted by alaX at Oct 12, 2018, 2:17:47 AM
Re: New prefixes
@Hans
1.I agree it's not convenient and not easy to guess the angle of rotation. Let's forget about this solution.
2. Seat is not supposed to rotate - the idea was to force horizontal position for folded "legs" too. But folded chair also needs rotation, only this time it's x90degrees.
3. Yes, okh's suggestion turns out the best.

@UbuntuBirdy
3 works as I intended - can you show screenshot of these nauhty hinges?

@Emmanuel
Apparently I can't get out of my head rails and hinges wink
Here is something you can spin and spin...

Posted by UbuntuBirdy at Oct 12, 2018, 4:36:23 AM
Re: New prefixes
@UbuntuBirdy
3 works as I intended - can you show screenshot of these nauhty hinges?

I'll try my best:

----------------------------------------
Pascal

SH3D 6.6 / Ubuntu 22.04 (Mainline-Kernel) / Radeon RX580 / Ryzen 7 5800x

Posted by alaX at Oct 12, 2018, 2:19:08 PM
Re: New prefixes
I thought you were reffering to the third model - this is the second one. Hinges (prefixes) are hidden and in this case none of them is where long and short legs meet (visible hinge). That's why it looks bizzare - probably I should've removed visible hinges but it was quick modification of the first model. Anyway, in this test the third model wins.

Posted by okh at Oct 13, 2018, 7:04:44 PM
Re: New prefixes
..why do you need as small files as possible? Do they really slowing down your systems or even cause some problems?
I personally love as much details as possible in a object and hi-res textures...

Oh, detail is great. But even if SH3D is remarkably fast it will reach a point where model sizes will slow it down. Add a sufficient number of different trees, hedges and other high detail objects, and at some point you will notice a slowdown no matter the speed of the computer. Never mind the file-sizes. So I may accept a slight quality loss if I can reduce a model size significantly. That is just a question of balance and what you need the model for: some comparisons in thread 8292 can illustrate:

So one thing is acceptable quality loss. But in many cases it is also possible to simplify a model without any quality loss at all. So in general, using small but detailed models is ideal. A clever model has good detail, but is still small in size and no extra clutter that causes extra fan noise.

alaX' models are already tidy and neat, so the point I was trying to make here was a bit different. When editing the .obj file, i.e. to add hinges and rails, it is (slightly) easier with a cleaned .obj file. But I am not suggesting a quality loss. And it really is just a question of how you work with models. I guess everyone is different.

ok

Posted by UbuntuBirdy at Oct 14, 2018, 12:34:47 AM
Re: New prefixes
I beleve you're right, but I have never noticed any slowing down except while loading a project. Do you have an example file for me?
Seems my projects are not detailed enough... thinking
You're also right about your 3 examples, if I have the possibility to choice the middle one I would do so. But what's the difference in file size between 2 and 3? Is it worth to invest more time in this model? This is another question of balance...
----------------------------------------
Pascal

SH3D 6.6 / Ubuntu 22.04 (Mainline-Kernel) / Radeon RX580 / Ryzen 7 5800x

Posted by okh at Oct 15, 2018, 1:09:29 PM
Re: New prefixes
...difference in file size between 2 and 3?
I cannot remember the details, and do not think I saved the test files, but the difference in size is significant. Of course, there may be good reasons to use very high-res images and models. But not always. Point of the Tin can thread 8292, was just to show an example of how far it is possible to go in vertices. I think Cec' may have done some rendeering speed tests too in the same thread (or elsewhere). What you could do, is taking your barge hull and do a limited dissolve with Blender. My bet is that you could bring it far down without any noticable difference in display quality. That should give you a good indication.

ok

Posted by UbuntuBirdy at Oct 15, 2018, 8:51:18 PM
Re: New prefixes
And this is right where it is not worth the time because I do absolutely not know how to use Blender...
But I am sure you are right and if I will ever have performance problems with big models, I will remeber your words!
----------------------------------------
Pascal

SH3D 6.6 / Ubuntu 22.04 (Mainline-Kernel) / Radeon RX580 / Ryzen 7 5800x

Posted by okh at Oct 23, 2018, 3:19:39 PM
Re: New prefixes
Great lamp in SF 3d models 505, alaX!


Some more fun and games with hinges in SF 3d models 506 - a flagpole with hinged flag. You could of course turn the flag-pole, but not without turning and misplacing the foundation. Hmm, maybe not very useful smile

flagpole_hinge.zip



Posted by UbuntuBirdy at Oct 23, 2018, 4:19:01 PM
Re: New prefixes
Hmm, maybe not very useful smile

Of course it is! Because the center point of the flag with pole is NOT the center point of the pole.
I had this issue with an wind turbine and I remodeled the turbine the way that the center point matches to its mast.
Your solution is way easyer and smarter!
----------------------------------------
Pascal

SH3D 6.6 / Ubuntu 22.04 (Mainline-Kernel) / Radeon RX580 / Ryzen 7 5800x

Posted by Ceciliabr at Oct 23, 2018, 8:09:16 PM
Re: New prefixes
Hmm, maybe not very useful smile
On the contrary!
This is exactly why I asked for a custom definable pivot when posting my wish-list.

This is extremely useful everytime the wind is changing wink

Cec

Posted by VeroniQ at Oct 24, 2018, 1:48:11 AM
Re: New prefixes
This is extremely useful everytime the wind is changing
And alas, it will change soon sad

Posted by okh at Oct 24, 2018, 3:30:37 PM
Re: New prefixes
The hinges and rails are certainly useful and a great addition to SH3D! At least if it were not for all the custom models that needs updating.
..extremely useful everytime the wind is changing...
smile As for a flagpole, well, I use it mostly to visualise wind, and not least shadows around a building. What is tricky, though, is to get the smooth proportions nicely textured and make the flag look fairly realistic. In real life, unless there is a gale, flags tend to flap helplessly around the flagpole - but then, maybe not as good for seeing wind. Anyway, here is the model with a more realistic flag, still hinged and texture mapped.

SF 3D models 506:

flag_hinged_pole.zip



Posted by alaX at Oct 25, 2018, 12:00:58 AM
Re: New prefixes
Great lamp in SF 3d models 505, alaX!

Thanks. I'm not happy with transparent part - looks quite good with light on and off when rendered Q3 and Q4 but I have to work on Q1/Q2 appearance.

Another clock (507) - it needs some light sources built in.


clock-test.sh3d

Posted by bdfd at Oct 25, 2018, 9:08:08 AM
Re: New prefixes
I'm not happy with transparent part - looks quite good with light on and off when rendered Q3 and Q4 but I have to work on Q1/Q2 appearance.
Another clock - it needs some light sources built in.

clock-test.sh3d
Great ! applause

Could you make this clock with an automatic mode (like a real clock) ?

With an help of a plug-in ?
.
----------------------------------------
Evil progresses when good people do nothing!
---
SH3D 7.1 and nothing else - W11 64b in 4K

Posted by ndorigatti at Oct 25, 2018, 9:56:30 AM
Re: New prefixes
What does it do using the prefixes?

Posted by alaX at Oct 25, 2018, 10:20:19 AM
Re: New prefixes
You can change the time.

Posted by alaX at Oct 25, 2018, 11:23:19 AM
Re: New prefixes
@bdfd
Automatic? As if it displays the time you heve set in CreatePhoto/PVR? Yeah, just give me a sec... laughing

Posted by okh at Oct 26, 2018, 9:56:03 AM
Re: New prefixes
Hi AlaX, the clock model is clever. I am impressed at all the ideas you can come up with for using the prefixes.

It would be interesting to see whether Modify 'openings' could with light sources too, at least as a stationary light inside the non-rotating part. Maybe you could try it with the panel light sources?

ok

Posted by alaX at Oct 26, 2018, 1:19:09 PM
Re: New prefixes
The problem with lights in my clock model is that they rotate after modification of openings. I forgot the rule:
(...) if a light source intersects with a rotated part, it sounds logical to make it rotate too.
(#39691 )

Pity - I created new model and it looks good with lights on but only if openings are in their initial position (time 00:00).


There's no space inside where I could place light not intersecting with openings.

I don't know how to define part of model as a triangle mesh light (opaque panel).

I haven't found any clever utilization of "arm_on_ball" yet wink

Posted by okh at Oct 26, 2018, 1:59:48 PM
Re: New prefixes
Really really nice model.

no space inside where I could place light not intersecting with openings
Ah yes, and playing with increasing size and placing lights in different places will take a bit of time testing. But the model is very nice all the same.

On another note, I also tried a quick hinged glass door with the prefixes:

SF 3d models 508
ok
glass_door_hinged_cutout_plain.sh3d


Posted by Ceciliabr at Oct 26, 2018, 4:24:37 PM
Re: New prefixes
This clock is a really great idea!

There's no space inside where I could place light not intersecting with openings.

I did a quick modification.
Seems it's possible if you use one panel light for each opening.



About the openings; maybe they should be part of the casing?

If you make a bigger .png-file of the digits, the image will look sharper on close-ups

Cec

Posted by alaX at Oct 26, 2018, 9:52:14 PM
Re: New prefixes
@Cec
Thanks. If I decide to continue work on the first version of digital clock I will increase size of texture. Version 2 has no texture at all - digits are holes in faces and probably any further models will be based on this.
Adding any type of light in sh3d project it's not the problem - rotation of openings affects lights added in PluginFurnitureCatalog.properties. I think there's no chance to share final model with light.

@okh
funny thing but I haven't created door with hinges yet :) I'm going to make windows and doors for project I started last year and I couldn't decide if these models should be closed, opened...

Posted by alaX at Oct 30, 2018, 7:36:51 PM
Re: New prefixes
I think wall lamp(#505) is ready .


wall_lmp.sh3f