Rotating objects on the X and Z axis

This topic has been viewed 21744 times and has 12 replies
Thread status: Active
Questions about extending features and developing plug-ins [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Feketenap
Posts: 2
Joined: Fri Nov 13, 2009 10:23 am

Rotating objects on the X and Z axis

Post by Feketenap »

I was wondering if a developper could make a way to rotate objects not just on the Y axis but on the X and Z aswell. It would be useful to create much more realistic environments.
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Rotating objects on the X and Z axis

Post by Puybaret »

I'm not sure this feature will be available in a close future.
It's not really complicated to program but Sweet Home 3D must remain simple to use, so I don't support this kind of feature. It could be nice in a "pro" version, but it's not planned at all at this time.

Note that if you want to apply rotations multiple of 90°, you may import again an objet and orientate it differently in the second step of the furniture import wizard.
Emmanuel Puybaret, Sweet Home 3D creator
Feketenap
Posts: 2
Joined: Fri Nov 13, 2009 10:23 am

Re: Rotating objects on the X and Z axis

Post by Feketenap »

Thank you for your help. I wasn't aware of the feature in the furniture import wizard.
vee
Posts: 3
Joined: Fri Feb 26, 2010 6:17 pm

Re: Rotating objects on the X and Z axis

Post by vee »

Hello Emmanuel

I'm new here but have used other tools such as DesignWorkshop. I have to congratulate you because SH3D is much nicer to use!

I got to this thread via the 'angled beam or plane' thread where someone else was hoping for a similar fix for angled objects.

I agree that keeping things simple is important but on the other hand, being able to angle a beam or plane would be immensely useful - really a basic tool rather than a pro tool. (If you look at the other thread, that is not a 'simple' solution.)

Since you say it's easy to program, I hope I can tempt you to program it! I have a suggestion for very easy use...

All that's needed is to be able to raise the elevation of each end seperatly. For the mouse you would use 'shift + drag the elevation corner tool' and for the keyboard entry it would be similar to the sloped wall entry box.

In practice one would make an oblong box (beam or plane) then set the vertical angle by simply raising one end (shift + elevation tool or enter in box for left or right end elevation). Then position it in space by raising the overall elevation as normal (based off the lower end) and using normal rotate as required.

I would like to model eco and timber-frame houses and such a tool would enable to show wood-beam structure seperate from wall structure.

If it's easy, please do it - how much beer would you like?!!

Thanks a lot
Vee
yafeng
Posts: 7
Joined: Tue Apr 06, 2010 8:50 pm

Re: Rotating objects on the X and Z axis

Post by yafeng »

Fully agree this feature is needed. Now I need to create an horizatal cylinder, but just can't. Or is there any way to create it?
User avatar
hansmex
Posts: 4027
Joined: Sat Sep 26, 2009 11:36 am
Country: Netherlands

Re: Rotating objects on the X and Z axis

Post by hansmex »

Yafeng:

Import the cylinder model for a second time. Rotate the object with the arrows while importing, and then give it a different name.

Hans
Hans

new website - under constuction
hansdirkse.info
yafeng
Posts: 7
Joined: Tue Apr 06, 2010 8:50 pm

Re: Rotating objects on the X and Z axis

Post by yafeng »

@Hans: indeed! This solved my problem nicely. Thanks!
User avatar
alied
Posts: 40
Joined: Tue Sep 08, 2009 9:53 pm
Country: Rosario, Santa Fe, Argentina

Re: Rotating objects on the X and Z axis

Post by alied »

Besides, there is allways the modelrotation#n field in PluginFurnitureCatalog.properties
(I'm typing from memory, so don't take the names exactly. Anyway, I hope you understand)
You can have a model "right", and other rotated; both pointing in model#n fiels to the same OBJ
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Rotating objects on the X and Z axis

Post by Puybaret »

You're right Alied, users can always create a SH3F file for one model and use modelRotation# key (with an upper case R) to rotate a piece around any direction, but it's not really user friendly ! [;)]
Emmanuel Puybaret, Sweet Home 3D creator
User avatar
alied
Posts: 40
Joined: Tue Sep 08, 2009 9:53 pm
Country: Rosario, Santa Fe, Argentina

Re: Rotating objects on the X and Z axis

Post by alied »

I know it's not very user-friendly, but is a solution (and a rule-follower solution) with what we got in this moment.
BTW, how are you doing with the UI to create sh3f files? I don't want to create expectations, but I might come with something in a near future.
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest