Skip to content

Conversation

@BarnacleDuck
Copy link

I have worked on the part class to allow it to record, eg, the dimensions used to create the part. This can be used to programmatically create mating or complementary parts.
With further development it could support automation such as:

  • orientation of parts by reference to connectors/normals.
  • splitting out sub-parts for printing.
  • rotating the object to be on the xy plane
  • tracking an object's bounding box

The changes consist of modifications to the part class, as well as some methods in the base OpenSCADObject class to allow finding parts by id, finding dimensions of a nominated part.

At the moment it assumes that a part is created in a separate function, and that that function's arguments correspond to the part's dimensions.

BarnacleDuck added 2 commits March 18, 2017 23:34
other data) within the part. This allows a solid object to be queried
by the balance of the program.
This also requires the addition of two methods to the OpenSCADObject
class - the first to find a part identified by id in an existing tree
- the second to get a named dimension from a part identified by id.
Added a test for signture property, corrected a comment in part definition
@etjones etjones closed this Jan 10, 2023
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