WiresoulStudio / Wonder_Mesh

Blender addon for primitive objects
GNU General Public License v3.0
58 stars 13 forks source link

Scale support #3

Open Michaelknubben opened 6 years ago

Michaelknubben commented 6 years ago

Really enjoying this addon, but one thing I noticed is that when you create a primitive, scale it and then adjust its settings, the scale is disregarded (or reset to 1/1/1). Would it be possible to only replace the mesh, while leaving the object scale intact?

Michaelknubben commented 6 years ago

Ah, I spoke too soon: This only happens if the object in question is being used as a boolean. Can anyone confirm on their end?

WiresoulStudio commented 6 years ago

@Michaelknubben Hello, maybe you've just discovered a bug. The addon shouldn't address the object properties at all, it should (as you said) replace only the mesh. Could you please tell me how can I exactly replicate the bad behavior? Thanks in advance.

Michaelknubben commented 6 years ago

I've narrowed it down to it being related to adding a boolean with Speedflow. I'll describe my steps: -New scene (with default Blender cube) -Add a WBox (the bottom face of these has its normals reversed, by the way, but I'll start another issue about this) -Scale and move the Wbox so it intersects with the Cube -Select the WBox and default Cube and (using Speedflow) set up the boolean. -Adjust the Wbox's settings: it will now jump in size

WiresoulStudio commented 6 years ago

This has to be connected to the Speedflow addon. Try adding the boolean modifier manually or use bool tools. I cannot replicate it without the Speedflow.

Michaelknubben commented 6 years ago

False alarm: Speedflow applies the scale, and I wasn't aware. So this is indeed all on Speedflow, not Wonder Mesh. Sorry for the confusion!

pitiwazou commented 6 years ago

Speedflow apply the scale to avoid deformed bevels. If you add a bevel modifier on a deformed wondermesh object, the bevel will be deformed, so you need to apply the scale, but if you do that, wondermesh restart the scale to 1. Without speedflow you have the issue.

pitiwazou commented 6 years ago

It will be nice to keep the scale and to keep the bevel weigth added on the mesh. in fact if we edit the scale in wondermesh there is no issue, but when editig with the blender scale transform it breaks.

pitiwazou commented 6 years ago

Sorry to spam, made a little video with a workaround. https://www.dropbox.com/s/tldyvy1kv129b3t/wondermesh.mp4?dl=0