PaddlePaddle / PaddlePaddle/PaddleScience

CSGDifference uniform_points not implemented

Open
#1,188 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
450
Forks
237
PR merge metrics
No merged PRs in 30d

Description

在使用CSG方式构造geometry时,部分采样方法没有实现

[2025/07/15 10:27:54] ppsci WARNING: CSGDifference, ndim = 3, bbox = (array([-1., -1.,  0.], dtype=float32), array([1. , 1. , 0.5], dtype=float32)), diam = 2.872281312942505, dim_keys = ('x', 'y', 'z').uniform_points not implemented. Use random_points instead.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the CSGDifference geometry implementation and its uniform_points sampling entry point. Reproduce the warning shown in the issue, then determine the existing sampling behavior to follow; done means uniform_points works for CSGDifference without directing users to random_points.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.