cqparts_fasteners.solidtypes.fastener_heads package

Submodules

cqparts_fasteners.solidtypes.fastener_heads.base module

class cqparts_fasteners.solidtypes.fastener_heads.base.FastenerHead(*largs, **kwargs)

Bases: cqparts.part.Part

ParametricObject constructor parameters:

Parameters:
  • access_diameter (float) – diameter of circle allowing tool access above fastener (defaults to diameter)
  • access_height (float) – depth of hole providing access (default 1m)
  • diameter (float) – fastener head diameter
  • height (float) – fastener head height
get_face_offset()

Returns the screw drive origin offset relative to bolt’s origin

initialize_parameters()
make_cutter()

Create solid to subtract from material to make way for the fastener’s head (just the head)

cqparts_fasteners.solidtypes.fastener_heads.counter_sunk module

class cqparts_fasteners.solidtypes.fastener_heads.counter_sunk.CounterSunkBugleFastenerHead(*largs, **kwargs)

Bases: cqparts_fasteners.solidtypes.fastener_heads.counter_sunk.CounterSunkFastenerHead

ParametricObject constructor parameters:

Parameters:
  • access_diameter (float) – diameter of circle allowing tool access above fastener (defaults to diameter)
  • access_height (float) – depth of hole providing access (default 1m)
  • bugle (bool) – [no description]
  • bugle_ratio (float) – [no description]
  • chamfer (float) – [no description]
  • diameter (float) – fastener head diameter
  • height (float) – fastener head height
  • raised (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.fastener_heads.base
name countersunk_bugle
../_images/countersunk_bugle.png
class cqparts_fasteners.solidtypes.fastener_heads.counter_sunk.CounterSunkFastenerHead(*largs, **kwargs)

Bases: cqparts_fasteners.solidtypes.fastener_heads.base.FastenerHead

ParametricObject constructor parameters:

Parameters:
  • access_diameter (float) – diameter of circle allowing tool access above fastener (defaults to diameter)
  • access_height (float) – depth of hole providing access (default 1m)
  • bugle (bool) – [no description]
  • bugle_ratio (float) – [no description]
  • chamfer (float) – [no description]
  • diameter (float) – fastener head diameter
  • height (float) – fastener head height
  • raised (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.fastener_heads.base
name countersunk
../_images/countersunk.png
get_face_offset()
initialize_parameters()
make()
make_cutter()

Add countersunk cone to cutter

class cqparts_fasteners.solidtypes.fastener_heads.counter_sunk.CounterSunkRaisedFastenerHead(*largs, **kwargs)

Bases: cqparts_fasteners.solidtypes.fastener_heads.counter_sunk.CounterSunkFastenerHead

ParametricObject constructor parameters:

Parameters:
  • access_diameter (float) – diameter of circle allowing tool access above fastener (defaults to diameter)
  • access_height (float) – depth of hole providing access (default 1m)
  • bugle (bool) – [no description]
  • bugle_ratio (float) – [no description]
  • chamfer (float) – [no description]
  • diameter (float) – fastener head diameter
  • height (float) – fastener head height
  • raised (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.fastener_heads.base
name countersunk_raised
../_images/countersunk_raised.png

cqparts_fasteners.solidtypes.fastener_heads.cylindrical module

class cqparts_fasteners.solidtypes.fastener_heads.cylindrical.CheeseFastenerHead(*largs, **kwargs)

Bases: cqparts_fasteners.solidtypes.fastener_heads.cylindrical.CylindricalFastenerHead

ParametricObject constructor parameters:

Parameters:
  • access_diameter (float) – diameter of circle allowing tool access above fastener (defaults to diameter)
  • access_height (float) – depth of hole providing access (default 1m)
  • diameter (float) – fastener head diameter
  • dome_ratio (float) – [no description]
  • domed (bool) – [no description]
  • fillet (float) – [no description]
  • height (float) – fastener head height

Search Criteria:

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

Key Value
module cqparts_fasteners.solidtypes.fastener_heads.base
name cheese
../_images/cheese.png
class cqparts_fasteners.solidtypes.fastener_heads.cylindrical.CylindricalFastenerHead(*largs, **kwargs)

Bases: cqparts_fasteners.solidtypes.fastener_heads.base.FastenerHead

ParametricObject constructor parameters:

Parameters:
  • access_diameter (float) – diameter of circle allowing tool access above fastener (defaults to diameter)
  • access_height (float) – depth of hole providing access (default 1m)
  • diameter (float) – fastener head diameter
  • dome_ratio (float) – [no description]
  • domed (bool) – [no description]
  • fillet (float) – [no description]
  • height (float) – fastener head height
initialize_parameters()
make()
class cqparts_fasteners.solidtypes.fastener_heads.cylindrical.DomeFastenerHead(*largs, **kwargs)

Bases: cqparts_fasteners.solidtypes.fastener_heads.cylindrical.CylindricalFastenerHead

ParametricObject constructor parameters:

Parameters:
  • access_diameter (float) – diameter of circle allowing tool access above fastener (defaults to diameter)
  • access_height (float) – depth of hole providing access (default 1m)
  • diameter (float) – fastener head diameter
  • dome_ratio (float) – [no description]
  • domed (bool) – [no description]
  • fillet (float) – [no description]
  • height (float) – fastener head height

Search Criteria:

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

Key Value
module cqparts_fasteners.solidtypes.fastener_heads.base
name dome
../_images/dome.png
class cqparts_fasteners.solidtypes.fastener_heads.cylindrical.PanFastenerHead(*largs, **kwargs)

Bases: cqparts_fasteners.solidtypes.fastener_heads.cylindrical.CylindricalFastenerHead

ParametricObject constructor parameters:

Parameters:
  • access_diameter (float) – diameter of circle allowing tool access above fastener (defaults to diameter)
  • access_height (float) – depth of hole providing access (default 1m)
  • diameter (float) – fastener head diameter
  • dome_ratio (float) – [no description]
  • domed (bool) – [no description]
  • fillet (float) – [no description]
  • height (float) – fastener head height

Search Criteria:

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

Key Value
module cqparts_fasteners.solidtypes.fastener_heads.base
name pan
../_images/pan.png
class cqparts_fasteners.solidtypes.fastener_heads.cylindrical.RoundCoachFastenerHead(*largs, **kwargs)

Bases: cqparts_fasteners.solidtypes.fastener_heads.cylindrical.RoundFastenerHead

ParametricObject constructor parameters:

Parameters:
  • access_diameter (float) – diameter of circle allowing tool access above fastener (defaults to diameter)
  • access_height (float) – depth of hole providing access (default 1m)
  • coach_chamfer (float) – [no description]
  • coach_head (bool) – [no description]
  • coach_height (float) – [no description]
  • coach_width (float) – [no description]
  • diameter (float) – fastener head diameter
  • dome_ratio (float) – [no description]
  • domed (bool) – [no description]
  • fillet (float) – [no description]
  • height (float) – fastener head height

Search Criteria:

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

Key Value
module cqparts_fasteners.solidtypes.fastener_heads.base
name round_coach
../_images/round_coach.png
class cqparts_fasteners.solidtypes.fastener_heads.cylindrical.RoundFastenerHead(*largs, **kwargs)

Bases: cqparts_fasteners.solidtypes.fastener_heads.cylindrical.CylindricalFastenerHead

ParametricObject constructor parameters:

Parameters:
  • access_diameter (float) – diameter of circle allowing tool access above fastener (defaults to diameter)
  • access_height (float) – depth of hole providing access (default 1m)
  • coach_chamfer (float) – [no description]
  • coach_head (bool) – [no description]
  • coach_height (float) – [no description]
  • coach_width (float) – [no description]
  • diameter (float) – fastener head diameter
  • dome_ratio (float) – [no description]
  • domed (bool) – [no description]
  • fillet (float) – [no description]
  • height (float) – fastener head height

Search Criteria:

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

Key Value
module cqparts_fasteners.solidtypes.fastener_heads.base
name round
../_images/round.png
initialize_parameters()
make()
class cqparts_fasteners.solidtypes.fastener_heads.cylindrical.TrapezoidalFastenerHead(*largs, **kwargs)

Bases: cqparts_fasteners.solidtypes.fastener_heads.base.FastenerHead

ParametricObject constructor parameters:

Parameters:
  • access_diameter (float) – diameter of circle allowing tool access above fastener (defaults to diameter)
  • access_height (float) – depth of hole providing access (default 1m)
  • diameter (float) – fastener head diameter
  • diameter_top (float) – [no description]
  • height (float) – fastener head height

Search Criteria:

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

Key Value
module cqparts_fasteners.solidtypes.fastener_heads.base
name trapezoidal
../_images/trapezoidal.png
initialize_parameters()
make(offset=(0, 0, 0))

cqparts_fasteners.solidtypes.fastener_heads.driven module

class cqparts_fasteners.solidtypes.fastener_heads.driven.DrivenFastenerHead(*largs, **kwargs)

Bases: cqparts_fasteners.solidtypes.fastener_heads.base.FastenerHead

ParametricObject constructor parameters:

Parameters:
  • access_diameter (float) – diameter of circle allowing tool access above fastener (defaults to diameter)
  • access_height (float) – depth of hole providing access (default 1m)
  • chamfer (float) – chamfer value (default: \(d/15\))
  • chamfer_base (bool) – if chamfer is set, base edges are chamfered (conical)
  • chamfer_top (bool) – if chamfer is set, top edges are chamfered (conical)
  • diameter (float) – fastener head diameter
  • edges (int) – number of edges on fastener head
  • height (float) – fastener head height
  • washer (bool) – [no description]
  • washer_diameter (float) – [no description]
  • washer_height (float) – [no description]
  • width (float) – distance between flats
get_cross_section_points()
initialize_parameters()
make()
class cqparts_fasteners.solidtypes.fastener_heads.driven.HexFastenerHead(*largs, **kwargs)

Bases: cqparts_fasteners.solidtypes.fastener_heads.driven.DrivenFastenerHead

ParametricObject constructor parameters:

Parameters:
  • access_diameter (float) – diameter of circle allowing tool access above fastener (defaults to diameter)
  • access_height (float) – depth of hole providing access (default 1m)
  • chamfer (float) – chamfer value (default: \(d/15\))
  • chamfer_base (bool) – if chamfer is set, base edges are chamfered (conical)
  • chamfer_top (bool) – if chamfer is set, top edges are chamfered (conical)
  • diameter (float) – fastener head diameter
  • edges (int) – [no description]
  • height (float) – fastener head height
  • washer (bool) – [no description]
  • washer_diameter (float) – [no description]
  • washer_height (float) – [no description]
  • width (float) – distance between flats

Search Criteria:

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

Key Value
module cqparts_fasteners.solidtypes.fastener_heads.base
name hex
../_images/hex.png
class cqparts_fasteners.solidtypes.fastener_heads.driven.HexFlangeFastenerHead(*largs, **kwargs)

Bases: cqparts_fasteners.solidtypes.fastener_heads.driven.DrivenFastenerHead

ParametricObject constructor parameters:

Parameters:
  • access_diameter (float) – diameter of circle allowing tool access above fastener (defaults to diameter)
  • access_height (float) – depth of hole providing access (default 1m)
  • chamfer (float) – chamfer value (default: \(d/15\))
  • chamfer_base (bool) – if chamfer is set, base edges are chamfered (conical)
  • chamfer_top (bool) – if chamfer is set, top edges are chamfered (conical)
  • diameter (float) – fastener head diameter
  • edges (int) – [no description]
  • height (float) – fastener head height
  • washer (bool) – [no description]
  • washer_diameter (float) – [no description]
  • washer_height (float) – [no description]
  • width (float) – distance between flats

Search Criteria:

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

Key Value
module cqparts_fasteners.solidtypes.fastener_heads.base
name hex_flange
../_images/hex_flange.png
class cqparts_fasteners.solidtypes.fastener_heads.driven.SquareFastenerHead(*largs, **kwargs)

Bases: cqparts_fasteners.solidtypes.fastener_heads.driven.DrivenFastenerHead

ParametricObject constructor parameters:

Parameters:
  • access_diameter (float) – diameter of circle allowing tool access above fastener (defaults to diameter)
  • access_height (float) – depth of hole providing access (default 1m)
  • chamfer (float) – chamfer value (default: \(d/15\))
  • chamfer_base (bool) – if chamfer is set, base edges are chamfered (conical)
  • chamfer_top (bool) – if chamfer is set, top edges are chamfered (conical)
  • diameter (float) – fastener head diameter
  • edges (int) – [no description]
  • height (float) – fastener head height
  • washer (bool) – [no description]
  • washer_diameter (float) – [no description]
  • washer_height (float) – [no description]
  • width (float) – distance between flats

Search Criteria:

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

Key Value
module cqparts_fasteners.solidtypes.fastener_heads.base
name square
../_images/square.png

Module contents

class cqparts_fasteners.solidtypes.fastener_heads.FastenerHead(*largs, **kwargs)

Bases: cqparts.part.Part

ParametricObject constructor parameters:

Parameters:
  • access_diameter (float) – diameter of circle allowing tool access above fastener (defaults to diameter)
  • access_height (float) – depth of hole providing access (default 1m)
  • diameter (float) – fastener head diameter
  • height (float) – fastener head height
get_face_offset()

Returns the screw drive origin offset relative to bolt’s origin

initialize_parameters()
make_cutter()

Create solid to subtract from material to make way for the fastener’s head (just the head)

cqparts_fasteners.solidtypes.fastener_heads.register(*args, **kwargs)
cqparts_fasteners.solidtypes.fastener_heads.find(*args, **kwargs)
cqparts_fasteners.solidtypes.fastener_heads.search(*args, **kwargs)