Polygon NURBS Converter(Python script) 1.1.2 for Maya (maya script)

Standard License (Royalty Free)

License terms and conditions for transmission of digital items from Seller to Purchaser

1. The Standard License grants you, the purchaser, an ongoing, non-exclusive, worldwide license to make use of the digital asset (Item) you have purchased or downloaded for free.

2. By completing a purchase or download you are hereby granted use of the item resulting in an End Product;

3. An End Product is a work that incorporates the Item into a product that is larger in scope. Approved distribution or use of Item as an End Product includes, but is not limited to:

a. For personal or commercial use

b. For advertising or promotional use

c. For a website or in any electronic devices

d. In broadcast, multimedia or animation

e. In mobile apps, books or magazines

f. As a 3D Print

More detailed examples of approved distribution or use:

a. As a displayed 3D model used in a mobile phone application as long as the original content is protected from extraction

b. As rendered imagery (still or moving) distributed as part of a feature film, commercial, broadcast, or stock photography or other stock media

c. As part of a game as long as the original content is protected from extraction and displays inside the game during play

d. Resulting as published content within a magazine, website, t-shirt, poster, or similar product

e. As part of a physical object such as a toy or physical model

What you CAN do with the Item

4. You can create an End Product for a client, and you can transfer that End Product to your client for any fee. This license is then transferred to your client.

5. You can modify or manipulate the Item in any way including shape, size, color, etc. You can combine the Item with other works and make a derivative work from it. The resulting works are subject to the terms of this license. You can do these things as long as the End Product you then create does not violate any of terms of (3) above.

What you CAN'T do with the Item

6. You can't re-distribute the Item as stock (free or paid). You can't do this with an Item individually or bundled with other items, including even if you modify the Item. ie, you can't purchase a character model, rig it, then resell it as your own.

7. You can't provide any free download of the Item in any web site or electronic devices.

8. You can't modify the Item and sell or distribute the modified Item in any form / media as it's own new Item.

9. You must not permit an end user of the End Product to extract the Item and use it separately from the End Product.

10. You can't use an Item in a logo, trademark, or service mark.

More details of this license terms

11. For some Items, a component of the Item will be sourced by the author from elsewhere and different license terms may apply to the component, such as someone else's license or an open source or creative commons license. If so, the component will be identified by the author in the Item's description page or in the Item's downloaded files. The other license will apply to that component instead of this license. This license will apply to the rest of the Item.

For example: A script might contain images licensed under a Creative Commons CCBY license. The CCBY license applies to those specific images. This license applies to the rest of the theme.

12. For some items, a GNU General Public License (GPL) or another open source license applies. The open source license applies in the following ways:

(a) Some Items, even if entirely created by the author, may be partially subject to the open source license: a ësplit license' applies. This means that the open source license applies to an extent that's determined by the open source license terms and the nature of the Item, and this license applies to the rest of the Item.

Split and other open source licensing is relevant for themes and plug-ins for WordPress and other open source platforms. Where split licensing applies, this is noted in the Item's download files: for more information, see this Knowledge Base article

(b) For some Items, the author may have chosen to apply a GPL license to the entire Item. This means that the relevant GPL license will apply to the entire Item instead of this license.

Where an Item is entirely under a GPL license, it will be identified as a GPL item and the license noted in the download files.

13. You can only use the Item for lawful purposes. Also, if an Item contains an image of a person, even if the Item is model-released you can't use it in a way that creates a fake identity, implies personal endorsement of a product by the person, or in a way that is defamatory, obscene or demeaning, or in connection with sensitive subjects.

14. This license applies in conjunction with the Membership Terms for your use of the Highend3d Marketplace. If there is an inconsistency between this license and the Membership Terms, this license will apply to the extent necessary to resolve the inconsistency.

15. This license can be terminated if you breach it. If that happens, you must stop making copies of or distributing the End Product until you remove the Item from it.

16. The author of the Item retains ownership of the Item but grants you the license on these terms. This license is between the author of the Item and you. Highend3d.com / Highend Network / Lumis Network, is not a party to this license or the one giving you the license.

