Skip to main content

A package to create an elbow mesh in Blender

Project description

Step 2: Install the Package in Blender

To install the package in Blender’s Python environment:

  1. Locate Blender’s Python Executable:

    • Open Blender.
    • Go to the Scripting workspace.
    • Open a new Text Editor and run the following script to print Blender's Python executable path:
      import sys
      print(sys.executable)
      
  2. Open a Terminal and Navigate to Blender’s Python Directory:

    • Copy the path printed from the above script.
    • Open a terminal and navigate to Blender’s Python directory:
      cd /path/to/blender/installation
      
  3. Install the Package:

    • Navigate to the directory containing setup.py and run:
      /path/to/blender/python/bin/python3.7m -m pip install .
      

Step 3: Create a New Script in Blender to Use the Package

  1. Open Blender and Go to the Scripting Workspace:

    • Open Blender.
    • Switch to the Scripting workspace.
  2. Create a New Script:

    • Click New in the Text Editor panel to create a new script.
    • Save this script with a name, for example, run_elbow_creator.py.
  3. Write the Script to Use the Package:

import bpy
from elbow_Creator import create_elbow

# Example usage
radius = 1
point1 = (0, 0, 0)
point2 = (2, 2, 0)
create_elbow(radius, point1, point2)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

elbow_creator-0.2.1.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

elbow_creator-0.2.1-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file elbow_creator-0.2.1.tar.gz.

File metadata

  • Download URL: elbow_creator-0.2.1.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.0

File hashes

Hashes for elbow_creator-0.2.1.tar.gz
Algorithm Hash digest
SHA256 728cce25d54f9de1d763ad0166df4c5065acaa996afb5b585f204591ed273e7a
MD5 a917747900219e4d6464d6a452cc8cbb
BLAKE2b-256 569b681169110990077497925812b94dd9f8a0f8c97338b18b0cac55004c45e8

See more details on using hashes here.

File details

Details for the file elbow_creator-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: elbow_creator-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.0

File hashes

Hashes for elbow_creator-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b2768b0f32d9b4d3c5f4dbbc02400ef5b7bf20ad4eb2bf91ac71d522105503a2
MD5 c1aa71611ffbf532538ec969a01de9fa
BLAKE2b-256 7012c1014b91dccc31b225514b4efccd097b59229ab26679aeafcb9d4407b52a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page