تقسیم مسیر به تعداد کپی های دلخواه در راینو - Distributing Objects Between in Rhino

One of the limitations I often encountered while working in Rhino was the lack of a simple way to distribute objects between two custom points while controlling the number of segments directly.

یکی از مشکلاتی که همیشه هنگام مدل‌سازی در Rhino با آن مواجه بودم، تقسیم آبجکت‌ها بین دو نقطه دلخواه و با تعداد مشخص بود. دستور ArrayLinear به‌صورت پیش‌فرض بر اساس فاصله یا تعداد کپی‌ها عمل می‌کند، اما در بسیاری از پروژه‌های معماری نیاز داشتم که آبجکت‌ها دقیقاً بین یک نقطه شروع و یک نقطه پایان قرار بگیرند و تعداد فاصله‌ها (Segments) را خودم تعیین کنم.

Distributing Objects Between Two Custom Points in Rhino 8

One of the limitations I often encountered while working in Rhino was the lack of a simple way to distribute objects between two custom points while controlling the number of segments directly.

Although Rhino's ArrayLinear command is useful, many architectural workflows require a different approach: selecting a start point and an end point, then automatically distributing objects evenly between them based on a specified number of segments.

For example, if the distance between two points should be divided into five equal segments, the first object should remain at the start point, the last object should be placed exactly at the end point, and the remaining objects should be distributed evenly in between.

To solve this problem, I created a simple Rhino 8 script.

Features

  • Select one or multiple objects
  • Define a custom start point and end point
  • Specify the number of segments
  • Even distribution between both points
  • Compatible with Rhino 8
  • Quick execution using a custom Alias

How It Works

  1. Download the script.
  2. Install it in Rhino 8.
  3. Create an Alias such as ALE.
  4. Run the command.
  5. Select your objects.
  6. Pick the start point.
  7. Pick the end point.
  8. Enter the desired number of segments.

The script automatically creates and positions the copies evenly between the two selected points.

This workflow is especially useful for architectural design, façade systems, modular layouts, repetitive elements, and any situation where precise object distribution is required.

Download

Download link

Password : mohamadansari.ir


 

تقسیم آبجکت‌ها بین دو نقطه دلخواه در Rhino 8

یکی از مشکلاتی که همیشه هنگام مدل‌سازی در Rhino با آن مواجه بودم، تقسیم آبجکت‌ها بین دو نقطه دلخواه و با تعداد مشخص بود. دستور ArrayLinear به‌صورت پیش‌فرض بر اساس فاصله یا تعداد کپی‌ها عمل می‌کند، اما در بسیاری از پروژه‌های معماری نیاز داشتم که آبجکت‌ها دقیقاً بین یک نقطه شروع و یک نقطه پایان قرار بگیرند و تعداد فاصله‌ها (Segments) را خودم تعیین کنم.

به عنوان مثال، فرض کنید می‌خواهیم یک آبجکت را بین دو نقطه مشخص قرار دهیم و مسیر را به ۵ بخش مساوی تقسیم کنیم. در این حالت انتظار داریم اولین آبجکت روی نقطه شروع، آخرین آبجکت روی نقطه پایان و بقیه به صورت مساوی بین آن‌ها توزیع شوند. این قابلیت به شکل مستقیم در Rhino وجود ندارد و به همین دلیل یک اسکریپت ساده برای آن آماده کردم.

قابلیت‌های اسکریپت

  • انتخاب یک یا چند آبجکت
  • تعیین نقطه شروع و نقطه پایان
  • تعیین تعداد Segments
  • توزیع یکنواخت آبجکت‌ها بین دو نقطه
  • سازگار با Rhino 8
  • اجرای سریع از طریق یک Alias اختصاصی

نحوه استفاده

  1. فایل اسکریپت را دانلود کنید.
  2. آن را در Rhino 8 نصب کنید.
  3. یک Alias مانند ALE تعریف کنید.
  4. دستور را اجرا کنید.
  5. آبجکت‌ها را انتخاب کنید.
  6. نقطه شروع و پایان را مشخص کنید.
  7. تعداد Segments را وارد کنید.

اسکریپت به‌صورت خودکار کپی‌های لازم را ایجاد کرده و آن‌ها را به طور مساوی بین دو نقطه توزیع می‌کند.

این ابزار به‌خصوص در پروژه‌های معماری، طراحی نما، مدول‌بندی، جانمایی المان‌ها و تکرار اجسام در فواصل مساوی بسیار کاربردی است.

دانلود

لینک دانلود اسکریپت:

برای دانلود کلیک کنید 

پسورد : mohamadansari.ir

رفرنس : کمک گرفته از AI برای کد نویسی