17. Purchaser understands and agrees that certain digital items may contain third party copyrighted or trademarked material that may require additional licensing, permissions, releases, or rights clearance for any non-editorial use. Purchaser and their legal advisors should consider this and obtain such rights, if necessary, before purchasing, downloading or using any Content.

PolyToNURBS function in the previous version converts only the selected OBJECTS(Version 1.0.0), but now(Version 1.1.0), not only the selected object but also selected FACES from the objects can be converted to NURBS, So you don't have to extract faces you want to convert, from the original object before executing this function, just select faces and click the button.

'Original object' option is about choosing the state of selected objects after converted(Hide it, or keep it, or remove it.).

'Quadrangle Check' is script for checking whether the faces of selected objects are all quadrangle or not. To convert polygon to NURBS surface correctly, all the faces of selected objects must be quadrangle. This script is included in 'PolyToNURBS' function, so you don't have to run it for executing 'PolyToNURBS'. But just in case you want to check only polygon object's faces, I set it apart from 'PolyToNURBS' function .

if there are some faces not proper for converting, the warning message will be displayed and these faces will be selected so if you do 'Isolate Selected', you can see them directly.

The message you see if there are some faces not proper for converting is one of these.

1. 'Some faces of selected objects are not quadrangle.' <- This message is printed when some faces are not quadrangle.

2. 'Some edges of selected object are unusually detached.' < - When modeling, I found a weird situation that whent selecting some edges and detaching them, sometimes the vertices included in these edges are not splitted even these edges are detached. So, this makes error when executing this function. So I set this to detect these weird components. In this case, you have to delete them and make them again.

3. 'Some faces are not quadrangle and some edges are unusually detached.' <- This message is printed when both of things happen when checking.

Select polygon objects you want to convert to NURBS surfaces(all the faces of the polygon object you selected must be quadrangle), And select the option about the original object (Hide, Keep, Remove), and finally click the 'PolyToNURBS' button.

- NURBS to Poly

When converting NURBS to polygons, using 'NURBS to Polygons' command already existing in Maya is slightly incorrect, especially when the selected NURBS objects are bent or warped, or sometimes it requires some additional modifications,

So I made a function that converts NURBS surface to polygons much more accurately and than the existing 'NURBS to Polygons' command in Maya, and without some bothering modifications, just converting it with maintaining its original shape and number of its spans. Just the same as 'PolyToNURBS' above, it also has an option about 'Original object'.

Select NURBS surfaces you want to convert to polygon objects(even if those surfaces are in one group, select the surfaces, not only group), And select the option about the original object (Hide, Keep, Remove), and finally click the 'NURBSToPoly' button.

- NURBS UV updown

Up or down spansU and spansV.

- Uniform NURBS Patch

Script for uniformalizing NURBS Surface's control vertices. 'U only' is only for NURBS Surface's cvU, 'V only' is for cvV, 'Both' is for both.

- etc.(New functions will be added on this section. Any requests are welcomed.)

First, open hotkey editor(Window -> Settings/Preferences -> Hotkey Editor). Set language as Python and write function name on command line. And before using hotkey you assigned, you have to open the script you saved on shelf by clicking the icon once to activate these functions in Maya.

- Name of the functions(Right side of the arrow is the name of the functions)

Quadrangle Check -> not_quad_check()

PolyToNURBS -> polygon_to_nurbs(original_object)

* This 'original object' arguement is connected to Polygon NURBS Converter tool's 'Original object' option. So if you write arguement as 'original object', it follows default option settings, 'Hide'. If you want to specify that option, write function like this. polygon_to_nurbs('Hide') polygon_to_nurbs('Keep') polygon_to_nurbs('Remove')

* I can't access to composing email or sending message page in this site, I don't know why but still does.(I only guess that this happens because I live outside the US.) Fortunately I can read all requests and reviews and etc...So if you leave your e-mail address when writing any reviews or request or something, I would really appreciate and I can send you my reply and answer.