cadquery
cadquery copied to clipboard
A python parametric CAD scripting framework based on OCCT
I want to make an array of cavities using an irregular cutting shape on a custom list of points pushed onto a workplane face. ``` import cadquery as cq import...
The goal is to make it possible to round-trip assemblies to and from STEP without loss of data. This data can include: * [x] Part location * [x] Part color...
Now also accepts Plane as an argument. Workplane split now goes through `Solid.split` instead of `Solid.cut`. Still to do: - [ ] tests - [ ] docs Related to #751.
Closes #1784 (?) API: ```python from cadquery.fig import Figure from cadquery.func import sphere, torus # this starts a server and opens a browser tab fig = Figure() # we can...
## To Reproduce ```python ``` import cadquery as cq import pyvista as pv #Initialize the assembly model = cq.Assembly() #Define the major and minor radii for the torus R =...
- Add parameters azimuth viewup and clipping_range to allow for improved control of the rendering. - Always call ResetCamera early so the camera is in a known state before applying...
``` import cadquery as cq # create an assembly assmebly1 = cq.Assembly(name="assembly1") # add box to assembly1 box = cq.Workplane().box(1, 1, 1) assmebly1.add(box, name="box1", color=cq.Color("green")) assmebly1.add(box, name="box2", color=cq.Color("yellow")) assmebly1.constrain("box1@faces@
Fixes #1845
Hi there 👋 Locally, on my Apple M1 Pro, everything works fine. But on GitLab CI there is a segmentation fault. _Sidenote: #1475 doesn't seem to be an issue anymore,...
Implemented material support. In this approach, materials are stored in python dataclasses, the OpenCascade objects are only created when building the assembly. Tests/docs are missing at the moment.