Skip to content

Collision Test #14

Description

@adrianschlatter

Find a way to test for collisions between nut and corresponding bolt.

Idea

Render a nut and bolt combination (example: tests/test.scad). Use “number of volumes” that OpenSCAD shows after rendering:

  • 3 volumes: PASS (1 volume nut, 1 volume bolt, 1 volume surroundings)
  • 2 volumes: FAIL (collision)
  • 1 volume: FAIL (something went terribly wrong)
  • More than 3 volumes: FAIL (probably thread did not overlap bolt / nut and remained a separate part)

Problem

Find a way to make OpenSCAD tell us the number of volumes in a programmatic way (we don’t want to open OpenSCAD and hit F6 for hundreds of threads).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    qualityQuality Issues/Enhancements (e.g. Tests)

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions