Skip to content

Fix openscad parser indescriminately replacing all collision meshes #175

Open
marcin-nrobotics wants to merge 1 commit intoRhoban:masterfrom
marcin-nrobotics:granular_scad_pure_shape
Open

Fix openscad parser indescriminately replacing all collision meshes #175
marcin-nrobotics wants to merge 1 commit intoRhoban:masterfrom
marcin-nrobotics:granular_scad_pure_shape

Conversation

@marcin-nrobotics
Copy link

Issue

Current behaviour of the code for replacing meshes with pure shapes is not in line with the documentation as presented in the documentation video.

Current behaviour

If ProcessorScad is used, it goes through all collision meshes. If there is no *.scad file for a given mesh, it still gets replaced with nothing (mesh.collision = False)

New behaviour

If ProcessorScad is used, it only uses pure shapes to replace meshes for which *.scad files exist, leaving all other meshes intact.

@Amagicians
Copy link

Amagicians commented Dec 30, 2025

I ran into the same issue. It would be nice if this fix can be merged.

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