Snapping to vertices, edges and surfaces of other geometry

Đang mở
#42 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
csharp, unity
Lĩnh vực
computer-graphics

Hướng nghiên cứu

Start in Editor/SceneView/Snapping/SceneHandles.Snapping.cs, where SnapSettings already defines the TODO-marked GeometryVertex, GeometryEdge and GeometrySurface modes. Study how pivot-to-grid and bounds-to-grid snapping are implemented there, and look at the UV tools for working examples of snapping to geometry edges and vertices. Done means moving brushes, generators and their handles snaps to vertices, edges and surfaces of other geometry; the README's feature list should be reconciled once that lands. This is a substantial geometry/editor feature with no failing test to start from.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement UX

Snap what you move (brushes, generators, their handles) to the vertices, edges and surfaces of other geometry, not only to the grid.

SnapSettings already has GeometryVertex, GeometryEdge and GeometrySurface (Editor/SceneView/Snapping/SceneHandles.Snapping.cs), but they are marked TODO: only pivot-to-grid and bounds-to-grid snapping are done for moving objects. The UV tools already snap to the geometry's edges and vertices.

The README lists "Precise snapping to surfaces, edges, vertices and grid lines" as a feature, so it should be updated once this is done (or until then).

Ngôn ngữ chính
C#
Star
135
Fork
15
Merge trung bình
24 phút
Pull request đã merge (30 ngày)
89

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của RadicalCSG/com.chisel

Tất cả issue của RadicalCSG/com.chisel

Issue tương tự

Thêm issue về C#

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.