Files
cadquery/doc/classreference.rst
Fedor Kotov d5ce1321ca Added AreaNthSelector (#688)
* Added AreaNthSelector

Added AreaNthSelector that is useful for nested features selection. Especially to select one of coplanar nested wires for subsequent extrusion, cutting or filleting.

* LengthNthSelector

* Explicitly marked _NthSelector class and _NthSelector.key(..) method as abstract using standard abc package

* AreaNthSelector ignores "bad" Wires

AreaNthSelector.key raises ValueError if temporary face creation fails for a wire for any reason (non-planar, non-closed). That causes _NthSelector that it inherits to ignore such wires. Done so for consistency with RadiusNthSelector that ignores anything it can not get radius from.

Co-authored-by: Marcus Boyd <mwb@geosol.com.au>
2021-03-17 14:14:37 +10:30

98 lines
1.6 KiB
ReStructuredText

.. _classreference:
*************************
CadQuery Class Summary
*************************
This page documents all of the methods and functions of the CadQuery classes, organized alphabatically.
.. seealso::
For a listing organized by functional area, see the :ref:`apireference`
.. currentmodule:: cadquery
Core Classes
---------------------
.. autosummary::
CQ
Workplane
Assembly
Constraint
Topological Classes
----------------------
.. autosummary::
Shape
Vertex
Edge
cadquery.occ_impl.shapes.Mixin1D
Wire
Face
Shell
cadquery.occ_impl.shapes.Mixin3D
Solid
Compound
Geometry Classes
------------------
.. autosummary::
Vector
Matrix
Plane
Location
Selector Classes
---------------------
.. currentmodule:: cadquery.selectors
.. autosummary::
Selector
NearestToPointSelector
BoxSelector
BaseDirSelector
ParallelDirSelector
DirectionSelector
PerpendicularDirSelector
TypeSelector
RadiusNthSelector
CenterNthSelector
DirectionMinMaxSelector
DirectionNthSelector
LengthNthSelector
AreaNthSelector
BinarySelector
AndSelector
SumSelector
SubtractSelector
InverseSelector
StringSyntaxSelector
Class Details
---------------
.. automodule:: cadquery
:show-inheritance:
:members:
:special-members:
.. autoclass:: cadquery.occ_impl.shapes.Mixin1D
:show-inheritance:
:members:
.. autoclass:: cadquery.occ_impl.shapes.Mixin3D
:show-inheritance:
:members:
.. automodule:: cadquery.selectors
:show-inheritance:
:members: