-
Notifications
You must be signed in to change notification settings - Fork 391
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Issue by adam-urbanczyk
Monday May 21, 2018 at 10:28 GMT
Originally opened as dcowden/cadquery#269
For now only additive features are implemented. If we need to make a subtractive feature two additional calls are needed (combine=False and an explicit cut op)
obj = cq.Workplane('XY').circle(dia_out).circle(dia_in).extrude(tube_h)
groove= obj.faces('<Z').workplane(offset=-3.0).circle(dia_out).\
circle(dia_out-groove_depth).extrude(groove_h,combine=False)
result = obj.cut(groove)What would be nice:
result = cq.Workplane('XY').circle(dia_out).circle(dia_in).extrude(tube_h).\
faces('<Z').workplane(offset=-3.0).circle(dia_out).\
circle(dia_out-groove_depth).extrude(groove_h,subtract=True)Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request