Skip to content

hsuehyt/RandomOpenCirclesGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Random Open Circles Generator

Application Example

Overview

The Random Open Circles Generator is a script designed for 3D artists and modelers to procedurally generate open circles on mesh surfaces. This tool facilitates the creation of intricate patterns and designs, enhancing the detailing process in Autodesk Maya workflows.

Features

  • Procedural Generation: Automatically creates open circles on selected mesh surfaces.
  • Customization: Offers parameters to adjust the size, number, and distribution of circles.
  • Integration: Seamlessly integrates into Autodesk Maya 2022 and later.

Prerequisites

  • Autodesk Maya 2022 or later with Python 3 support.
  • Basic understanding of running scripts within Maya.

Installation

  1. Download the Script:

    • Clone the repository or download the script file directly from the GitHub repository.
  2. Open the Script Editor in Autodesk Maya:

    • Launch Maya 2022 or later.
    • Navigate to the Script Editor where scripts can be executed.

Usage

Follow these steps to utilize the Random Open Circles Generator:

  1. Paste the Code into the Script Editor:

    • Open the Script Editor in Maya.
    • Copy the entire script from the downloaded file and paste it into the editor.

    Step 1: Paste the code into the script editor

  2. Execute the Code:

    • Run the script within the editor to initialize the generator.

    Step 2: Execute the code

  3. Select Your Target Mesh:

    • In the Maya viewport, select the mesh surface where you want to generate open circles.

    Step 3: Select your target mesh

  4. Generate Open Circles:

    • Use the script's interface or commands to generate open circles on the selected mesh.

    Step 4: Generate open circles

  5. Attach the Circles:

    • Integrate the generated circles with the mesh as needed for your design.

    Step 5: Attach the circles

  6. Curl the Curve (Optional):

    • Apply transformations to curl or adjust the curves for desired effects.

    Step 6: Curl the curve

  7. Smooth the Curve (Optional):

    • Smooth the generated curves to refine their appearance.

    Step 7: Smooth the curve

  8. Close the Curve (Optional):

    • Close any open curves if your design requires it.

    Step 8: Close the curve

  9. Application Example:

    • View an example of the script applied to a mesh.

    Step 9: Application example

Compatibility

This script is written in Python 3 and is exclusively for Autodesk Maya 2022 and later. Since Maya 2022 introduced Python 3 as the default, ensure your Maya version is running in Python 3 mode for proper execution.

Parameters

The script provides several parameters to customize the generated circles:

  • Circle Count: Number of circles to generate.
  • Radius Range: Minimum and maximum radius of the circles.
  • Distribution Area: Defines the area on the mesh where circles will be placed.
  • Random Seed: Seed value for randomization to ensure reproducibility.

Contributing

Contributions are welcome! If you have suggestions, bug reports, or improvements, please submit an issue or a pull request on the GitHub repository.

License

This project is licensed under the MIT License.

Acknowledgments

Special thanks to the contributors and the open-source community for their support and collaboration.


Note: This script is intended exclusively for Autodesk Maya 2022 and later. It is not compatible with other 3D applications such as Blender, 3ds Max, or Cinema 4D.

About

A Maya tool to create randomized, open NURBS circles on mesh surfaces with custom parameters.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages