Page 1 of 1

[done] Path3D operator needs Scale and Center params

PostPosted: Saturday, 21.September 2013, 14:46
by Skinnytorus
Hi,
Importing paths from Inkscape could be made easier by adding uniform Scale (default ~0.02) and Center (default On) params to Path3D operator.
Just imported shapes are usually large and uncentered. To get them into your 3d view you usually need Transform and Center ops which is kinda annoying.
Thank you.

Re: Path3D operator needs Scale and Center params

PostPosted: Sunday, 22.September 2013, 11:50
by ikam
isn't it a setting preference to do in Inkscape in document or at export to choose scale and position ?

Re: Path3D operator needs Scale and Center params

PostPosted: Sunday, 22.September 2013, 13:25
by Skinnytorus
Follow the tutorial for Path3D in the latest help file and you will see what I mean. A normal size in inkscape doc view is gigantic for wz4. The pivot seems to be anywhere but not in the shape center... As soon as we don't export svg (we just rip the path from XML Editor) it would be more logical to control scale and center directly from path3D op.

Re: Path3D operator needs Scale and Center params

PostPosted: Sunday, 22.September 2013, 17:49
by ikam
commited : centered by default and scaled.
add also transform parameters

Re: Path3D operator needs Scale and Center params

PostPosted: Sunday, 22.September 2013, 18:07
by Skinnytorus
Works great! What a relief... Almost perfect! Why "almost"? Because of the operation order. When the mesh is centered, translate (move) controls don't work. I think the mesh should be first centered and only then transformed. What do you think?

Re: Path3D operator needs Scale and Center params

PostPosted: Sunday, 22.September 2013, 18:36
by ikam
ah yes you're right. thanks
fixed.

Re: Path3D operator needs Scale and Center params

PostPosted: Sunday, 22.September 2013, 18:54
by Skinnytorus
Yeah. Now it's perfect! Done. Many thanks!