Print at Dec 18, 2025, 5:47:42 PM
Posted by emilgojny at Jan 12, 2025, 6:00:37 PM
Changing coordinate reference of object to its corner
I'm trying to build my entire house plan in SH3D, and I want to design the entire framing, subfloor, roof, etc. with dimensional lumber too.

I can see it working great, and if I think hard enough it is doable, but what makes it a real pain is having to refer to the center of each piece of lumber. Makes all calculations so much more complicated.

Is there a way to reference items to their corner? I don't see it as a general option for everything, and I can't find a way to do this for individual furniture elements either (I have my lumber as a furniture library).

I tried furniture library editor, with hopes that I can specify the origin there, but I couldn't find it there either.

Are there any trick to achieve this? Maybe having lumber as furniture library is not the right thing to do?


Thanks!

Posted by hansmex at Jan 13, 2025, 10:02:17 AM
Re: Changing coordinate reference of object to its corner
Short answwer: no.

Workaround, e.g. A-frame - use low walls, export, import and rotate
----------------------------------------
Hans

new website - under constuction
hansdirkse.info

Posted by emilgojny at Jan 13, 2025, 4:51:30 PM
Re: Changing coordinate reference of object to its corner
Thanks for the quick response!

This is really unfortunate.

Could you please expand the explanation of the workaround? I'm not sure if I understand. If I use walls as lumber, one of the coordinates is nice and refers to the edge, but the other still refers to the center of the wall's thickness. If I export a wall as obj and import as furniture, I'm back to referring to its center.

Thanks!

Posted by dorin at Feb 9, 2025, 7:07:56 AM
Re: Changing coordinate reference of object to its corner
If I correctly understood the question:
1. The lumber is better to be as furniture to be more easy manipulated.
2. Probably you need many lumbers aligned at same distance or distributed evenly.
3. If this is the case SH3D have at least 8 way under Align or distribute furniture contextual menu.
For distribute you have to set the precise position of the first and the last piece, then select all, right click and chose Distribute horizontally.
4. Supposing the lumbers is the same, the distance between left corners is the same with distance between centers. You need it once.
Knowing this you could use Multiplier plugin made especially for this kind of task.
----------------------------------------
A computer program does what you tell it to do, not what you want it to do. Murphy's Law
When all else fails, read the instructions. Murphy's Law
If you don't like "AS IS", DIY. Dorin's law

Posted by MarioSambol at Feb 13, 2025, 11:33:36 PM
Re: Changing coordinate reference of object to its corner
Hans and Dorin are absolutely right. I would like to follow up on that topic. Let's say that in 3ds max there is an "Array" function with which we can do this very easily. There is no pivot point in SH3D, which is something that should exist for easier manipulation of objects. Alignments and distribution work well and more or less cover all needs. So, using the pivot point, it would be easy to copy the object along any axis we want.

Posted by dorin at Feb 17, 2025, 12:40:18 PM
Re: Changing coordinate reference of object to its corner
Hi Mario,
So, using the pivot point, it would be easy to copy the object along any axis we want.

Could you elaborate a little? Eventually a study of case where this feature could be useful.
Until there I've try to find one:
Let's say you have to organize a White House conference around an oval office.
Something like this:

Could this be a case where your feature could be used?
----------------------------------------
A computer program does what you tell it to do, not what you want it to do. Murphy's Law
When all else fails, read the instructions. Murphy's Law
If you don't like "AS IS", DIY. Dorin's law

Posted by Keet at Feb 17, 2025, 12:59:08 PM
Re: Changing coordinate reference of object to its corner
I bet you used the Multiplier plugin for this without the need of a set pivot point smile
(But you can set that point in the plugin)
----------------------------------------
Dodecagon.nl
1300+ 3D models, manuals, and projects

Posted by dorin at Feb 17, 2025, 1:14:56 PM
Re: Changing coordinate reference of object to its corner
It is implemented somehow but the question was addressed to Mario.
Maybe he could have a better idea or he think to other situations not covered yet.
----------------------------------------
A computer program does what you tell it to do, not what you want it to do. Murphy's Law
When all else fails, read the instructions. Murphy's Law
If you don't like "AS IS", DIY. Dorin's law

