Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
4c8cc9a
More free functions
adam-urbanczyk May 22, 2026
7098f92
Improve coverage
adam-urbanczyk May 22, 2026
d724fc6
Add fillet2D
adam-urbanczyk May 23, 2026
a8da755
Update hollow
adam-urbanczyk May 23, 2026
03dc3d2
Tweak 0 taper prism
adam-urbanczyk May 23, 2026
f9c007b
Tweak fig display
adam-urbanczyk May 23, 2026
a397736
Mypy fix
adam-urbanczyk May 23, 2026
5ddea21
Add draft
adam-urbanczyk May 24, 2026
6dc603b
Implemen a test and improve draft
adam-urbanczyk May 24, 2026
f4963c0
Implement from/to prism
adam-urbanczyk May 24, 2026
07c1dca
Add set ops for combining selectors
adam-urbanczyk May 24, 2026
c7ec596
Tweak coverage
adam-urbanczyk May 24, 2026
56256ab
Add history to mmany free functions
adam-urbanczyk Jun 5, 2026
6f05cb6
Improve coverage
adam-urbanczyk Jun 5, 2026
39c994f
More tests for history
adam-urbanczyk Jun 5, 2026
beaf417
Sweep history test
adam-urbanczyk Jun 5, 2026
e46dc01
Test simple sweep
adam-urbanczyk Jun 5, 2026
9ffcf32
Test history with loft
adam-urbanczyk Jun 5, 2026
783e34f
Test offset with history
adam-urbanczyk Jun 5, 2026
2785dab
Blacken tests
adam-urbanczyk Jun 5, 2026
3b3617b
Fix test failures
adam-urbanczyk Jun 5, 2026
b32345d
Rename helper function for clarity
adam-urbanczyk Jun 5, 2026
628082d
Apply suggestions from code review
adam-urbanczyk Jun 12, 2026
73c8d66
Apply suggestion - forward name
adam-urbanczyk Jun 12, 2026
2954391
History related usability enhacemnets
adam-urbanczyk Jun 12, 2026
ce7d9bc
Add some docs
adam-urbanczyk Jun 12, 2026
ad1408b
Merge branch 'adam-shapes-parity' of https://github.com/CadQuery/cadq…
adam-urbanczyk Jun 12, 2026
7e453e3
Doc tweak
adam-urbanczyk Jun 12, 2026
11be6f8
Remove unused typedef
adam-urbanczyk Jun 12, 2026
6850adf
Update docs
adam-urbanczyk Jun 12, 2026
6b90527
prism cleanup
adam-urbanczyk Jun 12, 2026
b2f661e
Update docs
adam-urbanczyk Jun 12, 2026
991a095
Fix codeblock
adam-urbanczyk Jun 12, 2026
3f49eba
Debug appveyor
adam-urbanczyk Jun 12, 2026
20a30e2
Less aggresive fillet
adam-urbanczyk Jun 12, 2026
8373a29
Tweak the example
adam-urbanczyk Jun 12, 2026
b797eb1
Update appveyor.yml
adam-urbanczyk Jun 13, 2026
d537e73
Debugging helpers
adam-urbanczyk Jun 13, 2026
27f4442
Merge branch 'adam-shapes-parity' of https://github.com/CadQuery/cadq…
adam-urbanczyk Jun 13, 2026
814e703
Fix flaky example
adam-urbanczyk Jun 14, 2026
69f770a
Revert appveyor changes
adam-urbanczyk Jun 14, 2026
6fc853c
Fix syntax
adam-urbanczyk Jun 14, 2026
d21f372
Doc fix
adam-urbanczyk Jun 14, 2026
68be2fa
Fix docs
adam-urbanczyk Jun 14, 2026
1f53bae
Removing debugging artifacts
adam-urbanczyk Jun 14, 2026
d8a9785
Apply suggestions from code review
adam-urbanczyk Jun 16, 2026
01ff2ac
Fix history args
adam-urbanczyk Jun 16, 2026
10c9de0
Update docs after review
adam-urbanczyk Jun 16, 2026
ceaeb59
Update image size
adam-urbanczyk Jun 16, 2026
39424ba
Mypy fix
adam-urbanczyk Jun 16, 2026
8f54845
RTD conf fix
adam-urbanczyk Jun 16, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ sphinx:


build:
os: "ubuntu-20.04"
os: "ubuntu-22.04"
tools:
python: "mambaforge-4.10"

Expand Down
3 changes: 3 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ test_script:
on_success:
- mamba run -n cadquery codecov

# on_finish:
# - sh: export APPVEYOR_VNC_BLOCK=true
# - sh: curl -sflL 'https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-vnc.sh' | sed 's#https://www.appveyor.com/tools/my-ip.aspx#https://api.ipify.org#' | bash -e -
#on_finish:
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
# - sh: export APPVEYOR_SSH_BLOCK=true
Expand Down
6 changes: 6 additions & 0 deletions cadquery/fig.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
vtkRenderWindow,
vtkRenderWindowInteractor,
vtkProp3D,
vtkMapper,
)


Expand Down Expand Up @@ -102,6 +103,11 @@ def __init__(self, port: int = 18081):
orient_widget.EnabledOn()
orient_widget.InteractiveOff()

# rendering related settings
vtkMapper.SetResolveCoincidentTopologyToPolygonOffset()
vtkMapper.SetResolveCoincidentTopologyPolygonOffsetParameters(1, 0)
vtkMapper.SetResolveCoincidentTopologyLineOffsetParameters(-1, 0)

self.axes = axes
self.orient_widget = orient_widget
self.win = win
Expand Down
71 changes: 71 additions & 0 deletions cadquery/func.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,75 @@
project,
faceOn,
isSubshape,
prism,
hollow,
Comment thread
adam-urbanczyk marked this conversation as resolved.
fillet2D,
chamfer2D,
draft,
History,
)

__all__ = [
"Vector",
"Plane",
"Location",
"Shape",
"Vertex",
"Edge",
"Wire",
"Face",
"Shell",
"Solid",
"CompSolid",
"Compound",
"edgeOn",
"wireOn",
"wire",
"face",
"shell",
"solid",
"compound",
"vertex",
"segment",
"polyline",
"polygon",
"rect",
"spline",
"circle",
"ellipse",
"plane",
"box",
"cylinder",
"sphere",
"torus",
"cone",
"text",
"fuse",
"cut",
"intersect",
"imprint",
"split",
"fill",
"clean",
"cap",
"fillet",
"chamfer",
"extrude",
"revolve",
"offset",
"offset2D",
"sweep",
"loft",
"hollow",
"check",
"closest",
"setThreads",
"project",
"faceOn",
"isSubshape",
"prism",
"chamfer2D",
"fillet2D",
"draft",
"History",
]
Loading