OpenSCAD螺丝孔模块
OpenSCAD Screw Holes
使用说明
- 所有模型资源均由用户上传分享,内容来源于网络公开资源
- 侵权投诉:通过抖音私信 @jobsfan 联系我们(需附版权证明),24小时内处理
- 模型将通过邮件发送(5分钟内自动发货),感谢理解带宽压力
关于费用
我们是爱好者共建社区,为维持服务器成本,每个模型收取微量费用(仅覆盖基础开支)。我们承诺最低成本运营,感谢您的支持!
扫码手机访问
抖音私信 @jobsfanSummary
This provides a module to drill holes for screws.
The following standards are currently understood:
DIN912, DIN963, DIN965, DIN34811, ISO4762, ISO2009, ISO7046, ISO14581 and ISO10642.
Usage
include <screw_holes.scad>
difference()
{
solid_object();
// Drill a hole for a DIN965 M3 screw of length 20 mm,
// with 10 mm thread.
screw_hole(DIN965, M3, 20, 10);
// Drill a M4 hole through the 30 mm thick object, with a countersunk
// head with a 90 degree angle that is 8 mm wide at the top and 4 mm
// high.
translate([-10, 10, 0])
screw_hole([8, 4, 90], M4, 30);
}
The top of the head of the screw will be in the xy-plane, with the screw extending into the positive z direction.
Note that angles larger than 90 degrees might only be printable if the
top of the screw is at the top, or you'd need support while printing it,
in which case you might as well drill the hole afterwards.
The following global variables can optionally be changed after the include:
screw_hole_fn = 32; // Number of segments for a full circle.
screw_hole_length_extend = 0.1; // Extra length of the non-threaded part of the screw extends.
screw_hole_height_extend = 0.1; // Extra distance the hole extends above the surface.
screw_hole_cylinderhead_spacing = 0.1; // Extra radius of hole around screw head.
screw_hole_countersunk_delta = 0.2; // Extra depth of countersunk screw hole.
Installation
There are a few ways of using this module in your project:
- Copy the
screw_holes.scad
file to your project directory. - Copy the
screw_holes.scad
file to the OpenSCAD library directory. Go toHelp
->Library Info
and look forUser Library Path
. Copy the file to that directory. - Add this module as a submodule to your project. This is the recommended way of using this module. To do this, run the following command in your project directory:
git submodule add https://github.com/nomike/openscad-screw-holes.git
git submodule update --init --recursive
Then, in your OpenSCAD file, include the module like this:
include <openscad-screw-holes/screw_holes.scad> // if you used the submodule method
include <screw_holes.scad> // if you copied the file to your project directory or the user-library directory
Acknowledgements
This module is based upon the screw_holes.scad module by carloverse.
The original module hasn't been updated in years and it's throwing some warnings in OpenSCAD. As it is a really useful module, I decided to fork and update it.
Instructions
This is an OpenSCAD library. There is nothing to print here.
Instructions
This is an OpenSCAD library. There is nothing to print here.
Tags
License
OpenSCAD Screw Holes
by nomike is licensed under the GNU - GPL license.
相关内容
猜你喜欢
联系我们
最新模型
-
野马Mach 1雾灯支架模型2024-05-08
-
CNC防尘鞋2024-05-08
-
轴向杯托2024-05-08
-
笔座2024-05-06
-
科罗拉多鸭嘴龙脚印3D模型2024-05-06
最热下载
-
通用型1/10比例底盘 - DKS基础款2023-03-26
-
参数化的两部分模具生成器(用于OpenSCAD)2023-03-26
-
3D模型:Easier Print LTT螺丝刀拉拔器2024-01-14
-
Wolf系列手机支架2024-03-26
-
3D模型标题1:kp3s orca slicer2024-04-07