Wings 3D Development Forum
Scripting Equivalent (ERL?) - Printable Version

+- Wings 3D Development Forum (https://www.wings3d.com/forum)
+-- Forum: Wings 3D (https://www.wings3d.com/forum/forumdisplay.php?fid=1)
+--- Forum: Design & Development (https://www.wings3d.com/forum/forumdisplay.php?fid=6)
+--- Thread: Scripting Equivalent (ERL?) (/showthread.php?tid=541)



Scripting Equivalent (ERL?) - calebmillerkb3 - 01-03-2014

I am looking for information about creating a plugin. I've found an outdated python script for blender that scales an object based on known perpendicular planes for distorted models, and would like to come up with an equivalent for wings.

Addon functionality: choose three faces on selection whose normals /should/ be perpendicular to each other. Addon automatically scales/shifts/shears selection to approach perpendicularity using matrix operations. The original python script is attached below.


RE: Scripting Equivalent (ERL?) - micheus - 01-03-2014

I think that you could use the current Wings's tools to get you desired result - It would be necessary to check.
Is there any picture/video that illustrate what you want to produce?


RE: Scripting Equivalent (ERL?) - calebmillerkb3 - 01-03-2014

(01-03-2014, 01:20 PM)micheus Wrote: I think that you could use the current Wings's tools to get you desired result - It would be necessary to check.
Is there any picture/video that illustrate what you want to produce?

Sorry, not that I know of. Example: Start out with a cube, then scale axis some amount on 2 non-standard axes. The addon would let you select three points/axes (or simply faces with normals as the axes) which (you presume) were perpendicular before the scaling and then performs matrix operations to make the 3 faces perpendicular again. I presume this would need to be done 2 axes at a time (align x-y first, then x/y-z or so on).


RE: Scripting Equivalent (ERL?) - micheus - 01-03-2014

Ok. Back to your initial question...
(01-03-2014, 12:43 PM)calebmillerkb3 Wrote: I am looking for information about creating a plugin.
... you can find something in this thread: Tutorial Request - Making A Plugin for Wings 3D


RE: Scripting Equivalent (ERL?) - calebmillerkb3 - 01-04-2014

(01-03-2014, 07:29 PM)micheus Wrote: Ok. Back to your initial question...
(01-03-2014, 12:43 PM)calebmillerkb3 Wrote: I am looking for information about creating a plugin.
... you can find something in this thread: Tutorial Request - Making A Plugin for Wings 3D

Thank you. ^_^