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:
-
Locate Blender’s Python Executable:
- Open Blender.
- Go to the
Scriptingworkspace. - Open a new Text Editor and run the following script to print Blender's Python executable path:
import sys print(sys.executable)
-
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
-
Install the Package:
- Navigate to the directory containing
setup.pyand run:/path/to/blender/python/bin/python3.7m -m pip install .
- Navigate to the directory containing
Step 3: Create a New Script in Blender to Use the Package
-
Open Blender and Go to the Scripting Workspace:
- Open Blender.
- Switch to the
Scriptingworkspace.
-
Create a New Script:
- Click
Newin the Text Editor panel to create a new script. - Save this script with a name, for example,
run_elbow_creator.py.
- Click
-
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file elbow_creator-0.1.tar.gz.
File metadata
- Download URL: elbow_creator-0.1.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9ad3d6f546b6fef48eaeb53830fed55ea79043cf9ea5a9197931e53dd4775b81
|
|
| MD5 |
376d89c2fb168b27240e14238562e8d2
|
|
| BLAKE2b-256 |
96596dc4fd6dc34d45558be86d57236e66b3bb07a1887527f6e6feeb3438223c
|
File details
Details for the file elbow_creator-0.1-py3-none-any.whl.
File metadata
- Download URL: elbow_creator-0.1-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
275ac28f39e75b1f40483ccd4f4a33e4b1d30bcee4ad1ae9da7295341e3e5aeb
|
|
| MD5 |
87676c9df3f99ba5ac246250f7e1ce9b
|
|
| BLAKE2b-256 |
f698bcae394f6cdcadc918c83792bf72f62450ad851d71ab649f76ccf3ea2a32
|