cqparts_fasteners.solidtypes.screw_drives package

Submodules

cqparts_fasteners.solidtypes.screw_drives.base module

class cqparts_fasteners.solidtypes.screw_drives.base.ScrewDrive(*largs, **kwargs)

Bases: cqparts.part.Part

ParametricObject constructor parameters:

Parameters:
  • depth (float) – depth of recess into driven body
  • diameter (float) – screw drive’s diameter
apply(workplane, world_coords=<CoordSystem: origin=(0, 0, 0) xDir=(1, 0, 0) zDir=(0, 0, 1)>)

Application of screwdrive indentation into a workplane (centred on the given world coordinates).

Parameters:
  • workplane (cadquery.Workplane) – workplane with solid to alter
  • world_coords (CoordSystem) – coorindate system relative to workplane to move cutter before it’s cut from the workplane
initialize_parameters()
make()

Make the solid to use as a cutter, to make the screw-drive impression in another solid.

Returns:cutter solid
Return type:cadquery.Workplane

cqparts_fasteners.solidtypes.screw_drives.cruciform module

class cqparts_fasteners.solidtypes.screw_drives.cruciform.FrearsonScrewDrive(*largs, **kwargs)

Bases: cqparts_fasteners.solidtypes.screw_drives.base.ScrewDrive

ParametricObject constructor parameters:

Parameters:
  • depth (float) – depth of recess into driven body
  • diameter (float) – screw drive’s diameter
  • width (float) – [no description]

Search Criteria:

This object can be found with find() and search() using the following search criteria.

Key Value
module cqparts_fasteners.solidtypes.screw_drives.base
name frearson
../_images/frearson.png
make()
class cqparts_fasteners.solidtypes.screw_drives.cruciform.FrenchRecessScrewDrive(*largs, **kwargs)

Bases: cqparts_fasteners.solidtypes.screw_drives.base.ScrewDrive

ParametricObject constructor parameters:

Parameters:
  • depth (float) – depth of recess into driven body
  • diameter (float) – screw drive’s diameter
  • step_depth (float) – depth the step diameter takes effect
  • step_diameter (float) – diameter at depth
  • width (float) – blade width

Search Criteria:

This object can be found with find() and search() using the following search criteria.

Key Value
module cqparts_fasteners.solidtypes.screw_drives.base
name french_recess
../_images/french_recess.png
initialize_parameters()
make()
class cqparts_fasteners.solidtypes.screw_drives.cruciform.MortorqScrewDrive(*largs, **kwargs)

Bases: cqparts_fasteners.solidtypes.screw_drives.base.ScrewDrive

ParametricObject constructor parameters:

Parameters:
  • count (int) – [no description]
  • depth (float) – depth of recess into driven body
  • diameter (float) – screw drive’s diameter
  • fillet (float) – [no description]
  • width (float) – [no description]

Search Criteria:

This object can be found with find() and search() using the following search criteria.

Key Value
module cqparts_fasteners.solidtypes.screw_drives.base
name mortorq
../_images/mortorq.png
make()
class cqparts_fasteners.solidtypes.screw_drives.cruciform.PhillipsScrewDrive(*largs, **kwargs)

Bases: cqparts_fasteners.solidtypes.screw_drives.base.ScrewDrive

ParametricObject constructor parameters:

Parameters:
  • chamfer (float) – chamfer at top of cross section
  • depth (float) – depth of recess into driven body
  • diameter (float) – screw drive’s diameter
  • width (float) – blade width

Search Criteria:

This object can be found with find() and search() using the following search criteria.

Key Value
module cqparts_fasteners.solidtypes.screw_drives.base
name phillips
../_images/phillips.png
initialize_parameters()
make()
class cqparts_fasteners.solidtypes.screw_drives.cruciform.PozidrivScrewDrive(*largs, **kwargs)

Bases: cqparts_fasteners.solidtypes.screw_drives.base.ScrewDrive

ParametricObject constructor parameters:

Parameters:
  • depth (float) – depth of recess into driven body
  • diameter (float) – screw drive’s diameter
  • inset_cut (float) – [no description]
  • marking_depth (float) – [no description]
  • marking_width (float) – [no description]
  • markings (bool) – [no description]
  • width (float) – [no description]

Search Criteria:

This object can be found with find() and search() using the following search criteria.

Key Value
module cqparts_fasteners.solidtypes.screw_drives.base
name pozidriv
../_images/pozidriv.png
initialize_parameters()
make()

