Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Wrap HelixBRep_BuilderHelix (no OCP.HelixBRep module in 8.0)

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

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ệ
cpp, python
Lĩnh vực
api

Hướng nghiên cứu

The payload names no repository files, so start by finding how existing OCCT toolkits such as BRepLib are generated and registered as OCP modules in the CadQuery/OCP build configuration. Check whether the bundled OCCT headers and libraries include the HelixBRep and HelixGeom toolkits, then add the wrapper using the same pattern. Done means from OCP.HelixBRep import HelixBRep_BuilderHelix imports and a small test can build a helix edge.

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

Mô tả

Request: wrap OCCT's HelixBRep_BuilderHelix (and its HelixGeom_* companions) so it can be imported from OCP.

What I see

>>> import OCP; OCP.__version__
'8.0.1.1'                      # cadquery-ocp-novtk 8.0.1.1.0
>>> from OCP.HelixBRep import HelixBRep_BuilderHelix
ModuleNotFoundError: No module named 'OCP.HelixBRep'
  • No OCP.HelixBRep or OCP.HelixGeom module exists, and nothing in the installed package mentions HelixBRep.

Why it would help

HelixBRep_BuilderHelix builds a helical edge directly as a BRep (approximated helix, optional taper) and is the piece OCCT provides for threads and worms. Today the usual route is a helical Geom2d line on a cylindrical surface followed by BRepLib.BuildCurves3d, or a Frenet sweep along a helix wire. Both work but give less control over the approximation tolerance and continuity.

Ngôn ngữ chính
C++
Star
207
Fork
51
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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 CadQuery/OCP

Tất cả issue của CadQuery/OCP

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.