Posted by MarioSambol at Feb 18, 2025, 2:45:20 PM
Re: Changing coordinate reference of object to its corner


Yes in this case it would help. But that's not the point I was making. In order for it to work automatically in SH3D, a code should be written, which I don't think is very simple. I meant the graphical display of options that are already implemented (rotate, move, copy) are just shown as they are. In all other 3D programs, manipulation is represented by a coordinate system with the addition of rotation and scaling, with the addition of some other keys on the keyboard depending on what you want to do.
----------------------------------------
Attachment Snimka zaslona 2025-02-15 121520.png (227131 bytes) (Download count: 198249)
Snimka zaslona 2025-02-15 121520.png

Posted by dorin at Feb 19, 2025, 7:53:12 PM
Re: Changing coordinate reference of object to its corner
@Mario
1. I've wait for a study of case from you.
You still owe me a case study where your idea would be better than the existing one.
2.
In all other 3D programs, manipulation is represented by a coordinate system

I can't see major differences between "other" and the current one:

3. If you want a customized pivot point, you will first need to define the 3 coordinates of this point and then set the rotations to it.
If you're thinking of just setting it with the mouse or your fingers, forget it. This is not a professional approach for someone who wants at least some precision.
4. If you don't like to use plugins (ok) BUT don't suggest to unnecessarily complicate the main program.

PS. I'm a master of useless (YAUP).
On Multiplier versions prior to 2.0 I've set 8 extra pivot points.
Then, even a dumb like me realized their uselessness and removed them.
----------------------------------------
A computer program does what you tell it to do, not what you want it to do. Murphy's Law
When all else fails, read the instructions. Murphy's Law
If you don't like "AS IS", DIY. Dorin's law

Posted by MarioSambol at Feb 20, 2025, 11:22:20 AM
Re: Changing coordinate reference of object to its corner


Dorin, although the title of the topic says one thing, I didn't mean changing the position of the pivot point, in my opinion there is no particular reason or need for that. Currently, when you select an object on the scene, the pivot point is in the center of the object, which is fine. Small icons appear that indicate the rotation, elevation, size of the object, but there is no icon for manipulating when moving the object in space. Currently, the movement of the object is always simultaneous along two axes. It is not possible to move or duplicate an object only along the x or y axis or the z axis. Exactly what you showed in the picture is what I would like. Coordinate system handles in the 2D and 3D windows. This would make it easier to move and duplicate the object along any of the x,y,z axes. As for precision, you can always specify values ​​numerically. That's all I was talking about. For the example of the oval office, of course, a plugin would be needed, but I don't think there is a need for that to work in the basic program.
----------------------------------------
Attachment Snimka zaslona 2025-02-20 121746.png (75076 bytes) (Download count: 197856)
Snimka zaslona 2025-02-20 121746.png

Posted by dorin at Feb 20, 2025, 12:03:17 PM
Re: Changing coordinate reference of object to its corner
Great!
At least we are agree in some parts.
1. Not all users need it all the time (especially the new ones).
2. The Multiplier do exactly what you describe and much more. Multiply the selected object at desire distance on 3 axis, linearly or curve.
3. Could be better this plugin to have an entry in the right click menu but I wasn't able to do this (I'm not a programmer crying )

PS. It doesn't hurt you to take a look at Multiplier tread from start till the end.
Also you could try it and then remove it if you don't like it.
----------------------------------------
A computer program does what you tell it to do, not what you want it to do. Murphy's Law
When all else fails, read the instructions. Murphy's Law
If you don't like "AS IS", DIY. Dorin's law

Posted by MarioSambol at Feb 20, 2025, 12:53:32 PM
Re: Changing coordinate reference of object to its corner
Dorin, I just installed the Multiplier plugin and checked the usage related to my work and at first it is very useful for me and my work and I will definitely use it in the future. But for me and all people who deal with 3D, it is common that when selecting an object, I simultaneously see handles from the coordinate system, regardless of where the pivot point is located (in the center or one of the corners of the object). They are used for basic object manipulations. This is a common way in any 3D software.