cqparts_fasteners.solidtypes.screw_drives.hex module

class cqparts_fasteners.solidtypes.screw_drives.hex.DoubleHexScrewDrive(*largs, **kwargs)

Bases: cqparts_fasteners.solidtypes.screw_drives.hex.HexScrewDrive

ParametricObject constructor parameters:

Parameters:
  • count (int) – [no description]
  • depth (float) – depth of recess into driven body
  • diameter (float) – [no description]
  • pin (bool) – [no description]
  • width (float) – [no description]

Search Criteria:

This object can be found with find() and search() using the following search criteria.

Key Value
module cqparts_fasteners.solidtypes.screw_drives.base
name 2hex, double_hex
../_images/double_hex.png
class cqparts_fasteners.solidtypes.screw_drives.hex.HexScrewDrive(*largs, **kwargs)

Bases: cqparts_fasteners.solidtypes.screw_drives.base.ScrewDrive

ParametricObject constructor parameters:

Parameters:
  • count (int) – [no description]
  • depth (float) – depth of recess into driven body
  • diameter (float) – [no description]
  • pin (bool) – [no description]
  • width (float) – [no description]

Search Criteria:

This object can be found with find() and search() using the following search criteria.

Key Value
module cqparts_fasteners.solidtypes.screw_drives.base
name allen, hex
../_images/hex1.png
get_hexagon_vertices()

Generate the points of a hexagon :param diameter: Diameter of hexagon :return: list of tuples [(x1, y1), (x2, y2), … ]

initialize_parameters()
make()
pin_diameter = None
pin_height = None
class cqparts_fasteners.solidtypes.screw_drives.hex.HexalobularScrewDrive(*largs, **kwargs)

Bases: cqparts_fasteners.solidtypes.screw_drives.base.ScrewDrive

ParametricObject constructor parameters:

Parameters:
  • count (int) – [no description]
  • depth (float) – depth of recess into driven body
  • diameter (float) – screw drive’s diameter
  • fillet (float) – [no description]
  • gap (float) – [no description]
  • pin (bool) – [no description]
  • pin_diameter (float) – [no description]
  • pin_height (float) – [no description]

Search Criteria:

This object can be found with find() and search() using the following search criteria.

Key Value
module cqparts_fasteners.solidtypes.screw_drives.base
name hexalobular
../_images/hexalobular.png
initialize_parameters()
make()

cqparts_fasteners.solidtypes.screw_drives.slotted module

class cqparts_fasteners.solidtypes.screw_drives.slotted.CrossScrewDrive(*largs, **kwargs)

Bases: cqparts_fasteners.solidtypes.screw_drives.base.ScrewDrive

ParametricObject constructor parameters:

Parameters:
  • depth (float) – depth of recess into driven body
  • diameter (float) – screw drive’s diameter
  • width (float) – slot width

Search Criteria:

This object can be found with find() and search() using the following search criteria.

Key Value
module cqparts_fasteners.solidtypes.screw_drives.base
name cross
../_images/cross.png
initialize_parameters()
make()
class cqparts_fasteners.solidtypes.screw_drives.slotted.SlotScrewDrive(*largs, **kwargs)

Bases: cqparts_fasteners.solidtypes.screw_drives.base.ScrewDrive

ParametricObject constructor parameters:

Parameters:
  • depth (float) – depth of recess into driven body
  • diameter (float) – screw drive’s diameter
  • width (float) – slot width

Search Criteria:

This object can be found with find() and search() using the following search criteria.

Key Value
module cqparts_fasteners.solidtypes.screw_drives.base
name slot
../_images/slot.png
initialize_parameters()
make()

cqparts_fasteners.solidtypes.screw_drives.square module

class cqparts_fasteners.solidtypes.screw_drives.square.DoubleSquareScrewDrive(*largs, **kwargs)

Bases: cqparts_fasteners.solidtypes.screw_drives.square.SquareScrewDrive

ParametricObject constructor parameters:

Parameters:
  • count (int) – [no description]
  • depth (float) – depth of recess into driven body
  • diameter (float) – screw drive’s diameter
  • width (float) – [no description]

Search Criteria:

This object can be found with find() and search() using the following search criteria.

Key Value
module cqparts_fasteners.solidtypes.screw_drives.base
name 2square, double_square
../_images/double_square.png
class cqparts_fasteners.solidtypes.screw_drives.square.SquareScrewDrive(*largs, **kwargs)

