CadQuery / CadQuery/cadquery

dimension inputs for box requires separate variables rather than a vector

Open
#53 17 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
5.8k
Forks
541
Avg merge
3d 2h
Merged PRs (30d)
5

Description

**Issue by [burdickjp](https://github.com/burdickjp)**
_Friday Apr 15, 2016 at 13:07 GMT_
_Originally opened as https://github.com/dcowden/cadquery/issues/141_

----

I would like to feed box a vector for x,y,z dimensions rather than having to explicitly state x,y,z variables. Something like:
dim = [2, 1, 1]
result = cadquery.Workplane("XY").box(dim)

rather than having to do this:
result = cadquery.Workplane("XY").box(dim[0], dim[1], dim[2])

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.