CadQuery / CadQuery/cadquery

Support alternative workplane centre options

Open
#218 11 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
5.8k
Forks
541
Avg merge
3d 2h
Merged PRs (30d)
5

Description

The default centre option is Centre of Mass (which makes a lot less sense to me than Centre of Bounding Box, but that's by-the-by and at least the bounding box centre is also an option). Often though, I have a face of a workpiece and I want to start drawing at one of the corners of that face.

At the moment, I do this by calculating the dimensions of the face (as I tend to do everything in the model by calculation so fundamental dimensions can be tweaked) and adding a `.center` call or a `.moveTo` call to get to a given corner. This is a lot of boilerplate and it would be nice if there were options to `.workplane` that made the starting/centre point any of the 8 bounding box extremes (North, North-East, East etc).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.