|
Sweet Home 3D Forum » List all forums » » Forum: Developers » » » Thread: Rotating objects on the X and Z axis |
|
| Print at Dec 17, 2025, 9:02:11 PM | |
| Posted by Feketenap at Nov 13, 2009, 10:31:17 AM |
|
Rotating objects on the X and Z axis 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. |
| Posted by Puybaret at Nov 14, 2009, 1:55:16 PM |
|
Re: Rotating objects on the X and Z axis 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 |
| Posted by Feketenap at Nov 14, 2009, 2:05:13 PM |
|
Re: Rotating objects on the X and Z axis Thank you for your help. I wasn't aware of the feature in the furniture import wizard. |
| Posted by vee at Feb 27, 2010, 1:15:54 PM |
|
Re: Rotating objects on the X and Z axis 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 |
| Posted by yafeng at Apr 7, 2010, 9:02:04 PM |
|
Re: Rotating objects on the X and Z axis 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? |
| Posted by hansmex at Apr 7, 2010, 10:24:05 PM |
|
Re: Rotating objects on the X and Z axis 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 |
| Posted by yafeng at Apr 8, 2010, 5:09:33 PM |
|
Re: Rotating objects on the X and Z axis @Hans: indeed! This solved my problem nicely. Thanks! |
| Posted by alied at Apr 8, 2010, 11:26:19 PM |
|
Re: Rotating objects on the X and Z axis 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 |
| Posted by Puybaret at Apr 9, 2010, 7:14:16 AM |
|
Re: Rotating objects on the X and Z axis 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 |
| Posted by alied at Apr 9, 2010, 10:47:51 PM |
|
Re: Rotating objects on the X and Z axis 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. |
| Posted by yafeng at Apr 10, 2010, 11:47:58 AM |
|
Re: Rotating objects on the X and Z axis Hi guys, thanks for the hints. But I'm still lost. How or with what tool I can view and edit the modelRotation#key of the sh3f file? I need to create an angled roof (with box model), this solution should solve my problem once I know how. Thanks! |
| Posted by Puybaret at Apr 10, 2010, 5:50:46 PM |
|
Re: Rotating objects on the X and Z axis yafeng, instead of playing with this modelRotation key, I would suggest you to import your 3D model in Art of Illusion, apply a rotation on it around the axis of your choice with Object > Trasnform object... menu item, export it to OBJ format, and finally import it again in Sweet Home 3D. This a very easy and reliable way. ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
| Posted by Puybaret at Apr 10, 2010, 6:00:54 PM |
|
Re: Rotating objects on the X and Z axis how are you doing with the UI to create sh3f files? I have a running version of a SH3F tool since the end of January 2010 but didn't publish it yet, because I wanted first to add support for multiple languages to it, and I also chose to release the version 2.3 of Sweet Home 3D. Alied, there's no secrets about this tool, but maybe we should better exchange emails about this, before going further. Please write me... ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
|
|
Current timezone is GMT Dec 17, 2025, 9:02:11 PM |