cadquery
cadquery copied to clipboard
A python parametric CAD scripting framework based on OCCT
I've added a cone 3D primitive to the `Workplane`, as per item on the roadmap, https://github.com/CadQuery/cadquery/blob/master/doc/roadmap.rst This follows the OpenSCAD style, so if a single radius is specified a normal...
``` # testcase wp = cq.Workplane("XY") degree = 89 x = wp.transformed(rotate=(degree,0,0)) \ .circle(3, forConstruction = True).toPending() \ .workplane(offset=10) \ .circle(3, forConstruction = True).toPending() \ .loft() \ .faces(">Z") \ .workplane()...
You can use cq.Workplane.x = myfun or such. https://github.com/CadQuery/cadquery/issues/1644 See this about a workaround which allows pyright to type the code. Another way to get this all done would be...
I know I can define a function or use `w1.translate((0,0,0))` to create a new reference, but it would be great if there is a simple `clone` method: ```python w1 =...
Consider this example: ```python import cadquery as cq def makeBoxWithTag(): result = ( cq.Workplane('XY') .box(1, 1, 1, centered=False) ) result.vertices(">X and >Y and >Z").tag("v") return result assembly = ( cq.Assembly()...
Hey, I have a box which is rounded, now I want to select the upper edge (all around) and want to apply an operation every e.g. 2cm. Like in this...
When I run 2 of the sketches from the docs locally ( cadquery 2.5.0.dev0 / cadquery-ocp 7.7.2), I get shapes that differ from the ones on the docs.  
I did not expect this result from the sweep. ```py import cadquery as cq from cadquery.occ_impl.shapes import * path = cq.Wire.makeHelix(2, 6, 4) e1 = segment((4, 0, 0), (4, 0,...
PR #1549 added `fillet` with docstring that says "Currently only open wires are supported". PR #1573 added support for closed wires but the docstring was not update. There is also...