Bases: cqparts_fasteners.solidtypes.screw_drives.base.ScrewDrive

ParametricObject constructor parameters:

Parameters:
  • count (int) – [no description]
  • depth (float) – depth of recess into driven body
  • diameter (float) – screw drive’s diameter
  • width (float) – [no description]

Search Criteria:

This object can be found with find() and search() using the following search criteria.

Key Value
module cqparts_fasteners.solidtypes.screw_drives.base
name robertson, square
../_images/square1.png
get_square(angle=0)
initialize_parameters()
make()
class cqparts_fasteners.solidtypes.screw_drives.square.TrippleSquareScrewDrive(*largs, **kwargs)

Bases: cqparts_fasteners.solidtypes.screw_drives.square.SquareScrewDrive

ParametricObject constructor parameters:

Parameters:
  • count (int) – [no description]
  • depth (float) – depth of recess into driven body
  • diameter (float) – screw drive’s diameter
  • width (float) – [no description]

Search Criteria:

This object can be found with find() and search() using the following search criteria.

Key Value
module cqparts_fasteners.solidtypes.screw_drives.base
name 3square, triple_square
../_images/triple_square.png

cqparts_fasteners.solidtypes.screw_drives.tamper_resistant module

class cqparts_fasteners.solidtypes.screw_drives.tamper_resistant.AcentricWedgesScrewDrive(*largs, **kwargs)

Bases: cqparts_fasteners.solidtypes.screw_drives.base.ScrewDrive

ParametricObject constructor parameters:

Parameters:
  • acentric_radius (float) – [no description]
  • count (int) – [no description]
  • depth (float) – depth of recess into driven body
  • diameter (float) – screw drive’s diameter
  • width (float) – [no description]
initialize_parameters()
make()
class cqparts_fasteners.solidtypes.screw_drives.tamper_resistant.TorqsetScrewDrive(*largs, **kwargs)

Bases: cqparts_fasteners.solidtypes.screw_drives.tamper_resistant.AcentricWedgesScrewDrive

ParametricObject constructor parameters:

Parameters:
  • acentric_radius (float) – [no description]
  • count (int) – [no description]
  • depth (float) – depth of recess into driven body
  • diameter (float) – screw drive’s diameter
  • width (float) – [no description]

Search Criteria:

This object can be found with find() and search() using the following search criteria.

Key Value
module cqparts_fasteners.solidtypes.screw_drives.base
name torq_set
../_images/torq_set.png
class cqparts_fasteners.solidtypes.screw_drives.tamper_resistant.TripointScrewDrive(*largs, **kwargs)

Bases: cqparts_fasteners.solidtypes.screw_drives.tamper_resistant.AcentricWedgesScrewDrive

ParametricObject constructor parameters:

Parameters:
  • acentric_radius (float) – [no description]
  • count (int) – [no description]
  • depth (float) – depth of recess into driven body
  • diameter (float) – screw drive’s diameter
  • width (float) – [no description]

Search Criteria:

This object can be found with find() and search() using the following search criteria.

Key Value
module cqparts_fasteners.solidtypes.screw_drives.base
name tri_point
../_images/tri_point.png

Module contents

class cqparts_fasteners.solidtypes.screw_drives.ScrewDrive(*largs, **kwargs)

Bases: cqparts.part.Part

ParametricObject constructor parameters:

Parameters:
  • depth (float) – depth of recess into driven body
  • diameter (float) – screw drive’s diameter
apply(workplane, world_coords=<CoordSystem: origin=(0, 0, 0) xDir=(1, 0, 0) zDir=(0, 0, 1)>)

Application of screwdrive indentation into a workplane (centred on the given world coordinates).

Parameters:
  • workplane (cadquery.Workplane) – workplane with solid to alter
  • world_coords (CoordSystem) – coorindate system relative to workplane to move cutter before it’s cut from the workplane
initialize_parameters()
make()

Make the solid to use as a cutter, to make the screw-drive impression in another solid.

Returns:cutter solid
Return type:cadquery.Workplane
cqparts_fasteners.solidtypes.screw_drives.register(*args, **kwargs)
cqparts_fasteners.solidtypes.screw_drives.find(*args, **kwargs)
cqparts_fasteners.solidtypes.screw_drives.search(*args, **kwargs)