Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test for Python samples. #3630

Merged
merged 13 commits into from
Nov 11, 2024
Merged

Add test for Python samples. #3630

merged 13 commits into from
Nov 11, 2024

Conversation

Chernobrovkin-AD
Copy link
Contributor

Deleting Triangulation_v3.dox.py as outdated: V2 file is not working with new meshlib bindings.

Deleting Triangulation_v3.dox.py as outdated: V2 file is not working with new meshlib bindings.
Comment on lines 27 to 29
params = mm.OffsetParameters()
params.voxelSize = 0.1
triangulated_pc = mm.offsetMesh(triangulated_pc, 0.0, params=params)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually in V2 it should work with default parameters too

@@ -26,6 +26,8 @@
triangulated_pc = mm.triangulatePointCloud(pc)

# Fix possible issues
triangulated_pc = mm.offsetMesh(triangulated_pc, 0.0)
offsetParams = mm.OffsetParameters()
offsetParams.voxelSize = 0.1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please use

Suggested change
offsetParams.voxelSize = 0.1
offsetParams.voxelSize = mm.suggestVoxelSize( triangulated_pc, 5e6 )

scripts/run_python_test_script.py Show resolved Hide resolved
@Chernobrovkin-AD Chernobrovkin-AD merged commit 12be7f9 into master Nov 11, 2024
28 checks passed
@Chernobrovkin-AD Chernobrovkin-AD deleted the test_doc_samples branch November 11, 2024 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants