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: -
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()
andsearch()
using the following search criteria.Key Value module
cqparts_fasteners.solidtypes.fastener_heads.base
name
countersunk_bugle
- access_diameter (
-
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()
andsearch()
using the following search criteria.Key Value module
cqparts_fasteners.solidtypes.fastener_heads.base
name
countersunk
-
get_face_offset
()¶
-
initialize_parameters
()¶
-
make
()¶
-
make_cutter
()¶ Add countersunk cone to cutter
- access_diameter (
-
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()
andsearch()
using the following search criteria.Key Value module
cqparts_fasteners.solidtypes.fastener_heads.base
name
countersunk_raised
- access_diameter (
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()
andsearch()
using the following search criteria.Key Value module
cqparts_fasteners.solidtypes.fastener_heads.base
name
cheese
- access_diameter (
-
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
()¶
- access_diameter (
-
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()
andsearch()
using the following search criteria.Key Value module
cqparts_fasteners.solidtypes.fastener_heads.base
name
dome
- access_diameter (
-
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()
andsearch()
using the following search criteria.Key Value module
cqparts_fasteners.solidtypes.fastener_heads.base
name
pan
- access_diameter (
-
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()
andsearch()
using the following search criteria.Key Value module
cqparts_fasteners.solidtypes.fastener_heads.base
name
round_coach
- access_diameter (
-
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()
andsearch()
using the following search criteria.Key Value module
cqparts_fasteners.solidtypes.fastener_heads.base
name
round
-
initialize_parameters
()¶
-
make
()¶
- access_diameter (
-
class
cqparts_fasteners.solidtypes.fastener_heads.cylindrical.
TrapezoidalFastenerHead
(*largs, **kwargs)¶ Bases:
cqparts_fasteners.solidtypes.fastener_heads.base.FastenerHead
ParametricObject
constructor parameters:Parameters: Search Criteria:
This object can be found with
find()
andsearch()
using the following search criteria.Key Value module
cqparts_fasteners.solidtypes.fastener_heads.base
name
trapezoidal
-
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
()¶
- access_diameter (
-
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()
andsearch()
using the following search criteria.Key Value module
cqparts_fasteners.solidtypes.fastener_heads.base
name
hex
- access_diameter (
-
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()
andsearch()
using the following search criteria.Key Value module
cqparts_fasteners.solidtypes.fastener_heads.base
name
hex_flange
- access_diameter (
-
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()
andsearch()
using the following search criteria.Key Value module
cqparts_fasteners.solidtypes.fastener_heads.base
name
square
- access_diameter (
Module contents¶
-
class
cqparts_fasteners.solidtypes.fastener_heads.
FastenerHead
(*largs, **kwargs)¶ Bases:
cqparts.part.Part
ParametricObject
constructor parameters:Parameters: -
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)¶